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

#chargesArray[Peddler::APIs::ExternalFulfillmentShipments20240911::Charge] (readonly)

Returns the value of attribute charges.



389
390
391
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 389

def charges
  @charges
end

#original_skuString (readonly)

Returns the value of attribute original_sku.

Returns:

  • (String)


390
391
392
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 390

def original_sku
  @original_sku
end

#replacing_skuString (readonly)

Returns the value of attribute replacing_sku.

Returns:

  • (String)


391
392
393
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 391

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



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

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


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

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



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

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

.parsePeddler::APIs::ExternalFulfillmentShipments20240911::OriginalLineItem

Parameters:

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

Returns:



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

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


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

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

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

Returns:



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

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