Class: Peddler::APIs::ProductFeesV0::PriceToEstimateFees

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

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#listing_pricePeddler::Money (readonly)

Returns the value of attribute listing_price.

Returns:



298
299
300
# File 'sig/peddler/apis/product_fees_v0.rbs', line 298

def listing_price
  @listing_price
end

#pointsPeddler::APIs::ProductFeesV0::Points? (readonly)

Returns the value of attribute points.



299
300
301
# File 'sig/peddler/apis/product_fees_v0.rbs', line 299

def points
  @points
end

#shippingPeddler::Money? (readonly)

Returns the value of attribute shipping.

Returns:



300
301
302
# File 'sig/peddler/apis/product_fees_v0.rbs', line 300

def shipping
  @shipping
end

Class Method Details

.[](listing_price:, points:, shipping:) ⇒ Peddler::APIs::ProductFeesV0::PriceToEstimateFees .[](arg0, arg1, arg2) ⇒ Peddler::APIs::ProductFeesV0::PriceToEstimateFees

Overloads:



291
292
# File 'sig/peddler/apis/product_fees_v0.rbs', line 291

def self.[]: (listing_price: Peddler::Money, ?points: Peddler::APIs::ProductFeesV0::Points?, ?shipping: Peddler::Money?) -> Peddler::APIs::ProductFeesV0::PriceToEstimateFees
| (Peddler::Money, Peddler::APIs::ProductFeesV0::Points?, Peddler::Money?) -> Peddler::APIs::ProductFeesV0::PriceToEstimateFees

.members[ :listing_price, :points, :shipping ]

Returns:

  • ([ :listing_price, :points, :shipping ])


294
# File 'sig/peddler/apis/product_fees_v0.rbs', line 294

def self.members: () -> [ :listing_price, :points, :shipping ]

.new(listing_price:, points:, shipping:) ⇒ Peddler::APIs::ProductFeesV0::PriceToEstimateFees .new(arg0, arg1, arg2) ⇒ Peddler::APIs::ProductFeesV0::PriceToEstimateFees

Overloads:



289
290
# File 'sig/peddler/apis/product_fees_v0.rbs', line 289

def self.new: (listing_price: Peddler::Money, ?points: Peddler::APIs::ProductFeesV0::Points?, ?shipping: Peddler::Money?) -> Peddler::APIs::ProductFeesV0::PriceToEstimateFees
| (Peddler::Money, Peddler::APIs::ProductFeesV0::Points?, Peddler::Money?) -> Peddler::APIs::ProductFeesV0::PriceToEstimateFees

.parsePeddler::APIs::ProductFeesV0::PriceToEstimateFees

Parameters:

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

Returns:



296
# File 'sig/peddler/apis/product_fees_v0.rbs', line 296

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

Instance Method Details

#members[ :listing_price, :points, :shipping ]

Returns:

  • ([ :listing_price, :points, :shipping ])


302
# File 'sig/peddler/apis/product_fees_v0.rbs', line 302

def members: () -> [ :listing_price, :points, :shipping ]

#to_h{ listing_price: Peddler::Money, points: Peddler::APIs::ProductFeesV0::Points?, shipping: Peddler::Money? }

Returns:



303
# File 'sig/peddler/apis/product_fees_v0.rbs', line 303

def to_h: () -> { listing_price: Peddler::Money, points: Peddler::APIs::ProductFeesV0::Points?, shipping: Peddler::Money? }