Class: Peddler::APIs::FulfillmentInbound20240320::BoxInput

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)


126
127
128
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 126

def 
  @content_information_source
end

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

Returns the value of attribute dimensions.



127
128
129
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 127

def dimensions
  @dimensions
end

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

Returns the value of attribute items.



128
129
130
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 128

def items
  @items
end

#quantityInteger (readonly)

Returns the value of attribute quantity.

Returns:

  • (Integer)


129
130
131
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 129

def quantity
  @quantity
end

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

Returns the value of attribute weight.



130
131
132
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 130

def weight
  @weight
end

Class Method Details

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

Overloads:



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

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

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

Returns:

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


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

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

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

Overloads:



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

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]?) -> Peddler::APIs::FulfillmentInbound20240320::BoxInput
| (String, Peddler::APIs::FulfillmentInbound20240320::Dimensions, Integer, Peddler::APIs::FulfillmentInbound20240320::Weight, Array[Peddler::APIs::FulfillmentInbound20240320::ItemInput]?) -> Peddler::APIs::FulfillmentInbound20240320::BoxInput

.parsePeddler::APIs::FulfillmentInbound20240320::BoxInput

Parameters:

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

Returns:



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

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

Instance Method Details

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

Returns:

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


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

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

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

Returns:



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

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]? }