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.
832 833 834 |
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 832 def cancellations @cancellations end |
#charges ⇒ Array[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_attributes ⇒ Peddler::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_origin ⇒ String? (readonly)
Returns the value of attribute country_of_origin.
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_attributes ⇒ Array[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_attributes ⇒ Peddler::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_labels ⇒ Array[String]? (readonly)
Returns the value of attribute hazmat_labels.
838 839 840 |
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 838 def hazmat_labels @hazmat_labels end |
#hsn_code ⇒ String? (readonly)
Returns the value of attribute hsn_code.
839 840 841 |
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 839 def hsn_code @hsn_code end |
#item_value ⇒ Peddler::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_sku ⇒ String (readonly)
Returns the value of attribute merchant_sku.
841 842 843 |
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 841 def merchant_sku @merchant_sku end |
#number_of_units ⇒ Integer (readonly)
Returns the value of attribute number_of_units.
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_type ⇒ String? (readonly)
Returns the value of attribute piece_type.
843 844 845 |
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 843 def piece_type @piece_type end |
#recommended_country_of_origin ⇒ String? (readonly)
Returns the value of attribute recommended_country_of_origin.
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 |
#recommended_currency_code ⇒ String? (readonly)
Returns the value of attribute recommended_currency_code.
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_numbers ⇒ Array[untyped]? (readonly)
Returns the value of attribute serial_numbers.
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_id ⇒ String (readonly)
Returns the value of attribute shipment_line_item_id.
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
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 ]
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
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
|
.parse ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::ShipmentLineItem
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 ]
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]? }
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]? }
|