Class: Peddler::APIs::FulfillmentInbound20240320::ShipmentSource
- Inherits:
-
Data
- Object
- Data
- Peddler::APIs::FulfillmentInbound20240320::ShipmentSource
- 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.
-
#source_type ⇒ String
readonly
Returns the value of attribute source_type.
Class Method Summary collapse
-
.[] ⇒ Object
-
.members ⇒ [ :source_type, :address ]
-
.new ⇒ Object
-
.parse ⇒ Peddler::APIs::FulfillmentInbound20240320::ShipmentSource
Instance Method Summary collapse
-
#members ⇒ [ :source_type, :address ]
-
#to_h ⇒ { source_type: String, address: Peddler::APIs::FulfillmentInbound20240320::Address? }
Instance Attribute Details
#address ⇒ Peddler::APIs::FulfillmentInbound20240320::Address? (readonly)
Returns the value of attribute address.
1777 1778 1779 |
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 1777 def address @address end |
#source_type ⇒ String (readonly)
Returns the value of attribute source_type.
1778 1779 1780 |
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 1778 def source_type @source_type end |
Class Method Details
.[](source_type:, address:) ⇒ Peddler::APIs::FulfillmentInbound20240320::ShipmentSource .[](arg0, arg1) ⇒ Peddler::APIs::FulfillmentInbound20240320::ShipmentSource
1770 1771 |
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 1770
def self.[]: (source_type: String, ?address: Peddler::APIs::FulfillmentInbound20240320::Address?) -> Peddler::APIs::FulfillmentInbound20240320::ShipmentSource
| (String, Peddler::APIs::FulfillmentInbound20240320::Address?) -> Peddler::APIs::FulfillmentInbound20240320::ShipmentSource
|
.members ⇒ [ :source_type, :address ]
1773 |
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 1773
def self.members: () -> [ :source_type, :address ]
|
.new(source_type:, address:) ⇒ Peddler::APIs::FulfillmentInbound20240320::ShipmentSource .new(arg0, arg1) ⇒ Peddler::APIs::FulfillmentInbound20240320::ShipmentSource
1768 1769 |
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 1768
def self.new: (source_type: String, ?address: Peddler::APIs::FulfillmentInbound20240320::Address?) -> Peddler::APIs::FulfillmentInbound20240320::ShipmentSource
| (String, Peddler::APIs::FulfillmentInbound20240320::Address?) -> Peddler::APIs::FulfillmentInbound20240320::ShipmentSource
|
.parse ⇒ Peddler::APIs::FulfillmentInbound20240320::ShipmentSource
1775 |
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 1775
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::FulfillmentInbound20240320::ShipmentSource
|
Instance Method Details
#members ⇒ [ :source_type, :address ]
1780 |
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 1780
def members: () -> [ :source_type, :address ]
|
#to_h ⇒ { source_type: String, address: Peddler::APIs::FulfillmentInbound20240320::Address? }
1781 |
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 1781
def to_h: () -> { source_type: String, address: Peddler::APIs::FulfillmentInbound20240320::Address? }
|