Class: Stripe::AccountService::UpdateParams::Company::AddressKanji
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::AccountService::UpdateParams::Company::AddressKanji
- Defined in:
- lib/stripe/services/account_service.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) ⇒ AddressKanji
constructor
A new instance of AddressKanji.
Methods inherited from RequestParams
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.
1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 |
# File 'lib/stripe/services/account_service.rb', line 1201 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.
1187 1188 1189 |
# File 'lib/stripe/services/account_service.rb', line 1187 def city @city end |
#country ⇒ Object
Two-letter country code ([ISO 3166-1 alpha-2](en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
1189 1190 1191 |
# File 'lib/stripe/services/account_service.rb', line 1189 def country @country end |
#line1 ⇒ Object
Block or building number.
1191 1192 1193 |
# File 'lib/stripe/services/account_service.rb', line 1191 def line1 @line1 end |
#line2 ⇒ Object
Building details.
1193 1194 1195 |
# File 'lib/stripe/services/account_service.rb', line 1193 def line2 @line2 end |
#postal_code ⇒ Object
Postal code.
1195 1196 1197 |
# File 'lib/stripe/services/account_service.rb', line 1195 def postal_code @postal_code end |
#state ⇒ Object
Prefecture.
1197 1198 1199 |
# File 'lib/stripe/services/account_service.rb', line 1197 def state @state end |
#town ⇒ Object
Town or cho-me.
1199 1200 1201 |
# File 'lib/stripe/services/account_service.rb', line 1199 def town @town end |