Class: Stripe::ThreeDSecure::AuthenticationCreateParams::PaymentMethodData::Card
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::ThreeDSecure::AuthenticationCreateParams::PaymentMethodData::Card
- Defined in:
- lib/stripe/params/three_d_secure/authentication_create_params.rb
Instance Attribute Summary collapse
-
#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.
-
#number ⇒ Object
Attribute for param field number.
-
#token ⇒ Object
Attribute for param field token.
Instance Method Summary collapse
-
#initialize(cvc: nil, exp_month: nil, exp_year: nil, number: nil, token: nil) ⇒ Card
constructor
A new instance of Card.
Methods inherited from RequestParams
attr_accessor, coerce_params, coerce_value, discriminator, discriminator_fields, field_encodings, new, #to_h
Constructor Details
#initialize(cvc: nil, exp_month: nil, exp_year: nil, number: nil, token: nil) ⇒ Card
Returns a new instance of Card.
307 308 309 310 311 312 313 |
# File 'lib/stripe/params/three_d_secure/authentication_create_params.rb', line 307 def initialize(cvc: nil, exp_month: nil, exp_year: nil, number: nil, token: nil) @cvc = cvc @exp_month = exp_month @exp_year = exp_year @number = number @token = token end |
Instance Attribute Details
#cvc ⇒ Object
Attribute for param field cvc
297 298 299 |
# File 'lib/stripe/params/three_d_secure/authentication_create_params.rb', line 297 def cvc @cvc end |
#exp_month ⇒ Object
Attribute for param field exp_month
299 300 301 |
# File 'lib/stripe/params/three_d_secure/authentication_create_params.rb', line 299 def exp_month @exp_month end |
#exp_year ⇒ Object
Attribute for param field exp_year
301 302 303 |
# File 'lib/stripe/params/three_d_secure/authentication_create_params.rb', line 301 def exp_year @exp_year end |
#number ⇒ Object
Attribute for param field number
303 304 305 |
# File 'lib/stripe/params/three_d_secure/authentication_create_params.rb', line 303 def number @number end |
#token ⇒ Object
Attribute for param field token
305 306 307 |
# File 'lib/stripe/params/three_d_secure/authentication_create_params.rb', line 305 def token @token end |