Class: Peddler::APIs::ProductPricingV0::BuyBoxPriceType

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

#conditionString (readonly)

Returns the value of attribute condition.

Returns:

  • (String)


93
94
95
# File 'sig/peddler/apis/product_pricing_v0.rbs', line 93

def condition
  @condition
end

#landed_pricePeddler::Money (readonly)

Returns the value of attribute landed_price.

Returns:



94
95
96
# File 'sig/peddler/apis/product_pricing_v0.rbs', line 94

def landed_price
  @landed_price
end

#listing_pricePeddler::Money (readonly)

Returns the value of attribute listing_price.

Returns:



95
96
97
# File 'sig/peddler/apis/product_pricing_v0.rbs', line 95

def listing_price
  @listing_price
end

#offer_typeString? (readonly)

Returns the value of attribute offer_type.

Returns:

  • (String, nil)


96
97
98
# File 'sig/peddler/apis/product_pricing_v0.rbs', line 96

def offer_type
  @offer_type
end

#pointsPeddler::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_typeString? (readonly)

Returns the value of attribute quantity_discount_type.

Returns:

  • (String, nil)


98
99
100
# File 'sig/peddler/apis/product_pricing_v0.rbs', line 98

def quantity_discount_type
  @quantity_discount_type
end

#quantity_tierInteger? (readonly)

Returns the value of attribute quantity_tier.

Returns:

  • (Integer, nil)


99
100
101
# File 'sig/peddler/apis/product_pricing_v0.rbs', line 99

def quantity_tier
  @quantity_tier
end

#seller_idString? (readonly)

Returns the value of attribute seller_id.

Returns:

  • (String, nil)


100
101
102
# File 'sig/peddler/apis/product_pricing_v0.rbs', line 100

def seller_id
  @seller_id
end

#shippingPeddler::Money (readonly)

Returns the value of attribute shipping.

Returns:



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

Overloads:



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 ]

Returns:

  • ([ :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

Overloads:



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

.parsePeddler::APIs::ProductPricingV0::BuyBoxPriceType

Parameters:

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

Returns:



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 ]

Returns:

  • ([ :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? }

Returns:



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? }