Class: CheckoutSdk::Previous::Payments::Destination

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

Direct Known Subclasses

CardDestination, IdDestination, TokenDestination

Instance Attribute Summary collapse

Instance Attribute Details

#typeString



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

class Destination
  attr_reader :type

  protected

  # @abstract
  # @param [String] type {CheckoutSdk::Payments::DestinationType}
  def initialize(type)
    @type = type
  end
end