Class: CheckoutSdk::Payments::IdSource

Inherits:
PaymentSource show all
Defined in:
lib/checkout_sdk/payments/source/id_source.rb

Instance Attribute Summary collapse

Attributes inherited from PaymentSource

#type

Instance Method Summary collapse

Constructor Details

#initializeIdSource

Returns a new instance of IdSource.



25
26
27
# File 'lib/checkout_sdk/payments/source/id_source.rb', line 25

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

Instance Attribute Details

#account_holderCheckoutSdk::Common::AccountHolder



17
18
19
20
21
22
23
24
25
26
27
28
# File 'lib/checkout_sdk/payments/source/id_source.rb', line 17

class IdSource < PaymentSource
  attr_accessor :id,
                :cvv,
                :payment_method,
                :stored,
                :store_for_future_use,
                :account_holder

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

#cvvString

Returns:

  • (String)


17
18
19
20
21
22
23
24
25
26
27
28
# File 'lib/checkout_sdk/payments/source/id_source.rb', line 17

class IdSource < PaymentSource
  attr_accessor :id,
                :cvv,
                :payment_method,
                :stored,
                :store_for_future_use,
                :account_holder

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

#idString

Returns:

  • (String)


17
18
19
20
21
22
23
24
25
26
27
28
# File 'lib/checkout_sdk/payments/source/id_source.rb', line 17

class IdSource < PaymentSource
  attr_accessor :id,
                :cvv,
                :payment_method,
                :stored,
                :store_for_future_use,
                :account_holder

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

#payment_methodString

Returns:

  • (String)


17
18
19
20
21
22
23
24
25
26
27
28
# File 'lib/checkout_sdk/payments/source/id_source.rb', line 17

class IdSource < PaymentSource
  attr_accessor :id,
                :cvv,
                :payment_method,
                :stored,
                :store_for_future_use,
                :account_holder

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

#store_for_future_useTrueClass, FalseClass

Returns:

  • (TrueClass, FalseClass)


17
18
19
20
21
22
23
24
25
26
27
28
# File 'lib/checkout_sdk/payments/source/id_source.rb', line 17

class IdSource < PaymentSource
  attr_accessor :id,
                :cvv,
                :payment_method,
                :stored,
                :store_for_future_use,
                :account_holder

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

#storedTrueClass, FalseClass

Returns:

  • (TrueClass, FalseClass)


17
18
19
20
21
22
23
24
25
26
27
28
# File 'lib/checkout_sdk/payments/source/id_source.rb', line 17

class IdSource < PaymentSource
  attr_accessor :id,
                :cvv,
                :payment_method,
                :stored,
                :store_for_future_use,
                :account_holder

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