Class: Stripe::AccountService::CreateParams::Individual::AddressKanji

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) ⇒ AddressKanji

Returns a new instance of AddressKanji.



4180
4181
4182
4183
4184
4185
4186
4187
4188
4189
4190
4191
4192
4193
4194
4195
4196
# File 'lib/stripe/services/account_service.rb', line 4180

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.



4160
4161
4162
# File 'lib/stripe/services/account_service.rb', line 4160

def city
  @city
end

#countryObject

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



4163
4164
4165
# File 'lib/stripe/services/account_service.rb', line 4163

def country
  @country
end

#line1Object

Block or building number.



4166
4167
4168
# File 'lib/stripe/services/account_service.rb', line 4166

def line1
  @line1
end

#line2Object

Building details.



4169
4170
4171
# File 'lib/stripe/services/account_service.rb', line 4169

def line2
  @line2
end

#postal_codeObject

Postal code.



4172
4173
4174
# File 'lib/stripe/services/account_service.rb', line 4172

def postal_code
  @postal_code
end

#stateObject

Prefecture.



4175
4176
4177
# File 'lib/stripe/services/account_service.rb', line 4175

def state
  @state
end

#townObject

Town or cho-me.



4178
4179
4180
# File 'lib/stripe/services/account_service.rb', line 4178

def town
  @town
end