Class: Stripe::Account::CreateParams::Card
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::Account::CreateParams::Card
- Defined in:
- lib/stripe/resources/account.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, exp_month: nil, exp_year: nil, name: nil, number: nil, metadata: nil, default_for_currency: nil) ⇒ Card
constructor
A new instance of Card.
Methods inherited from RequestParams
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, exp_month: nil, exp_year: nil, name: nil, number: nil, metadata: nil, default_for_currency: nil) ⇒ Card
Returns a new instance of Card.
4380 4381 4382 4383 4384 4385 4386 4387 4388 4389 4390 4391 4392 4393 4394 4395 4396 4397 4398 4399 4400 4401 4402 4403 4404 4405 4406 4407 4408 4409 4410 4411 4412 |
# File 'lib/stripe/resources/account.rb', line 4380 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, exp_month: nil, exp_year: nil, name: nil, number: nil, metadata: nil, default_for_currency: 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 @exp_month = exp_month @exp_year = exp_year @name = name @number = number @metadata = @default_for_currency = default_for_currency end |
Instance Attribute Details
#address_city ⇒ Object
Attribute for param field address_city
4339 4340 4341 |
# File 'lib/stripe/resources/account.rb', line 4339 def address_city @address_city end |
#address_country ⇒ Object
Attribute for param field address_country
4342 4343 4344 |
# File 'lib/stripe/resources/account.rb', line 4342 def address_country @address_country end |
#address_line1 ⇒ Object
Attribute for param field address_line1
4345 4346 4347 |
# File 'lib/stripe/resources/account.rb', line 4345 def address_line1 @address_line1 end |
#address_line2 ⇒ Object
Attribute for param field address_line2
4348 4349 4350 |
# File 'lib/stripe/resources/account.rb', line 4348 def address_line2 @address_line2 end |
#address_state ⇒ Object
Attribute for param field address_state
4351 4352 4353 |
# File 'lib/stripe/resources/account.rb', line 4351 def address_state @address_state end |
#address_zip ⇒ Object
Attribute for param field address_zip
4354 4355 4356 |
# File 'lib/stripe/resources/account.rb', line 4354 def address_zip @address_zip end |
#currency ⇒ Object
Attribute for param field currency
4357 4358 4359 |
# File 'lib/stripe/resources/account.rb', line 4357 def currency @currency end |
#cvc ⇒ Object
Attribute for param field cvc
4360 4361 4362 |
# File 'lib/stripe/resources/account.rb', line 4360 def cvc @cvc end |
#default_for_currency ⇒ Object
Attribute for param field default_for_currency
4378 4379 4380 |
# File 'lib/stripe/resources/account.rb', line 4378 def default_for_currency @default_for_currency end |
#exp_month ⇒ Object
Attribute for param field exp_month
4363 4364 4365 |
# File 'lib/stripe/resources/account.rb', line 4363 def exp_month @exp_month end |
#exp_year ⇒ Object
Attribute for param field exp_year
4366 4367 4368 |
# File 'lib/stripe/resources/account.rb', line 4366 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.
4375 4376 4377 |
# File 'lib/stripe/resources/account.rb', line 4375 def @metadata end |
#name ⇒ Object
Attribute for param field name
4369 4370 4371 |
# File 'lib/stripe/resources/account.rb', line 4369 def name @name end |
#number ⇒ Object
Attribute for param field number
4372 4373 4374 |
# File 'lib/stripe/resources/account.rb', line 4372 def number @number end |
#object ⇒ Object
Attribute for param field object
4336 4337 4338 |
# File 'lib/stripe/resources/account.rb', line 4336 def object @object end |