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.
597 598 599 |
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 597 def promotion_id @promotion_id end |
Class Method Details
.[](promotion_id:) ⇒ Peddler::APIs::Orders20260101::ItemPromotionBreakdown .[](arg0) ⇒ Peddler::APIs::Orders20260101::ItemPromotionBreakdown
590 591 |
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 590
def self.[]: (?promotion_id: String?) -> Peddler::APIs::Orders20260101::ItemPromotionBreakdown
| (String?) -> Peddler::APIs::Orders20260101::ItemPromotionBreakdown
|
.members ⇒ [ :promotion_id ]
593 |
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 593
def self.members: () -> [ :promotion_id ]
|
.new(promotion_id:) ⇒ Peddler::APIs::Orders20260101::ItemPromotionBreakdown .new(arg0) ⇒ Peddler::APIs::Orders20260101::ItemPromotionBreakdown
588 589 |
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 588
def self.new: (?promotion_id: String?) -> Peddler::APIs::Orders20260101::ItemPromotionBreakdown
| (String?) -> Peddler::APIs::Orders20260101::ItemPromotionBreakdown
|
.parse ⇒ Peddler::APIs::Orders20260101::ItemPromotionBreakdown
595 |
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 595
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::Orders20260101::ItemPromotionBreakdown
|
Instance Method Details
#members ⇒ [ :promotion_id ]
599 |
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 599
def members: () -> [ :promotion_id ]
|
#to_h ⇒ { promotion_id: String? }
600 |
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 600
def to_h: () -> { promotion_id: String? }
|