Class: Peddler::APIs::ProductPricing20220501::Price
- Inherits:
-
Data
- Object
- Data
- Peddler::APIs::ProductPricing20220501::Price
- Defined in:
- sig/peddler/apis/product_pricing_2022_05_01.rbs
Instance Attribute Summary collapse
-
#listing_price ⇒ Peddler::Money
readonly
Returns the value of attribute listing_price.
-
#points ⇒ Peddler::APIs::ProductPricing20220501::Points?
readonly
Returns the value of attribute points.
-
#shipping_price ⇒ Peddler::Money?
readonly
Returns the value of attribute shipping_price.
Class Method Summary collapse
-
.[] ⇒ Object
-
.members ⇒ [ :listing_price, :points, :shipping_price ]
-
.new ⇒ Object
-
.parse ⇒ Peddler::APIs::ProductPricing20220501::Price
Instance Method Summary collapse
-
#members ⇒ [ :listing_price, :points, :shipping_price ]
-
#to_h ⇒ { listing_price: Peddler::Money, points: Peddler::APIs::ProductPricing20220501::Points?, shipping_price: Peddler::Money? }
Instance Attribute Details
#listing_price ⇒ Peddler::Money (readonly)
Returns the value of attribute listing_price.
559 560 561 |
# File 'sig/peddler/apis/product_pricing_2022_05_01.rbs', line 559 def listing_price @listing_price end |
#points ⇒ Peddler::APIs::ProductPricing20220501::Points? (readonly)
Returns the value of attribute points.
560 561 562 |
# File 'sig/peddler/apis/product_pricing_2022_05_01.rbs', line 560 def points @points end |
#shipping_price ⇒ Peddler::Money? (readonly)
Returns the value of attribute shipping_price.
561 562 563 |
# File 'sig/peddler/apis/product_pricing_2022_05_01.rbs', line 561 def shipping_price @shipping_price end |
Class Method Details
.[](listing_price:, points:, shipping_price:) ⇒ Peddler::APIs::ProductPricing20220501::Price .[](arg0, arg1, arg2) ⇒ Peddler::APIs::ProductPricing20220501::Price
552 553 |
# File 'sig/peddler/apis/product_pricing_2022_05_01.rbs', line 552
def self.[]: (listing_price: Peddler::Money, ?points: Peddler::APIs::ProductPricing20220501::Points?, ?shipping_price: Peddler::Money?) -> Peddler::APIs::ProductPricing20220501::Price
| (Peddler::Money, Peddler::APIs::ProductPricing20220501::Points?, Peddler::Money?) -> Peddler::APIs::ProductPricing20220501::Price
|
.members ⇒ [ :listing_price, :points, :shipping_price ]
555 |
# File 'sig/peddler/apis/product_pricing_2022_05_01.rbs', line 555
def self.members: () -> [ :listing_price, :points, :shipping_price ]
|
.new(listing_price:, points:, shipping_price:) ⇒ Peddler::APIs::ProductPricing20220501::Price .new(arg0, arg1, arg2) ⇒ Peddler::APIs::ProductPricing20220501::Price
550 551 |
# File 'sig/peddler/apis/product_pricing_2022_05_01.rbs', line 550
def self.new: (listing_price: Peddler::Money, ?points: Peddler::APIs::ProductPricing20220501::Points?, ?shipping_price: Peddler::Money?) -> Peddler::APIs::ProductPricing20220501::Price
| (Peddler::Money, Peddler::APIs::ProductPricing20220501::Points?, Peddler::Money?) -> Peddler::APIs::ProductPricing20220501::Price
|
.parse ⇒ Peddler::APIs::ProductPricing20220501::Price
557 |
# File 'sig/peddler/apis/product_pricing_2022_05_01.rbs', line 557
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::ProductPricing20220501::Price
|
Instance Method Details
#members ⇒ [ :listing_price, :points, :shipping_price ]
563 |
# File 'sig/peddler/apis/product_pricing_2022_05_01.rbs', line 563
def members: () -> [ :listing_price, :points, :shipping_price ]
|
#to_h ⇒ { listing_price: Peddler::Money, points: Peddler::APIs::ProductPricing20220501::Points?, shipping_price: Peddler::Money? }
564 |
# File 'sig/peddler/apis/product_pricing_2022_05_01.rbs', line 564
def to_h: () -> { listing_price: Peddler::Money, points: Peddler::APIs::ProductPricing20220501::Points?, shipping_price: Peddler::Money? }
|