Class: Stripe::AccountCreateParams::Company::AddressKanji

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

Returns a new instance of AddressKanji.



1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
# File 'lib/stripe/params/account_create_params.rb', line 1117

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.



1103
1104
1105
# File 'lib/stripe/params/account_create_params.rb', line 1103

def city
  @city
end

#countryObject

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



1105
1106
1107
# File 'lib/stripe/params/account_create_params.rb', line 1105

def country
  @country
end

#line1Object

Block or building number.



1107
1108
1109
# File 'lib/stripe/params/account_create_params.rb', line 1107

def line1
  @line1
end

#line2Object

Building details.



1109
1110
1111
# File 'lib/stripe/params/account_create_params.rb', line 1109

def line2
  @line2
end

#postal_codeObject

Postal code.



1111
1112
1113
# File 'lib/stripe/params/account_create_params.rb', line 1111

def postal_code
  @postal_code
end

#stateObject

Prefecture.



1113
1114
1115
# File 'lib/stripe/params/account_create_params.rb', line 1113

def state
  @state
end

#townObject

Town or cho-me.



1115
1116
1117
# File 'lib/stripe/params/account_create_params.rb', line 1115

def town
  @town
end