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.
230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 |
# File 'lib/stripe/services/account_external_account_service.rb', line 230 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
192 193 194 |
# File 'lib/stripe/services/account_external_account_service.rb', line 192 def address_city @address_city end |
#address_country ⇒ Object
Attribute for param field address_country
195 196 197 |
# File 'lib/stripe/services/account_external_account_service.rb', line 195 def address_country @address_country end |
#address_line1 ⇒ Object
Attribute for param field address_line1
198 199 200 |
# File 'lib/stripe/services/account_external_account_service.rb', line 198 def address_line1 @address_line1 end |
#address_line2 ⇒ Object
Attribute for param field address_line2
201 202 203 |
# File 'lib/stripe/services/account_external_account_service.rb', line 201 def address_line2 @address_line2 end |
#address_state ⇒ Object
Attribute for param field address_state
204 205 206 |
# File 'lib/stripe/services/account_external_account_service.rb', line 204 def address_state @address_state end |
#address_zip ⇒ Object
Attribute for param field address_zip
207 208 209 |
# File 'lib/stripe/services/account_external_account_service.rb', line 207 def address_zip @address_zip end |
#currency ⇒ Object
Attribute for param field currency
210 211 212 |
# File 'lib/stripe/services/account_external_account_service.rb', line 210 def currency @currency end |
#cvc ⇒ Object
Attribute for param field cvc
213 214 215 |
# File 'lib/stripe/services/account_external_account_service.rb', line 213 def cvc @cvc end |
#exp_month ⇒ Object
Attribute for param field exp_month
216 217 218 |
# File 'lib/stripe/services/account_external_account_service.rb', line 216 def exp_month @exp_month end |
#exp_year ⇒ Object
Attribute for param field exp_year
219 220 221 |
# File 'lib/stripe/services/account_external_account_service.rb', line 219 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.
228 229 230 |
# File 'lib/stripe/services/account_external_account_service.rb', line 228 def @metadata end |
#name ⇒ Object
Attribute for param field name
222 223 224 |
# File 'lib/stripe/services/account_external_account_service.rb', line 222 def name @name end |
#number ⇒ Object
Attribute for param field number
225 226 227 |
# File 'lib/stripe/services/account_external_account_service.rb', line 225 def number @number end |
#object ⇒ Object
Attribute for param field object
189 190 191 |
# File 'lib/stripe/services/account_external_account_service.rb', line 189 def object @object end |