Class: Peddler::APIs::MerchantFulfillmentV0::Address

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


81
82
83
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 81

def address_line1
  @address_line1
end

#address_line2String? (readonly)

Returns the value of attribute address_line2.

Returns:

  • (String, nil)


82
83
84
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 82

def address_line2
  @address_line2
end

#address_line3String? (readonly)

Returns the value of attribute address_line3.

Returns:

  • (String, nil)


83
84
85
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 83

def address_line3
  @address_line3
end

#cityString (readonly)

Returns the value of attribute city.

Returns:

  • (String)


84
85
86
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 84

def city
  @city
end

#country_codeString (readonly)

Returns the value of attribute country_code.

Returns:

  • (String)


85
86
87
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 85

def country_code
  @country_code
end

#district_or_countyString? (readonly)

Returns the value of attribute district_or_county.

Returns:

  • (String, nil)


86
87
88
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 86

def district_or_county
  @district_or_county
end

#emailString (readonly)

Returns the value of attribute email.

Returns:

  • (String)


87
88
89
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 87

def email
  @email
end

#nameString (readonly)

Returns the value of attribute name.

Returns:

  • (String)


88
89
90
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 88

def name
  @name
end

#phoneString (readonly)

Returns the value of attribute phone.

Returns:

  • (String)


89
90
91
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 89

def phone
  @phone
end

#postal_codeString (readonly)

Returns the value of attribute postal_code.

Returns:

  • (String)


90
91
92
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 90

def postal_code
  @postal_code
end

#state_or_province_codeString? (readonly)

Returns the value of attribute state_or_province_code.

Returns:

  • (String, nil)


91
92
93
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 91

def state_or_province_code
  @state_or_province_code
end

Class Method Details

.[](address_line1:, city:, country_code:, email:, name:, phone:, postal_code:, address_line2:, address_line3:, district_or_county:, state_or_province_code:) ⇒ Peddler::APIs::MerchantFulfillmentV0::Address .[](arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10) ⇒ Peddler::APIs::MerchantFulfillmentV0::Address

Overloads:

  • .[](address_line1:, city:, country_code:, email:, name:, phone:, postal_code:, address_line2:, address_line3:, district_or_county:, state_or_province_code:) ⇒ Peddler::APIs::MerchantFulfillmentV0::Address

    Parameters:

    • address_line1: (String)
    • city: (String)
    • country_code: (String)
    • email: (String)
    • name: (String)
    • phone: (String)
    • postal_code: (String)
    • address_line2: (String, nil)
    • address_line3: (String, nil)
    • district_or_county: (String, nil)
    • state_or_province_code: (String, nil)

    Returns:

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

    Parameters:

    • arg0 (String)
    • arg1 (String)
    • arg2 (String)
    • arg3 (String)
    • arg4 (String)
    • arg5 (String)
    • arg6 (String)
    • arg7 (String, nil)
    • arg8 (String, nil)
    • arg9 (String, nil)
    • arg10 (String, nil)

    Returns:



74
75
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 74

def self.[]: (address_line1: String, city: String, country_code: String, email: String, name: String, phone: String, postal_code: String, ?address_line2: String?, ?address_line3: String?, ?district_or_county: String?, ?state_or_province_code: String?) -> Peddler::APIs::MerchantFulfillmentV0::Address
| (String, String, String, String, String, String, String, String?, String?, String?, String?) -> Peddler::APIs::MerchantFulfillmentV0::Address

.members[ :address_line1, :city, :country_code, :email, :name, :phone, :postal_code, :address_line2, :address_line3, :district_or_county, :state_or_province_code ]

Returns:

  • ([ :address_line1, :city, :country_code, :email, :name, :phone, :postal_code, :address_line2, :address_line3, :district_or_county, :state_or_province_code ])


77
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 77

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

.new(address_line1:, city:, country_code:, email:, name:, phone:, postal_code:, address_line2:, address_line3:, district_or_county:, state_or_province_code:) ⇒ Peddler::APIs::MerchantFulfillmentV0::Address .new(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10) ⇒ Peddler::APIs::MerchantFulfillmentV0::Address

Overloads:

  • .new(address_line1:, city:, country_code:, email:, name:, phone:, postal_code:, address_line2:, address_line3:, district_or_county:, state_or_province_code:) ⇒ Peddler::APIs::MerchantFulfillmentV0::Address

    Parameters:

    • address_line1: (String)
    • city: (String)
    • country_code: (String)
    • email: (String)
    • name: (String)
    • phone: (String)
    • postal_code: (String)
    • address_line2: (String, nil)
    • address_line3: (String, nil)
    • district_or_county: (String, nil)
    • state_or_province_code: (String, nil)

    Returns:

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

    Parameters:

    • arg0 (String)
    • arg1 (String)
    • arg2 (String)
    • arg3 (String)
    • arg4 (String)
    • arg5 (String)
    • arg6 (String)
    • arg7 (String, nil)
    • arg8 (String, nil)
    • arg9 (String, nil)
    • arg10 (String, nil)

    Returns:



72
73
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 72

def self.new: (address_line1: String, city: String, country_code: String, email: String, name: String, phone: String, postal_code: String, ?address_line2: String?, ?address_line3: String?, ?district_or_county: String?, ?state_or_province_code: String?) -> Peddler::APIs::MerchantFulfillmentV0::Address
| (String, String, String, String, String, String, String, String?, String?, String?, String?) -> Peddler::APIs::MerchantFulfillmentV0::Address

.parsePeddler::APIs::MerchantFulfillmentV0::Address

Parameters:

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

Returns:



79
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 79

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

Instance Method Details

#members[ :address_line1, :city, :country_code, :email, :name, :phone, :postal_code, :address_line2, :address_line3, :district_or_county, :state_or_province_code ]

Returns:

  • ([ :address_line1, :city, :country_code, :email, :name, :phone, :postal_code, :address_line2, :address_line3, :district_or_county, :state_or_province_code ])


93
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 93

def members: () -> [ :address_line1, :city, :country_code, :email, :name, :phone, :postal_code, :address_line2, :address_line3, :district_or_county, :state_or_province_code ]

#to_h{ address_line1: String, city: String, country_code: String, email: String, name: String, phone: String, postal_code: String, address_line2: String?, address_line3: String?, district_or_county: String?, state_or_province_code: String? }

Returns:

  • ({ address_line1: String, city: String, country_code: String, email: String, name: String, phone: String, postal_code: String, address_line2: String?, address_line3: String?, district_or_county: String?, state_or_province_code: String? })


94
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 94

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