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.
3907 3908 3909 3910 3911 3912 3913 3914 3915 3916 3917 3918 3919 3920 3921 3922 3923 3924 3925 3926 3927 3928 3929 3930 3931 3932 3933 3934 3935 3936 3937 3938 3939 |
# File 'lib/stripe/resources/account.rb', line 3907 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
3879 3880 3881 |
# File 'lib/stripe/resources/account.rb', line 3879 def address_city @address_city end |
#address_country ⇒ Object
Attribute for param field address_country
3881 3882 3883 |
# File 'lib/stripe/resources/account.rb', line 3881 def address_country @address_country end |
#address_line1 ⇒ Object
Attribute for param field address_line1
3883 3884 3885 |
# File 'lib/stripe/resources/account.rb', line 3883 def address_line1 @address_line1 end |
#address_line2 ⇒ Object
Attribute for param field address_line2
3885 3886 3887 |
# File 'lib/stripe/resources/account.rb', line 3885 def address_line2 @address_line2 end |
#address_state ⇒ Object
Attribute for param field address_state
3887 3888 3889 |
# File 'lib/stripe/resources/account.rb', line 3887 def address_state @address_state end |
#address_zip ⇒ Object
Attribute for param field address_zip
3889 3890 3891 |
# File 'lib/stripe/resources/account.rb', line 3889 def address_zip @address_zip end |
#currency ⇒ Object
Attribute for param field currency
3891 3892 3893 |
# File 'lib/stripe/resources/account.rb', line 3891 def currency @currency end |
#cvc ⇒ Object
Attribute for param field cvc
3893 3894 3895 |
# File 'lib/stripe/resources/account.rb', line 3893 def cvc @cvc end |
#default_for_currency ⇒ Object
Attribute for param field default_for_currency
3905 3906 3907 |
# File 'lib/stripe/resources/account.rb', line 3905 def default_for_currency @default_for_currency end |
#exp_month ⇒ Object
Attribute for param field exp_month
3895 3896 3897 |
# File 'lib/stripe/resources/account.rb', line 3895 def exp_month @exp_month end |
#exp_year ⇒ Object
Attribute for param field exp_year
3897 3898 3899 |
# File 'lib/stripe/resources/account.rb', line 3897 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.
3903 3904 3905 |
# File 'lib/stripe/resources/account.rb', line 3903 def @metadata end |
#name ⇒ Object
Attribute for param field name
3899 3900 3901 |
# File 'lib/stripe/resources/account.rb', line 3899 def name @name end |
#number ⇒ Object
Attribute for param field number
3901 3902 3903 |
# File 'lib/stripe/resources/account.rb', line 3901 def number @number end |
#object ⇒ Object
Attribute for param field object
3877 3878 3879 |
# File 'lib/stripe/resources/account.rb', line 3877 def object @object end |