Class: Peddler::APIs::ProductPricingV0::PriceType
- Inherits:
-
Data
- Object
- Data
- Peddler::APIs::ProductPricingV0::PriceType
- Defined in:
- sig/peddler/apis/product_pricing_v0.rbs
Instance Attribute Summary collapse
-
#landed_price ⇒ Peddler::Money?
readonly
Returns the value of attribute landed_price.
-
#listing_price ⇒ Peddler::Money
readonly
Returns the value of attribute listing_price.
-
#points ⇒ Peddler::APIs::ProductPricingV0::Points?
readonly
Returns the value of attribute points.
-
#shipping ⇒ Peddler::Money?
readonly
Returns the value of attribute shipping.
Class Method Summary collapse
-
.[] ⇒ Object
-
.members ⇒ [ :listing_price, :landed_price, :points, :shipping ]
-
.new ⇒ Object
-
.parse ⇒ Peddler::APIs::ProductPricingV0::PriceType
Instance Method Summary collapse
-
#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? }
Instance Attribute Details
#landed_price ⇒ Peddler::Money? (readonly)
Returns the value of attribute landed_price.
728 729 730 |
# File 'sig/peddler/apis/product_pricing_v0.rbs', line 728 def landed_price @landed_price end |
#listing_price ⇒ Peddler::Money (readonly)
Returns the value of attribute listing_price.
729 730 731 |
# File 'sig/peddler/apis/product_pricing_v0.rbs', line 729 def listing_price @listing_price end |
#points ⇒ Peddler::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 |
#shipping ⇒ Peddler::Money? (readonly)
Returns the value of attribute shipping.
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
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 ]
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
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
|
.parse ⇒ Peddler::APIs::ProductPricingV0::PriceType
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 ]
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? }
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? }
|