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.
3522 3523 3524 3525 3526 3527 3528 3529 3530 3531 3532 3533 3534 3535 3536 3537 3538 3539 3540 3541 3542 3543 3544 3545 3546 3547 3548 3549 3550 3551 3552 3553 3554 |
# File 'lib/stripe/resources/account.rb', line 3522 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
3494 3495 3496 |
# File 'lib/stripe/resources/account.rb', line 3494 def address_city @address_city end |
#address_country ⇒ Object
Attribute for param field address_country
3496 3497 3498 |
# File 'lib/stripe/resources/account.rb', line 3496 def address_country @address_country end |
#address_line1 ⇒ Object
Attribute for param field address_line1
3498 3499 3500 |
# File 'lib/stripe/resources/account.rb', line 3498 def address_line1 @address_line1 end |
#address_line2 ⇒ Object
Attribute for param field address_line2
3500 3501 3502 |
# File 'lib/stripe/resources/account.rb', line 3500 def address_line2 @address_line2 end |
#address_state ⇒ Object
Attribute for param field address_state
3502 3503 3504 |
# File 'lib/stripe/resources/account.rb', line 3502 def address_state @address_state end |
#address_zip ⇒ Object
Attribute for param field address_zip
3504 3505 3506 |
# File 'lib/stripe/resources/account.rb', line 3504 def address_zip @address_zip end |
#currency ⇒ Object
Attribute for param field currency
3506 3507 3508 |
# File 'lib/stripe/resources/account.rb', line 3506 def currency @currency end |
#cvc ⇒ Object
Attribute for param field cvc
3508 3509 3510 |
# File 'lib/stripe/resources/account.rb', line 3508 def cvc @cvc end |
#default_for_currency ⇒ Object
Attribute for param field default_for_currency
3520 3521 3522 |
# File 'lib/stripe/resources/account.rb', line 3520 def default_for_currency @default_for_currency end |
#exp_month ⇒ Object
Attribute for param field exp_month
3510 3511 3512 |
# File 'lib/stripe/resources/account.rb', line 3510 def exp_month @exp_month end |
#exp_year ⇒ Object
Attribute for param field exp_year
3512 3513 3514 |
# File 'lib/stripe/resources/account.rb', line 3512 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.
3518 3519 3520 |
# File 'lib/stripe/resources/account.rb', line 3518 def @metadata end |
#name ⇒ Object
Attribute for param field name
3514 3515 3516 |
# File 'lib/stripe/resources/account.rb', line 3514 def name @name end |
#number ⇒ Object
Attribute for param field number
3516 3517 3518 |
# File 'lib/stripe/resources/account.rb', line 3516 def number @number end |
#object ⇒ Object
Attribute for param field object
3492 3493 3494 |
# File 'lib/stripe/resources/account.rb', line 3492 def object @object end |