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)


652
653
654
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 652

def address_line1
  @address_line1
end

#address_line2String? (readonly)

Returns the value of attribute address_line2.

Returns:

  • (String, nil)


653
654
655
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 653

def address_line2
  @address_line2
end

#address_line3String? (readonly)

Returns the value of attribute address_line3.

Returns:

  • (String, nil)


654
655
656
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 654

def address_line3
  @address_line3
end

#cityString? (readonly)

Returns the value of attribute city.

Returns:

  • (String, nil)


655
656
657
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 655

def city
  @city
end

#country_codeString? (readonly)

Returns the value of attribute country_code.

Returns:

  • (String, nil)


656
657
658
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 656

def country_code
  @country_code
end

#district_or_countyString? (readonly)

Returns the value of attribute district_or_county.

Returns:

  • (String, nil)


657
658
659
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 657

def district_or_county
  @district_or_county
end

#municipalityString? (readonly)

Returns the value of attribute municipality.

Returns:

  • (String, nil)


658
659
660
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 658

def municipality
  @municipality
end

#nameString? (readonly)

Returns the value of attribute name.

Returns:

  • (String, nil)


659
660
661
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 659

def name
  @name
end

#postal_codeString? (readonly)

Returns the value of attribute postal_code.

Returns:

  • (String, nil)


660
661
662
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 660

def postal_code
  @postal_code
end

#state_or_regionString? (readonly)

Returns the value of attribute state_or_region.

Returns:

  • (String, nil)


661
662
663
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 661

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:



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

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


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

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:



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

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:



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

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


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

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


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

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