Class: Stripe::Account::CreateParams::Individual::AddressKana

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

Returns a new instance of AddressKana.



5135
5136
5137
5138
5139
5140
5141
5142
5143
5144
5145
5146
5147
5148
5149
5150
5151
# File 'lib/stripe/resources/account.rb', line 5135

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.



5121
5122
5123
# File 'lib/stripe/resources/account.rb', line 5121

def city
  @city
end

#countryObject

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



5123
5124
5125
# File 'lib/stripe/resources/account.rb', line 5123

def country
  @country
end

#line1Object

Block or building number.



5125
5126
5127
# File 'lib/stripe/resources/account.rb', line 5125

def line1
  @line1
end

#line2Object

Building details.



5127
5128
5129
# File 'lib/stripe/resources/account.rb', line 5127

def line2
  @line2
end

#postal_codeObject

Postal code.



5129
5130
5131
# File 'lib/stripe/resources/account.rb', line 5129

def postal_code
  @postal_code
end

#stateObject

Prefecture.



5131
5132
5133
# File 'lib/stripe/resources/account.rb', line 5131

def state
  @state
end

#townObject

Town or cho-me.



5133
5134
5135
# File 'lib/stripe/resources/account.rb', line 5133

def town
  @town
end