Class: Peddler::APIs::FulfillmentInbound20240320::ShipmentSource

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.



1777
1778
1779
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 1777

def address
  @address
end

#source_typeString (readonly)

Returns the value of attribute source_type.

Returns:

  • (String)


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 ]

Returns:

  • ([ :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

.parsePeddler::APIs::FulfillmentInbound20240320::ShipmentSource

Parameters:

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

Returns:



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 ]

Returns:

  • ([ :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? }

Returns:



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

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