Class: Stripe::AccountService::CreateParams::Card
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::AccountService::CreateParams::Card
- Defined in:
- lib/stripe/services/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.
-
#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.
3273 3274 3275 3276 3277 3278 3279 3280 3281 3282 3283 3284 3285 3286 3287 3288 3289 3290 3291 3292 3293 3294 3295 3296 3297 3298 3299 3300 3301 3302 3303 3304 3305 |
# File 'lib/stripe/services/account_service.rb', line 3273 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
3245 3246 3247 |
# File 'lib/stripe/services/account_service.rb', line 3245 def address_city @address_city end |
#address_country ⇒ Object
Attribute for param field address_country
3247 3248 3249 |
# File 'lib/stripe/services/account_service.rb', line 3247 def address_country @address_country end |
#address_line1 ⇒ Object
Attribute for param field address_line1
3249 3250 3251 |
# File 'lib/stripe/services/account_service.rb', line 3249 def address_line1 @address_line1 end |
#address_line2 ⇒ Object
Attribute for param field address_line2
3251 3252 3253 |
# File 'lib/stripe/services/account_service.rb', line 3251 def address_line2 @address_line2 end |
#address_state ⇒ Object
Attribute for param field address_state
3253 3254 3255 |
# File 'lib/stripe/services/account_service.rb', line 3253 def address_state @address_state end |
#address_zip ⇒ Object
Attribute for param field address_zip
3255 3256 3257 |
# File 'lib/stripe/services/account_service.rb', line 3255 def address_zip @address_zip end |
#currency ⇒ Object
Attribute for param field currency
3257 3258 3259 |
# File 'lib/stripe/services/account_service.rb', line 3257 def currency @currency end |
#cvc ⇒ Object
Attribute for param field cvc
3259 3260 3261 |
# File 'lib/stripe/services/account_service.rb', line 3259 def cvc @cvc end |
#default_for_currency ⇒ Object
Attribute for param field default_for_currency
3271 3272 3273 |
# File 'lib/stripe/services/account_service.rb', line 3271 def default_for_currency @default_for_currency end |
#exp_month ⇒ Object
Attribute for param field exp_month
3261 3262 3263 |
# File 'lib/stripe/services/account_service.rb', line 3261 def exp_month @exp_month end |
#exp_year ⇒ Object
Attribute for param field exp_year
3263 3264 3265 |
# File 'lib/stripe/services/account_service.rb', line 3263 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.
3269 3270 3271 |
# File 'lib/stripe/services/account_service.rb', line 3269 def @metadata end |
#name ⇒ Object
Attribute for param field name
3265 3266 3267 |
# File 'lib/stripe/services/account_service.rb', line 3265 def name @name end |
#number ⇒ Object
Attribute for param field number
3267 3268 3269 |
# File 'lib/stripe/services/account_service.rb', line 3267 def number @number end |
#object ⇒ Object
Attribute for param field object
3243 3244 3245 |
# File 'lib/stripe/services/account_service.rb', line 3243 def object @object end |