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

#cancellations ⇒ Array[Peddler::APIs::ExternalFulfillmentShipments20240911::Cancellation]? (readonly)

Returns the value of attribute cancellations.



888
889
890
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 888

def cancellations
  @cancellations
end

#charges ⇒ Array[Peddler::APIs::ExternalFulfillmentShipments20240911::Charge] (readonly)

Returns the value of attribute charges.



889
890
891
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 889

def charges
  @charges
end

#compliance_attributes ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::ComplianceAttributes (readonly)

Returns the value of attribute compliance_attributes.



890
891
892
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 890

def compliance_attributes
  @compliance_attributes
end

#country_of_origin ⇒ String? (readonly)

Returns the value of attribute country_of_origin.

Returns:

  • (String, nil)


891
892
893
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 891

def country_of_origin
  @country_of_origin
end

#custom_attributes ⇒ Array[Peddler::APIs::ExternalFulfillmentShipments20240911::CustomAttribute]? (readonly)

Returns the value of attribute custom_attributes.



892
893
894
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 892

def custom_attributes
  @custom_attributes
end

#gift_attributes ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::GiftAttributes? (readonly)

Returns the value of attribute gift_attributes.



893
894
895
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 893

def gift_attributes
  @gift_attributes
end

#hazmat_labels ⇒ Array[String]? (readonly)

Returns the value of attribute hazmat_labels.

Returns:

  • (Array[String], nil)


894
895
896
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 894

def hazmat_labels
  @hazmat_labels
end

#hsn_code ⇒ String? (readonly)

Returns the value of attribute hsn_code.

Returns:

  • (String, nil)


895
896
897
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 895

def hsn_code
  @hsn_code
end

#item_value ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::Amount? (readonly)

Returns the value of attribute item_value.



896
897
898
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 896

def item_value
  @item_value
end

#merchant_sku ⇒ String (readonly)

Returns the value of attribute merchant_sku.

Returns:

  • (String)


897
898
899
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 897

def merchant_sku
  @merchant_sku
end

#number_of_units ⇒ Integer (readonly)

Returns the value of attribute number_of_units.

Returns:

  • (Integer)


898
899
900
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 898

def number_of_units
  @number_of_units
end

#piece_type ⇒ String? (readonly)

Returns the value of attribute piece_type.

Returns:

  • (String, nil)


899
900
901
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 899

def piece_type
  @piece_type
end

Returns the value of attribute recommended_country_of_origin.

Returns:

  • (String, nil)


900
901
902
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 900

def recommended_country_of_origin
  @recommended_country_of_origin
end

Returns the value of attribute recommended_currency_code.

Returns:

  • (String, nil)


901
902
903
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 901

def recommended_currency_code
  @recommended_currency_code
end

#serial_numbers ⇒ Array[untyped]? (readonly)

Returns the value of attribute serial_numbers.

Returns:

  • (Array[untyped], nil)


902
903
904
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 902

def serial_numbers
  @serial_numbers
end

#shipment_line_item_id ⇒ String (readonly)

Returns the value of attribute shipment_line_item_id.

Returns:

  • (String)


903
904
905
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 903

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:



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

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


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

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:



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

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

.parse ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::ShipmentLineItem

Parameters:

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

Returns:



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

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


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

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:



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

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