Class: CheckoutSdk::Payments::KlarnaSource

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

Instance Attribute Summary collapse

Attributes inherited from PaymentSource

#type

Instance Method Summary collapse

Constructor Details

#initializeKlarnaSource

Returns a new instance of KlarnaSource.



10
11
12
# File 'lib/checkout_sdk/payments/source/apm/klarna_source.rb', line 10

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

Instance Attribute Details

#account_holderCheckoutSdk::Common::AccountHolder



7
8
9
10
11
12
13
# File 'lib/checkout_sdk/payments/source/apm/klarna_source.rb', line 7

class KlarnaSource < PaymentSource
  attr_accessor :account_holder

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