Class: Peddler::APIs::FulfillmentInbound20240320::ShipmentDestination

Inherits:
Data
  • Object
show all
Defined in:
sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#address ⇒ Peddler::APIs::FulfillmentInbound20240320::Address? (readonly)

Returns the value of attribute address.



1759
1760
1761
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 1759

def address
  @address
end

#destination_type ⇒ String (readonly)

Returns the value of attribute destination_type.

Returns:

  • (String)


1760
1761
1762
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 1760

def destination_type
  @destination_type
end

#warehouse_id ⇒ String? (readonly)

Returns the value of attribute warehouse_id.

Returns:

  • (String, nil)


1761
1762
1763
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 1761

def warehouse_id
  @warehouse_id
end

Class Method Details

.[](destination_type:, address:, warehouse_id:) ⇒ Peddler::APIs::FulfillmentInbound20240320::ShipmentDestination .[](arg0, arg1, arg2) ⇒ Peddler::APIs::FulfillmentInbound20240320::ShipmentDestination

Overloads:



1752
1753
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 1752

def self.[]: (destination_type: String, ?address: Peddler::APIs::FulfillmentInbound20240320::Address?, ?warehouse_id: String?) -> Peddler::APIs::FulfillmentInbound20240320::ShipmentDestination
| (String, Peddler::APIs::FulfillmentInbound20240320::Address?, String?) -> Peddler::APIs::FulfillmentInbound20240320::ShipmentDestination

.members ⇒ [ :destination_type, :address, :warehouse_id ]

Returns:

  • ([ :destination_type, :address, :warehouse_id ])


1755
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 1755

def self.members: () -> [ :destination_type, :address, :warehouse_id ]

.new(destination_type:, address:, warehouse_id:) ⇒ Peddler::APIs::FulfillmentInbound20240320::ShipmentDestination .new(arg0, arg1, arg2) ⇒ Peddler::APIs::FulfillmentInbound20240320::ShipmentDestination

Overloads:



1750
1751
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 1750

def self.new: (destination_type: String, ?address: Peddler::APIs::FulfillmentInbound20240320::Address?, ?warehouse_id: String?) -> Peddler::APIs::FulfillmentInbound20240320::ShipmentDestination
| (String, Peddler::APIs::FulfillmentInbound20240320::Address?, String?) -> Peddler::APIs::FulfillmentInbound20240320::ShipmentDestination

.parse ⇒ Peddler::APIs::FulfillmentInbound20240320::ShipmentDestination

Parameters:

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

Returns:



1757
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 1757

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

Instance Method Details

#members ⇒ [ :destination_type, :address, :warehouse_id ]

Returns:

  • ([ :destination_type, :address, :warehouse_id ])


1763
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 1763

def members: () -> [ :destination_type, :address, :warehouse_id ]

#to_h ⇒ { destination_type: String, address: Peddler::APIs::FulfillmentInbound20240320::Address?, warehouse_id: String? }

Returns:



1764
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 1764

def to_h: () -> { destination_type: String, address: Peddler::APIs::FulfillmentInbound20240320::Address?, warehouse_id: String? }