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

#addressPeddler::APIs::FulfillmentInbound20240320::Address? (readonly)

Returns the value of attribute address.



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

def address
  @address
end

#destination_typeString (readonly)

Returns the value of attribute destination_type.

Returns:

  • (String)


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

def destination_type
  @destination_type
end

#warehouse_idString? (readonly)

Returns the value of attribute warehouse_id.

Returns:

  • (String, nil)


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

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:



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

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


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

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:



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

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

.parsePeddler::APIs::FulfillmentInbound20240320::ShipmentDestination

Parameters:

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

Returns:



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

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


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

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

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

Returns:



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

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