Class: CheckoutSdk::Previous::Payments::KlarnaSource

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



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

#attachmentHash(String=>String)

Returns:

  • (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_tokenString

Returns:

  • (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_captureTrueClass, FalseClass

Returns:

  • (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_addressHash(String=>Object)

Returns:

  • (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_idsArray(Hash(String=>String))

Returns:

  • (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

#customerHash(String=>Object)

Returns:

  • (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

#localeString

Returns:

  • (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_dataString

Returns:

  • (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_reference1String

Returns:

  • (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_reference2String

Returns:

  • (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

#productsArray(Hash(String=>Object))

Returns:

  • (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_countryCheckoutSdk::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_addressHash(String=>Object)

Returns:

  • (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_amountInteger

Returns:

  • (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