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.
3549 3550 3551 3552 3553 3554 3555 3556 3557 3558 3559 3560 3561 3562 3563 3564 3565 3566 3567 3568 3569 3570 3571 3572 3573 3574 3575 3576 3577 3578 3579 3580 3581 |
# File 'lib/stripe/resources/account.rb', line 3549 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
3521 3522 3523 |
# File 'lib/stripe/resources/account.rb', line 3521 def address_city @address_city end |
#address_country ⇒ Object
Attribute for param field address_country
3523 3524 3525 |
# File 'lib/stripe/resources/account.rb', line 3523 def address_country @address_country end |
#address_line1 ⇒ Object
Attribute for param field address_line1
3525 3526 3527 |
# File 'lib/stripe/resources/account.rb', line 3525 def address_line1 @address_line1 end |
#address_line2 ⇒ Object
Attribute for param field address_line2
3527 3528 3529 |
# File 'lib/stripe/resources/account.rb', line 3527 def address_line2 @address_line2 end |
#address_state ⇒ Object
Attribute for param field address_state
3529 3530 3531 |
# File 'lib/stripe/resources/account.rb', line 3529 def address_state @address_state end |
#address_zip ⇒ Object
Attribute for param field address_zip
3531 3532 3533 |
# File 'lib/stripe/resources/account.rb', line 3531 def address_zip @address_zip end |
#currency ⇒ Object
Attribute for param field currency
3533 3534 3535 |
# File 'lib/stripe/resources/account.rb', line 3533 def currency @currency end |
#cvc ⇒ Object
Attribute for param field cvc
3535 3536 3537 |
# File 'lib/stripe/resources/account.rb', line 3535 def cvc @cvc end |
#default_for_currency ⇒ Object
Attribute for param field default_for_currency
3547 3548 3549 |
# File 'lib/stripe/resources/account.rb', line 3547 def default_for_currency @default_for_currency end |
#exp_month ⇒ Object
Attribute for param field exp_month
3537 3538 3539 |
# File 'lib/stripe/resources/account.rb', line 3537 def exp_month @exp_month end |
#exp_year ⇒ Object
Attribute for param field exp_year
3539 3540 3541 |
# File 'lib/stripe/resources/account.rb', line 3539 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.
3545 3546 3547 |
# File 'lib/stripe/resources/account.rb', line 3545 def @metadata end |
#name ⇒ Object
Attribute for param field name
3541 3542 3543 |
# File 'lib/stripe/resources/account.rb', line 3541 def name @name end |
#number ⇒ Object
Attribute for param field number
3543 3544 3545 |
# File 'lib/stripe/resources/account.rb', line 3543 def number @number end |
#object ⇒ Object
Attribute for param field object
3519 3520 3521 |
# File 'lib/stripe/resources/account.rb', line 3519 def object @object end |