Class: Stripe::V2::Core::AccountCreateParams::Identity::BusinessDetails::ScriptAddresses::Kanji

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, state: nil, town: nil) ⇒ Kanji

Returns a new instance of Kanji.



5576
5577
5578
5579
5580
5581
5582
5583
5584
5585
5586
5587
5588
5589
5590
5591
5592
# File 'lib/stripe/params/v2/core/account_create_params.rb', line 5576

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

#cityObject

City, district, suburb, town, or village.



5562
5563
5564
# File 'lib/stripe/params/v2/core/account_create_params.rb', line 5562

def city
  @city
end

#countryObject

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



5564
5565
5566
# File 'lib/stripe/params/v2/core/account_create_params.rb', line 5564

def country
  @country
end

#line1Object

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



5566
5567
5568
# File 'lib/stripe/params/v2/core/account_create_params.rb', line 5566

def line1
  @line1
end

#line2Object

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



5568
5569
5570
# File 'lib/stripe/params/v2/core/account_create_params.rb', line 5568

def line2
  @line2
end

#postal_codeObject

ZIP or postal code.



5570
5571
5572
# File 'lib/stripe/params/v2/core/account_create_params.rb', line 5570

def postal_code
  @postal_code
end

#stateObject

State, county, province, or region.



5572
5573
5574
# File 'lib/stripe/params/v2/core/account_create_params.rb', line 5572

def state
  @state
end

#townObject

Town or district.



5574
5575
5576
# File 'lib/stripe/params/v2/core/account_create_params.rb', line 5574

def town
  @town
end