Class: Stripe::V2::Core::Accounts::PersonService::CreateParams::ScriptAddresses::Kanji
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::V2::Core::Accounts::PersonService::CreateParams::ScriptAddresses::Kanji
- Defined in:
- lib/stripe/services/v2/core/accounts/person_service.rb
Instance Attribute Summary collapse
-
#city ⇒ Object
City, district, suburb, town, or village.
-
#country ⇒ Object
Two-letter country code ([ISO 3166-1 alpha-2](en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
-
#line1 ⇒ Object
Address line 1 (e.g., street, PO Box, or company name).
-
#line2 ⇒ Object
Address line 2 (e.g., apartment, suite, unit, or building).
-
#postal_code ⇒ Object
ZIP or postal code.
-
#state ⇒ Object
State, county, province, or region.
-
#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) ⇒ Kanji
constructor
A new instance of Kanji.
Methods inherited from RequestParams
Constructor Details
#initialize(city: nil, country: nil, line1: nil, line2: nil, postal_code: nil, state: nil, town: nil) ⇒ Kanji
Returns a new instance of Kanji.
351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 |
# File 'lib/stripe/services/v2/core/accounts/person_service.rb', line 351 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, district, suburb, town, or village.
337 338 339 |
# File 'lib/stripe/services/v2/core/accounts/person_service.rb', line 337 def city @city end |
#country ⇒ Object
Two-letter country code ([ISO 3166-1 alpha-2](en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
339 340 341 |
# File 'lib/stripe/services/v2/core/accounts/person_service.rb', line 339 def country @country end |
#line1 ⇒ Object
Address line 1 (e.g., street, PO Box, or company name).
341 342 343 |
# File 'lib/stripe/services/v2/core/accounts/person_service.rb', line 341 def line1 @line1 end |
#line2 ⇒ Object
Address line 2 (e.g., apartment, suite, unit, or building).
343 344 345 |
# File 'lib/stripe/services/v2/core/accounts/person_service.rb', line 343 def line2 @line2 end |
#postal_code ⇒ Object
ZIP or postal code.
345 346 347 |
# File 'lib/stripe/services/v2/core/accounts/person_service.rb', line 345 def postal_code @postal_code end |
#state ⇒ Object
State, county, province, or region.
347 348 349 |
# File 'lib/stripe/services/v2/core/accounts/person_service.rb', line 347 def state @state end |
#town ⇒ Object
Town or cho-me.
349 350 351 |
# File 'lib/stripe/services/v2/core/accounts/person_service.rb', line 349 def town @town end |