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



4188
4189
4190
4191
4192
4193
4194
4195
4196
4197
4198
4199
4200
4201
4202
4203
4204
# File 'lib/stripe/resources/account.rb', line 4188

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.



4174
4175
4176
# File 'lib/stripe/resources/account.rb', line 4174

def city
  @city
end

#countryObject

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



4176
4177
4178
# File 'lib/stripe/resources/account.rb', line 4176

def country
  @country
end

#line1Object

Block or building number.



4178
4179
4180
# File 'lib/stripe/resources/account.rb', line 4178

def line1
  @line1
end

#line2Object

Building details.



4180
4181
4182
# File 'lib/stripe/resources/account.rb', line 4180

def line2
  @line2
end

#postal_codeObject

Postal code.



4182
4183
4184
# File 'lib/stripe/resources/account.rb', line 4182

def postal_code
  @postal_code
end

#stateObject

Prefecture.



4184
4185
4186
# File 'lib/stripe/resources/account.rb', line 4184

def state
  @state
end

#townObject

Town or cho-me.



4186
4187
4188
# File 'lib/stripe/resources/account.rb', line 4186

def town
  @town
end