Class: Peddler::APIs::Orders20260101::CustomerAddress

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

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#address_line1String? (readonly)

Returns the value of attribute address_line1.

Returns:

  • (String, nil)


121
122
123
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 121

def address_line1
  @address_line1
end

#address_line2String? (readonly)

Returns the value of attribute address_line2.

Returns:

  • (String, nil)


122
123
124
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 122

def address_line2
  @address_line2
end

#address_line3String? (readonly)

Returns the value of attribute address_line3.

Returns:

  • (String, nil)


123
124
125
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 123

def address_line3
  @address_line3
end

#address_typeString? (readonly)

Returns the value of attribute address_type.

Returns:

  • (String, nil)


124
125
126
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 124

def address_type
  @address_type
end

#cityString? (readonly)

Returns the value of attribute city.

Returns:

  • (String, nil)


125
126
127
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 125

def city
  @city
end

#company_nameString? (readonly)

Returns the value of attribute company_name.

Returns:

  • (String, nil)


126
127
128
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 126

def company_name
  @company_name
end

#country_codeString? (readonly)

Returns the value of attribute country_code.

Returns:

  • (String, nil)


127
128
129
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 127

def country_code
  @country_code
end

#district_or_countyString? (readonly)

Returns the value of attribute district_or_county.

Returns:

  • (String, nil)


128
129
130
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 128

def district_or_county
  @district_or_county
end

#extended_fieldsPeddler::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

#municipalityString? (readonly)

Returns the value of attribute municipality.

Returns:

  • (String, nil)


130
131
132
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 130

def municipality
  @municipality
end

#nameString? (readonly)

Returns the value of attribute name.

Returns:

  • (String, nil)


131
132
133
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 131

def name
  @name
end

#phoneString? (readonly)

Returns the value of attribute phone.

Returns:

  • (String, nil)


132
133
134
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 132

def phone
  @phone
end

#postal_codeString? (readonly)

Returns the value of attribute postal_code.

Returns:

  • (String, nil)


133
134
135
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 133

def postal_code
  @postal_code
end

#state_or_regionString? (readonly)

Returns the value of attribute state_or_region.

Returns:

  • (String, nil)


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

Overloads:



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 ]

Returns:

  • ([ :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

Overloads:



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

.parsePeddler::APIs::Orders20260101::CustomerAddress

Parameters:

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

Returns:



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 ]

Returns:

  • ([ :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? }

Returns:

  • ({ 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? }