Class: CheckoutSdk::Previous::Payments::KlarnaSource
- Inherits:
-
PaymentSource
- Object
- PaymentSource
- CheckoutSdk::Previous::Payments::KlarnaSource
- Defined in:
- lib/checkout_sdk/payments/previous/source/apm/klarna_source.rb
Instance Attribute Summary collapse
- #attachment ⇒ Hash(String=>String)
- #authorization_token ⇒ String
- #auto_capture ⇒ TrueClass, FalseClass
- #billing_address ⇒ Hash(String=>Object)
- #custom_payment_method_ids ⇒ Array(Hash(String=>String))
- #customer ⇒ Hash(String=>Object)
- #locale ⇒ String
- #merchant_data ⇒ String
- #merchant_reference1 ⇒ String
- #merchant_reference2 ⇒ String
- #products ⇒ Array(Hash(String=>Object))
- #purchase_country ⇒ CheckoutSdk::Common::Country
- #shipping_address ⇒ Hash(String=>Object)
- #tax_amount ⇒ Integer
Attributes inherited from PaymentSource
Instance Method Summary collapse
-
#initialize ⇒ KlarnaSource
constructor
A new instance of KlarnaSource.
Constructor Details
#initialize ⇒ KlarnaSource
Returns a new instance of KlarnaSource.
50 51 52 |
# File 'lib/checkout_sdk/payments/previous/source/apm/klarna_source.rb', line 50 def initialize super CheckoutSdk::Common::PaymentSourceType::KLARNA end |
Instance Attribute Details
#attachment ⇒ Hash(String=>String)
34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 |
# File 'lib/checkout_sdk/payments/previous/source/apm/klarna_source.rb', line 34 class KlarnaSource < PaymentSource attr_accessor :authorization_token, :locale, :purchase_country, :auto_capture, :billing_address, :shipping_address, :tax_amount, :products, :customer, :merchant_reference1, :merchant_reference2, :merchant_data, :attachment, :custom_payment_method_ids def initialize super CheckoutSdk::Common::PaymentSourceType::KLARNA end end |
#authorization_token ⇒ String
34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 |
# File 'lib/checkout_sdk/payments/previous/source/apm/klarna_source.rb', line 34 class KlarnaSource < PaymentSource attr_accessor :authorization_token, :locale, :purchase_country, :auto_capture, :billing_address, :shipping_address, :tax_amount, :products, :customer, :merchant_reference1, :merchant_reference2, :merchant_data, :attachment, :custom_payment_method_ids def initialize super CheckoutSdk::Common::PaymentSourceType::KLARNA end end |
#auto_capture ⇒ TrueClass, FalseClass
34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 |
# File 'lib/checkout_sdk/payments/previous/source/apm/klarna_source.rb', line 34 class KlarnaSource < PaymentSource attr_accessor :authorization_token, :locale, :purchase_country, :auto_capture, :billing_address, :shipping_address, :tax_amount, :products, :customer, :merchant_reference1, :merchant_reference2, :merchant_data, :attachment, :custom_payment_method_ids def initialize super CheckoutSdk::Common::PaymentSourceType::KLARNA end end |
#billing_address ⇒ Hash(String=>Object)
34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 |
# File 'lib/checkout_sdk/payments/previous/source/apm/klarna_source.rb', line 34 class KlarnaSource < PaymentSource attr_accessor :authorization_token, :locale, :purchase_country, :auto_capture, :billing_address, :shipping_address, :tax_amount, :products, :customer, :merchant_reference1, :merchant_reference2, :merchant_data, :attachment, :custom_payment_method_ids def initialize super CheckoutSdk::Common::PaymentSourceType::KLARNA end end |
#custom_payment_method_ids ⇒ Array(Hash(String=>String))
34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 |
# File 'lib/checkout_sdk/payments/previous/source/apm/klarna_source.rb', line 34 class KlarnaSource < PaymentSource attr_accessor :authorization_token, :locale, :purchase_country, :auto_capture, :billing_address, :shipping_address, :tax_amount, :products, :customer, :merchant_reference1, :merchant_reference2, :merchant_data, :attachment, :custom_payment_method_ids def initialize super CheckoutSdk::Common::PaymentSourceType::KLARNA end end |
#customer ⇒ Hash(String=>Object)
34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 |
# File 'lib/checkout_sdk/payments/previous/source/apm/klarna_source.rb', line 34 class KlarnaSource < PaymentSource attr_accessor :authorization_token, :locale, :purchase_country, :auto_capture, :billing_address, :shipping_address, :tax_amount, :products, :customer, :merchant_reference1, :merchant_reference2, :merchant_data, :attachment, :custom_payment_method_ids def initialize super CheckoutSdk::Common::PaymentSourceType::KLARNA end end |
#locale ⇒ String
34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 |
# File 'lib/checkout_sdk/payments/previous/source/apm/klarna_source.rb', line 34 class KlarnaSource < PaymentSource attr_accessor :authorization_token, :locale, :purchase_country, :auto_capture, :billing_address, :shipping_address, :tax_amount, :products, :customer, :merchant_reference1, :merchant_reference2, :merchant_data, :attachment, :custom_payment_method_ids def initialize super CheckoutSdk::Common::PaymentSourceType::KLARNA end end |
#merchant_data ⇒ String
34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 |
# File 'lib/checkout_sdk/payments/previous/source/apm/klarna_source.rb', line 34 class KlarnaSource < PaymentSource attr_accessor :authorization_token, :locale, :purchase_country, :auto_capture, :billing_address, :shipping_address, :tax_amount, :products, :customer, :merchant_reference1, :merchant_reference2, :merchant_data, :attachment, :custom_payment_method_ids def initialize super CheckoutSdk::Common::PaymentSourceType::KLARNA end end |
#merchant_reference1 ⇒ String
34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 |
# File 'lib/checkout_sdk/payments/previous/source/apm/klarna_source.rb', line 34 class KlarnaSource < PaymentSource attr_accessor :authorization_token, :locale, :purchase_country, :auto_capture, :billing_address, :shipping_address, :tax_amount, :products, :customer, :merchant_reference1, :merchant_reference2, :merchant_data, :attachment, :custom_payment_method_ids def initialize super CheckoutSdk::Common::PaymentSourceType::KLARNA end end |
#merchant_reference2 ⇒ String
34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 |
# File 'lib/checkout_sdk/payments/previous/source/apm/klarna_source.rb', line 34 class KlarnaSource < PaymentSource attr_accessor :authorization_token, :locale, :purchase_country, :auto_capture, :billing_address, :shipping_address, :tax_amount, :products, :customer, :merchant_reference1, :merchant_reference2, :merchant_data, :attachment, :custom_payment_method_ids def initialize super CheckoutSdk::Common::PaymentSourceType::KLARNA end end |
#products ⇒ Array(Hash(String=>Object))
34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 |
# File 'lib/checkout_sdk/payments/previous/source/apm/klarna_source.rb', line 34 class KlarnaSource < PaymentSource attr_accessor :authorization_token, :locale, :purchase_country, :auto_capture, :billing_address, :shipping_address, :tax_amount, :products, :customer, :merchant_reference1, :merchant_reference2, :merchant_data, :attachment, :custom_payment_method_ids def initialize super CheckoutSdk::Common::PaymentSourceType::KLARNA end end |
#purchase_country ⇒ CheckoutSdk::Common::Country
34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 |
# File 'lib/checkout_sdk/payments/previous/source/apm/klarna_source.rb', line 34 class KlarnaSource < PaymentSource attr_accessor :authorization_token, :locale, :purchase_country, :auto_capture, :billing_address, :shipping_address, :tax_amount, :products, :customer, :merchant_reference1, :merchant_reference2, :merchant_data, :attachment, :custom_payment_method_ids def initialize super CheckoutSdk::Common::PaymentSourceType::KLARNA end end |
#shipping_address ⇒ Hash(String=>Object)
34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 |
# File 'lib/checkout_sdk/payments/previous/source/apm/klarna_source.rb', line 34 class KlarnaSource < PaymentSource attr_accessor :authorization_token, :locale, :purchase_country, :auto_capture, :billing_address, :shipping_address, :tax_amount, :products, :customer, :merchant_reference1, :merchant_reference2, :merchant_data, :attachment, :custom_payment_method_ids def initialize super CheckoutSdk::Common::PaymentSourceType::KLARNA end end |
#tax_amount ⇒ Integer
34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 |
# File 'lib/checkout_sdk/payments/previous/source/apm/klarna_source.rb', line 34 class KlarnaSource < PaymentSource attr_accessor :authorization_token, :locale, :purchase_country, :auto_capture, :billing_address, :shipping_address, :tax_amount, :products, :customer, :merchant_reference1, :merchant_reference2, :merchant_data, :attachment, :custom_payment_method_ids def initialize super CheckoutSdk::Common::PaymentSourceType::KLARNA end end |