Class: Peddler::APIs::Orders20260101::MerchantAddress

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)


737
738
739
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 737

def address_line1
  @address_line1
end

#address_line2String? (readonly)

Returns the value of attribute address_line2.

Returns:

  • (String, nil)


738
739
740
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 738

def address_line2
  @address_line2
end

#address_line3String? (readonly)

Returns the value of attribute address_line3.

Returns:

  • (String, nil)


739
740
741
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 739

def address_line3
  @address_line3
end

#cityString? (readonly)

Returns the value of attribute city.

Returns:

  • (String, nil)


740
741
742
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 740

def city
  @city
end

#country_codeString? (readonly)

Returns the value of attribute country_code.

Returns:

  • (String, nil)


741
742
743
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 741

def country_code
  @country_code
end

#district_or_countyString? (readonly)

Returns the value of attribute district_or_county.

Returns:

  • (String, nil)


742
743
744
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 742

def district_or_county
  @district_or_county
end

#municipalityString? (readonly)

Returns the value of attribute municipality.

Returns:

  • (String, nil)


743
744
745
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 743

def municipality
  @municipality
end

#nameString? (readonly)

Returns the value of attribute name.

Returns:

  • (String, nil)


744
745
746
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 744

def name
  @name
end

#postal_codeString? (readonly)

Returns the value of attribute postal_code.

Returns:

  • (String, nil)


745
746
747
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 745

def postal_code
  @postal_code
end

#state_or_regionString? (readonly)

Returns the value of attribute state_or_region.

Returns:

  • (String, nil)


746
747
748
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 746

def state_or_region
  @state_or_region
end

Class Method Details

.[](address_line1:, address_line2:, address_line3:, city:, country_code:, district_or_county:, municipality:, name:, postal_code:, state_or_region:) ⇒ Peddler::APIs::Orders20260101::MerchantAddress .[](arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) ⇒ Peddler::APIs::Orders20260101::MerchantAddress

Overloads:

  • .[](address_line1:, address_line2:, address_line3:, city:, country_code:, district_or_county:, municipality:, name:, postal_code:, state_or_region:) ⇒ Peddler::APIs::Orders20260101::MerchantAddress

    Parameters:

    • address_line1: (String, nil)
    • address_line2: (String, nil)
    • address_line3: (String, nil)
    • city: (String, nil)
    • country_code: (String, nil)
    • district_or_county: (String, nil)
    • municipality: (String, nil)
    • name: (String, nil)
    • postal_code: (String, nil)
    • state_or_region: (String, nil)

    Returns:

  • .[](arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) ⇒ Peddler::APIs::Orders20260101::MerchantAddress

    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 (String, nil)

    Returns:



730
731
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 730

def self.[]: (?address_line1: String?, ?address_line2: String?, ?address_line3: String?, ?city: String?, ?country_code: String?, ?district_or_county: String?, ?municipality: String?, ?name: String?, ?postal_code: String?, ?state_or_region: String?) -> Peddler::APIs::Orders20260101::MerchantAddress
| (String?, String?, String?, String?, String?, String?, String?, String?, String?, String?) -> Peddler::APIs::Orders20260101::MerchantAddress

.members[ :address_line1, :address_line2, :address_line3, :city, :country_code, :district_or_county, :municipality, :name, :postal_code, :state_or_region ]

Returns:

  • ([ :address_line1, :address_line2, :address_line3, :city, :country_code, :district_or_county, :municipality, :name, :postal_code, :state_or_region ])


733
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 733

def self.members: () -> [ :address_line1, :address_line2, :address_line3, :city, :country_code, :district_or_county, :municipality, :name, :postal_code, :state_or_region ]

.new(address_line1:, address_line2:, address_line3:, city:, country_code:, district_or_county:, municipality:, name:, postal_code:, state_or_region:) ⇒ Peddler::APIs::Orders20260101::MerchantAddress .new(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) ⇒ Peddler::APIs::Orders20260101::MerchantAddress

Overloads:

  • .new(address_line1:, address_line2:, address_line3:, city:, country_code:, district_or_county:, municipality:, name:, postal_code:, state_or_region:) ⇒ Peddler::APIs::Orders20260101::MerchantAddress

    Parameters:

    • address_line1: (String, nil)
    • address_line2: (String, nil)
    • address_line3: (String, nil)
    • city: (String, nil)
    • country_code: (String, nil)
    • district_or_county: (String, nil)
    • municipality: (String, nil)
    • name: (String, nil)
    • postal_code: (String, nil)
    • state_or_region: (String, nil)

    Returns:

  • .new(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) ⇒ Peddler::APIs::Orders20260101::MerchantAddress

    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 (String, nil)

    Returns:



728
729
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 728

def self.new: (?address_line1: String?, ?address_line2: String?, ?address_line3: String?, ?city: String?, ?country_code: String?, ?district_or_county: String?, ?municipality: String?, ?name: String?, ?postal_code: String?, ?state_or_region: String?) -> Peddler::APIs::Orders20260101::MerchantAddress
| (String?, String?, String?, String?, String?, String?, String?, String?, String?, String?) -> Peddler::APIs::Orders20260101::MerchantAddress

.parsePeddler::APIs::Orders20260101::MerchantAddress

Parameters:

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

Returns:



735
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 735

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

Instance Method Details

#members[ :address_line1, :address_line2, :address_line3, :city, :country_code, :district_or_county, :municipality, :name, :postal_code, :state_or_region ]

Returns:

  • ([ :address_line1, :address_line2, :address_line3, :city, :country_code, :district_or_county, :municipality, :name, :postal_code, :state_or_region ])


748
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 748

def members: () -> [ :address_line1, :address_line2, :address_line3, :city, :country_code, :district_or_county, :municipality, :name, :postal_code, :state_or_region ]

#to_h{ address_line1: String?, address_line2: String?, address_line3: String?, city: String?, country_code: String?, district_or_county: String?, municipality: String?, name: String?, postal_code: String?, state_or_region: String? }

Returns:

  • ({ address_line1: String?, address_line2: String?, address_line3: String?, city: String?, country_code: String?, district_or_county: String?, municipality: String?, name: String?, postal_code: String?, state_or_region: String? })


749
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 749

def to_h: () -> { address_line1: String?, address_line2: String?, address_line3: String?, city: String?, country_code: String?, district_or_county: String?, municipality: String?, name: String?, postal_code: String?, state_or_region: String? }