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.
4082 4083 4084 4085 4086 4087 4088 4089 4090 4091 4092 4093 4094 4095 4096 4097 4098 4099 4100 4101 4102 4103 4104 4105 4106 4107 4108 4109 4110 4111 4112 4113 4114 |
# File 'lib/stripe/resources/account.rb', line 4082 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
4054 4055 4056 |
# File 'lib/stripe/resources/account.rb', line 4054 def address_city @address_city end |
#address_country ⇒ Object
Attribute for param field address_country
4056 4057 4058 |
# File 'lib/stripe/resources/account.rb', line 4056 def address_country @address_country end |
#address_line1 ⇒ Object
Attribute for param field address_line1
4058 4059 4060 |
# File 'lib/stripe/resources/account.rb', line 4058 def address_line1 @address_line1 end |
#address_line2 ⇒ Object
Attribute for param field address_line2
4060 4061 4062 |
# File 'lib/stripe/resources/account.rb', line 4060 def address_line2 @address_line2 end |
#address_state ⇒ Object
Attribute for param field address_state
4062 4063 4064 |
# File 'lib/stripe/resources/account.rb', line 4062 def address_state @address_state end |
#address_zip ⇒ Object
Attribute for param field address_zip
4064 4065 4066 |
# File 'lib/stripe/resources/account.rb', line 4064 def address_zip @address_zip end |
#currency ⇒ Object
Attribute for param field currency
4066 4067 4068 |
# File 'lib/stripe/resources/account.rb', line 4066 def currency @currency end |
#cvc ⇒ Object
Attribute for param field cvc
4068 4069 4070 |
# File 'lib/stripe/resources/account.rb', line 4068 def cvc @cvc end |
#default_for_currency ⇒ Object
Attribute for param field default_for_currency
4080 4081 4082 |
# File 'lib/stripe/resources/account.rb', line 4080 def default_for_currency @default_for_currency end |
#exp_month ⇒ Object
Attribute for param field exp_month
4070 4071 4072 |
# File 'lib/stripe/resources/account.rb', line 4070 def exp_month @exp_month end |
#exp_year ⇒ Object
Attribute for param field exp_year
4072 4073 4074 |
# File 'lib/stripe/resources/account.rb', line 4072 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.
4078 4079 4080 |
# File 'lib/stripe/resources/account.rb', line 4078 def @metadata end |
#name ⇒ Object
Attribute for param field name
4074 4075 4076 |
# File 'lib/stripe/resources/account.rb', line 4074 def name @name end |
#number ⇒ Object
Attribute for param field number
4076 4077 4078 |
# File 'lib/stripe/resources/account.rb', line 4076 def number @number end |
#object ⇒ Object
Attribute for param field object
4052 4053 4054 |
# File 'lib/stripe/resources/account.rb', line 4052 def object @object end |