Class: Peddler::APIs::FulfillmentOutbound20200701::TrackingAddress

Inherits:
Data
  • Object
show all
Defined in:
sig/peddler/apis/fulfillment_outbound_2020_07_01.rbs

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#cityString (readonly)

Returns the value of attribute city.

Returns:

  • (String)


1425
1426
1427
# File 'sig/peddler/apis/fulfillment_outbound_2020_07_01.rbs', line 1425

def city
  @city
end

#countryString (readonly)

Returns the value of attribute country.

Returns:

  • (String)


1426
1427
1428
# File 'sig/peddler/apis/fulfillment_outbound_2020_07_01.rbs', line 1426

def country
  @country
end

#stateString (readonly)

Returns the value of attribute state.

Returns:

  • (String)


1427
1428
1429
# File 'sig/peddler/apis/fulfillment_outbound_2020_07_01.rbs', line 1427

def state
  @state
end

Class Method Details

.[](city:, country:, state:) ⇒ Peddler::APIs::FulfillmentOutbound20200701::TrackingAddress .[](arg0, arg1, arg2) ⇒ Peddler::APIs::FulfillmentOutbound20200701::TrackingAddress

Overloads:



1418
1419
# File 'sig/peddler/apis/fulfillment_outbound_2020_07_01.rbs', line 1418

def self.[]: (city: String, country: String, state: String) -> Peddler::APIs::FulfillmentOutbound20200701::TrackingAddress
| (String, String, String) -> Peddler::APIs::FulfillmentOutbound20200701::TrackingAddress

.members[ :city, :country, :state ]

Returns:

  • ([ :city, :country, :state ])


1421
# File 'sig/peddler/apis/fulfillment_outbound_2020_07_01.rbs', line 1421

def self.members: () -> [ :city, :country, :state ]

.new(city:, country:, state:) ⇒ Peddler::APIs::FulfillmentOutbound20200701::TrackingAddress .new(arg0, arg1, arg2) ⇒ Peddler::APIs::FulfillmentOutbound20200701::TrackingAddress

Overloads:



1416
1417
# File 'sig/peddler/apis/fulfillment_outbound_2020_07_01.rbs', line 1416

def self.new: (city: String, country: String, state: String) -> Peddler::APIs::FulfillmentOutbound20200701::TrackingAddress
| (String, String, String) -> Peddler::APIs::FulfillmentOutbound20200701::TrackingAddress

.parsePeddler::APIs::FulfillmentOutbound20200701::TrackingAddress

Parameters:

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

Returns:



1423
# File 'sig/peddler/apis/fulfillment_outbound_2020_07_01.rbs', line 1423

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

Instance Method Details

#members[ :city, :country, :state ]

Returns:

  • ([ :city, :country, :state ])


1429
# File 'sig/peddler/apis/fulfillment_outbound_2020_07_01.rbs', line 1429

def members: () -> [ :city, :country, :state ]

#to_h{ city: String, country: String, state: String }

Returns:

  • ({ city: String, country: String, state: String })


1430
# File 'sig/peddler/apis/fulfillment_outbound_2020_07_01.rbs', line 1430

def to_h: () -> { city: String, country: String, state: String }