Class: Stripe::Account::UpdateParams::Individual::AddressKanji

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/resources/account.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) ⇒ AddressKanji

Returns a new instance of AddressKanji.



2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
# File 'lib/stripe/resources/account.rb', line 2508

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 or ward.



2488
2489
2490
# File 'lib/stripe/resources/account.rb', line 2488

def city
  @city
end

#countryObject

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



2491
2492
2493
# File 'lib/stripe/resources/account.rb', line 2491

def country
  @country
end

#line1Object

Block or building number.



2494
2495
2496
# File 'lib/stripe/resources/account.rb', line 2494

def line1
  @line1
end

#line2Object

Building details.



2497
2498
2499
# File 'lib/stripe/resources/account.rb', line 2497

def line2
  @line2
end

#postal_codeObject

Postal code.



2500
2501
2502
# File 'lib/stripe/resources/account.rb', line 2500

def postal_code
  @postal_code
end

#stateObject

Prefecture.



2503
2504
2505
# File 'lib/stripe/resources/account.rb', line 2503

def state
  @state
end

#townObject

Town or cho-me.



2506
2507
2508
# File 'lib/stripe/resources/account.rb', line 2506

def town
  @town
end