Class: Peddler::APIs::ExternalFulfillmentShipments20240911::ShipmentLineItem
- Inherits:
-
Data
- Object
- Data
- Peddler::APIs::ExternalFulfillmentShipments20240911::ShipmentLineItem
- Defined in:
- sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs
Instance Attribute Summary collapse
-
#cancellations ⇒ Array[Peddler::APIs::ExternalFulfillmentShipments20240911::Cancellation]?
readonly
Returns the value of attribute cancellations.
-
#charges ⇒ Array[Peddler::APIs::ExternalFulfillmentShipments20240911::Charge]
readonly
Returns the value of attribute charges.
-
#compliance_attributes ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::ComplianceAttributes
readonly
Returns the value of attribute compliance_attributes.
-
#country_of_origin ⇒ String?
readonly
Returns the value of attribute country_of_origin.
-
#custom_attributes ⇒ Array[Peddler::APIs::ExternalFulfillmentShipments20240911::CustomAttribute]?
readonly
Returns the value of attribute custom_attributes.
-
#gift_attributes ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::GiftAttributes?
readonly
Returns the value of attribute gift_attributes.
-
#hazmat_labels ⇒ Array[String]?
readonly
Returns the value of attribute hazmat_labels.
-
#hsn_code ⇒ String?
readonly
Returns the value of attribute hsn_code.
-
#item_value ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::Amount?
readonly
Returns the value of attribute item_value.
-
#merchant_sku ⇒ String
readonly
Returns the value of attribute merchant_sku.
-
#number_of_units ⇒ Integer
readonly
Returns the value of attribute number_of_units.
-
#piece_type ⇒ String?
readonly
Returns the value of attribute piece_type.
-
#recommended_country_of_origin ⇒ String?
readonly
Returns the value of attribute recommended_country_of_origin.
-
#recommended_currency_code ⇒ String?
readonly
Returns the value of attribute recommended_currency_code.
-
#serial_numbers ⇒ Array[untyped]?
readonly
Returns the value of attribute serial_numbers.
-
#shipment_line_item_id ⇒ String
readonly
Returns the value of attribute shipment_line_item_id.
Class Method Summary collapse
-
.[] ⇒ Object
-
.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 ⇒ Object
-
.parse ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::ShipmentLineItem
Instance Method Summary collapse
-
#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]? }
Instance Attribute Details
#cancellations ⇒ Array[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 |
#charges ⇒ Array[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_attributes ⇒ Peddler::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_origin ⇒ String? (readonly)
Returns the value of attribute country_of_origin.
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_attributes ⇒ Array[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_attributes ⇒ Peddler::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_labels ⇒ Array[String]? (readonly)
Returns the value of attribute hazmat_labels.
782 783 784 |
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 782 def hazmat_labels @hazmat_labels end |
#hsn_code ⇒ String? (readonly)
Returns the value of attribute hsn_code.
783 784 785 |
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 783 def hsn_code @hsn_code end |
#item_value ⇒ Peddler::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_sku ⇒ String (readonly)
Returns the value of attribute merchant_sku.
785 786 787 |
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 785 def merchant_sku @merchant_sku end |
#number_of_units ⇒ Integer (readonly)
Returns the value of attribute number_of_units.
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_type ⇒ String? (readonly)
Returns the value of attribute piece_type.
787 788 789 |
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 787 def piece_type @piece_type end |
#recommended_country_of_origin ⇒ String? (readonly)
Returns the value of attribute recommended_country_of_origin.
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 |
#recommended_currency_code ⇒ String? (readonly)
Returns the value of attribute recommended_currency_code.
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_numbers ⇒ Array[untyped]? (readonly)
Returns the value of attribute serial_numbers.
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_id ⇒ String (readonly)
Returns the value of attribute shipment_line_item_id.
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
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 ]
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
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
|
.parse ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::ShipmentLineItem
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 ]
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]? }
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]? }
|