Class: Peddler::APIs::ExternalFulfillmentShipments20240911::ReplacedShipmentInfo

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

#idString (readonly)

Returns the value of attribute id.

Returns:

  • (String)


632
633
634
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 632

def id
  @id
end

#location_idString (readonly)

Returns the value of attribute location_id.

Returns:

  • (String)


633
634
635
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 633

def location_id
  @location_id
end

#marketplace_attributesPeddler::APIs::ExternalFulfillmentShipments20240911::MarketplaceAttributes (readonly)

Returns the value of attribute marketplace_attributes.



634
635
636
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 634

def marketplace_attributes
  @marketplace_attributes
end

#original_line_itemsArray[Peddler::APIs::ExternalFulfillmentShipments20240911::OriginalLineItem]? (readonly)

Returns the value of attribute original_line_items.



635
636
637
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 635

def original_line_items
  @original_line_items
end

Class Method Details

.[](id:, location_id:, marketplace_attributes:, original_line_items:) ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::ReplacedShipmentInfo .[](arg0, arg1, arg2, arg3) ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::ReplacedShipmentInfo



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

def self.[]: (id: String, location_id: String, marketplace_attributes: Peddler::APIs::ExternalFulfillmentShipments20240911::MarketplaceAttributes, ?original_line_items: Array[Peddler::APIs::ExternalFulfillmentShipments20240911::OriginalLineItem]?) -> Peddler::APIs::ExternalFulfillmentShipments20240911::ReplacedShipmentInfo
| (String, String, Peddler::APIs::ExternalFulfillmentShipments20240911::MarketplaceAttributes, Array[Peddler::APIs::ExternalFulfillmentShipments20240911::OriginalLineItem]?) -> Peddler::APIs::ExternalFulfillmentShipments20240911::ReplacedShipmentInfo

.members[ :id, :location_id, :marketplace_attributes, :original_line_items ]

Returns:

  • ([ :id, :location_id, :marketplace_attributes, :original_line_items ])


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

def self.members: () -> [ :id, :location_id, :marketplace_attributes, :original_line_items ]

.new(id:, location_id:, marketplace_attributes:, original_line_items:) ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::ReplacedShipmentInfo .new(arg0, arg1, arg2, arg3) ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::ReplacedShipmentInfo



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

def self.new: (id: String, location_id: String, marketplace_attributes: Peddler::APIs::ExternalFulfillmentShipments20240911::MarketplaceAttributes, ?original_line_items: Array[Peddler::APIs::ExternalFulfillmentShipments20240911::OriginalLineItem]?) -> Peddler::APIs::ExternalFulfillmentShipments20240911::ReplacedShipmentInfo
| (String, String, Peddler::APIs::ExternalFulfillmentShipments20240911::MarketplaceAttributes, Array[Peddler::APIs::ExternalFulfillmentShipments20240911::OriginalLineItem]?) -> Peddler::APIs::ExternalFulfillmentShipments20240911::ReplacedShipmentInfo

.parsePeddler::APIs::ExternalFulfillmentShipments20240911::ReplacedShipmentInfo

Parameters:

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

Returns:



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

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

Instance Method Details

#members[ :id, :location_id, :marketplace_attributes, :original_line_items ]

Returns:

  • ([ :id, :location_id, :marketplace_attributes, :original_line_items ])


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

def members: () -> [ :id, :location_id, :marketplace_attributes, :original_line_items ]

#to_h{ id: String, location_id: String, marketplace_attributes: Peddler::APIs::ExternalFulfillmentShipments20240911::MarketplaceAttributes, original_line_items: Array[Peddler::APIs::ExternalFulfillmentShipments20240911::OriginalLineItem]? }

Returns:



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

def to_h: () -> { id: String, location_id: String, marketplace_attributes: Peddler::APIs::ExternalFulfillmentShipments20240911::MarketplaceAttributes, original_line_items: Array[Peddler::APIs::ExternalFulfillmentShipments20240911::OriginalLineItem]? }