Class: Stripe::V2::Core::AccountUpdateParams::Identity::Individual::ScriptAddresses::Kanji

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#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.



2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
# File 'lib/stripe/params/v2/core/account_update_params.rb', line 2661

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.



2647
2648
2649
# File 'lib/stripe/params/v2/core/account_update_params.rb', line 2647

def city
  @city
end

#countryObject

Two-letter country code ([ISO 3166-1 alpha-2](en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).



2649
2650
2651
# File 'lib/stripe/params/v2/core/account_update_params.rb', line 2649

def country
  @country
end

#line1Object

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



2651
2652
2653
# File 'lib/stripe/params/v2/core/account_update_params.rb', line 2651

def line1
  @line1
end

#line2Object

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



2653
2654
2655
# File 'lib/stripe/params/v2/core/account_update_params.rb', line 2653

def line2
  @line2
end

#postal_codeObject

ZIP or postal code.



2655
2656
2657
# File 'lib/stripe/params/v2/core/account_update_params.rb', line 2655

def postal_code
  @postal_code
end

#stateObject

State, county, province, or region.



2657
2658
2659
# File 'lib/stripe/params/v2/core/account_update_params.rb', line 2657

def state
  @state
end

#townObject

Town or cho-me.



2659
2660
2661
# File 'lib/stripe/params/v2/core/account_update_params.rb', line 2659

def town
  @town
end