Class: Stripe::DelegatedCheckout::RequestedSessionConfirmParams::PaymentMethodData::Card
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::DelegatedCheckout::RequestedSessionConfirmParams::PaymentMethodData::Card
- Defined in:
- lib/stripe/params/delegated_checkout/requested_session_confirm_params.rb
Instance Attribute Summary collapse
-
#cvc ⇒ Object
The CVC of the card.
-
#exp_month ⇒ Object
The expiration month of the card.
-
#exp_year ⇒ Object
The expiration year of the card.
-
#number ⇒ Object
The number of the card.
Instance Method Summary collapse
-
#initialize(cvc: nil, exp_month: nil, exp_year: nil, number: nil) ⇒ Card
constructor
A new instance of Card.
Methods inherited from RequestParams
Constructor Details
#initialize(cvc: nil, exp_month: nil, exp_year: nil, number: nil) ⇒ Card
Returns a new instance of Card.
66 67 68 69 70 71 |
# File 'lib/stripe/params/delegated_checkout/requested_session_confirm_params.rb', line 66 def initialize(cvc: nil, exp_month: nil, exp_year: nil, number: nil) @cvc = cvc @exp_month = exp_month @exp_year = exp_year @number = number end |
Instance Attribute Details
#cvc ⇒ Object
The CVC of the card.
58 59 60 |
# File 'lib/stripe/params/delegated_checkout/requested_session_confirm_params.rb', line 58 def cvc @cvc end |
#exp_month ⇒ Object
The expiration month of the card.
60 61 62 |
# File 'lib/stripe/params/delegated_checkout/requested_session_confirm_params.rb', line 60 def exp_month @exp_month end |
#exp_year ⇒ Object
The expiration year of the card.
62 63 64 |
# File 'lib/stripe/params/delegated_checkout/requested_session_confirm_params.rb', line 62 def exp_year @exp_year end |
#number ⇒ Object
The number of the card.
64 65 66 |
# File 'lib/stripe/params/delegated_checkout/requested_session_confirm_params.rb', line 64 def number @number end |