Class: CheckoutSdk::Payments::CustomerSource
- Inherits:
-
PaymentSource
- Object
- PaymentSource
- CheckoutSdk::Payments::CustomerSource
- Defined in:
- lib/checkout_sdk/payments/source/customer_source.rb
Instance Attribute Summary collapse
Attributes inherited from PaymentSource
Instance Method Summary collapse
-
#initialize ⇒ CustomerSource
constructor
A new instance of CustomerSource.
Constructor Details
#initialize ⇒ CustomerSource
Returns a new instance of CustomerSource.
13 14 15 |
# File 'lib/checkout_sdk/payments/source/customer_source.rb', line 13 def initialize super CheckoutSdk::Common::PaymentSourceType::CUSTOMER end |
Instance Attribute Details
#account_holder ⇒ CheckoutSdk::Common::AccountHolder
9 10 11 12 13 14 15 16 |
# File 'lib/checkout_sdk/payments/source/customer_source.rb', line 9 class CustomerSource < PaymentSource attr_accessor :id, :account_holder def initialize super CheckoutSdk::Common::PaymentSourceType::CUSTOMER end end |
#id ⇒ String
9 10 11 12 13 14 15 16 |
# File 'lib/checkout_sdk/payments/source/customer_source.rb', line 9 class CustomerSource < PaymentSource attr_accessor :id, :account_holder def initialize super CheckoutSdk::Common::PaymentSourceType::CUSTOMER end end |