Class: Peddler::APIs::OrdersV0::Address

Inherits:
Data
  • Object
show all
Defined in:
sig/peddler/apis/orders_v0.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)


14
15
16
# File 'sig/peddler/apis/orders_v0.rbs', line 14

def address_line1
  @address_line1
end

#address_line2String? (readonly)

Returns the value of attribute address_line2.

Returns:

  • (String, nil)


15
16
17
# File 'sig/peddler/apis/orders_v0.rbs', line 15

def address_line2
  @address_line2
end

#address_line3String? (readonly)

Returns the value of attribute address_line3.

Returns:

  • (String, nil)


16
17
18
# File 'sig/peddler/apis/orders_v0.rbs', line 16

def address_line3
  @address_line3
end

#address_typeString? (readonly)

Returns the value of attribute address_type.

Returns:

  • (String, nil)


17
18
19
# File 'sig/peddler/apis/orders_v0.rbs', line 17

def address_type
  @address_type
end

#cityString? (readonly)

Returns the value of attribute city.

Returns:

  • (String, nil)


18
19
20
# File 'sig/peddler/apis/orders_v0.rbs', line 18

def city
  @city
end

#company_nameString? (readonly)

Returns the value of attribute company_name.

Returns:

  • (String, nil)


19
20
21
# File 'sig/peddler/apis/orders_v0.rbs', line 19

def company_name
  @company_name
end

#country_codeString? (readonly)

Returns the value of attribute country_code.

Returns:

  • (String, nil)


20
21
22
# File 'sig/peddler/apis/orders_v0.rbs', line 20

def country_code
  @country_code
end

#countyString? (readonly)

Returns the value of attribute county.

Returns:

  • (String, nil)


21
22
23
# File 'sig/peddler/apis/orders_v0.rbs', line 21

def county
  @county
end

#districtString? (readonly)

Returns the value of attribute district.

Returns:

  • (String, nil)


22
23
24
# File 'sig/peddler/apis/orders_v0.rbs', line 22

def district
  @district
end

#extended_fieldsPeddler::APIs::OrdersV0::AddressExtendedFields? (readonly)

Returns the value of attribute extended_fields.



23
24
25
# File 'sig/peddler/apis/orders_v0.rbs', line 23

def extended_fields
  @extended_fields
end

#municipalityString? (readonly)

Returns the value of attribute municipality.

Returns:

  • (String, nil)


24
25
26
# File 'sig/peddler/apis/orders_v0.rbs', line 24

def municipality
  @municipality
end

#nameString? (readonly)

Returns the value of attribute name.

Returns:

  • (String, nil)


25
26
27
# File 'sig/peddler/apis/orders_v0.rbs', line 25

def name
  @name
end

#phoneString? (readonly)

Returns the value of attribute phone.

Returns:

  • (String, nil)


26
27
28
# File 'sig/peddler/apis/orders_v0.rbs', line 26

def phone
  @phone
end

#postal_codeString? (readonly)

Returns the value of attribute postal_code.

Returns:

  • (String, nil)


27
28
29
# File 'sig/peddler/apis/orders_v0.rbs', line 27

def postal_code
  @postal_code
end

#state_or_regionString? (readonly)

Returns the value of attribute state_or_region.

Returns:

  • (String, nil)


28
29
30
# File 'sig/peddler/apis/orders_v0.rbs', line 28

def state_or_region
  @state_or_region
end

Class Method Details

.[](address_line1:, address_line2:, address_line3:, address_type:, city:, company_name:, country_code:, county:, district:, extended_fields:, municipality:, name:, phone:, postal_code:, state_or_region:) ⇒ Peddler::APIs::OrdersV0::Address .[](arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14) ⇒ Peddler::APIs::OrdersV0::Address

Overloads:

  • .[](address_line1:, address_line2:, address_line3:, address_type:, city:, company_name:, country_code:, county:, district:, extended_fields:, municipality:, name:, phone:, postal_code:, state_or_region:) ⇒ Peddler::APIs::OrdersV0::Address

    Parameters:

    • address_line1: (String, nil)
    • address_line2: (String, nil)
    • address_line3: (String, nil)
    • address_type: (String, nil)
    • city: (String, nil)
    • company_name: (String, nil)
    • country_code: (String, nil)
    • county: (String, nil)
    • district: (String, nil)
    • extended_fields: (Peddler::APIs::OrdersV0::AddressExtendedFields, nil)
    • municipality: (String, nil)
    • name: (String, nil)
    • phone: (String, nil)
    • postal_code: (String, nil)
    • state_or_region: (String, nil)

    Returns:

  • .[](arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14) ⇒ Peddler::APIs::OrdersV0::Address

    Parameters:

    • arg0 (String, nil)
    • arg1 (String, nil)
    • arg2 (String, nil)
    • arg3 (String, nil)
    • arg4 (String, nil)
    • arg5 (String, nil)
    • arg6 (String, nil)
    • arg7 (String, nil)
    • arg8 (String, nil)
    • arg9 (Peddler::APIs::OrdersV0::AddressExtendedFields, nil)
    • arg10 (String, nil)
    • arg11 (String, nil)
    • arg12 (String, nil)
    • arg13 (String, nil)
    • arg14 (String, nil)

    Returns:



7
8
# File 'sig/peddler/apis/orders_v0.rbs', line 7

def self.[]: (?address_line1: String?, ?address_line2: String?, ?address_line3: String?, ?address_type: String?, ?city: String?, ?company_name: String?, ?country_code: String?, ?county: String?, ?district: String?, ?extended_fields: Peddler::APIs::OrdersV0::AddressExtendedFields?, ?municipality: String?, ?name: String?, ?phone: String?, ?postal_code: String?, ?state_or_region: String?) -> Peddler::APIs::OrdersV0::Address
| (String?, String?, String?, String?, String?, String?, String?, String?, String?, Peddler::APIs::OrdersV0::AddressExtendedFields?, String?, String?, String?, String?, String?) -> Peddler::APIs::OrdersV0::Address

.members[ :address_line1, :address_line2, :address_line3, :address_type, :city, :company_name, :country_code, :county, :district, :extended_fields, :municipality, :name, :phone, :postal_code, :state_or_region ]

Returns:

  • ([ :address_line1, :address_line2, :address_line3, :address_type, :city, :company_name, :country_code, :county, :district, :extended_fields, :municipality, :name, :phone, :postal_code, :state_or_region ])


10
# File 'sig/peddler/apis/orders_v0.rbs', line 10

def self.members: () -> [ :address_line1, :address_line2, :address_line3, :address_type, :city, :company_name, :country_code, :county, :district, :extended_fields, :municipality, :name, :phone, :postal_code, :state_or_region ]

.new(address_line1:, address_line2:, address_line3:, address_type:, city:, company_name:, country_code:, county:, district:, extended_fields:, municipality:, name:, phone:, postal_code:, state_or_region:) ⇒ Peddler::APIs::OrdersV0::Address .new(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14) ⇒ Peddler::APIs::OrdersV0::Address

Overloads:

  • .new(address_line1:, address_line2:, address_line3:, address_type:, city:, company_name:, country_code:, county:, district:, extended_fields:, municipality:, name:, phone:, postal_code:, state_or_region:) ⇒ Peddler::APIs::OrdersV0::Address

    Parameters:

    • address_line1: (String, nil)
    • address_line2: (String, nil)
    • address_line3: (String, nil)
    • address_type: (String, nil)
    • city: (String, nil)
    • company_name: (String, nil)
    • country_code: (String, nil)
    • county: (String, nil)
    • district: (String, nil)
    • extended_fields: (Peddler::APIs::OrdersV0::AddressExtendedFields, nil)
    • municipality: (String, nil)
    • name: (String, nil)
    • phone: (String, nil)
    • postal_code: (String, nil)
    • state_or_region: (String, nil)

    Returns:

  • .new(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14) ⇒ Peddler::APIs::OrdersV0::Address

    Parameters:

    • arg0 (String, nil)
    • arg1 (String, nil)
    • arg2 (String, nil)
    • arg3 (String, nil)
    • arg4 (String, nil)
    • arg5 (String, nil)
    • arg6 (String, nil)
    • arg7 (String, nil)
    • arg8 (String, nil)
    • arg9 (Peddler::APIs::OrdersV0::AddressExtendedFields, nil)
    • arg10 (String, nil)
    • arg11 (String, nil)
    • arg12 (String, nil)
    • arg13 (String, nil)
    • arg14 (String, nil)

    Returns:



5
6
# File 'sig/peddler/apis/orders_v0.rbs', line 5

def self.new: (?address_line1: String?, ?address_line2: String?, ?address_line3: String?, ?address_type: String?, ?city: String?, ?company_name: String?, ?country_code: String?, ?county: String?, ?district: String?, ?extended_fields: Peddler::APIs::OrdersV0::AddressExtendedFields?, ?municipality: String?, ?name: String?, ?phone: String?, ?postal_code: String?, ?state_or_region: String?) -> Peddler::APIs::OrdersV0::Address
| (String?, String?, String?, String?, String?, String?, String?, String?, String?, Peddler::APIs::OrdersV0::AddressExtendedFields?, String?, String?, String?, String?, String?) -> Peddler::APIs::OrdersV0::Address

.parsePeddler::APIs::OrdersV0::Address

Parameters:

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

Returns:



12
# File 'sig/peddler/apis/orders_v0.rbs', line 12

def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::OrdersV0::Address

Instance Method Details

#members[ :address_line1, :address_line2, :address_line3, :address_type, :city, :company_name, :country_code, :county, :district, :extended_fields, :municipality, :name, :phone, :postal_code, :state_or_region ]

Returns:

  • ([ :address_line1, :address_line2, :address_line3, :address_type, :city, :company_name, :country_code, :county, :district, :extended_fields, :municipality, :name, :phone, :postal_code, :state_or_region ])


30
# File 'sig/peddler/apis/orders_v0.rbs', line 30

def members: () -> [ :address_line1, :address_line2, :address_line3, :address_type, :city, :company_name, :country_code, :county, :district, :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?, county: String?, district: String?, extended_fields: Peddler::APIs::OrdersV0::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?, county: String?, district: String?, extended_fields: Peddler::APIs::OrdersV0::AddressExtendedFields?, municipality: String?, name: String?, phone: String?, postal_code: String?, state_or_region: String? })


31
# File 'sig/peddler/apis/orders_v0.rbs', line 31

def to_h: () -> { address_line1: String?, address_line2: String?, address_line3: String?, address_type: String?, city: String?, company_name: String?, country_code: String?, county: String?, district: String?, extended_fields: Peddler::APIs::OrdersV0::AddressExtendedFields?, municipality: String?, name: String?, phone: String?, postal_code: String?, state_or_region: String? }