Class: Stripe::AccountExternalAccountService::CreateParams::Card
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::AccountExternalAccountService::CreateParams::Card
- Defined in:
- lib/stripe/services/account_external_account_service.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.
191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 |
# File 'lib/stripe/services/account_external_account_service.rb', line 191 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 @metadata = end |
Instance Attribute Details
#address_city ⇒ Object
Attribute for param field address_city
165 166 167 |
# File 'lib/stripe/services/account_external_account_service.rb', line 165 def address_city @address_city end |
#address_country ⇒ Object
Attribute for param field address_country
167 168 169 |
# File 'lib/stripe/services/account_external_account_service.rb', line 167 def address_country @address_country end |
#address_line1 ⇒ Object
Attribute for param field address_line1
169 170 171 |
# File 'lib/stripe/services/account_external_account_service.rb', line 169 def address_line1 @address_line1 end |
#address_line2 ⇒ Object
Attribute for param field address_line2
171 172 173 |
# File 'lib/stripe/services/account_external_account_service.rb', line 171 def address_line2 @address_line2 end |
#address_state ⇒ Object
Attribute for param field address_state
173 174 175 |
# File 'lib/stripe/services/account_external_account_service.rb', line 173 def address_state @address_state end |
#address_zip ⇒ Object
Attribute for param field address_zip
175 176 177 |
# File 'lib/stripe/services/account_external_account_service.rb', line 175 def address_zip @address_zip end |
#currency ⇒ Object
Attribute for param field currency
177 178 179 |
# File 'lib/stripe/services/account_external_account_service.rb', line 177 def currency @currency end |
#cvc ⇒ Object
Attribute for param field cvc
179 180 181 |
# File 'lib/stripe/services/account_external_account_service.rb', line 179 def cvc @cvc end |
#exp_month ⇒ Object
Attribute for param field exp_month
181 182 183 |
# File 'lib/stripe/services/account_external_account_service.rb', line 181 def exp_month @exp_month end |
#exp_year ⇒ Object
Attribute for param field exp_year
183 184 185 |
# File 'lib/stripe/services/account_external_account_service.rb', line 183 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.
189 190 191 |
# File 'lib/stripe/services/account_external_account_service.rb', line 189 def @metadata end |
#name ⇒ Object
Attribute for param field name
185 186 187 |
# File 'lib/stripe/services/account_external_account_service.rb', line 185 def name @name end |
#number ⇒ Object
Attribute for param field number
187 188 189 |
# File 'lib/stripe/services/account_external_account_service.rb', line 187 def number @number end |
#object ⇒ Object
Attribute for param field object
163 164 165 |
# File 'lib/stripe/services/account_external_account_service.rb', line 163 def object @object end |