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.
2883 2884 2885 2886 2887 2888 2889 2890 2891 2892 2893 2894 2895 2896 2897 |
# File 'lib/stripe/resources/account.rb', line 2883 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.
2871 2872 2873 |
# File 'lib/stripe/resources/account.rb', line 2871 def city @city end |
#country ⇒ Object
Two-letter country code ([ISO 3166-1 alpha-2](en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
2873 2874 2875 |
# File 'lib/stripe/resources/account.rb', line 2873 def country @country end |
#line1 ⇒ Object
Address line 1 (e.g., street, PO Box, or company name).
2875 2876 2877 |
# File 'lib/stripe/resources/account.rb', line 2875 def line1 @line1 end |
#line2 ⇒ Object
Address line 2 (e.g., apartment, suite, unit, or building).
2877 2878 2879 |
# File 'lib/stripe/resources/account.rb', line 2877 def line2 @line2 end |
#postal_code ⇒ Object
ZIP or postal code.
2879 2880 2881 |
# File 'lib/stripe/resources/account.rb', line 2879 def postal_code @postal_code end |
#state ⇒ Object
State, county, province, or region.
2881 2882 2883 |
# File 'lib/stripe/resources/account.rb', line 2881 def state @state end |