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.
3607 3608 3609 3610 3611 3612 3613 3614 3615 3616 3617 3618 3619 3620 3621 3622 3623 3624 3625 3626 3627 3628 3629 3630 3631 3632 3633 3634 3635 3636 3637 3638 3639 |
# File 'lib/stripe/resources/account.rb', line 3607 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
3579 3580 3581 |
# File 'lib/stripe/resources/account.rb', line 3579 def address_city @address_city end |
#address_country ⇒ Object
Attribute for param field address_country
3581 3582 3583 |
# File 'lib/stripe/resources/account.rb', line 3581 def address_country @address_country end |
#address_line1 ⇒ Object
Attribute for param field address_line1
3583 3584 3585 |
# File 'lib/stripe/resources/account.rb', line 3583 def address_line1 @address_line1 end |
#address_line2 ⇒ Object
Attribute for param field address_line2
3585 3586 3587 |
# File 'lib/stripe/resources/account.rb', line 3585 def address_line2 @address_line2 end |
#address_state ⇒ Object
Attribute for param field address_state
3587 3588 3589 |
# File 'lib/stripe/resources/account.rb', line 3587 def address_state @address_state end |
#address_zip ⇒ Object
Attribute for param field address_zip
3589 3590 3591 |
# File 'lib/stripe/resources/account.rb', line 3589 def address_zip @address_zip end |
#currency ⇒ Object
Attribute for param field currency
3591 3592 3593 |
# File 'lib/stripe/resources/account.rb', line 3591 def currency @currency end |
#cvc ⇒ Object
Attribute for param field cvc
3593 3594 3595 |
# File 'lib/stripe/resources/account.rb', line 3593 def cvc @cvc end |
#default_for_currency ⇒ Object
Attribute for param field default_for_currency
3605 3606 3607 |
# File 'lib/stripe/resources/account.rb', line 3605 def default_for_currency @default_for_currency end |
#exp_month ⇒ Object
Attribute for param field exp_month
3595 3596 3597 |
# File 'lib/stripe/resources/account.rb', line 3595 def exp_month @exp_month end |
#exp_year ⇒ Object
Attribute for param field exp_year
3597 3598 3599 |
# File 'lib/stripe/resources/account.rb', line 3597 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.
3603 3604 3605 |
# File 'lib/stripe/resources/account.rb', line 3603 def @metadata end |
#name ⇒ Object
Attribute for param field name
3599 3600 3601 |
# File 'lib/stripe/resources/account.rb', line 3599 def name @name end |
#number ⇒ Object
Attribute for param field number
3601 3602 3603 |
# File 'lib/stripe/resources/account.rb', line 3601 def number @number end |
#object ⇒ Object
Attribute for param field object
3577 3578 3579 |
# File 'lib/stripe/resources/account.rb', line 3577 def object @object end |