Class: CheckoutSdk::Payments::TokenDestination

Inherits:
Destination
  • Object
show all
Defined in:
lib/checkout_sdk/payments/destination/token_destination.rb

Instance Attribute Summary collapse

Attributes inherited from Destination

#type

Instance Method Summary collapse

Constructor Details

#initializeTokenDestination

Returns a new instance of TokenDestination.



13
14
15
# File 'lib/checkout_sdk/payments/destination/token_destination.rb', line 13

def initialize
  super CheckoutSdk::Payments::DestinationType::TOKEN
end

Instance Attribute Details

#account_holderCheckoutSdk::Common::AccountHolder



9
10
11
12
13
14
15
16
# File 'lib/checkout_sdk/payments/destination/token_destination.rb', line 9

class TokenDestination < Destination
  attr_accessor :token,
                :account_holder

  def initialize
    super CheckoutSdk::Payments::DestinationType::TOKEN
  end
end

#tokenString

Returns:

  • (String)


9
10
11
12
13
14
15
16
# File 'lib/checkout_sdk/payments/destination/token_destination.rb', line 9

class TokenDestination < Destination
  attr_accessor :token,
                :account_holder

  def initialize
    super CheckoutSdk::Payments::DestinationType::TOKEN
  end
end