Class: CheckoutSdk::Previous::Payments::IdDestination

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

Instance Attribute Summary collapse

Attributes inherited from Destination

#type

Instance Method Summary collapse

Constructor Details

#initializeIdDestination

Returns a new instance of IdDestination.



17
18
19
# File 'lib/checkout_sdk/payments/previous/destination/id_destination.rb', line 17

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

Instance Attribute Details

#first_nameString

Returns:

  • (String)


12
13
14
15
16
17
18
19
20
# File 'lib/checkout_sdk/payments/previous/destination/id_destination.rb', line 12

class IdDestination < Destination
  attr_accessor :id,
                :first_name,
                :last_name

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

#idString

Returns:

  • (String)


12
13
14
15
16
17
18
19
20
# File 'lib/checkout_sdk/payments/previous/destination/id_destination.rb', line 12

class IdDestination < Destination
  attr_accessor :id,
                :first_name,
                :last_name

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

#last_nameString

Returns:

  • (String)


12
13
14
15
16
17
18
19
20
# File 'lib/checkout_sdk/payments/previous/destination/id_destination.rb', line 12

class IdDestination < Destination
  attr_accessor :id,
                :first_name,
                :last_name

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