Class: Peddler::APIs::FulfillmentInbound20240320::Region

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

#country_codeString? (readonly)

Returns the value of attribute country_code.

Returns:

  • (String, nil)


1541
1542
1543
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 1541

def country_code
  @country_code
end

#stateString? (readonly)

Returns the value of attribute state.

Returns:

  • (String, nil)


1542
1543
1544
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 1542

def state
  @state
end

#warehouse_idString? (readonly)

Returns the value of attribute warehouse_id.

Returns:

  • (String, nil)


1543
1544
1545
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 1543

def warehouse_id
  @warehouse_id
end

Class Method Details

.[](country_code:, state:, warehouse_id:) ⇒ Peddler::APIs::FulfillmentInbound20240320::Region .[](arg0, arg1, arg2) ⇒ Peddler::APIs::FulfillmentInbound20240320::Region

Overloads:



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

def self.[]: (?country_code: String?, ?state: String?, ?warehouse_id: String?) -> Peddler::APIs::FulfillmentInbound20240320::Region
| (String?, String?, String?) -> Peddler::APIs::FulfillmentInbound20240320::Region

.members[ :country_code, :state, :warehouse_id ]

Returns:

  • ([ :country_code, :state, :warehouse_id ])


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

def self.members: () -> [ :country_code, :state, :warehouse_id ]

.new(country_code:, state:, warehouse_id:) ⇒ Peddler::APIs::FulfillmentInbound20240320::Region .new(arg0, arg1, arg2) ⇒ Peddler::APIs::FulfillmentInbound20240320::Region

Overloads:



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

def self.new: (?country_code: String?, ?state: String?, ?warehouse_id: String?) -> Peddler::APIs::FulfillmentInbound20240320::Region
| (String?, String?, String?) -> Peddler::APIs::FulfillmentInbound20240320::Region

.parsePeddler::APIs::FulfillmentInbound20240320::Region

Parameters:

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

Returns:



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

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

Instance Method Details

#members[ :country_code, :state, :warehouse_id ]

Returns:

  • ([ :country_code, :state, :warehouse_id ])


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

def members: () -> [ :country_code, :state, :warehouse_id ]

#to_h{ country_code: String?, state: String?, warehouse_id: String? }

Returns:

  • ({ country_code: String?, state: String?, warehouse_id: String? })


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

def to_h: () -> { country_code: String?, state: String?, warehouse_id: String? }