Class: Stripe::AccountService::CreateParams::Individual::AddressKanji

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/services/account_service.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) ⇒ AddressKanji

Returns a new instance of AddressKanji.



3847
3848
3849
3850
3851
3852
3853
3854
3855
3856
3857
3858
3859
3860
3861
3862
3863
# File 'lib/stripe/services/account_service.rb', line 3847

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 or ward.



3833
3834
3835
# File 'lib/stripe/services/account_service.rb', line 3833

def city
  @city
end

#countryObject

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



3835
3836
3837
# File 'lib/stripe/services/account_service.rb', line 3835

def country
  @country
end

#line1Object

Block or building number.



3837
3838
3839
# File 'lib/stripe/services/account_service.rb', line 3837

def line1
  @line1
end

#line2Object

Building details.



3839
3840
3841
# File 'lib/stripe/services/account_service.rb', line 3839

def line2
  @line2
end

#postal_codeObject

Postal code.



3841
3842
3843
# File 'lib/stripe/services/account_service.rb', line 3841

def postal_code
  @postal_code
end

#stateObject

Prefecture.



3843
3844
3845
# File 'lib/stripe/services/account_service.rb', line 3843

def state
  @state
end

#townObject

Town or cho-me.



3845
3846
3847
# File 'lib/stripe/services/account_service.rb', line 3845

def town
  @town
end