Class: CheckoutSdk::Previous::Payments::SofortSource

Inherits:
PaymentSource
  • Object
show all
Defined in:
lib/checkout_sdk/payments/previous/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.



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

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

Instance Attribute Details

#countryCodeString

Returns Common::Country.

Returns:



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

class SofortSource < PaymentSource
  attr_accessor :countryCode,
                :languageCode

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

#languageCodeString

Returns:

  • (String)


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

class SofortSource < PaymentSource
  attr_accessor :countryCode,
                :languageCode

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