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.



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

def charges
  @charges
end

#original_sku ⇒ String (readonly)

Returns the value of attribute original_sku.

Returns:

  • (String)


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

def original_sku
  @original_sku
end

#replacing_sku ⇒ String (readonly)

Returns the value of attribute replacing_sku.

Returns:

  • (String)


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

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



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

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


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

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



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

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:



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

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


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

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

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

Returns:



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

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