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

#id ⇒ String (readonly)

Returns the value of attribute id.

Returns:

  • (String)


724
725
726
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 724

def id
  @id
end

#location_id ⇒ String (readonly)

Returns the value of attribute location_id.

Returns:

  • (String)


725
726
727
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 725

def location_id
  @location_id
end

#marketplace_attributes ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::MarketplaceAttributes (readonly)

Returns the value of attribute marketplace_attributes.



726
727
728
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 726

def marketplace_attributes
  @marketplace_attributes
end

#original_line_items ⇒ Array[Peddler::APIs::ExternalFulfillmentShipments20240911::OriginalLineItem]? (readonly)

Returns the value of attribute original_line_items.



727
728
729
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 727

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



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

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


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

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



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

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

.parse ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::ReplacedShipmentInfo

Parameters:

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

Returns:



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

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


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

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:



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

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