Class: CheckoutSdk::Previous::Payments::CustomerSource

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

Instance Attribute Summary collapse

Attributes inherited from PaymentSource

#type

Instance Method Summary collapse

Constructor Details

#initializeCustomerSource

Returns a new instance of CustomerSource.



11
12
13
# File 'lib/checkout_sdk/payments/previous/source/customer_source.rb', line 11

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

Instance Attribute Details

#idString

Returns:

  • (String)


8
9
10
11
12
13
14
# File 'lib/checkout_sdk/payments/previous/source/customer_source.rb', line 8

class CustomerSource < PaymentSource
  attr_accessor :id

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