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.



1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
# File 'lib/stripe/params/v2/core/account_update_params.rb', line 1260

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.



1244
1245
1246
# File 'lib/stripe/params/v2/core/account_update_params.rb', line 1244

def city
  @city
end

#countryObject

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



1246
1247
1248
# File 'lib/stripe/params/v2/core/account_update_params.rb', line 1246

def country
  @country
end

#line1Object

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



1248
1249
1250
# File 'lib/stripe/params/v2/core/account_update_params.rb', line 1248

def line1
  @line1
end

#line2Object

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



1250
1251
1252
# File 'lib/stripe/params/v2/core/account_update_params.rb', line 1250

def line2
  @line2
end

#postal_codeObject

ZIP or postal code.



1252
1253
1254
# File 'lib/stripe/params/v2/core/account_update_params.rb', line 1252

def postal_code
  @postal_code
end

#purposeObject

Purpose of additional address.



1254
1255
1256
# File 'lib/stripe/params/v2/core/account_update_params.rb', line 1254

def purpose
  @purpose
end

#stateObject

State, county, province, or region.



1256
1257
1258
# File 'lib/stripe/params/v2/core/account_update_params.rb', line 1256

def state
  @state
end

#townObject

Town or district.



1258
1259
1260
# File 'lib/stripe/params/v2/core/account_update_params.rb', line 1258

def town
  @town
end