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.



776
777
778
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 776

def cancellations
  @cancellations
end

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

Returns the value of attribute charges.



777
778
779
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 777

def charges
  @charges
end

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

Returns the value of attribute compliance_attributes.



778
779
780
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 778

def compliance_attributes
  @compliance_attributes
end

#country_of_originString? (readonly)

Returns the value of attribute country_of_origin.

Returns:

  • (String, nil)


779
780
781
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 779

def country_of_origin
  @country_of_origin
end

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

Returns the value of attribute custom_attributes.



780
781
782
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 780

def custom_attributes
  @custom_attributes
end

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

Returns the value of attribute gift_attributes.



781
782
783
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 781

def gift_attributes
  @gift_attributes
end

#hazmat_labelsArray[String]? (readonly)

Returns the value of attribute hazmat_labels.

Returns:

  • (Array[String], nil)


782
783
784
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 782

def hazmat_labels
  @hazmat_labels
end

#hsn_codeString? (readonly)

Returns the value of attribute hsn_code.

Returns:

  • (String, nil)


783
784
785
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 783

def hsn_code
  @hsn_code
end

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

Returns the value of attribute item_value.



784
785
786
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 784

def item_value
  @item_value
end

#merchant_skuString (readonly)

Returns the value of attribute merchant_sku.

Returns:

  • (String)


785
786
787
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 785

def merchant_sku
  @merchant_sku
end

#number_of_unitsInteger (readonly)

Returns the value of attribute number_of_units.

Returns:

  • (Integer)


786
787
788
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 786

def number_of_units
  @number_of_units
end

#piece_typeString? (readonly)

Returns the value of attribute piece_type.

Returns:

  • (String, nil)


787
788
789
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 787

def piece_type
  @piece_type
end

Returns the value of attribute recommended_country_of_origin.

Returns:

  • (String, nil)


788
789
790
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 788

def recommended_country_of_origin
  @recommended_country_of_origin
end

Returns the value of attribute recommended_currency_code.

Returns:

  • (String, nil)


789
790
791
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 789

def recommended_currency_code
  @recommended_currency_code
end

#serial_numbersArray[untyped]? (readonly)

Returns the value of attribute serial_numbers.

Returns:

  • (Array[untyped], nil)


790
791
792
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 790

def serial_numbers
  @serial_numbers
end

#shipment_line_item_idString (readonly)

Returns the value of attribute shipment_line_item_id.

Returns:

  • (String)


791
792
793
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 791

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:



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

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 ])


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

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:



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

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:



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

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 ])


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

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:



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

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