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.



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

def address
  @address
end

#source_typeString (readonly)

Returns the value of attribute source_type.

Returns:

  • (String)


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

def source_type
  @source_type
end

Class Method Details

.[](source_type:, address:) ⇒ Peddler::APIs::FulfillmentInbound20240320::ShipmentSource .[](arg0, arg1) ⇒ Peddler::APIs::FulfillmentInbound20240320::ShipmentSource



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

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


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

def self.members: () -> [ :source_type, :address ]

.new(source_type:, address:) ⇒ Peddler::APIs::FulfillmentInbound20240320::ShipmentSource .new(arg0, arg1) ⇒ Peddler::APIs::FulfillmentInbound20240320::ShipmentSource



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

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:



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

def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::FulfillmentInbound20240320::ShipmentSource

Instance Method Details

#members[ :source_type, :address ]

Returns:

  • ([ :source_type, :address ])


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

def members: () -> [ :source_type, :address ]

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

Returns:



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

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