Class: Peddler::APIs::Orders20260101::OrderItem
- Inherits:
-
Data
- Object
- Data
- Peddler::APIs::Orders20260101::OrderItem
- Defined in:
- sig/peddler/apis/orders_2026_01_01.rbs
Instance Attribute Summary collapse
-
#cancellation ⇒ Peddler::APIs::Orders20260101::ItemCancellation?
readonly
Returns the value of attribute cancellation.
-
#expense ⇒ Peddler::APIs::Orders20260101::ItemExpense?
readonly
Returns the value of attribute expense.
-
#fulfillment ⇒ Peddler::APIs::Orders20260101::ItemFulfillment?
readonly
Returns the value of attribute fulfillment.
-
#measurement ⇒ Peddler::APIs::Orders20260101::Measurement?
readonly
Returns the value of attribute measurement.
-
#order_item_id ⇒ String
readonly
Returns the value of attribute order_item_id.
-
#proceeds ⇒ Peddler::APIs::Orders20260101::ItemProceeds?
readonly
Returns the value of attribute proceeds.
-
#product ⇒ Peddler::APIs::Orders20260101::ItemProduct
readonly
Returns the value of attribute product.
-
#programs ⇒ Array[String]?
readonly
Returns the value of attribute programs.
-
#promotion ⇒ Peddler::APIs::Orders20260101::ItemPromotion?
readonly
Returns the value of attribute promotion.
-
#quantity_ordered ⇒ Integer
readonly
Returns the value of attribute quantity_ordered.
Class Method Summary collapse
-
.[] ⇒ Object
-
.members ⇒ [ :order_item_id, :product, :quantity_ordered, :cancellation, :expense, :fulfillment, :measurement, :proceeds, :programs, :promotion ]
-
.new ⇒ Object
-
.parse ⇒ Peddler::APIs::Orders20260101::OrderItem
Instance Method Summary collapse
-
#members ⇒ [ :order_item_id, :product, :quantity_ordered, :cancellation, :expense, :fulfillment, :measurement, :proceeds, :programs, :promotion ]
-
#to_h ⇒ { order_item_id: String, product: Peddler::APIs::Orders20260101::ItemProduct, quantity_ordered: Integer, cancellation: Peddler::APIs::Orders20260101::ItemCancellation?, expense: Peddler::APIs::Orders20260101::ItemExpense?, fulfillment: Peddler::APIs::Orders20260101::ItemFulfillment?, measurement: Peddler::APIs::Orders20260101::Measurement?, proceeds: Peddler::APIs::Orders20260101::ItemProceeds?, programs: Array[String]?, promotion: Peddler::APIs::Orders20260101::ItemPromotion? }
Instance Attribute Details
#cancellation ⇒ Peddler::APIs::Orders20260101::ItemCancellation? (readonly)
Returns the value of attribute cancellation.
725 726 727 |
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 725 def cancellation @cancellation end |
#expense ⇒ Peddler::APIs::Orders20260101::ItemExpense? (readonly)
Returns the value of attribute expense.
726 727 728 |
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 726 def expense @expense end |
#fulfillment ⇒ Peddler::APIs::Orders20260101::ItemFulfillment? (readonly)
Returns the value of attribute fulfillment.
727 728 729 |
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 727 def fulfillment @fulfillment end |
#measurement ⇒ Peddler::APIs::Orders20260101::Measurement? (readonly)
Returns the value of attribute measurement.
728 729 730 |
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 728 def measurement @measurement end |
#order_item_id ⇒ String (readonly)
Returns the value of attribute order_item_id.
729 730 731 |
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 729 def order_item_id @order_item_id end |
#proceeds ⇒ Peddler::APIs::Orders20260101::ItemProceeds? (readonly)
Returns the value of attribute proceeds.
730 731 732 |
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 730 def proceeds @proceeds end |
#product ⇒ Peddler::APIs::Orders20260101::ItemProduct (readonly)
Returns the value of attribute product.
731 732 733 |
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 731 def product @product end |
#programs ⇒ Array[String]? (readonly)
Returns the value of attribute programs.
732 733 734 |
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 732 def programs @programs end |
#promotion ⇒ Peddler::APIs::Orders20260101::ItemPromotion? (readonly)
Returns the value of attribute promotion.
733 734 735 |
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 733 def promotion @promotion end |
#quantity_ordered ⇒ Integer (readonly)
Returns the value of attribute quantity_ordered.
734 735 736 |
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 734 def quantity_ordered @quantity_ordered end |
Class Method Details
.[](order_item_id:, product:, quantity_ordered:, cancellation:, expense:, fulfillment:, measurement:, proceeds:, programs:, promotion:) ⇒ Peddler::APIs::Orders20260101::OrderItem .[](arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) ⇒ Peddler::APIs::Orders20260101::OrderItem
718 719 |
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 718
def self.[]: (order_item_id: String, product: Peddler::APIs::Orders20260101::ItemProduct, quantity_ordered: Integer, ?cancellation: Peddler::APIs::Orders20260101::ItemCancellation?, ?expense: Peddler::APIs::Orders20260101::ItemExpense?, ?fulfillment: Peddler::APIs::Orders20260101::ItemFulfillment?, ?measurement: Peddler::APIs::Orders20260101::Measurement?, ?proceeds: Peddler::APIs::Orders20260101::ItemProceeds?, ?programs: Array[String]?, ?promotion: Peddler::APIs::Orders20260101::ItemPromotion?) -> Peddler::APIs::Orders20260101::OrderItem
| (String, Peddler::APIs::Orders20260101::ItemProduct, Integer, Peddler::APIs::Orders20260101::ItemCancellation?, Peddler::APIs::Orders20260101::ItemExpense?, Peddler::APIs::Orders20260101::ItemFulfillment?, Peddler::APIs::Orders20260101::Measurement?, Peddler::APIs::Orders20260101::ItemProceeds?, Array[String]?, Peddler::APIs::Orders20260101::ItemPromotion?) -> Peddler::APIs::Orders20260101::OrderItem
|
.members ⇒ [ :order_item_id, :product, :quantity_ordered, :cancellation, :expense, :fulfillment, :measurement, :proceeds, :programs, :promotion ]
721 |
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 721
def self.members: () -> [ :order_item_id, :product, :quantity_ordered, :cancellation, :expense, :fulfillment, :measurement, :proceeds, :programs, :promotion ]
|
.new(order_item_id:, product:, quantity_ordered:, cancellation:, expense:, fulfillment:, measurement:, proceeds:, programs:, promotion:) ⇒ Peddler::APIs::Orders20260101::OrderItem .new(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) ⇒ Peddler::APIs::Orders20260101::OrderItem
716 717 |
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 716
def self.new: (order_item_id: String, product: Peddler::APIs::Orders20260101::ItemProduct, quantity_ordered: Integer, ?cancellation: Peddler::APIs::Orders20260101::ItemCancellation?, ?expense: Peddler::APIs::Orders20260101::ItemExpense?, ?fulfillment: Peddler::APIs::Orders20260101::ItemFulfillment?, ?measurement: Peddler::APIs::Orders20260101::Measurement?, ?proceeds: Peddler::APIs::Orders20260101::ItemProceeds?, ?programs: Array[String]?, ?promotion: Peddler::APIs::Orders20260101::ItemPromotion?) -> Peddler::APIs::Orders20260101::OrderItem
| (String, Peddler::APIs::Orders20260101::ItemProduct, Integer, Peddler::APIs::Orders20260101::ItemCancellation?, Peddler::APIs::Orders20260101::ItemExpense?, Peddler::APIs::Orders20260101::ItemFulfillment?, Peddler::APIs::Orders20260101::Measurement?, Peddler::APIs::Orders20260101::ItemProceeds?, Array[String]?, Peddler::APIs::Orders20260101::ItemPromotion?) -> Peddler::APIs::Orders20260101::OrderItem
|
.parse ⇒ Peddler::APIs::Orders20260101::OrderItem
723 |
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 723
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::Orders20260101::OrderItem
|
Instance Method Details
#members ⇒ [ :order_item_id, :product, :quantity_ordered, :cancellation, :expense, :fulfillment, :measurement, :proceeds, :programs, :promotion ]
736 |
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 736
def members: () -> [ :order_item_id, :product, :quantity_ordered, :cancellation, :expense, :fulfillment, :measurement, :proceeds, :programs, :promotion ]
|
#to_h ⇒ { order_item_id: String, product: Peddler::APIs::Orders20260101::ItemProduct, quantity_ordered: Integer, cancellation: Peddler::APIs::Orders20260101::ItemCancellation?, expense: Peddler::APIs::Orders20260101::ItemExpense?, fulfillment: Peddler::APIs::Orders20260101::ItemFulfillment?, measurement: Peddler::APIs::Orders20260101::Measurement?, proceeds: Peddler::APIs::Orders20260101::ItemProceeds?, programs: Array[String]?, promotion: Peddler::APIs::Orders20260101::ItemPromotion? }
737 |
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 737
def to_h: () -> { order_item_id: String, product: Peddler::APIs::Orders20260101::ItemProduct, quantity_ordered: Integer, cancellation: Peddler::APIs::Orders20260101::ItemCancellation?, expense: Peddler::APIs::Orders20260101::ItemExpense?, fulfillment: Peddler::APIs::Orders20260101::ItemFulfillment?, measurement: Peddler::APIs::Orders20260101::Measurement?, proceeds: Peddler::APIs::Orders20260101::ItemProceeds?, programs: Array[String]?, promotion: Peddler::APIs::Orders20260101::ItemPromotion? }
|