Class: CheckoutSdk::Payments::SofortSource

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

Instance Attribute Summary collapse

Attributes inherited from PaymentSource

#type

Instance Method Summary collapse

Constructor Details

#initializeSofortSource

Returns a new instance of SofortSource.



13
14
15
# File 'lib/checkout_sdk/payments/source/apm/sofort_source.rb', line 13

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

Instance Attribute Details

#countryCodeString

Returns Common::Country.

Returns:



9
10
11
12
13
14
15
16
# File 'lib/checkout_sdk/payments/source/apm/sofort_source.rb', line 9

class SofortSource < PaymentSource
  attr_accessor :countryCode,
                :languageCode

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

#languageCodeString

Returns:

  • (String)


9
10
11
12
13
14
15
16
# File 'lib/checkout_sdk/payments/source/apm/sofort_source.rb', line 9

class SofortSource < PaymentSource
  attr_accessor :countryCode,
                :languageCode

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