Class: Stripe::Account::CreateParams::BusinessProfile::SupportAddress
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::Account::CreateParams::BusinessProfile::SupportAddress
- Defined in:
- lib/stripe/resources/account.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.
Instance Method Summary collapse
-
#initialize(city: nil, country: nil, line1: nil, line2: nil, postal_code: nil, state: nil) ⇒ SupportAddress
constructor
A new instance of SupportAddress.
Methods inherited from RequestParams
Constructor Details
#initialize(city: nil, country: nil, line1: nil, line2: nil, postal_code: nil, state: nil) ⇒ SupportAddress
Returns a new instance of SupportAddress.
3024 3025 3026 3027 3028 3029 3030 3031 3032 3033 3034 3035 3036 3037 3038 |
# File 'lib/stripe/resources/account.rb', line 3024 def initialize( city: nil, country: nil, line1: nil, line2: nil, postal_code: nil, state: nil ) @city = city @country = country @line1 = line1 @line2 = line2 @postal_code = postal_code @state = state end |
Instance Attribute Details
#city ⇒ Object
City, district, suburb, town, or village.
3012 3013 3014 |
# File 'lib/stripe/resources/account.rb', line 3012 def city @city end |
#country ⇒ Object
Two-letter country code ([ISO 3166-1 alpha-2](en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
3014 3015 3016 |
# File 'lib/stripe/resources/account.rb', line 3014 def country @country end |
#line1 ⇒ Object
Address line 1 (e.g., street, PO Box, or company name).
3016 3017 3018 |
# File 'lib/stripe/resources/account.rb', line 3016 def line1 @line1 end |
#line2 ⇒ Object
Address line 2 (e.g., apartment, suite, unit, or building).
3018 3019 3020 |
# File 'lib/stripe/resources/account.rb', line 3018 def line2 @line2 end |
#postal_code ⇒ Object
ZIP or postal code.
3020 3021 3022 |
# File 'lib/stripe/resources/account.rb', line 3020 def postal_code @postal_code end |
#state ⇒ Object
State, county, province, or region.
3022 3023 3024 |
# File 'lib/stripe/resources/account.rb', line 3022 def state @state end |