Class: CheckoutSdk::Risk::CustomerSource

Inherits:
RiskPaymentSource show all
Defined in:
lib/checkout_sdk/risk/source/customer_source.rb

Instance Attribute Summary collapse

Attributes inherited from RiskPaymentSource

#type

Instance Method Summary collapse

Constructor Details

#initializeCustomerSource

Returns a new instance of CustomerSource.



10
11
12
# File 'lib/checkout_sdk/risk/source/customer_source.rb', line 10

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

Instance Attribute Details

#idString

Returns:

  • (String)


7
8
9
10
11
12
13
# File 'lib/checkout_sdk/risk/source/customer_source.rb', line 7

class CustomerSource < RiskPaymentSource
  attr_accessor :id

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