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.
1758 1759 1760 |
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 1758 def address @address end |
#destination_type ⇒ String (readonly)
Returns the value of attribute destination_type.
1759 1760 1761 |
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 1759 def destination_type @destination_type end |
#warehouse_id ⇒ String? (readonly)
Returns the value of attribute warehouse_id.
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
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 ]
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
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
|
.parse ⇒ Peddler::APIs::FulfillmentInbound20240320::ShipmentDestination
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 ]
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? }
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? }
|