Class: Stripe::V2::Core::AccountTokenCreateParams::Identity::Individual::AdditionalAddress
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::V2::Core::AccountTokenCreateParams::Identity::Individual::AdditionalAddress
- Defined in:
- lib/stripe/params/v2/core/account_token_create_params.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.
-
#purpose ⇒ Object
Purpose of additional address.
-
#state ⇒ Object
State, county, province, or region.
-
#town ⇒ Object
Town or district.
Instance Method Summary collapse
-
#initialize(city: nil, country: nil, line1: nil, line2: nil, postal_code: nil, purpose: nil, state: nil, town: nil) ⇒ AdditionalAddress
constructor
A new instance of AdditionalAddress.
Methods inherited from RequestParams
Constructor Details
#initialize(city: nil, country: nil, line1: nil, line2: nil, postal_code: nil, purpose: nil, state: nil, town: nil) ⇒ AdditionalAddress
Returns a new instance of AdditionalAddress.
570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 |
# File 'lib/stripe/params/v2/core/account_token_create_params.rb', line 570 def initialize( city: nil, country: nil, line1: nil, line2: nil, postal_code: nil, purpose: nil, state: nil, town: nil ) @city = city @country = country @line1 = line1 @line2 = line2 @postal_code = postal_code @purpose = purpose @state = state @town = town end |
Instance Attribute Details
#city ⇒ Object
City, district, suburb, town, or village.
554 555 556 |
# File 'lib/stripe/params/v2/core/account_token_create_params.rb', line 554 def city @city end |
#country ⇒ Object
Two-letter country code ([ISO 3166-1 alpha-2](en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
556 557 558 |
# File 'lib/stripe/params/v2/core/account_token_create_params.rb', line 556 def country @country end |
#line1 ⇒ Object
Address line 1 (e.g., street, PO Box, or company name).
558 559 560 |
# File 'lib/stripe/params/v2/core/account_token_create_params.rb', line 558 def line1 @line1 end |
#line2 ⇒ Object
Address line 2 (e.g., apartment, suite, unit, or building).
560 561 562 |
# File 'lib/stripe/params/v2/core/account_token_create_params.rb', line 560 def line2 @line2 end |
#postal_code ⇒ Object
ZIP or postal code.
562 563 564 |
# File 'lib/stripe/params/v2/core/account_token_create_params.rb', line 562 def postal_code @postal_code end |
#purpose ⇒ Object
Purpose of additional address.
564 565 566 |
# File 'lib/stripe/params/v2/core/account_token_create_params.rb', line 564 def purpose @purpose end |
#state ⇒ Object
State, county, province, or region.
566 567 568 |
# File 'lib/stripe/params/v2/core/account_token_create_params.rb', line 566 def state @state end |
#town ⇒ Object
Town or district.
568 569 570 |
# File 'lib/stripe/params/v2/core/account_token_create_params.rb', line 568 def town @town end |