Class: CheckoutSdk::Previous::Payments::CardDestination
- Inherits:
-
Destination
- Object
- Destination
- CheckoutSdk::Previous::Payments::CardDestination
- Defined in:
- lib/checkout_sdk/payments/previous/destination/card_destination.rb
Instance Attribute Summary collapse
- #billing_address ⇒ CheckoutSdk::Common::Address
- #expiry_month ⇒ Integer
- #expiry_year ⇒ Integer
- #first_name ⇒ String
- #last_name ⇒ String
- #name ⇒ String
- #number ⇒ String
- #phone ⇒ CheckoutSdk::Common::Phone
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.
32 33 34 |
# File 'lib/checkout_sdk/payments/previous/destination/card_destination.rb', line 32 def initialize super CheckoutSdk::Payments::DestinationType::CARD end |
Instance Attribute Details
#billing_address ⇒ CheckoutSdk::Common::Address
22 23 24 25 26 27 28 29 30 31 32 33 34 35 |
# File 'lib/checkout_sdk/payments/previous/destination/card_destination.rb', line 22 class CardDestination < Destination attr_accessor :number, :expiry_month, :expiry_year, :first_name, :last_name, :name, :billing_address, :phone def initialize super CheckoutSdk::Payments::DestinationType::CARD end end |
#expiry_month ⇒ Integer
22 23 24 25 26 27 28 29 30 31 32 33 34 35 |
# File 'lib/checkout_sdk/payments/previous/destination/card_destination.rb', line 22 class CardDestination < Destination attr_accessor :number, :expiry_month, :expiry_year, :first_name, :last_name, :name, :billing_address, :phone def initialize super CheckoutSdk::Payments::DestinationType::CARD end end |
#expiry_year ⇒ Integer
22 23 24 25 26 27 28 29 30 31 32 33 34 35 |
# File 'lib/checkout_sdk/payments/previous/destination/card_destination.rb', line 22 class CardDestination < Destination attr_accessor :number, :expiry_month, :expiry_year, :first_name, :last_name, :name, :billing_address, :phone def initialize super CheckoutSdk::Payments::DestinationType::CARD end end |
#first_name ⇒ String
22 23 24 25 26 27 28 29 30 31 32 33 34 35 |
# File 'lib/checkout_sdk/payments/previous/destination/card_destination.rb', line 22 class CardDestination < Destination attr_accessor :number, :expiry_month, :expiry_year, :first_name, :last_name, :name, :billing_address, :phone def initialize super CheckoutSdk::Payments::DestinationType::CARD end end |
#last_name ⇒ String
22 23 24 25 26 27 28 29 30 31 32 33 34 35 |
# File 'lib/checkout_sdk/payments/previous/destination/card_destination.rb', line 22 class CardDestination < Destination attr_accessor :number, :expiry_month, :expiry_year, :first_name, :last_name, :name, :billing_address, :phone def initialize super CheckoutSdk::Payments::DestinationType::CARD end end |
#name ⇒ String
22 23 24 25 26 27 28 29 30 31 32 33 34 35 |
# File 'lib/checkout_sdk/payments/previous/destination/card_destination.rb', line 22 class CardDestination < Destination attr_accessor :number, :expiry_month, :expiry_year, :first_name, :last_name, :name, :billing_address, :phone def initialize super CheckoutSdk::Payments::DestinationType::CARD end end |
#number ⇒ String
22 23 24 25 26 27 28 29 30 31 32 33 34 35 |
# File 'lib/checkout_sdk/payments/previous/destination/card_destination.rb', line 22 class CardDestination < Destination attr_accessor :number, :expiry_month, :expiry_year, :first_name, :last_name, :name, :billing_address, :phone def initialize super CheckoutSdk::Payments::DestinationType::CARD end end |
#phone ⇒ CheckoutSdk::Common::Phone
22 23 24 25 26 27 28 29 30 31 32 33 34 35 |
# File 'lib/checkout_sdk/payments/previous/destination/card_destination.rb', line 22 class CardDestination < Destination attr_accessor :number, :expiry_month, :expiry_year, :first_name, :last_name, :name, :billing_address, :phone def initialize super CheckoutSdk::Payments::DestinationType::CARD end end |