Class: Peddler::APIs::FulfillmentInbound20240320::BoxUpdateInput

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

#content_information_sourceString (readonly)

Returns the value of attribute content_information_source.

Returns:

  • (String)


162
163
164
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 162

def 
  @content_information_source
end

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

Returns the value of attribute dimensions.



163
164
165
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 163

def dimensions
  @dimensions
end

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

Returns the value of attribute items.



164
165
166
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 164

def items
  @items
end

#package_idString? (readonly)

Returns the value of attribute package_id.

Returns:

  • (String, nil)


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

def package_id
  @package_id
end

#quantityInteger (readonly)

Returns the value of attribute quantity.

Returns:

  • (Integer)


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

def quantity
  @quantity
end

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

Returns the value of attribute weight.



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

def weight
  @weight
end

Class Method Details

.[](content_information_source:, dimensions:, quantity:, weight:, items:, package_id:) ⇒ Peddler::APIs::FulfillmentInbound20240320::BoxUpdateInput .[](arg0, arg1, arg2, arg3, arg4, arg5) ⇒ Peddler::APIs::FulfillmentInbound20240320::BoxUpdateInput

Overloads:



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

def self.[]: (content_information_source: String, dimensions: Peddler::APIs::FulfillmentInbound20240320::Dimensions, quantity: Integer, weight: Peddler::APIs::FulfillmentInbound20240320::Weight, ?items: Array[Peddler::APIs::FulfillmentInbound20240320::ItemInput]?, ?package_id: String?) -> Peddler::APIs::FulfillmentInbound20240320::BoxUpdateInput
| (String, Peddler::APIs::FulfillmentInbound20240320::Dimensions, Integer, Peddler::APIs::FulfillmentInbound20240320::Weight, Array[Peddler::APIs::FulfillmentInbound20240320::ItemInput]?, String?) -> Peddler::APIs::FulfillmentInbound20240320::BoxUpdateInput

.members[ :content_information_source, :dimensions, :quantity, :weight, :items, :package_id ]

Returns:

  • ([ :content_information_source, :dimensions, :quantity, :weight, :items, :package_id ])


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

def self.members: () -> [ :content_information_source, :dimensions, :quantity, :weight, :items, :package_id ]

.new(content_information_source:, dimensions:, quantity:, weight:, items:, package_id:) ⇒ Peddler::APIs::FulfillmentInbound20240320::BoxUpdateInput .new(arg0, arg1, arg2, arg3, arg4, arg5) ⇒ Peddler::APIs::FulfillmentInbound20240320::BoxUpdateInput

Overloads:



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

def self.new: (content_information_source: String, dimensions: Peddler::APIs::FulfillmentInbound20240320::Dimensions, quantity: Integer, weight: Peddler::APIs::FulfillmentInbound20240320::Weight, ?items: Array[Peddler::APIs::FulfillmentInbound20240320::ItemInput]?, ?package_id: String?) -> Peddler::APIs::FulfillmentInbound20240320::BoxUpdateInput
| (String, Peddler::APIs::FulfillmentInbound20240320::Dimensions, Integer, Peddler::APIs::FulfillmentInbound20240320::Weight, Array[Peddler::APIs::FulfillmentInbound20240320::ItemInput]?, String?) -> Peddler::APIs::FulfillmentInbound20240320::BoxUpdateInput

.parsePeddler::APIs::FulfillmentInbound20240320::BoxUpdateInput

Parameters:

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

Returns:



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

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

Instance Method Details

#members[ :content_information_source, :dimensions, :quantity, :weight, :items, :package_id ]

Returns:

  • ([ :content_information_source, :dimensions, :quantity, :weight, :items, :package_id ])


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

def members: () -> [ :content_information_source, :dimensions, :quantity, :weight, :items, :package_id ]

#to_h{ content_information_source: String, dimensions: Peddler::APIs::FulfillmentInbound20240320::Dimensions, quantity: Integer, weight: Peddler::APIs::FulfillmentInbound20240320::Weight, items: Array[Peddler::APIs::FulfillmentInbound20240320::ItemInput]?, package_id: String? }

Returns:



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

def to_h: () -> { content_information_source: String, dimensions: Peddler::APIs::FulfillmentInbound20240320::Dimensions, quantity: Integer, weight: Peddler::APIs::FulfillmentInbound20240320::Weight, items: Array[Peddler::APIs::FulfillmentInbound20240320::ItemInput]?, package_id: String? }