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.
3845 3846 3847 3848 3849 3850 3851 3852 3853 3854 3855 3856 3857 3858 3859 3860 3861 3862 3863 3864 3865 3866 3867 3868 3869 3870 3871 3872 3873 3874 3875 3876 3877 |
# File 'lib/stripe/resources/account.rb', line 3845 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
3817 3818 3819 |
# File 'lib/stripe/resources/account.rb', line 3817 def address_city @address_city end |
#address_country ⇒ Object
Attribute for param field address_country
3819 3820 3821 |
# File 'lib/stripe/resources/account.rb', line 3819 def address_country @address_country end |
#address_line1 ⇒ Object
Attribute for param field address_line1
3821 3822 3823 |
# File 'lib/stripe/resources/account.rb', line 3821 def address_line1 @address_line1 end |
#address_line2 ⇒ Object
Attribute for param field address_line2
3823 3824 3825 |
# File 'lib/stripe/resources/account.rb', line 3823 def address_line2 @address_line2 end |
#address_state ⇒ Object
Attribute for param field address_state
3825 3826 3827 |
# File 'lib/stripe/resources/account.rb', line 3825 def address_state @address_state end |
#address_zip ⇒ Object
Attribute for param field address_zip
3827 3828 3829 |
# File 'lib/stripe/resources/account.rb', line 3827 def address_zip @address_zip end |
#currency ⇒ Object
Attribute for param field currency
3829 3830 3831 |
# File 'lib/stripe/resources/account.rb', line 3829 def currency @currency end |
#cvc ⇒ Object
Attribute for param field cvc
3831 3832 3833 |
# File 'lib/stripe/resources/account.rb', line 3831 def cvc @cvc end |
#default_for_currency ⇒ Object
Attribute for param field default_for_currency
3843 3844 3845 |
# File 'lib/stripe/resources/account.rb', line 3843 def default_for_currency @default_for_currency end |
#exp_month ⇒ Object
Attribute for param field exp_month
3833 3834 3835 |
# File 'lib/stripe/resources/account.rb', line 3833 def exp_month @exp_month end |
#exp_year ⇒ Object
Attribute for param field exp_year
3835 3836 3837 |
# File 'lib/stripe/resources/account.rb', line 3835 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.
3841 3842 3843 |
# File 'lib/stripe/resources/account.rb', line 3841 def @metadata end |
#name ⇒ Object
Attribute for param field name
3837 3838 3839 |
# File 'lib/stripe/resources/account.rb', line 3837 def name @name end |
#number ⇒ Object
Attribute for param field number
3839 3840 3841 |
# File 'lib/stripe/resources/account.rb', line 3839 def number @number end |
#object ⇒ Object
Attribute for param field object
3815 3816 3817 |
# File 'lib/stripe/resources/account.rb', line 3815 def object @object end |