Class: CheckoutSdk::Previous::Payments::TokenDestination

Inherits:
Destination
  • Object
show all
Defined in:
lib/checkout_sdk/payments/previous/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.



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_addressCheckoutSdk::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_nameString

Returns:

  • (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_nameString

Returns:

  • (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

#phoneCheckoutSdk::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

#tokenString

Returns:

  • (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