Class: Peddler::APIs::ExternalFulfillmentShipments20240911::OriginalLineItem

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

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

Returns the value of attribute charges.



482
483
484
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 482

def charges
  @charges
end

#original_sku ⇒ String (readonly)

Returns the value of attribute original_sku.

Returns:

  • (String)


483
484
485
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 483

def original_sku
  @original_sku
end

#replacing_sku ⇒ String (readonly)

Returns the value of attribute replacing_sku.

Returns:

  • (String)


484
485
486
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 484

def replacing_sku
  @replacing_sku
end

Class Method Details

.[](charges:, original_sku:, replacing_sku:) ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::OriginalLineItem .[](arg0, arg1, arg2) ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::OriginalLineItem



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

def self.[]: (charges: Array[Peddler::APIs::ExternalFulfillmentShipments20240911::Charge], original_sku: String, replacing_sku: String) -> Peddler::APIs::ExternalFulfillmentShipments20240911::OriginalLineItem
| (Array[Peddler::APIs::ExternalFulfillmentShipments20240911::Charge], String, String) -> Peddler::APIs::ExternalFulfillmentShipments20240911::OriginalLineItem

.members ⇒ [ :charges, :original_sku, :replacing_sku ]

Returns:

  • ([ :charges, :original_sku, :replacing_sku ])


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

def self.members: () -> [ :charges, :original_sku, :replacing_sku ]

.new(charges:, original_sku:, replacing_sku:) ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::OriginalLineItem .new(arg0, arg1, arg2) ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::OriginalLineItem



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

def self.new: (charges: Array[Peddler::APIs::ExternalFulfillmentShipments20240911::Charge], original_sku: String, replacing_sku: String) -> Peddler::APIs::ExternalFulfillmentShipments20240911::OriginalLineItem
| (Array[Peddler::APIs::ExternalFulfillmentShipments20240911::Charge], String, String) -> Peddler::APIs::ExternalFulfillmentShipments20240911::OriginalLineItem

.parse ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::OriginalLineItem

Parameters:

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

Returns:



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

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

Instance Method Details

#members ⇒ [ :charges, :original_sku, :replacing_sku ]

Returns:

  • ([ :charges, :original_sku, :replacing_sku ])


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

def members: () -> [ :charges, :original_sku, :replacing_sku ]

#to_h ⇒ { charges: Array[Peddler::APIs::ExternalFulfillmentShipments20240911::Charge], original_sku: String, replacing_sku: String }

Returns:



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

def to_h: () -> { charges: Array[Peddler::APIs::ExternalFulfillmentShipments20240911::Charge], original_sku: String, replacing_sku: String }