Class: Stripe::V2::Core::AccountUpdateParams::Identity::BusinessDetails::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, coerce_params, coerce_value, field_encodings, 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.



5250
5251
5252
5253
5254
5255
5256
5257
5258
5259
5260
5261
5262
5263
5264
5265
5266
5267
5268
# File 'lib/stripe/params/v2/core/account_update_params.rb', line 5250

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.



5234
5235
5236
# File 'lib/stripe/params/v2/core/account_update_params.rb', line 5234

def city
  @city
end

#countryObject

Two-letter country code (ISO 3166-1 alpha-2).



5236
5237
5238
# File 'lib/stripe/params/v2/core/account_update_params.rb', line 5236

def country
  @country
end

#line1Object

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



5238
5239
5240
# File 'lib/stripe/params/v2/core/account_update_params.rb', line 5238

def line1
  @line1
end

#line2Object

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



5240
5241
5242
# File 'lib/stripe/params/v2/core/account_update_params.rb', line 5240

def line2
  @line2
end

#postal_codeObject

ZIP or postal code.



5242
5243
5244
# File 'lib/stripe/params/v2/core/account_update_params.rb', line 5242

def postal_code
  @postal_code
end

#purposeObject

Purpose of additional address.



5244
5245
5246
# File 'lib/stripe/params/v2/core/account_update_params.rb', line 5244

def purpose
  @purpose
end

#stateObject

State, county, province, or region.



5246
5247
5248
# File 'lib/stripe/params/v2/core/account_update_params.rb', line 5246

def state
  @state
end

#townObject

Town or district.



5248
5249
5250
# File 'lib/stripe/params/v2/core/account_update_params.rb', line 5248

def town
  @town
end