Class: CheckoutSdk::Payments::CardDestination
- Inherits:
-
Destination
- Object
- Destination
- CheckoutSdk::Payments::CardDestination
- Defined in:
- lib/checkout_sdk/payments/destination/card_destination.rb
Instance Attribute Summary collapse
- #account_holder ⇒ CheckoutSdk::Common::AccountHolder
- #expiry_month ⇒ Integer
- #expiry_year ⇒ Integer
- #number ⇒ String
Attributes inherited from Destination
Instance Method Summary collapse
-
#initialize ⇒ CardDestination
constructor
A new instance of CardDestination.
Constructor Details
#initialize ⇒ CardDestination
Returns a new instance of CardDestination.
19 20 21 |
# File 'lib/checkout_sdk/payments/destination/card_destination.rb', line 19 def initialize super CheckoutSdk::Payments::DestinationType::CARD end |
Instance Attribute Details
#account_holder ⇒ CheckoutSdk::Common::AccountHolder
13 14 15 16 17 18 19 20 21 22 |
# File 'lib/checkout_sdk/payments/destination/card_destination.rb', line 13 class CardDestination < Destination attr_accessor :number, :expiry_month, :expiry_year, :account_holder def initialize super CheckoutSdk::Payments::DestinationType::CARD end end |
#expiry_month ⇒ Integer
13 14 15 16 17 18 19 20 21 22 |
# File 'lib/checkout_sdk/payments/destination/card_destination.rb', line 13 class CardDestination < Destination attr_accessor :number, :expiry_month, :expiry_year, :account_holder def initialize super CheckoutSdk::Payments::DestinationType::CARD end end |
#expiry_year ⇒ Integer
13 14 15 16 17 18 19 20 21 22 |
# File 'lib/checkout_sdk/payments/destination/card_destination.rb', line 13 class CardDestination < Destination attr_accessor :number, :expiry_month, :expiry_year, :account_holder def initialize super CheckoutSdk::Payments::DestinationType::CARD end end |
#number ⇒ String
13 14 15 16 17 18 19 20 21 22 |
# File 'lib/checkout_sdk/payments/destination/card_destination.rb', line 13 class CardDestination < Destination attr_accessor :number, :expiry_month, :expiry_year, :account_holder def initialize super CheckoutSdk::Payments::DestinationType::CARD end end |