Class: Peddler::APIs::ShippingV2::Address
- Inherits:
-
Data
- Object
- Data
- Peddler::APIs::ShippingV2::Address
- Defined in:
- sig/peddler/apis/shipping_v2.rbs
Instance Attribute Summary collapse
-
#address_line1 ⇒ String
readonly
Returns the value of attribute address_line1.
-
#address_line2 ⇒ String?
readonly
Returns the value of attribute address_line2.
-
#address_line3 ⇒ String?
readonly
Returns the value of attribute address_line3.
-
#city ⇒ String
readonly
Returns the value of attribute city.
-
#company_name ⇒ String?
readonly
Returns the value of attribute company_name.
-
#country_code ⇒ String
readonly
Returns the value of attribute country_code.
-
#email ⇒ String?
readonly
Returns the value of attribute email.
-
#geocode ⇒ Peddler::APIs::ShippingV2::Geocode?
readonly
Returns the value of attribute geocode.
-
#name ⇒ String
readonly
Returns the value of attribute name.
-
#phone_number ⇒ String?
readonly
Returns the value of attribute phone_number.
-
#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 ⇒ [ :address_line1, :city, :country_code, :name, :postal_code, :state_or_region, :address_line2, :address_line3, :company_name, :email, :geocode, :phone_number ]
-
.new ⇒ Object
-
.parse ⇒ Peddler::APIs::ShippingV2::Address
Instance Method Summary collapse
-
#members ⇒ [ :address_line1, :city, :country_code, :name, :postal_code, :state_or_region, :address_line2, :address_line3, :company_name, :email, :geocode, :phone_number ]
-
#to_h ⇒ { address_line1: String, city: String, country_code: String, name: String, postal_code: String, state_or_region: String, address_line2: String?, address_line3: String?, company_name: String?, email: String?, geocode: Peddler::APIs::ShippingV2::Geocode?, phone_number: String? }
Instance Attribute Details
#address_line1 ⇒ String (readonly)
Returns the value of attribute address_line1.
97 98 99 |
# File 'sig/peddler/apis/shipping_v2.rbs', line 97 def address_line1 @address_line1 end |
#address_line2 ⇒ String? (readonly)
Returns the value of attribute address_line2.
98 99 100 |
# File 'sig/peddler/apis/shipping_v2.rbs', line 98 def address_line2 @address_line2 end |
#address_line3 ⇒ String? (readonly)
Returns the value of attribute address_line3.
99 100 101 |
# File 'sig/peddler/apis/shipping_v2.rbs', line 99 def address_line3 @address_line3 end |
#city ⇒ String (readonly)
Returns the value of attribute city.
100 101 102 |
# File 'sig/peddler/apis/shipping_v2.rbs', line 100 def city @city end |
#company_name ⇒ String? (readonly)
Returns the value of attribute company_name.
101 102 103 |
# File 'sig/peddler/apis/shipping_v2.rbs', line 101 def company_name @company_name end |
#country_code ⇒ String (readonly)
Returns the value of attribute country_code.
102 103 104 |
# File 'sig/peddler/apis/shipping_v2.rbs', line 102 def country_code @country_code end |
#email ⇒ String? (readonly)
Returns the value of attribute email.
103 104 105 |
# File 'sig/peddler/apis/shipping_v2.rbs', line 103 def email @email end |
#geocode ⇒ Peddler::APIs::ShippingV2::Geocode? (readonly)
Returns the value of attribute geocode.
104 105 106 |
# File 'sig/peddler/apis/shipping_v2.rbs', line 104 def geocode @geocode end |
#name ⇒ String (readonly)
Returns the value of attribute name.
105 106 107 |
# File 'sig/peddler/apis/shipping_v2.rbs', line 105 def name @name end |
#phone_number ⇒ String? (readonly)
Returns the value of attribute phone_number.
106 107 108 |
# File 'sig/peddler/apis/shipping_v2.rbs', line 106 def phone_number @phone_number end |
#postal_code ⇒ String (readonly)
Returns the value of attribute postal_code.
107 108 109 |
# File 'sig/peddler/apis/shipping_v2.rbs', line 107 def postal_code @postal_code end |
#state_or_region ⇒ String (readonly)
Returns the value of attribute state_or_region.
108 109 110 |
# File 'sig/peddler/apis/shipping_v2.rbs', line 108 def state_or_region @state_or_region end |
Class Method Details
.[](address_line1:, city:, country_code:, name:, postal_code:, state_or_region:, address_line2:, address_line3:, company_name:, email:, geocode:, phone_number:) ⇒ Peddler::APIs::ShippingV2::Address .[](arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11) ⇒ Peddler::APIs::ShippingV2::Address
90 91 |
# File 'sig/peddler/apis/shipping_v2.rbs', line 90
def self.[]: (address_line1: String, city: String, country_code: String, name: String, postal_code: String, state_or_region: String, ?address_line2: String?, ?address_line3: String?, ?company_name: String?, ?email: String?, ?geocode: Peddler::APIs::ShippingV2::Geocode?, ?phone_number: String?) -> Peddler::APIs::ShippingV2::Address
| (String, String, String, String, String, String, String?, String?, String?, String?, Peddler::APIs::ShippingV2::Geocode?, String?) -> Peddler::APIs::ShippingV2::Address
|
.members ⇒ [ :address_line1, :city, :country_code, :name, :postal_code, :state_or_region, :address_line2, :address_line3, :company_name, :email, :geocode, :phone_number ]
93 |
# File 'sig/peddler/apis/shipping_v2.rbs', line 93
def self.members: () -> [ :address_line1, :city, :country_code, :name, :postal_code, :state_or_region, :address_line2, :address_line3, :company_name, :email, :geocode, :phone_number ]
|
.new(address_line1:, city:, country_code:, name:, postal_code:, state_or_region:, address_line2:, address_line3:, company_name:, email:, geocode:, phone_number:) ⇒ Peddler::APIs::ShippingV2::Address .new(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11) ⇒ Peddler::APIs::ShippingV2::Address
88 89 |
# File 'sig/peddler/apis/shipping_v2.rbs', line 88
def self.new: (address_line1: String, city: String, country_code: String, name: String, postal_code: String, state_or_region: String, ?address_line2: String?, ?address_line3: String?, ?company_name: String?, ?email: String?, ?geocode: Peddler::APIs::ShippingV2::Geocode?, ?phone_number: String?) -> Peddler::APIs::ShippingV2::Address
| (String, String, String, String, String, String, String?, String?, String?, String?, Peddler::APIs::ShippingV2::Geocode?, String?) -> Peddler::APIs::ShippingV2::Address
|
.parse ⇒ Peddler::APIs::ShippingV2::Address
95 |
# File 'sig/peddler/apis/shipping_v2.rbs', line 95
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::ShippingV2::Address
|
Instance Method Details
#members ⇒ [ :address_line1, :city, :country_code, :name, :postal_code, :state_or_region, :address_line2, :address_line3, :company_name, :email, :geocode, :phone_number ]
110 |
# File 'sig/peddler/apis/shipping_v2.rbs', line 110
def members: () -> [ :address_line1, :city, :country_code, :name, :postal_code, :state_or_region, :address_line2, :address_line3, :company_name, :email, :geocode, :phone_number ]
|
#to_h ⇒ { address_line1: String, city: String, country_code: String, name: String, postal_code: String, state_or_region: String, address_line2: String?, address_line3: String?, company_name: String?, email: String?, geocode: Peddler::APIs::ShippingV2::Geocode?, phone_number: String? }
111 |
# File 'sig/peddler/apis/shipping_v2.rbs', line 111
def to_h: () -> { address_line1: String, city: String, country_code: String, name: String, postal_code: String, state_or_region: String, address_line2: String?, address_line3: String?, company_name: String?, email: String?, geocode: Peddler::APIs::ShippingV2::Geocode?, phone_number: String? }
|