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)


755
756
757
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 755

def address_line1
  @address_line1
end

#address_line2String? (readonly)

Returns the value of attribute address_line2.

Returns:

  • (String, nil)


756
757
758
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 756

def address_line2
  @address_line2
end

#address_line3String? (readonly)

Returns the value of attribute address_line3.

Returns:

  • (String, nil)


757
758
759
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 757

def address_line3
  @address_line3
end

#cityString? (readonly)

Returns the value of attribute city.

Returns:

  • (String, nil)


758
759
760
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 758

def city
  @city
end

#country_codeString? (readonly)

Returns the value of attribute country_code.

Returns:

  • (String, nil)


759
760
761
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 759

def country_code
  @country_code
end

#district_or_countyString? (readonly)

Returns the value of attribute district_or_county.

Returns:

  • (String, nil)


760
761
762
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 760

def district_or_county
  @district_or_county
end

#municipalityString? (readonly)

Returns the value of attribute municipality.

Returns:

  • (String, nil)


761
762
763
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 761

def municipality
  @municipality
end

#nameString? (readonly)

Returns the value of attribute name.

Returns:

  • (String, nil)


762
763
764
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 762

def name
  @name
end

#postal_codeString? (readonly)

Returns the value of attribute postal_code.

Returns:

  • (String, nil)


763
764
765
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 763

def postal_code
  @postal_code
end

#state_or_regionString? (readonly)

Returns the value of attribute state_or_region.

Returns:

  • (String, nil)


764
765
766
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 764

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:



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

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


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

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:



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

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:



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

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


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

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


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

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