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)


103
104
105
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 103

def address_line1
  @address_line1
end

#address_line2String? (readonly)

Returns the value of attribute address_line2.

Returns:

  • (String, nil)


104
105
106
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 104

def address_line2
  @address_line2
end

#address_line3String? (readonly)

Returns the value of attribute address_line3.

Returns:

  • (String, nil)


105
106
107
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 105

def address_line3
  @address_line3
end

#address_typeString? (readonly)

Returns the value of attribute address_type.

Returns:

  • (String, nil)


106
107
108
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 106

def address_type
  @address_type
end

#cityString? (readonly)

Returns the value of attribute city.

Returns:

  • (String, nil)


107
108
109
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 107

def city
  @city
end

#company_nameString? (readonly)

Returns the value of attribute company_name.

Returns:

  • (String, nil)


108
109
110
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 108

def company_name
  @company_name
end

#country_codeString? (readonly)

Returns the value of attribute country_code.

Returns:

  • (String, nil)


109
110
111
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 109

def country_code
  @country_code
end

#district_or_countyString? (readonly)

Returns the value of attribute district_or_county.

Returns:

  • (String, nil)


110
111
112
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 110

def district_or_county
  @district_or_county
end

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

#municipalityString? (readonly)

Returns the value of attribute municipality.

Returns:

  • (String, nil)


112
113
114
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 112

def municipality
  @municipality
end

#nameString? (readonly)

Returns the value of attribute name.

Returns:

  • (String, nil)


113
114
115
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 113

def name
  @name
end

#phoneString? (readonly)

Returns the value of attribute phone.

Returns:

  • (String, nil)


114
115
116
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 114

def phone
  @phone
end

#postal_codeString? (readonly)

Returns the value of attribute postal_code.

Returns:

  • (String, nil)


115
116
117
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 115

def postal_code
  @postal_code
end

#state_or_regionString? (readonly)

Returns the value of attribute state_or_region.

Returns:

  • (String, nil)


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

Overloads:



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 ]

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 ])


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

Overloads:



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

.parsePeddler::APIs::Orders20260101::CustomerAddress

Parameters:

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

Returns:



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 ]

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 ])


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? }

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? })


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? }