Class: Stripe::Account::CreateParams::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.



4387
4388
4389
4390
4391
4392
4393
4394
4395
4396
4397
4398
4399
4400
4401
4402
4403
# File 'lib/stripe/resources/account.rb', line 4387

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.



4373
4374
4375
# File 'lib/stripe/resources/account.rb', line 4373

def city
  @city
end

#countryObject

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



4375
4376
4377
# File 'lib/stripe/resources/account.rb', line 4375

def country
  @country
end

#line1Object

Block or building number.



4377
4378
4379
# File 'lib/stripe/resources/account.rb', line 4377

def line1
  @line1
end

#line2Object

Building details.



4379
4380
4381
# File 'lib/stripe/resources/account.rb', line 4379

def line2
  @line2
end

#postal_codeObject

Postal code.



4381
4382
4383
# File 'lib/stripe/resources/account.rb', line 4381

def postal_code
  @postal_code
end

#stateObject

Prefecture.



4383
4384
4385
# File 'lib/stripe/resources/account.rb', line 4383

def state
  @state
end

#townObject

Town or cho-me.



4385
4386
4387
# File 'lib/stripe/resources/account.rb', line 4385

def town
  @town
end