Class: Stripe::V2::Core::AccountCreateParams::Identity::Individual::AdditionalAddress

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/v2/core/account_create_params.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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.



5714
5715
5716
5717
5718
5719
5720
5721
5722
5723
5724
5725
5726
5727
5728
5729
5730
5731
5732
# File 'lib/stripe/params/v2/core/account_create_params.rb', line 5714

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

#cityObject

City, district, suburb, town, or village.



5698
5699
5700
# File 'lib/stripe/params/v2/core/account_create_params.rb', line 5698

def city
  @city
end

#countryObject

Two-letter country code (ISO 3166-1 alpha-2).



5700
5701
5702
# File 'lib/stripe/params/v2/core/account_create_params.rb', line 5700

def country
  @country
end

#line1Object

Address line 1 (e.g., street, PO Box, or company name).



5702
5703
5704
# File 'lib/stripe/params/v2/core/account_create_params.rb', line 5702

def line1
  @line1
end

#line2Object

Address line 2 (e.g., apartment, suite, unit, or building).



5704
5705
5706
# File 'lib/stripe/params/v2/core/account_create_params.rb', line 5704

def line2
  @line2
end

#postal_codeObject

ZIP or postal code.



5706
5707
5708
# File 'lib/stripe/params/v2/core/account_create_params.rb', line 5706

def postal_code
  @postal_code
end

#purposeObject

Purpose of additional address.



5708
5709
5710
# File 'lib/stripe/params/v2/core/account_create_params.rb', line 5708

def purpose
  @purpose
end

#stateObject

State, county, province, or region.



5710
5711
5712
# File 'lib/stripe/params/v2/core/account_create_params.rb', line 5710

def state
  @state
end

#townObject

Town or district.



5712
5713
5714
# File 'lib/stripe/params/v2/core/account_create_params.rb', line 5712

def town
  @town
end