Class: Peddler::APIs::FulfillmentOutbound20260704::CreateOrderLineItem

Inherits:
Data
  • Object
show all
Defined in:
sig/peddler/apis/fulfillment_outbound_2026_07_04.rbs

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#amountPeddler::APIs::FulfillmentOutbound20260704::Amount (readonly)

Returns the value of attribute amount.



165
166
167
# File 'sig/peddler/apis/fulfillment_outbound_2026_07_04.rbs', line 165

def amount
  @amount
end

#fulfillment_configurationPeddler::APIs::FulfillmentOutbound20260704::LineItemFulfillmentConfiguration? (readonly)

Returns the value of attribute fulfillment_configuration.



166
167
168
# File 'sig/peddler/apis/fulfillment_outbound_2026_07_04.rbs', line 166

def fulfillment_configuration
  @fulfillment_configuration
end

#line_item_idString (readonly)

Returns the value of attribute line_item_id.

Returns:

  • (String)


167
168
169
# File 'sig/peddler/apis/fulfillment_outbound_2026_07_04.rbs', line 167

def line_item_id
  @line_item_id
end

#productPeddler::APIs::FulfillmentOutbound20260704::OrderProduct (readonly)

Returns the value of attribute product.



168
169
170
# File 'sig/peddler/apis/fulfillment_outbound_2026_07_04.rbs', line 168

def product
  @product
end

Class Method Details

.[](amount:, line_item_id:, product:, fulfillment_configuration:) ⇒ Peddler::APIs::FulfillmentOutbound20260704::CreateOrderLineItem .[](arg0, arg1, arg2, arg3) ⇒ Peddler::APIs::FulfillmentOutbound20260704::CreateOrderLineItem



158
159
# File 'sig/peddler/apis/fulfillment_outbound_2026_07_04.rbs', line 158

def self.[]: (amount: Peddler::APIs::FulfillmentOutbound20260704::Amount, line_item_id: String, product: Peddler::APIs::FulfillmentOutbound20260704::OrderProduct, ?fulfillment_configuration: Peddler::APIs::FulfillmentOutbound20260704::LineItemFulfillmentConfiguration?) -> Peddler::APIs::FulfillmentOutbound20260704::CreateOrderLineItem
| (Peddler::APIs::FulfillmentOutbound20260704::Amount, String, Peddler::APIs::FulfillmentOutbound20260704::OrderProduct, Peddler::APIs::FulfillmentOutbound20260704::LineItemFulfillmentConfiguration?) -> Peddler::APIs::FulfillmentOutbound20260704::CreateOrderLineItem

.members[ :amount, :line_item_id, :product, :fulfillment_configuration ]

Returns:

  • ([ :amount, :line_item_id, :product, :fulfillment_configuration ])


161
# File 'sig/peddler/apis/fulfillment_outbound_2026_07_04.rbs', line 161

def self.members: () -> [ :amount, :line_item_id, :product, :fulfillment_configuration ]

.new(amount:, line_item_id:, product:, fulfillment_configuration:) ⇒ Peddler::APIs::FulfillmentOutbound20260704::CreateOrderLineItem .new(arg0, arg1, arg2, arg3) ⇒ Peddler::APIs::FulfillmentOutbound20260704::CreateOrderLineItem



156
157
# File 'sig/peddler/apis/fulfillment_outbound_2026_07_04.rbs', line 156

def self.new: (amount: Peddler::APIs::FulfillmentOutbound20260704::Amount, line_item_id: String, product: Peddler::APIs::FulfillmentOutbound20260704::OrderProduct, ?fulfillment_configuration: Peddler::APIs::FulfillmentOutbound20260704::LineItemFulfillmentConfiguration?) -> Peddler::APIs::FulfillmentOutbound20260704::CreateOrderLineItem
| (Peddler::APIs::FulfillmentOutbound20260704::Amount, String, Peddler::APIs::FulfillmentOutbound20260704::OrderProduct, Peddler::APIs::FulfillmentOutbound20260704::LineItemFulfillmentConfiguration?) -> Peddler::APIs::FulfillmentOutbound20260704::CreateOrderLineItem

.parsePeddler::APIs::FulfillmentOutbound20260704::CreateOrderLineItem

Parameters:

  • (Hash[String | Symbol, untyped])
  • (Object)

Returns:



163
# File 'sig/peddler/apis/fulfillment_outbound_2026_07_04.rbs', line 163

def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::FulfillmentOutbound20260704::CreateOrderLineItem

Instance Method Details

#members[ :amount, :line_item_id, :product, :fulfillment_configuration ]

Returns:

  • ([ :amount, :line_item_id, :product, :fulfillment_configuration ])


170
# File 'sig/peddler/apis/fulfillment_outbound_2026_07_04.rbs', line 170

def members: () -> [ :amount, :line_item_id, :product, :fulfillment_configuration ]

#to_h{ amount: Peddler::APIs::FulfillmentOutbound20260704::Amount, line_item_id: String, product: Peddler::APIs::FulfillmentOutbound20260704::OrderProduct, fulfillment_configuration: Peddler::APIs::FulfillmentOutbound20260704::LineItemFulfillmentConfiguration? }



171
# File 'sig/peddler/apis/fulfillment_outbound_2026_07_04.rbs', line 171

def to_h: () -> { amount: Peddler::APIs::FulfillmentOutbound20260704::Amount, line_item_id: String, product: Peddler::APIs::FulfillmentOutbound20260704::OrderProduct, fulfillment_configuration: Peddler::APIs::FulfillmentOutbound20260704::LineItemFulfillmentConfiguration? }