Class: Peddler::APIs::Orders20260101::ItemPromotionBreakdown
- Inherits:
-
Data
- Object
- Data
- Peddler::APIs::Orders20260101::ItemPromotionBreakdown
- Defined in:
- sig/peddler/apis/orders_2026_01_01.rbs
Instance Attribute Summary collapse
-
#promotion_id ⇒ String?
readonly
Returns the value of attribute promotion_id.
Class Method Summary collapse
- .[] ⇒ Object
- .members ⇒ [ :promotion_id ]
- .new ⇒ Object
- .parse ⇒ Peddler::APIs::Orders20260101::ItemPromotionBreakdown
Instance Method Summary collapse
Instance Attribute Details
#promotion_id ⇒ String? (readonly)
Returns the value of attribute promotion_id.
579 580 581 |
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 579 def promotion_id @promotion_id end |
Class Method Details
.[](promotion_id:) ⇒ Peddler::APIs::Orders20260101::ItemPromotionBreakdown .[](arg0) ⇒ Peddler::APIs::Orders20260101::ItemPromotionBreakdown
572 573 |
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 572 def self.[]: (?promotion_id: String?) -> Peddler::APIs::Orders20260101::ItemPromotionBreakdown | (String?) -> Peddler::APIs::Orders20260101::ItemPromotionBreakdown |
.members ⇒ [ :promotion_id ]
575 |
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 575 def self.members: () -> [ :promotion_id ] |
.new(promotion_id:) ⇒ Peddler::APIs::Orders20260101::ItemPromotionBreakdown .new(arg0) ⇒ Peddler::APIs::Orders20260101::ItemPromotionBreakdown
570 571 |
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 570 def self.new: (?promotion_id: String?) -> Peddler::APIs::Orders20260101::ItemPromotionBreakdown | (String?) -> Peddler::APIs::Orders20260101::ItemPromotionBreakdown |
.parse ⇒ Peddler::APIs::Orders20260101::ItemPromotionBreakdown
577 |
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 577 def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::Orders20260101::ItemPromotionBreakdown |
Instance Method Details
#members ⇒ [ :promotion_id ]
581 |
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 581 def members: () -> [ :promotion_id ] |
#to_h ⇒ { promotion_id: String? }
582 |
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 582 def to_h: () -> { promotion_id: String? } |