Class: Peddler::APIs::Orders20260101::CustomerAddress
- Inherits:
-
Data
- Object
- Data
- Peddler::APIs::Orders20260101::CustomerAddress
- Defined in:
- sig/peddler/apis/orders_2026_01_01.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.
-
#address_type ⇒ String?
readonly
Returns the value of attribute address_type.
-
#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.
-
#district_or_county ⇒ String?
readonly
Returns the value of attribute district_or_county.
-
#extended_fields ⇒ Peddler::APIs::Orders20260101::AddressExtendedFields?
readonly
Returns the value of attribute extended_fields.
-
#municipality ⇒ String?
readonly
Returns the value of attribute municipality.
-
#name ⇒ String?
readonly
Returns the value of attribute name.
-
#phone ⇒ String?
readonly
Returns the value of attribute phone.
-
#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, :address_line2, :address_line3, :address_type, :city, :company_name, :country_code, :district_or_county, :extended_fields, :municipality, :name, :phone, :postal_code, :state_or_region ]
-
.new ⇒ Object
-
.parse ⇒ Peddler::APIs::Orders20260101::CustomerAddress
Instance Method Summary collapse
-
#members ⇒ [ :address_line1, :address_line2, :address_line3, :address_type, :city, :company_name, :country_code, :district_or_county, :extended_fields, :municipality, :name, :phone, :postal_code, :state_or_region ]
-
#to_h ⇒ { address_line1: String?, address_line2: String?, address_line3: String?, address_type: String?, city: String?, company_name: String?, country_code: String?, district_or_county: String?, extended_fields: Peddler::APIs::Orders20260101::AddressExtendedFields?, municipality: String?, name: String?, phone: String?, postal_code: String?, state_or_region: String? }
Instance Attribute Details
#address_line1 ⇒ String? (readonly)
Returns the value of attribute address_line1.
121 122 123 |
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 121 def address_line1 @address_line1 end |
#address_line2 ⇒ String? (readonly)
Returns the value of attribute address_line2.
122 123 124 |
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 122 def address_line2 @address_line2 end |
#address_line3 ⇒ String? (readonly)
Returns the value of attribute address_line3.
123 124 125 |
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 123 def address_line3 @address_line3 end |
#address_type ⇒ String? (readonly)
Returns the value of attribute address_type.
124 125 126 |
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 124 def address_type @address_type end |
#city ⇒ String? (readonly)
Returns the value of attribute city.
125 126 127 |
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 125 def city @city end |
#company_name ⇒ String? (readonly)
Returns the value of attribute company_name.
126 127 128 |
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 126 def company_name @company_name end |
#country_code ⇒ String? (readonly)
Returns the value of attribute country_code.
127 128 129 |
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 127 def country_code @country_code end |
#district_or_county ⇒ String? (readonly)
Returns the value of attribute district_or_county.
128 129 130 |
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 128 def district_or_county @district_or_county end |
#extended_fields ⇒ Peddler::APIs::Orders20260101::AddressExtendedFields? (readonly)
Returns the value of attribute extended_fields.
129 130 131 |
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 129 def extended_fields @extended_fields end |
#municipality ⇒ String? (readonly)
Returns the value of attribute municipality.
130 131 132 |
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 130 def municipality @municipality end |
#name ⇒ String? (readonly)
Returns the value of attribute name.
131 132 133 |
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 131 def name @name end |
#phone ⇒ String? (readonly)
Returns the value of attribute phone.
132 133 134 |
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 132 def phone @phone end |
#postal_code ⇒ String? (readonly)
Returns the value of attribute postal_code.
133 134 135 |
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 133 def postal_code @postal_code end |
#state_or_region ⇒ String? (readonly)
Returns the value of attribute state_or_region.
134 135 136 |
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 134 def state_or_region @state_or_region end |
Class Method Details
.[](address_line1:, address_line2:, address_line3:, address_type:, city:, company_name:, country_code:, district_or_county:, extended_fields:, municipality:, name:, phone:, postal_code:, state_or_region:) ⇒ Peddler::APIs::Orders20260101::CustomerAddress .[](arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13) ⇒ Peddler::APIs::Orders20260101::CustomerAddress
114 115 |
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 114
def self.[]: (?address_line1: String?, ?address_line2: String?, ?address_line3: String?, ?address_type: String?, ?city: String?, ?company_name: String?, ?country_code: String?, ?district_or_county: String?, ?extended_fields: Peddler::APIs::Orders20260101::AddressExtendedFields?, ?municipality: String?, ?name: String?, ?phone: String?, ?postal_code: String?, ?state_or_region: String?) -> Peddler::APIs::Orders20260101::CustomerAddress
| (String?, String?, String?, String?, String?, String?, String?, String?, Peddler::APIs::Orders20260101::AddressExtendedFields?, String?, String?, String?, String?, String?) -> Peddler::APIs::Orders20260101::CustomerAddress
|
.members ⇒ [ :address_line1, :address_line2, :address_line3, :address_type, :city, :company_name, :country_code, :district_or_county, :extended_fields, :municipality, :name, :phone, :postal_code, :state_or_region ]
117 |
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 117
def self.members: () -> [ :address_line1, :address_line2, :address_line3, :address_type, :city, :company_name, :country_code, :district_or_county, :extended_fields, :municipality, :name, :phone, :postal_code, :state_or_region ]
|
.new(address_line1:, address_line2:, address_line3:, address_type:, city:, company_name:, country_code:, district_or_county:, extended_fields:, municipality:, name:, phone:, postal_code:, state_or_region:) ⇒ Peddler::APIs::Orders20260101::CustomerAddress .new(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13) ⇒ Peddler::APIs::Orders20260101::CustomerAddress
112 113 |
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 112
def self.new: (?address_line1: String?, ?address_line2: String?, ?address_line3: String?, ?address_type: String?, ?city: String?, ?company_name: String?, ?country_code: String?, ?district_or_county: String?, ?extended_fields: Peddler::APIs::Orders20260101::AddressExtendedFields?, ?municipality: String?, ?name: String?, ?phone: String?, ?postal_code: String?, ?state_or_region: String?) -> Peddler::APIs::Orders20260101::CustomerAddress
| (String?, String?, String?, String?, String?, String?, String?, String?, Peddler::APIs::Orders20260101::AddressExtendedFields?, String?, String?, String?, String?, String?) -> Peddler::APIs::Orders20260101::CustomerAddress
|
.parse ⇒ Peddler::APIs::Orders20260101::CustomerAddress
119 |
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 119
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::Orders20260101::CustomerAddress
|
Instance Method Details
#members ⇒ [ :address_line1, :address_line2, :address_line3, :address_type, :city, :company_name, :country_code, :district_or_county, :extended_fields, :municipality, :name, :phone, :postal_code, :state_or_region ]
136 |
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 136
def members: () -> [ :address_line1, :address_line2, :address_line3, :address_type, :city, :company_name, :country_code, :district_or_county, :extended_fields, :municipality, :name, :phone, :postal_code, :state_or_region ]
|
#to_h ⇒ { address_line1: String?, address_line2: String?, address_line3: String?, address_type: String?, city: String?, company_name: String?, country_code: String?, district_or_county: String?, extended_fields: Peddler::APIs::Orders20260101::AddressExtendedFields?, municipality: String?, name: String?, phone: String?, postal_code: String?, state_or_region: String? }
137 |
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 137
def to_h: () -> { address_line1: String?, address_line2: String?, address_line3: String?, address_type: String?, city: String?, company_name: String?, country_code: String?, district_or_county: String?, extended_fields: Peddler::APIs::Orders20260101::AddressExtendedFields?, municipality: String?, name: String?, phone: String?, postal_code: String?, state_or_region: String? }
|