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.
544 545 546 |
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 544 def promotion_id @promotion_id end |
Class Method Details
.[](promotion_id:) ⇒ Peddler::APIs::Orders20260101::ItemPromotionBreakdown .[](arg0) ⇒ Peddler::APIs::Orders20260101::ItemPromotionBreakdown
537 538 |
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 537
def self.[]: (?promotion_id: String?) -> Peddler::APIs::Orders20260101::ItemPromotionBreakdown
| (String?) -> Peddler::APIs::Orders20260101::ItemPromotionBreakdown
|
.members ⇒ [ :promotion_id ]
540 |
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 540
def self.members: () -> [ :promotion_id ]
|
.new(promotion_id:) ⇒ Peddler::APIs::Orders20260101::ItemPromotionBreakdown .new(arg0) ⇒ Peddler::APIs::Orders20260101::ItemPromotionBreakdown
535 536 |
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 535
def self.new: (?promotion_id: String?) -> Peddler::APIs::Orders20260101::ItemPromotionBreakdown
| (String?) -> Peddler::APIs::Orders20260101::ItemPromotionBreakdown
|
.parse ⇒ Peddler::APIs::Orders20260101::ItemPromotionBreakdown
542 |
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 542
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::Orders20260101::ItemPromotionBreakdown
|
Instance Method Details
#members ⇒ [ :promotion_id ]
546 |
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 546
def members: () -> [ :promotion_id ]
|
#to_h ⇒ { promotion_id: String? }
547 |
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 547
def to_h: () -> { promotion_id: String? }
|