Class: Peddler::APIs::ProductPricingV0::PriceType

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

#landed_pricePeddler::Money? (readonly)

Returns the value of attribute landed_price.

Returns:



728
729
730
# File 'sig/peddler/apis/product_pricing_v0.rbs', line 728

def landed_price
  @landed_price
end

#listing_pricePeddler::Money (readonly)

Returns the value of attribute listing_price.

Returns:



729
730
731
# File 'sig/peddler/apis/product_pricing_v0.rbs', line 729

def listing_price
  @listing_price
end

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

Returns the value of attribute points.



730
731
732
# File 'sig/peddler/apis/product_pricing_v0.rbs', line 730

def points
  @points
end

#shippingPeddler::Money? (readonly)

Returns the value of attribute shipping.

Returns:



731
732
733
# File 'sig/peddler/apis/product_pricing_v0.rbs', line 731

def shipping
  @shipping
end

Class Method Details

.[](listing_price:, landed_price:, points:, shipping:) ⇒ Peddler::APIs::ProductPricingV0::PriceType .[](arg0, arg1, arg2, arg3) ⇒ Peddler::APIs::ProductPricingV0::PriceType

Overloads:



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

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

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

Returns:

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


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

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

.new(listing_price:, landed_price:, points:, shipping:) ⇒ Peddler::APIs::ProductPricingV0::PriceType .new(arg0, arg1, arg2, arg3) ⇒ Peddler::APIs::ProductPricingV0::PriceType

Overloads:



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

def self.new: (listing_price: Peddler::Money, ?landed_price: Peddler::Money?, ?points: Peddler::APIs::ProductPricingV0::Points?, ?shipping: Peddler::Money?) -> Peddler::APIs::ProductPricingV0::PriceType
| (Peddler::Money, Peddler::Money?, Peddler::APIs::ProductPricingV0::Points?, Peddler::Money?) -> Peddler::APIs::ProductPricingV0::PriceType

.parsePeddler::APIs::ProductPricingV0::PriceType

Parameters:

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

Returns:



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

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

Instance Method Details

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

Returns:

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


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

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

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

Returns:



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

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