Class: Peddler::APIs::ShippingV1::Location
- Inherits:
-
Data
- Object
- Data
- Peddler::APIs::ShippingV1::Location
- Defined in:
- sig/peddler/apis/shipping_v1.rbs
Instance Attribute Summary collapse
-
#city ⇒ String?
readonly
Returns the value of attribute city.
-
#country_code ⇒ String?
readonly
Returns the value of attribute country_code.
-
#postal_code ⇒ String?
readonly
Returns the value of attribute postal_code.
-
#state_or_region ⇒ String?
readonly
Returns the value of attribute state_or_region.
Class Method Summary collapse
-
.[] ⇒ Object
-
.members ⇒ [ :city, :country_code, :postal_code, :state_or_region ]
-
.new ⇒ Object
-
.parse ⇒ Peddler::APIs::ShippingV1::Location
Instance Method Summary collapse
-
#members ⇒ [ :city, :country_code, :postal_code, :state_or_region ]
-
#to_h ⇒ { city: String?, country_code: String?, postal_code: String?, state_or_region: String? }
Instance Attribute Details
#city ⇒ String? (readonly)
Returns the value of attribute city.
432 433 434 |
# File 'sig/peddler/apis/shipping_v1.rbs', line 432 def city @city end |
#country_code ⇒ String? (readonly)
Returns the value of attribute country_code.
433 434 435 |
# File 'sig/peddler/apis/shipping_v1.rbs', line 433 def country_code @country_code end |
#postal_code ⇒ String? (readonly)
Returns the value of attribute postal_code.
434 435 436 |
# File 'sig/peddler/apis/shipping_v1.rbs', line 434 def postal_code @postal_code end |
#state_or_region ⇒ String? (readonly)
Returns the value of attribute state_or_region.
435 436 437 |
# File 'sig/peddler/apis/shipping_v1.rbs', line 435 def state_or_region @state_or_region end |
Class Method Details
.[](city:, country_code:, postal_code:, state_or_region:) ⇒ Peddler::APIs::ShippingV1::Location .[](arg0, arg1, arg2, arg3) ⇒ Peddler::APIs::ShippingV1::Location
425 426 |
# File 'sig/peddler/apis/shipping_v1.rbs', line 425
def self.[]: (?city: String?, ?country_code: String?, ?postal_code: String?, ?state_or_region: String?) -> Peddler::APIs::ShippingV1::Location
| (String?, String?, String?, String?) -> Peddler::APIs::ShippingV1::Location
|
.members ⇒ [ :city, :country_code, :postal_code, :state_or_region ]
428 |
# File 'sig/peddler/apis/shipping_v1.rbs', line 428
def self.members: () -> [ :city, :country_code, :postal_code, :state_or_region ]
|
.new(city:, country_code:, postal_code:, state_or_region:) ⇒ Peddler::APIs::ShippingV1::Location .new(arg0, arg1, arg2, arg3) ⇒ Peddler::APIs::ShippingV1::Location
423 424 |
# File 'sig/peddler/apis/shipping_v1.rbs', line 423
def self.new: (?city: String?, ?country_code: String?, ?postal_code: String?, ?state_or_region: String?) -> Peddler::APIs::ShippingV1::Location
| (String?, String?, String?, String?) -> Peddler::APIs::ShippingV1::Location
|
.parse ⇒ Peddler::APIs::ShippingV1::Location
430 |
# File 'sig/peddler/apis/shipping_v1.rbs', line 430
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::ShippingV1::Location
|
Instance Method Details
#members ⇒ [ :city, :country_code, :postal_code, :state_or_region ]
437 |
# File 'sig/peddler/apis/shipping_v1.rbs', line 437
def members: () -> [ :city, :country_code, :postal_code, :state_or_region ]
|
#to_h ⇒ { city: String?, country_code: String?, postal_code: String?, state_or_region: String? }
438 |
# File 'sig/peddler/apis/shipping_v1.rbs', line 438
def to_h: () -> { city: String?, country_code: String?, postal_code: String?, state_or_region: String? }
|