Class: Peddler::APIs::FulfillmentInbound20240320::ShipmentDestination
- Inherits:
-
Data
- Object
- Data
- Peddler::APIs::FulfillmentInbound20240320::ShipmentDestination
- Defined in:
- sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs
Instance Attribute Summary collapse
-
#address ⇒ Peddler::APIs::FulfillmentInbound20240320::Address?
readonly
Returns the value of attribute address.
-
#destination_type ⇒ String
readonly
Returns the value of attribute destination_type.
-
#warehouse_id ⇒ String?
readonly
Returns the value of attribute warehouse_id.
Class Method Summary collapse
-
.[] ⇒ Object
-
.members ⇒ [ :destination_type, :address, :warehouse_id ]
-
.new ⇒ Object
-
.parse ⇒ Peddler::APIs::FulfillmentInbound20240320::ShipmentDestination
Instance Method Summary collapse
-
#members ⇒ [ :destination_type, :address, :warehouse_id ]
-
#to_h ⇒ { destination_type: String, address: Peddler::APIs::FulfillmentInbound20240320::Address?, warehouse_id: String? }
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.
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.
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
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 ]
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
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
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 ]
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? }
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? }
|