Class: Stripe::AccountUpdateParams::Company::AddressKanji

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



1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
# File 'lib/stripe/params/account_update_params.rb', line 1156

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.



1142
1143
1144
# File 'lib/stripe/params/account_update_params.rb', line 1142

def city
  @city
end

#countryObject

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



1144
1145
1146
# File 'lib/stripe/params/account_update_params.rb', line 1144

def country
  @country
end

#line1Object

Block or building number.



1146
1147
1148
# File 'lib/stripe/params/account_update_params.rb', line 1146

def line1
  @line1
end

#line2Object

Building details.



1148
1149
1150
# File 'lib/stripe/params/account_update_params.rb', line 1148

def line2
  @line2
end

#postal_codeObject

Postal code.



1150
1151
1152
# File 'lib/stripe/params/account_update_params.rb', line 1150

def postal_code
  @postal_code
end

#stateObject

Prefecture.



1152
1153
1154
# File 'lib/stripe/params/account_update_params.rb', line 1152

def state
  @state
end

#townObject

Town or cho-me.



1154
1155
1156
# File 'lib/stripe/params/account_update_params.rb', line 1154

def town
  @town
end