Class: Peddler::APIs::ProductPricingV0::CompetitivePriceType

Inherits:
Data
  • Object
show all
Defined in:
sig/peddler/apis/product_pricing_v0.rbs

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#belongs_to_requesterBoolean? (readonly)

Returns the value of attribute belongs_to_requester.

Returns:

  • (Boolean, nil)


125
126
127
# File 'sig/peddler/apis/product_pricing_v0.rbs', line 125

def belongs_to_requester
  @belongs_to_requester
end

#competitive_price_idString (readonly)

Returns the value of attribute competitive_price_id.

Returns:

  • (String)


126
127
128
# File 'sig/peddler/apis/product_pricing_v0.rbs', line 126

def competitive_price_id
  @competitive_price_id
end

#conditionString? (readonly)

Returns the value of attribute condition.

Returns:

  • (String, nil)


127
128
129
# File 'sig/peddler/apis/product_pricing_v0.rbs', line 127

def condition
  @condition
end

#offer_typeString? (readonly)

Returns the value of attribute offer_type.

Returns:

  • (String, nil)


128
129
130
# File 'sig/peddler/apis/product_pricing_v0.rbs', line 128

def offer_type
  @offer_type
end

#pricePeddler::APIs::ProductPricingV0::PriceType (readonly)

Returns the value of attribute price.



129
130
131
# File 'sig/peddler/apis/product_pricing_v0.rbs', line 129

def price
  @price
end

#quantity_discount_typeString? (readonly)

Returns the value of attribute quantity_discount_type.

Returns:

  • (String, nil)


130
131
132
# File 'sig/peddler/apis/product_pricing_v0.rbs', line 130

def quantity_discount_type
  @quantity_discount_type
end

#quantity_tierInteger? (readonly)

Returns the value of attribute quantity_tier.

Returns:

  • (Integer, nil)


131
132
133
# File 'sig/peddler/apis/product_pricing_v0.rbs', line 131

def quantity_tier
  @quantity_tier
end

#seller_idString? (readonly)

Returns the value of attribute seller_id.

Returns:

  • (String, nil)


132
133
134
# File 'sig/peddler/apis/product_pricing_v0.rbs', line 132

def seller_id
  @seller_id
end

#subconditionString? (readonly)

Returns the value of attribute subcondition.

Returns:

  • (String, nil)


133
134
135
# File 'sig/peddler/apis/product_pricing_v0.rbs', line 133

def subcondition
  @subcondition
end

Class Method Details

.[](competitive_price_id:, price:, belongs_to_requester:, condition:, offer_type:, quantity_discount_type:, quantity_tier:, seller_id:, subcondition:) ⇒ Peddler::APIs::ProductPricingV0::CompetitivePriceType .[](arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8) ⇒ Peddler::APIs::ProductPricingV0::CompetitivePriceType

Overloads:



118
119
# File 'sig/peddler/apis/product_pricing_v0.rbs', line 118

def self.[]: (competitive_price_id: String, price: Peddler::APIs::ProductPricingV0::PriceType, ?belongs_to_requester: bool?, ?condition: String?, ?offer_type: String?, ?quantity_discount_type: String?, ?quantity_tier: Integer?, ?seller_id: String?, ?subcondition: String?) -> Peddler::APIs::ProductPricingV0::CompetitivePriceType
| (String, Peddler::APIs::ProductPricingV0::PriceType, bool?, String?, String?, String?, Integer?, String?, String?) -> Peddler::APIs::ProductPricingV0::CompetitivePriceType

.members[ :competitive_price_id, :price, :belongs_to_requester, :condition, :offer_type, :quantity_discount_type, :quantity_tier, :seller_id, :subcondition ]

Returns:

  • ([ :competitive_price_id, :price, :belongs_to_requester, :condition, :offer_type, :quantity_discount_type, :quantity_tier, :seller_id, :subcondition ])


121
# File 'sig/peddler/apis/product_pricing_v0.rbs', line 121

def self.members: () -> [ :competitive_price_id, :price, :belongs_to_requester, :condition, :offer_type, :quantity_discount_type, :quantity_tier, :seller_id, :subcondition ]

.new(competitive_price_id:, price:, belongs_to_requester:, condition:, offer_type:, quantity_discount_type:, quantity_tier:, seller_id:, subcondition:) ⇒ Peddler::APIs::ProductPricingV0::CompetitivePriceType .new(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8) ⇒ Peddler::APIs::ProductPricingV0::CompetitivePriceType

Overloads:



116
117
# File 'sig/peddler/apis/product_pricing_v0.rbs', line 116

def self.new: (competitive_price_id: String, price: Peddler::APIs::ProductPricingV0::PriceType, ?belongs_to_requester: bool?, ?condition: String?, ?offer_type: String?, ?quantity_discount_type: String?, ?quantity_tier: Integer?, ?seller_id: String?, ?subcondition: String?) -> Peddler::APIs::ProductPricingV0::CompetitivePriceType
| (String, Peddler::APIs::ProductPricingV0::PriceType, bool?, String?, String?, String?, Integer?, String?, String?) -> Peddler::APIs::ProductPricingV0::CompetitivePriceType

.parsePeddler::APIs::ProductPricingV0::CompetitivePriceType

Parameters:

  • (Hash[String | Symbol, untyped])
  • (Object)

Returns:



123
# File 'sig/peddler/apis/product_pricing_v0.rbs', line 123

def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::ProductPricingV0::CompetitivePriceType

Instance Method Details

#belongs_to_requester?Boolean

Returns:

  • (Boolean)


135
# File 'sig/peddler/apis/product_pricing_v0.rbs', line 135

def belongs_to_requester?: () -> bool

#members[ :competitive_price_id, :price, :belongs_to_requester, :condition, :offer_type, :quantity_discount_type, :quantity_tier, :seller_id, :subcondition ]

Returns:

  • ([ :competitive_price_id, :price, :belongs_to_requester, :condition, :offer_type, :quantity_discount_type, :quantity_tier, :seller_id, :subcondition ])


136
# File 'sig/peddler/apis/product_pricing_v0.rbs', line 136

def members: () -> [ :competitive_price_id, :price, :belongs_to_requester, :condition, :offer_type, :quantity_discount_type, :quantity_tier, :seller_id, :subcondition ]

#to_h{ competitive_price_id: String, price: Peddler::APIs::ProductPricingV0::PriceType, belongs_to_requester: bool?, condition: String?, offer_type: String?, quantity_discount_type: String?, quantity_tier: Integer?, seller_id: String?, subcondition: String? }

Returns:

  • ({ competitive_price_id: String, price: Peddler::APIs::ProductPricingV0::PriceType, belongs_to_requester: bool?, condition: String?, offer_type: String?, quantity_discount_type: String?, quantity_tier: Integer?, seller_id: String?, subcondition: String? })


137
# File 'sig/peddler/apis/product_pricing_v0.rbs', line 137

def to_h: () -> { competitive_price_id: String, price: Peddler::APIs::ProductPricingV0::PriceType, belongs_to_requester: bool?, condition: String?, offer_type: String?, quantity_discount_type: String?, quantity_tier: Integer?, seller_id: String?, subcondition: String? }