Class: Stripe::V2::Core::AccountCreateParams::Identity::Individual::ScriptAddresses::Kana
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::V2::Core::AccountCreateParams::Identity::Individual::ScriptAddresses::Kana
- 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.
-
#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) ⇒ Kana
constructor
A new instance of Kana.
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) ⇒ Kana
Returns a new instance of Kana.
5971 5972 5973 5974 5975 5976 5977 5978 5979 5980 5981 5982 5983 5984 5985 5986 5987 |
# File 'lib/stripe/params/v2/core/account_create_params.rb', line 5971 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.
5957 5958 5959 |
# File 'lib/stripe/params/v2/core/account_create_params.rb', line 5957 def city @city end |
#country ⇒ Object
Two-letter country code (ISO 3166-1 alpha-2).
5959 5960 5961 |
# File 'lib/stripe/params/v2/core/account_create_params.rb', line 5959 def country @country end |
#line1 ⇒ Object
Address line 1 (e.g., street, PO Box, or company name).
5961 5962 5963 |
# File 'lib/stripe/params/v2/core/account_create_params.rb', line 5961 def line1 @line1 end |
#line2 ⇒ Object
Address line 2 (e.g., apartment, suite, unit, or building).
5963 5964 5965 |
# File 'lib/stripe/params/v2/core/account_create_params.rb', line 5963 def line2 @line2 end |
#postal_code ⇒ Object
ZIP or postal code.
5965 5966 5967 |
# File 'lib/stripe/params/v2/core/account_create_params.rb', line 5965 def postal_code @postal_code end |
#state ⇒ Object
State, county, province, or region.
5967 5968 5969 |
# File 'lib/stripe/params/v2/core/account_create_params.rb', line 5967 def state @state end |
#town ⇒ Object
Town or district.
5969 5970 5971 |
# File 'lib/stripe/params/v2/core/account_create_params.rb', line 5969 def town @town end |