Class: CheckoutSdk::Payments::ProviderTokenSource

Inherits:
PaymentSource
  • Object
show all
Defined in:
lib/checkout_sdk/payments/source/provider_token_source.rb

Instance Attribute Summary collapse

Attributes inherited from PaymentSource

#type

Instance Method Summary collapse

Constructor Details

#initializeProviderTokenSource

Returns a new instance of ProviderTokenSource.



16
17
18
# File 'lib/checkout_sdk/payments/source/provider_token_source.rb', line 16

def initialize
  super CheckoutSdk::Common::PaymentSourceType::PROVIDER_TOKEN
end

Instance Attribute Details

#account_holderCheckoutSdk::Common::AccountHolder



11
12
13
14
15
16
17
18
19
# File 'lib/checkout_sdk/payments/source/provider_token_source.rb', line 11

class ProviderTokenSource < PaymentSource
  attr_accessor :payment_method,
                :token,
                :account_holder

  def initialize
    super CheckoutSdk::Common::PaymentSourceType::PROVIDER_TOKEN
  end
end

#payment_methodString

Returns:

  • (String)


11
12
13
14
15
16
17
18
19
# File 'lib/checkout_sdk/payments/source/provider_token_source.rb', line 11

class ProviderTokenSource < PaymentSource
  attr_accessor :payment_method,
                :token,
                :account_holder

  def initialize
    super CheckoutSdk::Common::PaymentSourceType::PROVIDER_TOKEN
  end
end

#tokenString

Returns:

  • (String)


11
12
13
14
15
16
17
18
19
# File 'lib/checkout_sdk/payments/source/provider_token_source.rb', line 11

class ProviderTokenSource < PaymentSource
  attr_accessor :payment_method,
                :token,
                :account_holder

  def initialize
    super CheckoutSdk::Common::PaymentSourceType::PROVIDER_TOKEN
  end
end