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.
563 564 565 |
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 563 def promotion_id @promotion_id end |
Class Method Details
.[](promotion_id:) ⇒ Peddler::APIs::Orders20260101::ItemPromotionBreakdown .[](arg0) ⇒ Peddler::APIs::Orders20260101::ItemPromotionBreakdown
556 557 |
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 556
def self.[]: (?promotion_id: String?) -> Peddler::APIs::Orders20260101::ItemPromotionBreakdown
| (String?) -> Peddler::APIs::Orders20260101::ItemPromotionBreakdown
|
.members ⇒ [ :promotion_id ]
559 |
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 559
def self.members: () -> [ :promotion_id ]
|
.new(promotion_id:) ⇒ Peddler::APIs::Orders20260101::ItemPromotionBreakdown .new(arg0) ⇒ Peddler::APIs::Orders20260101::ItemPromotionBreakdown
554 555 |
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 554
def self.new: (?promotion_id: String?) -> Peddler::APIs::Orders20260101::ItemPromotionBreakdown
| (String?) -> Peddler::APIs::Orders20260101::ItemPromotionBreakdown
|
.parse ⇒ Peddler::APIs::Orders20260101::ItemPromotionBreakdown
561 |
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 561
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::Orders20260101::ItemPromotionBreakdown
|
Instance Method Details
#members ⇒ [ :promotion_id ]
565 |
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 565
def members: () -> [ :promotion_id ]
|
#to_h ⇒ { promotion_id: String? }
566 |
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 566
def to_h: () -> { promotion_id: String? }
|