Class: Peddler::APIs::FulfillmentInbound20240320::Box

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

#box_idString? (readonly)

Returns the value of attribute box_id.

Returns:

  • (String, nil)


100
101
102
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 100

def box_id
  @box_id
end

#content_information_sourceString? (readonly)

Returns the value of attribute content_information_source.

Returns:

  • (String, nil)


101
102
103
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 101

def 
  @content_information_source
end

#destination_regionPeddler::APIs::FulfillmentInbound20240320::Region? (readonly)

Returns the value of attribute destination_region.



102
103
104
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 102

def destination_region
  @destination_region
end

#dimensionsPeddler::APIs::FulfillmentInbound20240320::Dimensions? (readonly)

Returns the value of attribute dimensions.



103
104
105
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 103

def dimensions
  @dimensions
end

#external_container_identifierString? (readonly)

Returns the value of attribute external_container_identifier.

Returns:

  • (String, nil)


104
105
106
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 104

def external_container_identifier
  @external_container_identifier
end

#external_container_identifier_typeString? (readonly)

Returns the value of attribute external_container_identifier_type.

Returns:

  • (String, nil)


105
106
107
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 105

def external_container_identifier_type
  @external_container_identifier_type
end

#itemsArray[Peddler::APIs::FulfillmentInbound20240320::Item]? (readonly)

Returns the value of attribute items.



106
107
108
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 106

def items
  @items
end

#package_idString (readonly)

Returns the value of attribute package_id.

Returns:

  • (String)


107
108
109
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 107

def package_id
  @package_id
end

#quantityInteger? (readonly)

Returns the value of attribute quantity.

Returns:

  • (Integer, nil)


108
109
110
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 108

def quantity
  @quantity
end

#template_nameString? (readonly)

Returns the value of attribute template_name.

Returns:

  • (String, nil)


109
110
111
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 109

def template_name
  @template_name
end

#weightPeddler::APIs::FulfillmentInbound20240320::Weight? (readonly)

Returns the value of attribute weight.



110
111
112
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 110

def weight
  @weight
end

Class Method Details

.[](package_id:, box_id:, content_information_source:, destination_region:, dimensions:, external_container_identifier:, external_container_identifier_type:, items:, quantity:, template_name:, weight:) ⇒ Peddler::APIs::FulfillmentInbound20240320::Box .[](arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10) ⇒ Peddler::APIs::FulfillmentInbound20240320::Box

Overloads:



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

def self.[]: (package_id: String, ?box_id: String?, ?content_information_source: String?, ?destination_region: Peddler::APIs::FulfillmentInbound20240320::Region?, ?dimensions: Peddler::APIs::FulfillmentInbound20240320::Dimensions?, ?external_container_identifier: String?, ?external_container_identifier_type: String?, ?items: Array[Peddler::APIs::FulfillmentInbound20240320::Item]?, ?quantity: Integer?, ?template_name: String?, ?weight: Peddler::APIs::FulfillmentInbound20240320::Weight?) -> Peddler::APIs::FulfillmentInbound20240320::Box
| (String, String?, String?, Peddler::APIs::FulfillmentInbound20240320::Region?, Peddler::APIs::FulfillmentInbound20240320::Dimensions?, String?, String?, Array[Peddler::APIs::FulfillmentInbound20240320::Item]?, Integer?, String?, Peddler::APIs::FulfillmentInbound20240320::Weight?) -> Peddler::APIs::FulfillmentInbound20240320::Box

.members[ :package_id, :box_id, :content_information_source, :destination_region, :dimensions, :external_container_identifier, :external_container_identifier_type, :items, :quantity, :template_name, :weight ]

Returns:

  • ([ :package_id, :box_id, :content_information_source, :destination_region, :dimensions, :external_container_identifier, :external_container_identifier_type, :items, :quantity, :template_name, :weight ])


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

def self.members: () -> [ :package_id, :box_id, :content_information_source, :destination_region, :dimensions, :external_container_identifier, :external_container_identifier_type, :items, :quantity, :template_name, :weight ]

.new(package_id:, box_id:, content_information_source:, destination_region:, dimensions:, external_container_identifier:, external_container_identifier_type:, items:, quantity:, template_name:, weight:) ⇒ Peddler::APIs::FulfillmentInbound20240320::Box .new(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10) ⇒ Peddler::APIs::FulfillmentInbound20240320::Box

Overloads:



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

def self.new: (package_id: String, ?box_id: String?, ?content_information_source: String?, ?destination_region: Peddler::APIs::FulfillmentInbound20240320::Region?, ?dimensions: Peddler::APIs::FulfillmentInbound20240320::Dimensions?, ?external_container_identifier: String?, ?external_container_identifier_type: String?, ?items: Array[Peddler::APIs::FulfillmentInbound20240320::Item]?, ?quantity: Integer?, ?template_name: String?, ?weight: Peddler::APIs::FulfillmentInbound20240320::Weight?) -> Peddler::APIs::FulfillmentInbound20240320::Box
| (String, String?, String?, Peddler::APIs::FulfillmentInbound20240320::Region?, Peddler::APIs::FulfillmentInbound20240320::Dimensions?, String?, String?, Array[Peddler::APIs::FulfillmentInbound20240320::Item]?, Integer?, String?, Peddler::APIs::FulfillmentInbound20240320::Weight?) -> Peddler::APIs::FulfillmentInbound20240320::Box

.parsePeddler::APIs::FulfillmentInbound20240320::Box

Parameters:

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

Returns:



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

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

Instance Method Details

#members[ :package_id, :box_id, :content_information_source, :destination_region, :dimensions, :external_container_identifier, :external_container_identifier_type, :items, :quantity, :template_name, :weight ]

Returns:

  • ([ :package_id, :box_id, :content_information_source, :destination_region, :dimensions, :external_container_identifier, :external_container_identifier_type, :items, :quantity, :template_name, :weight ])


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

def members: () -> [ :package_id, :box_id, :content_information_source, :destination_region, :dimensions, :external_container_identifier, :external_container_identifier_type, :items, :quantity, :template_name, :weight ]

#to_h{ package_id: String, box_id: String?, content_information_source: String?, destination_region: Peddler::APIs::FulfillmentInbound20240320::Region?, dimensions: Peddler::APIs::FulfillmentInbound20240320::Dimensions?, external_container_identifier: String?, external_container_identifier_type: String?, items: Array[Peddler::APIs::FulfillmentInbound20240320::Item]?, quantity: Integer?, template_name: String?, weight: Peddler::APIs::FulfillmentInbound20240320::Weight? }

Returns:



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

def to_h: () -> { package_id: String, box_id: String?, content_information_source: String?, destination_region: Peddler::APIs::FulfillmentInbound20240320::Region?, dimensions: Peddler::APIs::FulfillmentInbound20240320::Dimensions?, external_container_identifier: String?, external_container_identifier_type: String?, items: Array[Peddler::APIs::FulfillmentInbound20240320::Item]?, quantity: Integer?, template_name: String?, weight: Peddler::APIs::FulfillmentInbound20240320::Weight? }