Class: Peddler::APIs::ProductPricing20220501::PromotionSavings
- Inherits:
-
Data
- Object
- Data
- Peddler::APIs::ProductPricing20220501::PromotionSavings
- Defined in:
- sig/peddler/apis/product_pricing_2022_05_01.rbs
Instance Attribute Summary collapse
-
#discount ⇒ Peddler::APIs::ProductPricing20220501::PromotionDiscount?
readonly
Returns the value of attribute discount.
-
#discounted_price ⇒ Peddler::Money?
readonly
Returns the value of attribute discounted_price.
Class Method Summary collapse
-
.[] ⇒ Object
-
.members ⇒ [ :discount, :discounted_price ]
-
.new ⇒ Object
-
.parse ⇒ Peddler::APIs::ProductPricing20220501::PromotionSavings
Instance Method Summary collapse
-
#members ⇒ [ :discount, :discounted_price ]
-
#to_h ⇒ { discount: Peddler::APIs::ProductPricing20220501::PromotionDiscount?, discounted_price: Peddler::Money? }
Instance Attribute Details
#discount ⇒ Peddler::APIs::ProductPricing20220501::PromotionDiscount? (readonly)
Returns the value of attribute discount.
629 630 631 |
# File 'sig/peddler/apis/product_pricing_2022_05_01.rbs', line 629 def discount @discount end |
#discounted_price ⇒ Peddler::Money? (readonly)
Returns the value of attribute discounted_price.
630 631 632 |
# File 'sig/peddler/apis/product_pricing_2022_05_01.rbs', line 630 def discounted_price @discounted_price end |
Class Method Details
.[](discount:, discounted_price:) ⇒ Peddler::APIs::ProductPricing20220501::PromotionSavings .[](arg0, arg1) ⇒ Peddler::APIs::ProductPricing20220501::PromotionSavings
622 623 |
# File 'sig/peddler/apis/product_pricing_2022_05_01.rbs', line 622
def self.[]: (?discount: Peddler::APIs::ProductPricing20220501::PromotionDiscount?, ?discounted_price: Peddler::Money?) -> Peddler::APIs::ProductPricing20220501::PromotionSavings
| (Peddler::APIs::ProductPricing20220501::PromotionDiscount?, Peddler::Money?) -> Peddler::APIs::ProductPricing20220501::PromotionSavings
|
.members ⇒ [ :discount, :discounted_price ]
625 |
# File 'sig/peddler/apis/product_pricing_2022_05_01.rbs', line 625
def self.members: () -> [ :discount, :discounted_price ]
|
.new(discount:, discounted_price:) ⇒ Peddler::APIs::ProductPricing20220501::PromotionSavings .new(arg0, arg1) ⇒ Peddler::APIs::ProductPricing20220501::PromotionSavings
620 621 |
# File 'sig/peddler/apis/product_pricing_2022_05_01.rbs', line 620
def self.new: (?discount: Peddler::APIs::ProductPricing20220501::PromotionDiscount?, ?discounted_price: Peddler::Money?) -> Peddler::APIs::ProductPricing20220501::PromotionSavings
| (Peddler::APIs::ProductPricing20220501::PromotionDiscount?, Peddler::Money?) -> Peddler::APIs::ProductPricing20220501::PromotionSavings
|
.parse ⇒ Peddler::APIs::ProductPricing20220501::PromotionSavings
627 |
# File 'sig/peddler/apis/product_pricing_2022_05_01.rbs', line 627
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::ProductPricing20220501::PromotionSavings
|
Instance Method Details
#members ⇒ [ :discount, :discounted_price ]
632 |
# File 'sig/peddler/apis/product_pricing_2022_05_01.rbs', line 632
def members: () -> [ :discount, :discounted_price ]
|
#to_h ⇒ { discount: Peddler::APIs::ProductPricing20220501::PromotionDiscount?, discounted_price: Peddler::Money? }
633 |
# File 'sig/peddler/apis/product_pricing_2022_05_01.rbs', line 633
def to_h: () -> { discount: Peddler::APIs::ProductPricing20220501::PromotionDiscount?, discounted_price: Peddler::Money? }
|