Class: Stripe::AccountService::CreateParams::Company::AddressKana

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/services/account_service.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) ⇒ AddressKana

Returns a new instance of AddressKana.



3313
3314
3315
3316
3317
3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
3329
# File 'lib/stripe/services/account_service.rb', line 3313

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.



3299
3300
3301
# File 'lib/stripe/services/account_service.rb', line 3299

def city
  @city
end

#countryObject

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



3301
3302
3303
# File 'lib/stripe/services/account_service.rb', line 3301

def country
  @country
end

#line1Object

Block or building number.



3303
3304
3305
# File 'lib/stripe/services/account_service.rb', line 3303

def line1
  @line1
end

#line2Object

Building details.



3305
3306
3307
# File 'lib/stripe/services/account_service.rb', line 3305

def line2
  @line2
end

#postal_codeObject

Postal code.



3307
3308
3309
# File 'lib/stripe/services/account_service.rb', line 3307

def postal_code
  @postal_code
end

#stateObject

Prefecture.



3309
3310
3311
# File 'lib/stripe/services/account_service.rb', line 3309

def state
  @state
end

#townObject

Town or cho-me.



3311
3312
3313
# File 'lib/stripe/services/account_service.rb', line 3311

def town
  @town
end