Class: Stripe::AccountExternalAccountCreateParams::Card
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::AccountExternalAccountCreateParams::Card
- Defined in:
- lib/stripe/params/account_external_account_create_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.
-
#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) ⇒ 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) ⇒ Card
Returns a new instance of Card.
71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 |
# File 'lib/stripe/params/account_external_account_create_params.rb', line 71 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 ) @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 = end |
Instance Attribute Details
#address_city ⇒ Object
Attribute for param field address_city
45 46 47 |
# File 'lib/stripe/params/account_external_account_create_params.rb', line 45 def address_city @address_city end |
#address_country ⇒ Object
Attribute for param field address_country
47 48 49 |
# File 'lib/stripe/params/account_external_account_create_params.rb', line 47 def address_country @address_country end |
#address_line1 ⇒ Object
Attribute for param field address_line1
49 50 51 |
# File 'lib/stripe/params/account_external_account_create_params.rb', line 49 def address_line1 @address_line1 end |
#address_line2 ⇒ Object
Attribute for param field address_line2
51 52 53 |
# File 'lib/stripe/params/account_external_account_create_params.rb', line 51 def address_line2 @address_line2 end |
#address_state ⇒ Object
Attribute for param field address_state
53 54 55 |
# File 'lib/stripe/params/account_external_account_create_params.rb', line 53 def address_state @address_state end |
#address_zip ⇒ Object
Attribute for param field address_zip
55 56 57 |
# File 'lib/stripe/params/account_external_account_create_params.rb', line 55 def address_zip @address_zip end |
#currency ⇒ Object
Attribute for param field currency
57 58 59 |
# File 'lib/stripe/params/account_external_account_create_params.rb', line 57 def currency @currency end |
#cvc ⇒ Object
Attribute for param field cvc
59 60 61 |
# File 'lib/stripe/params/account_external_account_create_params.rb', line 59 def cvc @cvc end |
#exp_month ⇒ Object
Attribute for param field exp_month
61 62 63 |
# File 'lib/stripe/params/account_external_account_create_params.rb', line 61 def exp_month @exp_month end |
#exp_year ⇒ Object
Attribute for param field exp_year
63 64 65 |
# File 'lib/stripe/params/account_external_account_create_params.rb', line 63 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.
69 70 71 |
# File 'lib/stripe/params/account_external_account_create_params.rb', line 69 def end |
#name ⇒ Object
Attribute for param field name
65 66 67 |
# File 'lib/stripe/params/account_external_account_create_params.rb', line 65 def name @name end |
#number ⇒ Object
Attribute for param field number
67 68 69 |
# File 'lib/stripe/params/account_external_account_create_params.rb', line 67 def number @number end |
#object ⇒ Object
Attribute for param field object
43 44 45 |
# File 'lib/stripe/params/account_external_account_create_params.rb', line 43 def object @object end |