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.
103 104 105 |
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 103 def address_line1 @address_line1 end |
#address_line2 ⇒ String? (readonly)
Returns the value of attribute address_line2.
104 105 106 |
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 104 def address_line2 @address_line2 end |
#address_line3 ⇒ String? (readonly)
Returns the value of attribute address_line3.
105 106 107 |
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 105 def address_line3 @address_line3 end |
#address_type ⇒ String? (readonly)
Returns the value of attribute address_type.
106 107 108 |
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 106 def address_type @address_type end |
#city ⇒ String? (readonly)
Returns the value of attribute city.
107 108 109 |
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 107 def city @city end |
#company_name ⇒ String? (readonly)
Returns the value of attribute company_name.
108 109 110 |
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 108 def company_name @company_name end |
#country_code ⇒ String? (readonly)
Returns the value of attribute country_code.
109 110 111 |
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 109 def country_code @country_code end |
#district_or_county ⇒ String? (readonly)
Returns the value of attribute district_or_county.
110 111 112 |
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 110 def district_or_county @district_or_county end |
#extended_fields ⇒ Peddler::APIs::Orders20260101::AddressExtendedFields? (readonly)
Returns the value of attribute extended_fields.
111 112 113 |
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 111 def extended_fields @extended_fields end |
#municipality ⇒ String? (readonly)
Returns the value of attribute municipality.
112 113 114 |
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 112 def municipality @municipality end |
#name ⇒ String? (readonly)
Returns the value of attribute name.
113 114 115 |
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 113 def name @name end |
#phone ⇒ String? (readonly)
Returns the value of attribute phone.
114 115 116 |
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 114 def phone @phone end |
#postal_code ⇒ String? (readonly)
Returns the value of attribute postal_code.
115 116 117 |
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 115 def postal_code @postal_code end |
#state_or_region ⇒ String? (readonly)
Returns the value of attribute state_or_region.
116 117 118 |
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 116 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
96 97 |
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 96
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 ]
99 |
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 99
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
94 95 |
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 94
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
101 |
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 101
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 ]
118 |
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 118
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? }
119 |
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 119
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? }
|