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)


721
722
723
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 721

def address_line1
  @address_line1
end

#address_line2String? (readonly)

Returns the value of attribute address_line2.

Returns:

  • (String, nil)


722
723
724
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 722

def address_line2
  @address_line2
end

#address_line3String? (readonly)

Returns the value of attribute address_line3.

Returns:

  • (String, nil)


723
724
725
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 723

def address_line3
  @address_line3
end

#cityString? (readonly)

Returns the value of attribute city.

Returns:

  • (String, nil)


724
725
726
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 724

def city
  @city
end

#country_codeString? (readonly)

Returns the value of attribute country_code.

Returns:

  • (String, nil)


725
726
727
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 725

def country_code
  @country_code
end

#district_or_countyString? (readonly)

Returns the value of attribute district_or_county.

Returns:

  • (String, nil)


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

def district_or_county
  @district_or_county
end

#municipalityString? (readonly)

Returns the value of attribute municipality.

Returns:

  • (String, nil)


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

def municipality
  @municipality
end

#nameString? (readonly)

Returns the value of attribute name.

Returns:

  • (String, nil)


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

def name
  @name
end

#postal_codeString? (readonly)

Returns the value of attribute postal_code.

Returns:

  • (String, nil)


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

def postal_code
  @postal_code
end

#state_or_regionString? (readonly)

Returns the value of attribute state_or_region.

Returns:

  • (String, nil)


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

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:



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

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


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

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:



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

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:



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

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


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

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


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

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