Class: Stripe::AccountUpdateParams::Card
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::AccountUpdateParams::Card
- Defined in:
- lib/stripe/params/account_update_params.rb
Instance Attribute Summary collapse
-
#address_city ⇒ Object
Attribute for param field address_city.
-
#address_country ⇒ Object
Attribute for param field address_country.
-
#address_line1 ⇒ Object
Attribute for param field address_line1.
-
#address_line2 ⇒ Object
Attribute for param field address_line2.
-
#address_state ⇒ Object
Attribute for param field address_state.
-
#address_zip ⇒ Object
Attribute for param field address_zip.
-
#currency ⇒ Object
Attribute for param field currency.
-
#cvc ⇒ Object
Attribute for param field cvc.
-
#default_for_currency ⇒ Object
Attribute for param field default_for_currency.
-
#exp_month ⇒ Object
Attribute for param field exp_month.
-
#exp_year ⇒ Object
Attribute for param field exp_year.
-
#metadata ⇒ Object
Set of [key-value pairs](stripe.com/docs/api/metadata) that you can attach to an object.
-
#name ⇒ Object
Attribute for param field name.
-
#number ⇒ Object
Attribute for param field number.
-
#object ⇒ Object
Attribute for param field object.
Instance Method Summary collapse
-
#initialize(object: nil, address_city: nil, address_country: nil, address_line1: nil, address_line2: nil, address_state: nil, address_zip: nil, currency: nil, cvc: nil, default_for_currency: nil, exp_month: nil, exp_year: nil, metadata: nil, name: nil, number: nil) ⇒ Card
constructor
A new instance of Card.
Methods inherited from RequestParams
attr_accessor, coerce_params, coerce_value, field_encodings, new, #to_h
Constructor Details
#initialize(object: nil, address_city: nil, address_country: nil, address_line1: nil, address_line2: nil, address_state: nil, address_zip: nil, currency: nil, cvc: nil, default_for_currency: nil, exp_month: nil, exp_year: nil, metadata: nil, name: nil, number: nil) ⇒ Card
Returns a new instance of Card.
1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 |
# File 'lib/stripe/params/account_update_params.rb', line 1241 def initialize( object: nil, address_city: nil, address_country: nil, address_line1: nil, address_line2: nil, address_state: nil, address_zip: nil, currency: nil, cvc: nil, default_for_currency: nil, exp_month: nil, exp_year: nil, metadata: nil, name: nil, number: nil ) @object = object @address_city = address_city @address_country = address_country @address_line1 = address_line1 @address_line2 = address_line2 @address_state = address_state @address_zip = address_zip @currency = currency @cvc = cvc @default_for_currency = default_for_currency @exp_month = exp_month @exp_year = exp_year @metadata = @name = name @number = number end |
Instance Attribute Details
#address_city ⇒ Object
Attribute for param field address_city
1213 1214 1215 |
# File 'lib/stripe/params/account_update_params.rb', line 1213 def address_city @address_city end |
#address_country ⇒ Object
Attribute for param field address_country
1215 1216 1217 |
# File 'lib/stripe/params/account_update_params.rb', line 1215 def address_country @address_country end |
#address_line1 ⇒ Object
Attribute for param field address_line1
1217 1218 1219 |
# File 'lib/stripe/params/account_update_params.rb', line 1217 def address_line1 @address_line1 end |
#address_line2 ⇒ Object
Attribute for param field address_line2
1219 1220 1221 |
# File 'lib/stripe/params/account_update_params.rb', line 1219 def address_line2 @address_line2 end |
#address_state ⇒ Object
Attribute for param field address_state
1221 1222 1223 |
# File 'lib/stripe/params/account_update_params.rb', line 1221 def address_state @address_state end |
#address_zip ⇒ Object
Attribute for param field address_zip
1223 1224 1225 |
# File 'lib/stripe/params/account_update_params.rb', line 1223 def address_zip @address_zip end |
#currency ⇒ Object
Attribute for param field currency
1225 1226 1227 |
# File 'lib/stripe/params/account_update_params.rb', line 1225 def currency @currency end |
#cvc ⇒ Object
Attribute for param field cvc
1227 1228 1229 |
# File 'lib/stripe/params/account_update_params.rb', line 1227 def cvc @cvc end |
#default_for_currency ⇒ Object
Attribute for param field default_for_currency
1229 1230 1231 |
# File 'lib/stripe/params/account_update_params.rb', line 1229 def default_for_currency @default_for_currency end |
#exp_month ⇒ Object
Attribute for param field exp_month
1231 1232 1233 |
# File 'lib/stripe/params/account_update_params.rb', line 1231 def exp_month @exp_month end |
#exp_year ⇒ Object
Attribute for param field exp_year
1233 1234 1235 |
# File 'lib/stripe/params/account_update_params.rb', line 1233 def exp_year @exp_year end |
#metadata ⇒ Object
Set of [key-value pairs](stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
1235 1236 1237 |
# File 'lib/stripe/params/account_update_params.rb', line 1235 def @metadata end |
#name ⇒ Object
Attribute for param field name
1237 1238 1239 |
# File 'lib/stripe/params/account_update_params.rb', line 1237 def name @name end |
#number ⇒ Object
Attribute for param field number
1239 1240 1241 |
# File 'lib/stripe/params/account_update_params.rb', line 1239 def number @number end |
#object ⇒ Object
Attribute for param field object
1211 1212 1213 |
# File 'lib/stripe/params/account_update_params.rb', line 1211 def object @object end |