Class: Stripe::V2::Core::Accounts::PersonUpdateParams::ScriptAddresses::Kanji

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

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

Returns a new instance of Kanji.



350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
# File 'lib/stripe/params/v2/core/accounts/person_update_params.rb', line 350

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

Instance Attribute Details

#cityObject

City, district, suburb, town, or village.



336
337
338
# File 'lib/stripe/params/v2/core/accounts/person_update_params.rb', line 336

def city
  @city
end

#countryObject

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



338
339
340
# File 'lib/stripe/params/v2/core/accounts/person_update_params.rb', line 338

def country
  @country
end

#line1Object

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



340
341
342
# File 'lib/stripe/params/v2/core/accounts/person_update_params.rb', line 340

def line1
  @line1
end

#line2Object

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



342
343
344
# File 'lib/stripe/params/v2/core/accounts/person_update_params.rb', line 342

def line2
  @line2
end

#postal_codeObject

ZIP or postal code.



344
345
346
# File 'lib/stripe/params/v2/core/accounts/person_update_params.rb', line 344

def postal_code
  @postal_code
end

#stateObject

State, county, province, or region.



346
347
348
# File 'lib/stripe/params/v2/core/accounts/person_update_params.rb', line 346

def state
  @state
end

#townObject

Town or district.



348
349
350
# File 'lib/stripe/params/v2/core/accounts/person_update_params.rb', line 348

def town
  @town
end