Class: Peddler::APIs::ExternalFulfillmentShipments20240911::ShipmentLineItem

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

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#cancellationsArray[Peddler::APIs::ExternalFulfillmentShipments20240911::Cancellation]? (readonly)

Returns the value of attribute cancellations.



832
833
834
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 832

def cancellations
  @cancellations
end

#chargesArray[Peddler::APIs::ExternalFulfillmentShipments20240911::Charge] (readonly)

Returns the value of attribute charges.



833
834
835
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 833

def charges
  @charges
end

#compliance_attributesPeddler::APIs::ExternalFulfillmentShipments20240911::ComplianceAttributes (readonly)

Returns the value of attribute compliance_attributes.



834
835
836
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 834

def compliance_attributes
  @compliance_attributes
end

#country_of_originString? (readonly)

Returns the value of attribute country_of_origin.

Returns:

  • (String, nil)


835
836
837
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 835

def country_of_origin
  @country_of_origin
end

#custom_attributesArray[Peddler::APIs::ExternalFulfillmentShipments20240911::CustomAttribute]? (readonly)

Returns the value of attribute custom_attributes.



836
837
838
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 836

def custom_attributes
  @custom_attributes
end

#gift_attributesPeddler::APIs::ExternalFulfillmentShipments20240911::GiftAttributes? (readonly)

Returns the value of attribute gift_attributes.



837
838
839
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 837

def gift_attributes
  @gift_attributes
end

#hazmat_labelsArray[String]? (readonly)

Returns the value of attribute hazmat_labels.

Returns:

  • (Array[String], nil)


838
839
840
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 838

def hazmat_labels
  @hazmat_labels
end

#hsn_codeString? (readonly)

Returns the value of attribute hsn_code.

Returns:

  • (String, nil)


839
840
841
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 839

def hsn_code
  @hsn_code
end

#item_valuePeddler::APIs::ExternalFulfillmentShipments20240911::Amount? (readonly)

Returns the value of attribute item_value.



840
841
842
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 840

def item_value
  @item_value
end

#merchant_skuString (readonly)

Returns the value of attribute merchant_sku.

Returns:

  • (String)


841
842
843
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 841

def merchant_sku
  @merchant_sku
end

#number_of_unitsInteger (readonly)

Returns the value of attribute number_of_units.

Returns:

  • (Integer)


842
843
844
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 842

def number_of_units
  @number_of_units
end

#piece_typeString? (readonly)

Returns the value of attribute piece_type.

Returns:

  • (String, nil)


843
844
845
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 843

def piece_type
  @piece_type
end

Returns the value of attribute recommended_country_of_origin.

Returns:

  • (String, nil)


844
845
846
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 844

def recommended_country_of_origin
  @recommended_country_of_origin
end

Returns the value of attribute recommended_currency_code.

Returns:

  • (String, nil)


845
846
847
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 845

def recommended_currency_code
  @recommended_currency_code
end

#serial_numbersArray[untyped]? (readonly)

Returns the value of attribute serial_numbers.

Returns:

  • (Array[untyped], nil)


846
847
848
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 846

def serial_numbers
  @serial_numbers
end

#shipment_line_item_idString (readonly)

Returns the value of attribute shipment_line_item_id.

Returns:

  • (String)


847
848
849
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 847

def shipment_line_item_id
  @shipment_line_item_id
end

Class Method Details

.[](charges:, compliance_attributes:, merchant_sku:, number_of_units:, shipment_line_item_id:, cancellations:, country_of_origin:, custom_attributes:, gift_attributes:, hazmat_labels:, hsn_code:, item_value:, piece_type:, recommended_country_of_origin:, recommended_currency_code:, serial_numbers:) ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::ShipmentLineItem .[](arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15) ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::ShipmentLineItem

Overloads:



825
826
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 825

def self.[]: (charges: Array[Peddler::APIs::ExternalFulfillmentShipments20240911::Charge], compliance_attributes: Peddler::APIs::ExternalFulfillmentShipments20240911::ComplianceAttributes, merchant_sku: String, number_of_units: Integer, shipment_line_item_id: String, ?cancellations: Array[Peddler::APIs::ExternalFulfillmentShipments20240911::Cancellation]?, ?country_of_origin: String?, ?custom_attributes: Array[Peddler::APIs::ExternalFulfillmentShipments20240911::CustomAttribute]?, ?gift_attributes: Peddler::APIs::ExternalFulfillmentShipments20240911::GiftAttributes?, ?hazmat_labels: Array[String]?, ?hsn_code: String?, ?item_value: Peddler::APIs::ExternalFulfillmentShipments20240911::Amount?, ?piece_type: String?, ?recommended_country_of_origin: String?, ?recommended_currency_code: String?, ?serial_numbers: Array[untyped]?) -> Peddler::APIs::ExternalFulfillmentShipments20240911::ShipmentLineItem
| (Array[Peddler::APIs::ExternalFulfillmentShipments20240911::Charge], Peddler::APIs::ExternalFulfillmentShipments20240911::ComplianceAttributes, String, Integer, String, Array[Peddler::APIs::ExternalFulfillmentShipments20240911::Cancellation]?, String?, Array[Peddler::APIs::ExternalFulfillmentShipments20240911::CustomAttribute]?, Peddler::APIs::ExternalFulfillmentShipments20240911::GiftAttributes?, Array[String]?, String?, Peddler::APIs::ExternalFulfillmentShipments20240911::Amount?, String?, String?, String?, Array[untyped]?) -> Peddler::APIs::ExternalFulfillmentShipments20240911::ShipmentLineItem

.members[ :charges, :compliance_attributes, :merchant_sku, :number_of_units, :shipment_line_item_id, :cancellations, :country_of_origin, :custom_attributes, :gift_attributes, :hazmat_labels, :hsn_code, :item_value, :piece_type, :recommended_country_of_origin, :recommended_currency_code, :serial_numbers ]

Returns:

  • ([ :charges, :compliance_attributes, :merchant_sku, :number_of_units, :shipment_line_item_id, :cancellations, :country_of_origin, :custom_attributes, :gift_attributes, :hazmat_labels, :hsn_code, :item_value, :piece_type, :recommended_country_of_origin, :recommended_currency_code, :serial_numbers ])


828
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 828

def self.members: () -> [ :charges, :compliance_attributes, :merchant_sku, :number_of_units, :shipment_line_item_id, :cancellations, :country_of_origin, :custom_attributes, :gift_attributes, :hazmat_labels, :hsn_code, :item_value, :piece_type, :recommended_country_of_origin, :recommended_currency_code, :serial_numbers ]

.new(charges:, compliance_attributes:, merchant_sku:, number_of_units:, shipment_line_item_id:, cancellations:, country_of_origin:, custom_attributes:, gift_attributes:, hazmat_labels:, hsn_code:, item_value:, piece_type:, recommended_country_of_origin:, recommended_currency_code:, serial_numbers:) ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::ShipmentLineItem .new(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15) ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::ShipmentLineItem

Overloads:



823
824
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 823

def self.new: (charges: Array[Peddler::APIs::ExternalFulfillmentShipments20240911::Charge], compliance_attributes: Peddler::APIs::ExternalFulfillmentShipments20240911::ComplianceAttributes, merchant_sku: String, number_of_units: Integer, shipment_line_item_id: String, ?cancellations: Array[Peddler::APIs::ExternalFulfillmentShipments20240911::Cancellation]?, ?country_of_origin: String?, ?custom_attributes: Array[Peddler::APIs::ExternalFulfillmentShipments20240911::CustomAttribute]?, ?gift_attributes: Peddler::APIs::ExternalFulfillmentShipments20240911::GiftAttributes?, ?hazmat_labels: Array[String]?, ?hsn_code: String?, ?item_value: Peddler::APIs::ExternalFulfillmentShipments20240911::Amount?, ?piece_type: String?, ?recommended_country_of_origin: String?, ?recommended_currency_code: String?, ?serial_numbers: Array[untyped]?) -> Peddler::APIs::ExternalFulfillmentShipments20240911::ShipmentLineItem
| (Array[Peddler::APIs::ExternalFulfillmentShipments20240911::Charge], Peddler::APIs::ExternalFulfillmentShipments20240911::ComplianceAttributes, String, Integer, String, Array[Peddler::APIs::ExternalFulfillmentShipments20240911::Cancellation]?, String?, Array[Peddler::APIs::ExternalFulfillmentShipments20240911::CustomAttribute]?, Peddler::APIs::ExternalFulfillmentShipments20240911::GiftAttributes?, Array[String]?, String?, Peddler::APIs::ExternalFulfillmentShipments20240911::Amount?, String?, String?, String?, Array[untyped]?) -> Peddler::APIs::ExternalFulfillmentShipments20240911::ShipmentLineItem

.parsePeddler::APIs::ExternalFulfillmentShipments20240911::ShipmentLineItem

Parameters:

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

Returns:



830
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 830

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

Instance Method Details

#members[ :charges, :compliance_attributes, :merchant_sku, :number_of_units, :shipment_line_item_id, :cancellations, :country_of_origin, :custom_attributes, :gift_attributes, :hazmat_labels, :hsn_code, :item_value, :piece_type, :recommended_country_of_origin, :recommended_currency_code, :serial_numbers ]

Returns:

  • ([ :charges, :compliance_attributes, :merchant_sku, :number_of_units, :shipment_line_item_id, :cancellations, :country_of_origin, :custom_attributes, :gift_attributes, :hazmat_labels, :hsn_code, :item_value, :piece_type, :recommended_country_of_origin, :recommended_currency_code, :serial_numbers ])


849
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 849

def members: () -> [ :charges, :compliance_attributes, :merchant_sku, :number_of_units, :shipment_line_item_id, :cancellations, :country_of_origin, :custom_attributes, :gift_attributes, :hazmat_labels, :hsn_code, :item_value, :piece_type, :recommended_country_of_origin, :recommended_currency_code, :serial_numbers ]

#to_h{ charges: Array[Peddler::APIs::ExternalFulfillmentShipments20240911::Charge], compliance_attributes: Peddler::APIs::ExternalFulfillmentShipments20240911::ComplianceAttributes, merchant_sku: String, number_of_units: Integer, shipment_line_item_id: String, cancellations: Array[Peddler::APIs::ExternalFulfillmentShipments20240911::Cancellation]?, country_of_origin: String?, custom_attributes: Array[Peddler::APIs::ExternalFulfillmentShipments20240911::CustomAttribute]?, gift_attributes: Peddler::APIs::ExternalFulfillmentShipments20240911::GiftAttributes?, hazmat_labels: Array[String]?, hsn_code: String?, item_value: Peddler::APIs::ExternalFulfillmentShipments20240911::Amount?, piece_type: String?, recommended_country_of_origin: String?, recommended_currency_code: String?, serial_numbers: Array[untyped]? }

Returns:



850
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 850

def to_h: () -> { charges: Array[Peddler::APIs::ExternalFulfillmentShipments20240911::Charge], compliance_attributes: Peddler::APIs::ExternalFulfillmentShipments20240911::ComplianceAttributes, merchant_sku: String, number_of_units: Integer, shipment_line_item_id: String, cancellations: Array[Peddler::APIs::ExternalFulfillmentShipments20240911::Cancellation]?, country_of_origin: String?, custom_attributes: Array[Peddler::APIs::ExternalFulfillmentShipments20240911::CustomAttribute]?, gift_attributes: Peddler::APIs::ExternalFulfillmentShipments20240911::GiftAttributes?, hazmat_labels: Array[String]?, hsn_code: String?, item_value: Peddler::APIs::ExternalFulfillmentShipments20240911::Amount?, piece_type: String?, recommended_country_of_origin: String?, recommended_currency_code: String?, serial_numbers: Array[untyped]? }