Class: Peddler::APIs::ProductPricing20220501::Promotion
- Inherits:
-
Data
- Object
- Data
- Peddler::APIs::ProductPricing20220501::Promotion
- Defined in:
- sig/peddler/apis/product_pricing_2022_05_01.rbs
Instance Attribute Summary collapse
-
#promotion_savings ⇒ Peddler::APIs::ProductPricing20220501::PromotionSavings
readonly
Returns the value of attribute promotion_savings.
-
#promotion_type ⇒ String
readonly
Returns the value of attribute promotion_type.
-
#purchase_requirements ⇒ Peddler::APIs::ProductPricing20220501::PurchaseRequirements?
readonly
Returns the value of attribute purchase_requirements.
Class Method Summary collapse
-
.[] ⇒ Object
-
.members ⇒ [ :promotion_savings, :promotion_type, :purchase_requirements ]
-
.new ⇒ Object
-
.parse ⇒ Peddler::APIs::ProductPricing20220501::Promotion
Instance Method Summary collapse
-
#members ⇒ [ :promotion_savings, :promotion_type, :purchase_requirements ]
-
#to_h ⇒ { promotion_savings: Peddler::APIs::ProductPricing20220501::PromotionSavings, promotion_type: String, purchase_requirements: Peddler::APIs::ProductPricing20220501::PurchaseRequirements? }
Instance Attribute Details
#promotion_savings ⇒ Peddler::APIs::ProductPricing20220501::PromotionSavings (readonly)
Returns the value of attribute promotion_savings.
593 594 595 |
# File 'sig/peddler/apis/product_pricing_2022_05_01.rbs', line 593 def promotion_savings @promotion_savings end |
#promotion_type ⇒ String (readonly)
Returns the value of attribute promotion_type.
594 595 596 |
# File 'sig/peddler/apis/product_pricing_2022_05_01.rbs', line 594 def promotion_type @promotion_type end |
#purchase_requirements ⇒ Peddler::APIs::ProductPricing20220501::PurchaseRequirements? (readonly)
Returns the value of attribute purchase_requirements.
595 596 597 |
# File 'sig/peddler/apis/product_pricing_2022_05_01.rbs', line 595 def purchase_requirements @purchase_requirements end |
Class Method Details
.[](promotion_savings:, promotion_type:, purchase_requirements:) ⇒ Peddler::APIs::ProductPricing20220501::Promotion .[](arg0, arg1, arg2) ⇒ Peddler::APIs::ProductPricing20220501::Promotion
586 587 |
# File 'sig/peddler/apis/product_pricing_2022_05_01.rbs', line 586
def self.[]: (promotion_savings: Peddler::APIs::ProductPricing20220501::PromotionSavings, promotion_type: String, ?purchase_requirements: Peddler::APIs::ProductPricing20220501::PurchaseRequirements?) -> Peddler::APIs::ProductPricing20220501::Promotion
| (Peddler::APIs::ProductPricing20220501::PromotionSavings, String, Peddler::APIs::ProductPricing20220501::PurchaseRequirements?) -> Peddler::APIs::ProductPricing20220501::Promotion
|
.members ⇒ [ :promotion_savings, :promotion_type, :purchase_requirements ]
589 |
# File 'sig/peddler/apis/product_pricing_2022_05_01.rbs', line 589
def self.members: () -> [ :promotion_savings, :promotion_type, :purchase_requirements ]
|
.new(promotion_savings:, promotion_type:, purchase_requirements:) ⇒ Peddler::APIs::ProductPricing20220501::Promotion .new(arg0, arg1, arg2) ⇒ Peddler::APIs::ProductPricing20220501::Promotion
584 585 |
# File 'sig/peddler/apis/product_pricing_2022_05_01.rbs', line 584
def self.new: (promotion_savings: Peddler::APIs::ProductPricing20220501::PromotionSavings, promotion_type: String, ?purchase_requirements: Peddler::APIs::ProductPricing20220501::PurchaseRequirements?) -> Peddler::APIs::ProductPricing20220501::Promotion
| (Peddler::APIs::ProductPricing20220501::PromotionSavings, String, Peddler::APIs::ProductPricing20220501::PurchaseRequirements?) -> Peddler::APIs::ProductPricing20220501::Promotion
|
.parse ⇒ Peddler::APIs::ProductPricing20220501::Promotion
591 |
# File 'sig/peddler/apis/product_pricing_2022_05_01.rbs', line 591
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::ProductPricing20220501::Promotion
|
Instance Method Details
#members ⇒ [ :promotion_savings, :promotion_type, :purchase_requirements ]
597 |
# File 'sig/peddler/apis/product_pricing_2022_05_01.rbs', line 597
def members: () -> [ :promotion_savings, :promotion_type, :purchase_requirements ]
|
#to_h ⇒ { promotion_savings: Peddler::APIs::ProductPricing20220501::PromotionSavings, promotion_type: String, purchase_requirements: Peddler::APIs::ProductPricing20220501::PurchaseRequirements? }
598 |
# File 'sig/peddler/apis/product_pricing_2022_05_01.rbs', line 598
def to_h: () -> { promotion_savings: Peddler::APIs::ProductPricing20220501::PromotionSavings, promotion_type: String, purchase_requirements: Peddler::APIs::ProductPricing20220501::PurchaseRequirements? }
|