Class: Peddler::APIs::FulfillmentOutbound20260704::ShipmentItem

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

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#amountPeddler::APIs::FulfillmentOutbound20260704::Amount (readonly)

Returns the value of attribute amount.



1188
1189
1190
# File 'sig/peddler/apis/fulfillment_outbound_2026_07_04.rbs', line 1188

def amount
  @amount
end

#line_item_idString (readonly)

Returns the value of attribute line_item_id.

Returns:

  • (String)


1189
1190
1191
# File 'sig/peddler/apis/fulfillment_outbound_2026_07_04.rbs', line 1189

def line_item_id
  @line_item_id
end

#package_idString? (readonly)

Returns the value of attribute package_id.

Returns:

  • (String, nil)


1190
1191
1192
# File 'sig/peddler/apis/fulfillment_outbound_2026_07_04.rbs', line 1190

def package_id
  @package_id
end

#product_identifierPeddler::APIs::FulfillmentOutbound20260704::ProductIdentifier (readonly)

Returns the value of attribute product_identifier.



1191
1192
1193
# File 'sig/peddler/apis/fulfillment_outbound_2026_07_04.rbs', line 1191

def product_identifier
  @product_identifier
end

#shipment_item_idString? (readonly)

Returns the value of attribute shipment_item_id.

Returns:

  • (String, nil)


1192
1193
1194
# File 'sig/peddler/apis/fulfillment_outbound_2026_07_04.rbs', line 1192

def shipment_item_id
  @shipment_item_id
end

#unit_identifiersHash[untyped, untyped]? (readonly)

Returns the value of attribute unit_identifiers.

Returns:

  • (Hash[untyped, untyped], nil)


1193
1194
1195
# File 'sig/peddler/apis/fulfillment_outbound_2026_07_04.rbs', line 1193

def unit_identifiers
  @unit_identifiers
end

Class Method Details

.[](amount:, line_item_id:, product_identifier:, package_id:, shipment_item_id:, unit_identifiers:) ⇒ Peddler::APIs::FulfillmentOutbound20260704::ShipmentItem .[](arg0, arg1, arg2, arg3, arg4, arg5) ⇒ Peddler::APIs::FulfillmentOutbound20260704::ShipmentItem

Overloads:



1181
1182
# File 'sig/peddler/apis/fulfillment_outbound_2026_07_04.rbs', line 1181

def self.[]: (amount: Peddler::APIs::FulfillmentOutbound20260704::Amount, line_item_id: String, product_identifier: Peddler::APIs::FulfillmentOutbound20260704::ProductIdentifier, ?package_id: String?, ?shipment_item_id: String?, ?unit_identifiers: Hash[untyped, untyped]?) -> Peddler::APIs::FulfillmentOutbound20260704::ShipmentItem
| (Peddler::APIs::FulfillmentOutbound20260704::Amount, String, Peddler::APIs::FulfillmentOutbound20260704::ProductIdentifier, String?, String?, Hash[untyped, untyped]?) -> Peddler::APIs::FulfillmentOutbound20260704::ShipmentItem

.members[ :amount, :line_item_id, :product_identifier, :package_id, :shipment_item_id, :unit_identifiers ]

Returns:

  • ([ :amount, :line_item_id, :product_identifier, :package_id, :shipment_item_id, :unit_identifiers ])


1184
# File 'sig/peddler/apis/fulfillment_outbound_2026_07_04.rbs', line 1184

def self.members: () -> [ :amount, :line_item_id, :product_identifier, :package_id, :shipment_item_id, :unit_identifiers ]

.new(amount:, line_item_id:, product_identifier:, package_id:, shipment_item_id:, unit_identifiers:) ⇒ Peddler::APIs::FulfillmentOutbound20260704::ShipmentItem .new(arg0, arg1, arg2, arg3, arg4, arg5) ⇒ Peddler::APIs::FulfillmentOutbound20260704::ShipmentItem

Overloads:



1179
1180
# File 'sig/peddler/apis/fulfillment_outbound_2026_07_04.rbs', line 1179

def self.new: (amount: Peddler::APIs::FulfillmentOutbound20260704::Amount, line_item_id: String, product_identifier: Peddler::APIs::FulfillmentOutbound20260704::ProductIdentifier, ?package_id: String?, ?shipment_item_id: String?, ?unit_identifiers: Hash[untyped, untyped]?) -> Peddler::APIs::FulfillmentOutbound20260704::ShipmentItem
| (Peddler::APIs::FulfillmentOutbound20260704::Amount, String, Peddler::APIs::FulfillmentOutbound20260704::ProductIdentifier, String?, String?, Hash[untyped, untyped]?) -> Peddler::APIs::FulfillmentOutbound20260704::ShipmentItem

.parsePeddler::APIs::FulfillmentOutbound20260704::ShipmentItem

Parameters:

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

Returns:



1186
# File 'sig/peddler/apis/fulfillment_outbound_2026_07_04.rbs', line 1186

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

Instance Method Details

#members[ :amount, :line_item_id, :product_identifier, :package_id, :shipment_item_id, :unit_identifiers ]

Returns:

  • ([ :amount, :line_item_id, :product_identifier, :package_id, :shipment_item_id, :unit_identifiers ])


1195
# File 'sig/peddler/apis/fulfillment_outbound_2026_07_04.rbs', line 1195

def members: () -> [ :amount, :line_item_id, :product_identifier, :package_id, :shipment_item_id, :unit_identifiers ]

#to_h{ amount: Peddler::APIs::FulfillmentOutbound20260704::Amount, line_item_id: String, product_identifier: Peddler::APIs::FulfillmentOutbound20260704::ProductIdentifier, package_id: String?, shipment_item_id: String?, unit_identifiers: Hash[untyped, untyped]? }

Returns:



1196
# File 'sig/peddler/apis/fulfillment_outbound_2026_07_04.rbs', line 1196

def to_h: () -> { amount: Peddler::APIs::FulfillmentOutbound20260704::Amount, line_item_id: String, product_identifier: Peddler::APIs::FulfillmentOutbound20260704::ProductIdentifier, package_id: String?, shipment_item_id: String?, unit_identifiers: Hash[untyped, untyped]? }