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.
541 542 543 |
# File 'sig/peddler/apis/product_pricing_2022_05_01.rbs', line 541 def listing_price @listing_price end |
#points ⇒ Peddler::APIs::ProductPricing20220501::Points? (readonly)
Returns the value of attribute points.
542 543 544 |
# File 'sig/peddler/apis/product_pricing_2022_05_01.rbs', line 542 def points @points end |
#shipping_price ⇒ Peddler::Money? (readonly)
Returns the value of attribute shipping_price.
543 544 545 |
# File 'sig/peddler/apis/product_pricing_2022_05_01.rbs', line 543 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
534 535 |
# File 'sig/peddler/apis/product_pricing_2022_05_01.rbs', line 534
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 ]
537 |
# File 'sig/peddler/apis/product_pricing_2022_05_01.rbs', line 537
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
532 533 |
# File 'sig/peddler/apis/product_pricing_2022_05_01.rbs', line 532
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
539 |
# File 'sig/peddler/apis/product_pricing_2022_05_01.rbs', line 539
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::ProductPricing20220501::Price
|
Instance Method Details
#members ⇒ [ :listing_price, :points, :shipping_price ]
545 |
# File 'sig/peddler/apis/product_pricing_2022_05_01.rbs', line 545
def members: () -> [ :listing_price, :points, :shipping_price ]
|
#to_h ⇒ { listing_price: Peddler::Money, points: Peddler::APIs::ProductPricing20220501::Points?, shipping_price: Peddler::Money? }
546 |
# File 'sig/peddler/apis/product_pricing_2022_05_01.rbs', line 546
def to_h: () -> { listing_price: Peddler::Money, points: Peddler::APIs::ProductPricing20220501::Points?, shipping_price: Peddler::Money? }
|