Method: CheckoutSdk::Payments::CardSource#name

Defined in:
lib/checkout_sdk/payments/source/card_source.rb,
lib/checkout_sdk/payments/source/card_source.rb

#nameString

Returns:

  • (String)


25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# File 'lib/checkout_sdk/payments/source/card_source.rb', line 25

class CardSource < PaymentSource
  attr_accessor :number,
                :expiry_month,
                :expiry_year,
                :name,
                :cvv,
                :stored,
                :store_for_future_use,
                :billing_address,
                :phone,
                :account_holder

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