Class: Peddler::APIs::ProductPricingV0::BuyBoxPriceType
- Inherits:
-
Data
- Object
- Data
- Peddler::APIs::ProductPricingV0::BuyBoxPriceType
- Defined in:
- sig/peddler/apis/product_pricing_v0.rbs
Instance Attribute Summary collapse
-
#condition ⇒ String
readonly
Returns the value of attribute condition.
-
#landed_price ⇒ Peddler::Money
readonly
Returns the value of attribute landed_price.
-
#listing_price ⇒ Peddler::Money
readonly
Returns the value of attribute listing_price.
-
#offer_type ⇒ String?
readonly
Returns the value of attribute offer_type.
-
#points ⇒ Peddler::APIs::ProductPricingV0::Points?
readonly
Returns the value of attribute points.
-
#quantity_discount_type ⇒ String?
readonly
Returns the value of attribute quantity_discount_type.
-
#quantity_tier ⇒ Integer?
readonly
Returns the value of attribute quantity_tier.
-
#seller_id ⇒ String?
readonly
Returns the value of attribute seller_id.
-
#shipping ⇒ Peddler::Money
readonly
Returns the value of attribute shipping.
Class Method Summary collapse
-
.[] ⇒ Object
-
.members ⇒ [ :landed_price, :listing_price, :shipping, :condition, :points, :offer_type, :quantity_discount_type, :quantity_tier, :seller_id ]
-
.new ⇒ Object
-
.parse ⇒ Peddler::APIs::ProductPricingV0::BuyBoxPriceType
Instance Method Summary collapse
-
#members ⇒ [ :landed_price, :listing_price, :shipping, :condition, :points, :offer_type, :quantity_discount_type, :quantity_tier, :seller_id ]
-
#to_h ⇒ { landed_price: Peddler::Money, listing_price: Peddler::Money, shipping: Peddler::Money, condition: String, points: Peddler::APIs::ProductPricingV0::Points?, offer_type: String?, quantity_discount_type: String?, quantity_tier: Integer?, seller_id: String? }
Instance Attribute Details
#condition ⇒ String (readonly)
Returns the value of attribute condition.
93 94 95 |
# File 'sig/peddler/apis/product_pricing_v0.rbs', line 93 def condition @condition end |
#landed_price ⇒ Peddler::Money (readonly)
Returns the value of attribute landed_price.
94 95 96 |
# File 'sig/peddler/apis/product_pricing_v0.rbs', line 94 def landed_price @landed_price end |
#listing_price ⇒ Peddler::Money (readonly)
Returns the value of attribute listing_price.
95 96 97 |
# File 'sig/peddler/apis/product_pricing_v0.rbs', line 95 def listing_price @listing_price end |
#offer_type ⇒ String? (readonly)
Returns the value of attribute offer_type.
96 97 98 |
# File 'sig/peddler/apis/product_pricing_v0.rbs', line 96 def offer_type @offer_type end |
#points ⇒ Peddler::APIs::ProductPricingV0::Points? (readonly)
Returns the value of attribute points.
97 98 99 |
# File 'sig/peddler/apis/product_pricing_v0.rbs', line 97 def points @points end |
#quantity_discount_type ⇒ String? (readonly)
Returns the value of attribute quantity_discount_type.
98 99 100 |
# File 'sig/peddler/apis/product_pricing_v0.rbs', line 98 def quantity_discount_type @quantity_discount_type end |
#quantity_tier ⇒ Integer? (readonly)
Returns the value of attribute quantity_tier.
99 100 101 |
# File 'sig/peddler/apis/product_pricing_v0.rbs', line 99 def quantity_tier @quantity_tier end |
#seller_id ⇒ String? (readonly)
Returns the value of attribute seller_id.
100 101 102 |
# File 'sig/peddler/apis/product_pricing_v0.rbs', line 100 def seller_id @seller_id end |
#shipping ⇒ Peddler::Money (readonly)
Returns the value of attribute shipping.
101 102 103 |
# File 'sig/peddler/apis/product_pricing_v0.rbs', line 101 def shipping @shipping end |
Class Method Details
.[](landed_price:, listing_price:, shipping:, condition:, points:, offer_type:, quantity_discount_type:, quantity_tier:, seller_id:) ⇒ Peddler::APIs::ProductPricingV0::BuyBoxPriceType .[](arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8) ⇒ Peddler::APIs::ProductPricingV0::BuyBoxPriceType
86 87 |
# File 'sig/peddler/apis/product_pricing_v0.rbs', line 86
def self.[]: (landed_price: Peddler::Money, listing_price: Peddler::Money, shipping: Peddler::Money, condition: String, ?points: Peddler::APIs::ProductPricingV0::Points?, ?offer_type: String?, ?quantity_discount_type: String?, ?quantity_tier: Integer?, ?seller_id: String?) -> Peddler::APIs::ProductPricingV0::BuyBoxPriceType
| (Peddler::Money, Peddler::Money, Peddler::Money, String, Peddler::APIs::ProductPricingV0::Points?, String?, String?, Integer?, String?) -> Peddler::APIs::ProductPricingV0::BuyBoxPriceType
|
.members ⇒ [ :landed_price, :listing_price, :shipping, :condition, :points, :offer_type, :quantity_discount_type, :quantity_tier, :seller_id ]
89 |
# File 'sig/peddler/apis/product_pricing_v0.rbs', line 89
def self.members: () -> [ :landed_price, :listing_price, :shipping, :condition, :points, :offer_type, :quantity_discount_type, :quantity_tier, :seller_id ]
|
.new(landed_price:, listing_price:, shipping:, condition:, points:, offer_type:, quantity_discount_type:, quantity_tier:, seller_id:) ⇒ Peddler::APIs::ProductPricingV0::BuyBoxPriceType .new(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8) ⇒ Peddler::APIs::ProductPricingV0::BuyBoxPriceType
84 85 |
# File 'sig/peddler/apis/product_pricing_v0.rbs', line 84
def self.new: (landed_price: Peddler::Money, listing_price: Peddler::Money, shipping: Peddler::Money, condition: String, ?points: Peddler::APIs::ProductPricingV0::Points?, ?offer_type: String?, ?quantity_discount_type: String?, ?quantity_tier: Integer?, ?seller_id: String?) -> Peddler::APIs::ProductPricingV0::BuyBoxPriceType
| (Peddler::Money, Peddler::Money, Peddler::Money, String, Peddler::APIs::ProductPricingV0::Points?, String?, String?, Integer?, String?) -> Peddler::APIs::ProductPricingV0::BuyBoxPriceType
|
.parse ⇒ Peddler::APIs::ProductPricingV0::BuyBoxPriceType
91 |
# File 'sig/peddler/apis/product_pricing_v0.rbs', line 91
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::ProductPricingV0::BuyBoxPriceType
|
Instance Method Details
#members ⇒ [ :landed_price, :listing_price, :shipping, :condition, :points, :offer_type, :quantity_discount_type, :quantity_tier, :seller_id ]
103 |
# File 'sig/peddler/apis/product_pricing_v0.rbs', line 103
def members: () -> [ :landed_price, :listing_price, :shipping, :condition, :points, :offer_type, :quantity_discount_type, :quantity_tier, :seller_id ]
|
#to_h ⇒ { landed_price: Peddler::Money, listing_price: Peddler::Money, shipping: Peddler::Money, condition: String, points: Peddler::APIs::ProductPricingV0::Points?, offer_type: String?, quantity_discount_type: String?, quantity_tier: Integer?, seller_id: String? }
104 |
# File 'sig/peddler/apis/product_pricing_v0.rbs', line 104
def to_h: () -> { landed_price: Peddler::Money, listing_price: Peddler::Money, shipping: Peddler::Money, condition: String, points: Peddler::APIs::ProductPricingV0::Points?, offer_type: String?, quantity_discount_type: String?, quantity_tier: Integer?, seller_id: String? }
|