Class: Stripe::V2::Core::AccountUpdateParams::Identity::Individual::Address
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::V2::Core::AccountUpdateParams::Identity::Individual::Address
- Defined in:
- lib/stripe/params/v2/core/account_update_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.
-
#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, state: nil, town: nil) ⇒ Address
constructor
A new instance of Address.
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, state: nil, town: nil) ⇒ Address
Returns a new instance of Address.
2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 |
# File 'lib/stripe/params/v2/core/account_update_params.rb', line 2198 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.
2184 2185 2186 |
# File 'lib/stripe/params/v2/core/account_update_params.rb', line 2184 def city @city end |
#country ⇒ Object
Two-letter country code (ISO 3166-1 alpha-2).
2186 2187 2188 |
# File 'lib/stripe/params/v2/core/account_update_params.rb', line 2186 def country @country end |
#line1 ⇒ Object
Address line 1 (e.g., street, PO Box, or company name).
2188 2189 2190 |
# File 'lib/stripe/params/v2/core/account_update_params.rb', line 2188 def line1 @line1 end |
#line2 ⇒ Object
Address line 2 (e.g., apartment, suite, unit, or building).
2190 2191 2192 |
# File 'lib/stripe/params/v2/core/account_update_params.rb', line 2190 def line2 @line2 end |
#postal_code ⇒ Object
ZIP or postal code.
2192 2193 2194 |
# File 'lib/stripe/params/v2/core/account_update_params.rb', line 2192 def postal_code @postal_code end |
#state ⇒ Object
State, county, province, or region.
2194 2195 2196 |
# File 'lib/stripe/params/v2/core/account_update_params.rb', line 2194 def state @state end |
#town ⇒ Object
Town or district.
2196 2197 2198 |
# File 'lib/stripe/params/v2/core/account_update_params.rb', line 2196 def town @town end |