Class: Peddler::APIs::FulfillmentInbound20240320::Box
- Inherits:
-
Data
- Object
- Data
- Peddler::APIs::FulfillmentInbound20240320::Box
- Defined in:
- sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs
Instance Attribute Summary collapse
-
#box_id ⇒ String?
readonly
Returns the value of attribute box_id.
-
#content_information_source ⇒ String?
readonly
Returns the value of attribute content_information_source.
-
#destination_region ⇒ Peddler::APIs::FulfillmentInbound20240320::Region?
readonly
Returns the value of attribute destination_region.
-
#dimensions ⇒ Peddler::APIs::FulfillmentInbound20240320::Dimensions?
readonly
Returns the value of attribute dimensions.
-
#external_container_identifier ⇒ String?
readonly
Returns the value of attribute external_container_identifier.
-
#external_container_identifier_type ⇒ String?
readonly
Returns the value of attribute external_container_identifier_type.
-
#items ⇒ Array[Peddler::APIs::FulfillmentInbound20240320::Item]?
readonly
Returns the value of attribute items.
-
#package_id ⇒ String
readonly
Returns the value of attribute package_id.
-
#quantity ⇒ Integer?
readonly
Returns the value of attribute quantity.
-
#template_name ⇒ String?
readonly
Returns the value of attribute template_name.
-
#weight ⇒ Peddler::APIs::FulfillmentInbound20240320::Weight?
readonly
Returns the value of attribute weight.
Class Method Summary collapse
-
.[] ⇒ Object
-
.members ⇒ [ :package_id, :box_id, :content_information_source, :destination_region, :dimensions, :external_container_identifier, :external_container_identifier_type, :items, :quantity, :template_name, :weight ]
-
.new ⇒ Object
-
.parse ⇒ Peddler::APIs::FulfillmentInbound20240320::Box
Instance Method Summary collapse
-
#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? }
Instance Attribute Details
#box_id ⇒ String? (readonly)
Returns the value of attribute box_id.
100 101 102 |
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 100 def box_id @box_id end |
#content_information_source ⇒ String? (readonly)
Returns the value of attribute content_information_source.
101 102 103 |
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 101 def content_information_source @content_information_source end |
#destination_region ⇒ Peddler::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 |
#dimensions ⇒ Peddler::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_identifier ⇒ String? (readonly)
Returns the value of attribute external_container_identifier.
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_type ⇒ String? (readonly)
Returns the value of attribute external_container_identifier_type.
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 |
#items ⇒ Array[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_id ⇒ String (readonly)
Returns the value of attribute package_id.
107 108 109 |
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 107 def package_id @package_id end |
#quantity ⇒ Integer? (readonly)
Returns the value of attribute quantity.
108 109 110 |
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 108 def quantity @quantity end |
#template_name ⇒ String? (readonly)
Returns the value of attribute template_name.
109 110 111 |
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 109 def template_name @template_name end |
#weight ⇒ Peddler::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
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 ]
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
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
|
.parse ⇒ Peddler::APIs::FulfillmentInbound20240320::Box
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 ]
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? }
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? }
|