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.
4025 4026 4027 4028 4029 4030 4031 4032 4033 4034 4035 4036 4037 4038 4039 4040 4041 4042 4043 4044 4045 4046 4047 4048 4049 4050 4051 4052 4053 4054 4055 4056 4057 |
# File 'lib/stripe/resources/account.rb', line 4025 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
3997 3998 3999 |
# File 'lib/stripe/resources/account.rb', line 3997 def address_city @address_city end |
#address_country ⇒ Object
Attribute for param field address_country
3999 4000 4001 |
# File 'lib/stripe/resources/account.rb', line 3999 def address_country @address_country end |
#address_line1 ⇒ Object
Attribute for param field address_line1
4001 4002 4003 |
# File 'lib/stripe/resources/account.rb', line 4001 def address_line1 @address_line1 end |
#address_line2 ⇒ Object
Attribute for param field address_line2
4003 4004 4005 |
# File 'lib/stripe/resources/account.rb', line 4003 def address_line2 @address_line2 end |
#address_state ⇒ Object
Attribute for param field address_state
4005 4006 4007 |
# File 'lib/stripe/resources/account.rb', line 4005 def address_state @address_state end |
#address_zip ⇒ Object
Attribute for param field address_zip
4007 4008 4009 |
# File 'lib/stripe/resources/account.rb', line 4007 def address_zip @address_zip end |
#currency ⇒ Object
Attribute for param field currency
4009 4010 4011 |
# File 'lib/stripe/resources/account.rb', line 4009 def currency @currency end |
#cvc ⇒ Object
Attribute for param field cvc
4011 4012 4013 |
# File 'lib/stripe/resources/account.rb', line 4011 def cvc @cvc end |
#default_for_currency ⇒ Object
Attribute for param field default_for_currency
4023 4024 4025 |
# File 'lib/stripe/resources/account.rb', line 4023 def default_for_currency @default_for_currency end |
#exp_month ⇒ Object
Attribute for param field exp_month
4013 4014 4015 |
# File 'lib/stripe/resources/account.rb', line 4013 def exp_month @exp_month end |
#exp_year ⇒ Object
Attribute for param field exp_year
4015 4016 4017 |
# File 'lib/stripe/resources/account.rb', line 4015 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.
4021 4022 4023 |
# File 'lib/stripe/resources/account.rb', line 4021 def @metadata end |
#name ⇒ Object
Attribute for param field name
4017 4018 4019 |
# File 'lib/stripe/resources/account.rb', line 4017 def name @name end |
#number ⇒ Object
Attribute for param field number
4019 4020 4021 |
# File 'lib/stripe/resources/account.rb', line 4019 def number @number end |
#object ⇒ Object
Attribute for param field object
3995 3996 3997 |
# File 'lib/stripe/resources/account.rb', line 3995 def object @object end |