Class: Stripe::Account::CreateParams::Individual::AddressKana
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::Account::CreateParams::Individual::AddressKana
- Defined in:
- lib/stripe/resources/account.rb
Instance Attribute Summary collapse
-
#city ⇒ Object
City or ward.
-
#country ⇒ Object
Two-letter country code ([ISO 3166-1 alpha-2](en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
-
#line1 ⇒ Object
Block or building number.
-
#line2 ⇒ Object
Building details.
-
#postal_code ⇒ Object
Postal code.
-
#state ⇒ Object
Prefecture.
-
#town ⇒ Object
Town or cho-me.
Instance Method Summary collapse
-
#initialize(city: nil, country: nil, line1: nil, line2: nil, postal_code: nil, state: nil, town: nil) ⇒ AddressKana
constructor
A new instance of AddressKana.
Methods inherited from RequestParams
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
#city ⇒ Object
City or ward.
5121 5122 5123 |
# File 'lib/stripe/resources/account.rb', line 5121 def city @city end |
#country ⇒ Object
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 |
#line1 ⇒ Object
Block or building number.
5125 5126 5127 |
# File 'lib/stripe/resources/account.rb', line 5125 def line1 @line1 end |
#line2 ⇒ Object
Building details.
5127 5128 5129 |
# File 'lib/stripe/resources/account.rb', line 5127 def line2 @line2 end |
#postal_code ⇒ Object
Postal code.
5129 5130 5131 |
# File 'lib/stripe/resources/account.rb', line 5129 def postal_code @postal_code end |
#state ⇒ Object
Prefecture.
5131 5132 5133 |
# File 'lib/stripe/resources/account.rb', line 5131 def state @state end |
#town ⇒ Object
Town or cho-me.
5133 5134 5135 |
# File 'lib/stripe/resources/account.rb', line 5133 def town @town end |