Class: Stripe::V2::Core::AccountCreateParams::Identity::BusinessDetails::AdditionalAddress
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::V2::Core::AccountCreateParams::Identity::BusinessDetails::AdditionalAddress
- Defined in:
- lib/stripe/params/v2/core/account_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).
-
#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
attr_accessor, coerce_params, coerce_value, field_encodings, new, #to_h
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.
1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 |
# File 'lib/stripe/params/v2/core/account_create_params.rb', line 1207 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.
1191 1192 1193 |
# File 'lib/stripe/params/v2/core/account_create_params.rb', line 1191 def city @city end |
#country ⇒ Object
Two-letter country code (ISO 3166-1 alpha-2).
1193 1194 1195 |
# File 'lib/stripe/params/v2/core/account_create_params.rb', line 1193 def country @country end |
#line1 ⇒ Object
Address line 1 (e.g., street, PO Box, or company name).
1195 1196 1197 |
# File 'lib/stripe/params/v2/core/account_create_params.rb', line 1195 def line1 @line1 end |
#line2 ⇒ Object
Address line 2 (e.g., apartment, suite, unit, or building).
1197 1198 1199 |
# File 'lib/stripe/params/v2/core/account_create_params.rb', line 1197 def line2 @line2 end |
#postal_code ⇒ Object
ZIP or postal code.
1199 1200 1201 |
# File 'lib/stripe/params/v2/core/account_create_params.rb', line 1199 def postal_code @postal_code end |
#purpose ⇒ Object
Purpose of additional address.
1201 1202 1203 |
# File 'lib/stripe/params/v2/core/account_create_params.rb', line 1201 def purpose @purpose end |
#state ⇒ Object
State, county, province, or region.
1203 1204 1205 |
# File 'lib/stripe/params/v2/core/account_create_params.rb', line 1203 def state @state end |
#town ⇒ Object
Town or district.
1205 1206 1207 |
# File 'lib/stripe/params/v2/core/account_create_params.rb', line 1205 def town @town end |