Class: CheckoutSdk::Previous::Payments::TokenDestination
- Inherits:
-
Destination
- Object
- Destination
- CheckoutSdk::Previous::Payments::TokenDestination
- Defined in:
- lib/checkout_sdk/payments/previous/destination/token_destination.rb
Instance Attribute Summary collapse
- #billing_address ⇒ CheckoutSdk::Common::Address
- #first_name ⇒ String
- #last_name ⇒ String
- #phone ⇒ CheckoutSdk::Common::Phone
- #token ⇒ String
Attributes inherited from Destination
Instance Method Summary collapse
-
#initialize ⇒ TokenDestination
constructor
A new instance of TokenDestination.
Constructor Details
#initialize ⇒ TokenDestination
Returns a new instance of TokenDestination.
23 24 25 |
# File 'lib/checkout_sdk/payments/previous/destination/token_destination.rb', line 23 def initialize super CheckoutSdk::Payments::DestinationType::TOKEN end |
Instance Attribute Details
#billing_address ⇒ CheckoutSdk::Common::Address
16 17 18 19 20 21 22 23 24 25 26 |
# File 'lib/checkout_sdk/payments/previous/destination/token_destination.rb', line 16 class TokenDestination < Destination attr_accessor :token, :first_name, :last_name, :billing_address, :phone def initialize super CheckoutSdk::Payments::DestinationType::TOKEN end end |
#first_name ⇒ String
16 17 18 19 20 21 22 23 24 25 26 |
# File 'lib/checkout_sdk/payments/previous/destination/token_destination.rb', line 16 class TokenDestination < Destination attr_accessor :token, :first_name, :last_name, :billing_address, :phone def initialize super CheckoutSdk::Payments::DestinationType::TOKEN end end |
#last_name ⇒ String
16 17 18 19 20 21 22 23 24 25 26 |
# File 'lib/checkout_sdk/payments/previous/destination/token_destination.rb', line 16 class TokenDestination < Destination attr_accessor :token, :first_name, :last_name, :billing_address, :phone def initialize super CheckoutSdk::Payments::DestinationType::TOKEN end end |
#phone ⇒ CheckoutSdk::Common::Phone
16 17 18 19 20 21 22 23 24 25 26 |
# File 'lib/checkout_sdk/payments/previous/destination/token_destination.rb', line 16 class TokenDestination < Destination attr_accessor :token, :first_name, :last_name, :billing_address, :phone def initialize super CheckoutSdk::Payments::DestinationType::TOKEN end end |
#token ⇒ String
16 17 18 19 20 21 22 23 24 25 26 |
# File 'lib/checkout_sdk/payments/previous/destination/token_destination.rb', line 16 class TokenDestination < Destination attr_accessor :token, :first_name, :last_name, :billing_address, :phone def initialize super CheckoutSdk::Payments::DestinationType::TOKEN end end |