Class: Stripe::V2::Core::AccountUpdateParams::Identity::Individual::AdditionalAddress

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/v2/core/account_update_params.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

attr_accessor, new, #to_h

Constructor Details

#initialize(city: nil, country: nil, line1: nil, line2: nil, postal_code: nil, purpose: nil, state: nil, town: nil) ⇒ AdditionalAddress

Returns a new instance of AdditionalAddress.



3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
3219
# File 'lib/stripe/params/v2/core/account_update_params.rb', line 3201

def initialize(
  city: nil,
  country: nil,
  line1: nil,
  line2: nil,
  postal_code: nil,
  purpose: nil,
  state: nil,
  town: nil
)
  @city = city
  @country = country
  @line1 = line1
  @line2 = line2
  @postal_code = postal_code
  @purpose = purpose
  @state = state
  @town = town
end

Instance Attribute Details

#cityObject

City, district, suburb, town, or village.



3185
3186
3187
# File 'lib/stripe/params/v2/core/account_update_params.rb', line 3185

def city
  @city
end

#countryObject

Two-letter country code ([ISO 3166-1 alpha-2](en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).



3187
3188
3189
# File 'lib/stripe/params/v2/core/account_update_params.rb', line 3187

def country
  @country
end

#line1Object

Address line 1 (e.g., street, PO Box, or company name).



3189
3190
3191
# File 'lib/stripe/params/v2/core/account_update_params.rb', line 3189

def line1
  @line1
end

#line2Object

Address line 2 (e.g., apartment, suite, unit, or building).



3191
3192
3193
# File 'lib/stripe/params/v2/core/account_update_params.rb', line 3191

def line2
  @line2
end

#postal_codeObject

ZIP or postal code.



3193
3194
3195
# File 'lib/stripe/params/v2/core/account_update_params.rb', line 3193

def postal_code
  @postal_code
end

#purposeObject

Purpose of additional address.



3195
3196
3197
# File 'lib/stripe/params/v2/core/account_update_params.rb', line 3195

def purpose
  @purpose
end

#stateObject

State, county, province, or region.



3197
3198
3199
# File 'lib/stripe/params/v2/core/account_update_params.rb', line 3197

def state
  @state
end

#townObject

Town or district.



3199
3200
3201
# File 'lib/stripe/params/v2/core/account_update_params.rb', line 3199

def town
  @town
end