Class: Peddler::APIs::FulfillmentInbound20240320::CustomPlacementInput

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

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#itemsArray[Peddler::APIs::FulfillmentInbound20240320::ItemInput] (readonly)

Returns the value of attribute items.



491
492
493
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 491

def items
  @items
end

#warehouse_idString (readonly)

Returns the value of attribute warehouse_id.

Returns:

  • (String)


492
493
494
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 492

def warehouse_id
  @warehouse_id
end

Class Method Details

.[](items:, warehouse_id:) ⇒ Peddler::APIs::FulfillmentInbound20240320::CustomPlacementInput .[](arg0, arg1) ⇒ Peddler::APIs::FulfillmentInbound20240320::CustomPlacementInput



484
485
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 484

def self.[]: (items: Array[Peddler::APIs::FulfillmentInbound20240320::ItemInput], warehouse_id: String) -> Peddler::APIs::FulfillmentInbound20240320::CustomPlacementInput
| (Array[Peddler::APIs::FulfillmentInbound20240320::ItemInput], String) -> Peddler::APIs::FulfillmentInbound20240320::CustomPlacementInput

.members[ :items, :warehouse_id ]

Returns:

  • ([ :items, :warehouse_id ])


487
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 487

def self.members: () -> [ :items, :warehouse_id ]

.new(items:, warehouse_id:) ⇒ Peddler::APIs::FulfillmentInbound20240320::CustomPlacementInput .new(arg0, arg1) ⇒ Peddler::APIs::FulfillmentInbound20240320::CustomPlacementInput



482
483
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 482

def self.new: (items: Array[Peddler::APIs::FulfillmentInbound20240320::ItemInput], warehouse_id: String) -> Peddler::APIs::FulfillmentInbound20240320::CustomPlacementInput
| (Array[Peddler::APIs::FulfillmentInbound20240320::ItemInput], String) -> Peddler::APIs::FulfillmentInbound20240320::CustomPlacementInput

.parsePeddler::APIs::FulfillmentInbound20240320::CustomPlacementInput

Parameters:

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

Returns:



489
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 489

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

Instance Method Details

#members[ :items, :warehouse_id ]

Returns:

  • ([ :items, :warehouse_id ])


494
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 494

def members: () -> [ :items, :warehouse_id ]

#to_h{ items: Array[Peddler::APIs::FulfillmentInbound20240320::ItemInput], warehouse_id: String }

Returns:



495
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 495

def to_h: () -> { items: Array[Peddler::APIs::FulfillmentInbound20240320::ItemInput], warehouse_id: String }