checkout_sdk 1.0.0.beta.0 → 1.0.0.beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (125) hide show
  1. checksums.yaml +4 -4
  2. data/.rubocop.yml +3 -0
  3. data/lib/checkout_sdk/api_client.rb +6 -2
  4. data/lib/checkout_sdk/apm/apm.rb +0 -1
  5. data/lib/checkout_sdk/apm/previous/klarna/credit_session_request.rb +19 -21
  6. data/lib/checkout_sdk/apm/previous/klarna/klarna.rb +13 -15
  7. data/lib/checkout_sdk/apm/previous/klarna/klarna_client.rb +43 -45
  8. data/lib/checkout_sdk/apm/previous/klarna/klarna_product.rb +19 -21
  9. data/lib/checkout_sdk/apm/previous/klarna/order_capture_request.rb +24 -26
  10. data/lib/checkout_sdk/apm/previous/sepa/sepa_client.rb +25 -27
  11. data/lib/checkout_sdk/checkout_utils.rb +13 -4
  12. data/lib/checkout_sdk/common/account_holder.rb +4 -1
  13. data/lib/checkout_sdk/common/common.rb +2 -0
  14. data/lib/checkout_sdk/common/marketplace_data.rb +14 -0
  15. data/lib/checkout_sdk/common/payment_source_type.rb +1 -0
  16. data/lib/checkout_sdk/common/shipping_info.rb +29 -0
  17. data/lib/checkout_sdk/customers/customer_request.rb +2 -2
  18. data/lib/checkout_sdk/disputes/disputes_client.rb +5 -0
  19. data/lib/checkout_sdk/disputes/disputes_query_filter.rb +3 -3
  20. data/lib/checkout_sdk/instruments/base_instruments_client.rb +20 -0
  21. data/lib/checkout_sdk/instruments/create/{instrument_request.rb → instrument.rb} +1 -1
  22. data/lib/checkout_sdk/instruments/create/{instrument_bank_account_request.rb → instrument_bank_account.rb} +1 -1
  23. data/lib/checkout_sdk/instruments/create/{instrument_token_request.rb → instrument_token.rb} +1 -1
  24. data/lib/checkout_sdk/instruments/instruments.rb +14 -7
  25. data/lib/checkout_sdk/instruments/instruments_client.rb +4 -15
  26. data/lib/checkout_sdk/instruments/previous/create/instrument.rb +26 -0
  27. data/lib/checkout_sdk/instruments/previous/instruments_client.rb +28 -0
  28. data/lib/checkout_sdk/instruments/previous/update/update_instrument.rb +25 -0
  29. data/lib/checkout_sdk/instruments/update/{update_instrument_request.rb → update_instrument.rb} +1 -1
  30. data/lib/checkout_sdk/instruments/update/{update_instrument_bank_account_request.rb → update_instrument_bank_account.rb} +1 -1
  31. data/lib/checkout_sdk/instruments/update/{update_instrument_card_request.rb → update_instrument_card.rb} +1 -1
  32. data/lib/checkout_sdk/instruments/update/{update_instrument_token_request.rb → update_instrument_token.rb} +1 -1
  33. data/lib/checkout_sdk/payments/base_payments_client.rb +41 -0
  34. data/lib/checkout_sdk/payments/billing_plan.rb +17 -0
  35. data/lib/checkout_sdk/payments/billing_plan_type.rb +14 -0
  36. data/lib/checkout_sdk/payments/capture_request.rb +4 -0
  37. data/lib/checkout_sdk/payments/destination/destination.rb +1 -1
  38. data/lib/checkout_sdk/payments/payment_request.rb +5 -1
  39. data/lib/checkout_sdk/payments/payments.rb +81 -23
  40. data/lib/checkout_sdk/payments/payments_client.rb +1 -36
  41. data/lib/checkout_sdk/payments/payout_request.rb +1 -1
  42. data/lib/checkout_sdk/payments/previous/capture_request.rb +19 -0
  43. data/lib/checkout_sdk/payments/previous/destination/card_destination.rb +38 -0
  44. data/lib/checkout_sdk/payments/previous/destination/destination.rb +21 -0
  45. data/lib/checkout_sdk/payments/previous/destination/id_destination.rb +23 -0
  46. data/lib/checkout_sdk/payments/previous/destination/token_destination.rb +29 -0
  47. data/lib/checkout_sdk/payments/previous/fund_transfer_type.rb +17 -0
  48. data/lib/checkout_sdk/payments/previous/payment_request.rb +73 -0
  49. data/lib/checkout_sdk/payments/previous/payments_client.rb +43 -0
  50. data/lib/checkout_sdk/payments/previous/payout_request.rb +70 -0
  51. data/lib/checkout_sdk/payments/previous/source/apm/alipay_source.rb +13 -0
  52. data/lib/checkout_sdk/payments/previous/source/apm/alma_source.rb +23 -0
  53. data/lib/checkout_sdk/payments/previous/source/apm/bancontact_source.rb +26 -0
  54. data/lib/checkout_sdk/payments/previous/source/apm/benefit_pay_source.rb +17 -0
  55. data/lib/checkout_sdk/payments/previous/source/apm/boleto_source.rb +26 -0
  56. data/lib/checkout_sdk/payments/previous/source/apm/eps_source.rb +20 -0
  57. data/lib/checkout_sdk/payments/previous/source/apm/fawry_source.rb +47 -0
  58. data/lib/checkout_sdk/payments/previous/source/apm/giropay_source.rb +32 -0
  59. data/lib/checkout_sdk/payments/previous/source/apm/ideal_source.rb +23 -0
  60. data/lib/checkout_sdk/payments/previous/source/apm/integration_type.rb +12 -0
  61. data/lib/checkout_sdk/payments/previous/source/apm/klarna_source.rb +56 -0
  62. data/lib/checkout_sdk/payments/previous/source/apm/knet_source.rb +38 -0
  63. data/lib/checkout_sdk/payments/previous/source/apm/multi_banco_source.rb +23 -0
  64. data/lib/checkout_sdk/payments/previous/source/apm/oxxo_source.rb +26 -0
  65. data/lib/checkout_sdk/payments/previous/source/apm/p24_source.rb +26 -0
  66. data/lib/checkout_sdk/payments/previous/source/apm/pago_facil_source.rb +26 -0
  67. data/lib/checkout_sdk/payments/previous/source/apm/paypal_source.rb +26 -0
  68. data/lib/checkout_sdk/payments/previous/source/apm/poli_source.rb +13 -0
  69. data/lib/checkout_sdk/payments/previous/source/apm/qpay_source.rb +26 -0
  70. data/lib/checkout_sdk/payments/previous/source/apm/rapi_pago_source.rb +26 -0
  71. data/lib/checkout_sdk/payments/previous/source/apm/sofort_source.rb +20 -0
  72. data/lib/checkout_sdk/payments/previous/source/card_source.rb +41 -0
  73. data/lib/checkout_sdk/payments/previous/source/customer_source.rb +17 -0
  74. data/lib/checkout_sdk/payments/previous/source/d_local_source.rb +41 -0
  75. data/lib/checkout_sdk/payments/previous/source/id_source.rb +20 -0
  76. data/lib/checkout_sdk/payments/previous/source/network_token_source.rb +47 -0
  77. data/lib/checkout_sdk/payments/previous/source/payment_source.rb +20 -0
  78. data/lib/checkout_sdk/payments/previous/source/token_source.rb +26 -0
  79. data/lib/checkout_sdk/payments/processing_settings.rb +15 -0
  80. data/lib/checkout_sdk/payments/sender/sender.rb +2 -2
  81. data/lib/checkout_sdk/payments/source/apm/after_pay_source.rb +1 -1
  82. data/lib/checkout_sdk/payments/source/apm/alipay_plus_source.rb +1 -1
  83. data/lib/checkout_sdk/payments/source/apm/alma_source.rb +15 -0
  84. data/lib/checkout_sdk/payments/source/apm/bancontact_source.rb +1 -1
  85. data/lib/checkout_sdk/payments/source/apm/benefit_source.rb +1 -1
  86. data/lib/checkout_sdk/payments/source/apm/eps_source.rb +1 -1
  87. data/lib/checkout_sdk/payments/source/apm/fawry_product.rb +20 -0
  88. data/lib/checkout_sdk/payments/source/apm/fawry_source.rb +30 -0
  89. data/lib/checkout_sdk/payments/source/apm/giropay_source.rb +1 -1
  90. data/lib/checkout_sdk/payments/source/apm/ideal_source.rb +1 -1
  91. data/lib/checkout_sdk/payments/source/apm/klarna_source.rb +15 -0
  92. data/lib/checkout_sdk/payments/source/apm/knet_source.rb +1 -1
  93. data/lib/checkout_sdk/payments/source/apm/mbway_source.rb +1 -1
  94. data/lib/checkout_sdk/payments/source/apm/multi_banco_source.rb +1 -1
  95. data/lib/checkout_sdk/payments/source/apm/p24_source.rb +1 -1
  96. data/lib/checkout_sdk/payments/source/apm/paypal_source.rb +5 -1
  97. data/lib/checkout_sdk/payments/source/apm/post_finance_source.rb +1 -1
  98. data/lib/checkout_sdk/payments/source/apm/qpay_source.rb +1 -1
  99. data/lib/checkout_sdk/payments/source/apm/sofort_source.rb +1 -1
  100. data/lib/checkout_sdk/payments/source/apm/stcpay_source.rb +1 -1
  101. data/lib/checkout_sdk/payments/source/apm/tamara_source.rb +1 -1
  102. data/lib/checkout_sdk/payments/source/apm/we_chat_pay_source.rb +1 -1
  103. data/lib/checkout_sdk/payments/source/bank_account_source.rb +1 -1
  104. data/lib/checkout_sdk/payments/source/card_source.rb +1 -1
  105. data/lib/checkout_sdk/payments/source/currency_account_source.rb +1 -1
  106. data/lib/checkout_sdk/payments/source/id_source.rb +1 -1
  107. data/lib/checkout_sdk/payments/source/network_token_source.rb +1 -1
  108. data/lib/checkout_sdk/payments/source/{payment_request_source.rb → payment_source.rb} +1 -1
  109. data/lib/checkout_sdk/payments/source/{payout_request_source.rb → payout_source.rb} +3 -3
  110. data/lib/checkout_sdk/payments/source/provider_token_source.rb +1 -1
  111. data/lib/checkout_sdk/payments/source/token_source.rb +1 -1
  112. data/lib/checkout_sdk/payments/three_ds_request.rb +4 -1
  113. data/lib/checkout_sdk/previous/checkout_api.rb +29 -5
  114. data/lib/checkout_sdk/sources/mandate_type.rb +12 -0
  115. data/lib/checkout_sdk/sources/sepa_source_request.rb +20 -0
  116. data/lib/checkout_sdk/sources/source_data.rb +28 -0
  117. data/lib/checkout_sdk/sources/source_request.rb +30 -0
  118. data/lib/checkout_sdk/sources/source_type.rb +11 -0
  119. data/lib/checkout_sdk/sources/sources.rb +9 -0
  120. data/lib/checkout_sdk/sources/sources_client.rb +23 -0
  121. data/lib/checkout_sdk/tokens/wallet_token_request.rb +1 -1
  122. data/lib/checkout_sdk/version.rb +1 -1
  123. data/lib/checkout_sdk.rb +3 -0
  124. metadata +68 -12
  125. data/lib/checkout_sdk/apm/previous/klarna/klarna_shipping_info.rb +0 -33
@@ -4,7 +4,7 @@ module CheckoutSdk
4
4
  module Payments
5
5
  # @!attribute type
6
6
  # @return [String] {CheckoutSdk::Common::PaymentSourceType}
7
- class PaymentRequestSource
7
+ class PaymentSource
8
8
  attr_reader :type
9
9
 
10
10
  protected
@@ -6,9 +6,9 @@ module CheckoutSdk
6
6
  # @return [String] {PayoutSourceType}
7
7
  # @!attribute amount
8
8
  # @return [String]
9
- class PayoutRequestSource
10
- attr_accessor :type,
11
- :amount
9
+ class PayoutSource
10
+ attr_reader :type
11
+ attr_accessor :amount
12
12
 
13
13
  protected
14
14
 
@@ -8,7 +8,7 @@ module CheckoutSdk
8
8
  # @return [String]
9
9
  # @!attribute account_holder
10
10
  # @return [CheckoutSdk::Common::AccountHolder]
11
- class ProviderTokenSource < PaymentRequestSource
11
+ class ProviderTokenSource < PaymentSource
12
12
  attr_accessor :payment_method,
13
13
  :token,
14
14
  :account_holder
@@ -10,7 +10,7 @@ module CheckoutSdk
10
10
  # @return [CheckoutSdk::Common::Phone]
11
11
  # @!attribute store_for_future_use
12
12
  # @return [TrueClass, FalseClass]
13
- class TokenSource < PaymentRequestSource
13
+ class TokenSource < PaymentSource
14
14
  attr_accessor :token,
15
15
  :billing_address,
16
16
  :phone,
@@ -34,6 +34,8 @@ module CheckoutSdk
34
34
  # @return [String]
35
35
  # @!attribute cryptogram_algorithm
36
36
  # @return [String]
37
+ # @!attribute authentication_id
38
+ # @return [String]
37
39
  class ThreeDSRequest
38
40
  attr_accessor :enabled,
39
41
  :attempt_n3d,
@@ -50,7 +52,8 @@ module CheckoutSdk
50
52
  :status_reason_code,
51
53
  :challenge_cancel_reason,
52
54
  :score,
53
- :cryptogram_algorithm
55
+ :cryptogram_algorithm,
56
+ :authentication_id
54
57
  end
55
58
  end
56
59
  end
@@ -2,19 +2,43 @@
2
2
 
3
3
  module CheckoutSdk
4
4
  module Previous
5
+ # @!attribute customers
6
+ # @return [CheckoutSdk::Customers::CustomerClient]
7
+ # @!attribute disputes
8
+ # @return [CheckoutSdk::Disputes::DisputesClient]
9
+ # @!attribute instruments
10
+ # @return [CheckoutSdk::Previous::Instruments::InstrumentsClient]
11
+ # @!attribute payments
12
+ # @return [CheckoutSdk::Payments::PaymentsClient]
13
+ # @!attribute sources
14
+ # @return [CheckoutSdk::Previous::Sources::SourcesClient]
15
+ # @!attribute tokens
16
+ # @return [CheckoutSdk::Tokens::TokensClient]
5
17
  # @!attribute klarna
6
- # @return [CheckoutSdk::Previous::Apm::Klarna::KlarnaClient]
18
+ # @return [CheckoutSdk::Previous::Apm::KlarnaClient]
7
19
  # @!attribute sepa
8
- # @return [CheckoutSdk::Previous::Apm::Sepa::SepaClient]
20
+ # @return [CheckoutSdk::Previous::Apm::SepaClient]
9
21
  class CheckoutApi
10
- attr_reader :klarna,
22
+ attr_reader :customers,
23
+ :disputes,
24
+ :instruments,
25
+ :payments,
26
+ :sources,
27
+ :tokens,
28
+ :klarna,
11
29
  :sepa
12
30
 
13
31
  # @param [CheckoutConfiguration] configuration
14
32
  def initialize(configuration)
15
33
  api_client = base_api_client configuration
16
- @klarna = CheckoutSdk::Previous::Apm::Klarna::KlarnaClient.new api_client, configuration
17
- @sepa = CheckoutSdk::Previous::Apm::Sepa::SepaClient.new api_client, configuration
34
+ @customers = CheckoutSdk::Customers::CustomersClient.new api_client, configuration
35
+ @disputes = CheckoutSdk::Disputes::DisputesClient.new api_client, configuration
36
+ @instruments = CheckoutSdk::Previous::Instruments::InstrumentsClient.new api_client, configuration
37
+ @payments = CheckoutSdk::Previous::Payments::PaymentsClient.new api_client, configuration
38
+ @sources = CheckoutSdk::Previous::Sources::SourcesClient.new api_client, configuration
39
+ @tokens = CheckoutSdk::Tokens::TokensClient.new api_client, configuration
40
+ @klarna = CheckoutSdk::Previous::Apm::KlarnaClient.new api_client, configuration
41
+ @sepa = CheckoutSdk::Previous::Apm::SepaClient.new api_client, configuration
18
42
  end
19
43
 
20
44
  private
@@ -0,0 +1,12 @@
1
+ # frozen_string_literal: true
2
+
3
+ module CheckoutSdk
4
+ module Previous
5
+ module Sources
6
+ module MandateType
7
+ SINGLE = 'single'
8
+ RECURRING = 'recurring'
9
+ end
10
+ end
11
+ end
12
+ end
@@ -0,0 +1,20 @@
1
+ # frozen_string_literal: true
2
+
3
+ module CheckoutSdk
4
+ module Previous
5
+ module Sources
6
+ # @!attribute billing_address
7
+ # @return [CheckoutSdk::Common::Address]
8
+ # @!attribute source_data
9
+ # @return [SourceData]
10
+ class SepaSourceRequest < SourceRequest
11
+ attr_accessor :billing_address,
12
+ :source_data
13
+
14
+ def initialize
15
+ super CheckoutSdk::Previous::Sources::SourceType::SEPA
16
+ end
17
+ end
18
+ end
19
+ end
20
+ end
@@ -0,0 +1,28 @@
1
+ # frozen_string_literal: true
2
+
3
+ module CheckoutSdk
4
+ module Previous
5
+ module Sources
6
+ # @!attribute first_name
7
+ # @return [String]
8
+ # @!attribute last_name
9
+ # @return [String]
10
+ # @!attribute account_iban
11
+ # @return [String]
12
+ # @!attribute bic
13
+ # @return [String]
14
+ # @!attribute billing_descriptor
15
+ # @return [String]
16
+ # @!attribute mandate_type
17
+ # @return [SourceData]
18
+ class SourceData
19
+ attr_accessor :first_name,
20
+ :last_name,
21
+ :account_iban,
22
+ :bic,
23
+ :billing_descriptor,
24
+ :mandate_type
25
+ end
26
+ end
27
+ end
28
+ end
@@ -0,0 +1,30 @@
1
+ # frozen_string_literal: true
2
+
3
+ module CheckoutSdk
4
+ module Previous
5
+ module Sources
6
+ # @!attribute type
7
+ # @return [String] {SourceType}
8
+ # @!attribute reference
9
+ # @return [String]
10
+ # @!attribute phone
11
+ # @return [CheckoutSdk::Common::Phone]
12
+ # @!attribute customer
13
+ # @return [CheckoutSdk::Common::CustomerRequest]
14
+ class SourceRequest
15
+ attr_reader :type
16
+ attr_accessor :reference,
17
+ :phone,
18
+ :customer
19
+
20
+ protected
21
+
22
+ # @abstract
23
+ # @param [String] {SourceType}
24
+ def initialize(type)
25
+ @type = type
26
+ end
27
+ end
28
+ end
29
+ end
30
+ end
@@ -0,0 +1,11 @@
1
+ # frozen_string_literal: true
2
+
3
+ module CheckoutSdk
4
+ module Previous
5
+ module Sources
6
+ module SourceType
7
+ SEPA = 'sepa'
8
+ end
9
+ end
10
+ end
11
+ end
@@ -0,0 +1,9 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'checkout_sdk/sources/source_type'
4
+ require 'checkout_sdk/sources/mandate_type'
5
+ require 'checkout_sdk/sources/source_data'
6
+ require 'checkout_sdk/sources/source_request'
7
+ require 'checkout_sdk/sources/sepa_source_request'
8
+
9
+ require 'checkout_sdk/sources/sources_client'
@@ -0,0 +1,23 @@
1
+ # frozen_string_literal: true
2
+
3
+ module CheckoutSdk
4
+ module Previous
5
+ module Sources
6
+ class SourcesClient < Client
7
+ SOURCES = 'sources'
8
+ private_constant :SOURCES
9
+
10
+ # @param [ApiClient] api_client
11
+ # @param [CheckoutConfiguration] configuration
12
+ def initialize(api_client, configuration)
13
+ super api_client, configuration, CheckoutSdk::AuthorizationType::SECRET_KEY
14
+ end
15
+
16
+ # @param [SepaSourceRequest] sepa_source_request
17
+ def create_sepa_source(sepa_source_request)
18
+ api_client.invoke_post(SOURCES, sdk_authorization, sepa_source_request)
19
+ end
20
+ end
21
+ end
22
+ end
23
+ end
@@ -5,7 +5,7 @@ module CheckoutSdk
5
5
  # @!attribute type
6
6
  # @return [String] {TokenType}
7
7
  class WalletTokenRequest
8
- attr_accessor :type
8
+ attr_reader :type
9
9
 
10
10
  protected
11
11
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module CheckoutSdk
4
- VERSION = '1.0.0.beta.0'
4
+ VERSION = '1.0.0.beta.1'
5
5
  end
data/lib/checkout_sdk.rb CHANGED
@@ -54,6 +54,9 @@ require 'checkout_sdk/sessions/sessions'
54
54
  require 'checkout_sdk/tokens/tokens'
55
55
  require 'checkout_sdk/apm/apm'
56
56
 
57
+ # Checkout modules (previous)
58
+ require 'checkout_sdk/sources/sources'
59
+
57
60
  module CheckoutSdk
58
61
  include PlatformType
59
62
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: checkout_sdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0.beta.0
4
+ version: 1.0.0.beta.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Checkout
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-09-29 00:00:00.000000000 Z
11
+ date: 2022-10-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -125,7 +125,6 @@ files:
125
125
  - lib/checkout_sdk/apm/previous/klarna/klarna.rb
126
126
  - lib/checkout_sdk/apm/previous/klarna/klarna_client.rb
127
127
  - lib/checkout_sdk/apm/previous/klarna/klarna_product.rb
128
- - lib/checkout_sdk/apm/previous/klarna/klarna_shipping_info.rb
129
128
  - lib/checkout_sdk/apm/previous/klarna/order_capture_request.rb
130
129
  - lib/checkout_sdk/apm/previous/sepa/sepa_client.rb
131
130
  - lib/checkout_sdk/authorization_type.rb
@@ -154,8 +153,10 @@ files:
154
153
  - lib/checkout_sdk/common/file_purpose.rb
155
154
  - lib/checkout_sdk/common/file_request.rb
156
155
  - lib/checkout_sdk/common/instrument_type.rb
156
+ - lib/checkout_sdk/common/marketplace_data.rb
157
157
  - lib/checkout_sdk/common/payment_source_type.rb
158
158
  - lib/checkout_sdk/common/phone.rb
159
+ - lib/checkout_sdk/common/shipping_info.rb
159
160
  - lib/checkout_sdk/common/update_customer_request.rb
160
161
  - lib/checkout_sdk/customers/customer_request.rb
161
162
  - lib/checkout_sdk/customers/customers.rb
@@ -171,17 +172,21 @@ files:
171
172
  - lib/checkout_sdk/forex/forex_client.rb
172
173
  - lib/checkout_sdk/forex/quote_request.rb
173
174
  - lib/checkout_sdk/http_metadata.rb
174
- - lib/checkout_sdk/instruments/create/instrument_bank_account_request.rb
175
- - lib/checkout_sdk/instruments/create/instrument_request.rb
176
- - lib/checkout_sdk/instruments/create/instrument_token_request.rb
175
+ - lib/checkout_sdk/instruments/base_instruments_client.rb
176
+ - lib/checkout_sdk/instruments/create/instrument.rb
177
+ - lib/checkout_sdk/instruments/create/instrument_bank_account.rb
178
+ - lib/checkout_sdk/instruments/create/instrument_token.rb
177
179
  - lib/checkout_sdk/instruments/get/bank_account_field_query.rb
178
180
  - lib/checkout_sdk/instruments/get/payment_network.rb
179
181
  - lib/checkout_sdk/instruments/instruments.rb
180
182
  - lib/checkout_sdk/instruments/instruments_client.rb
181
- - lib/checkout_sdk/instruments/update/update_instrument_bank_account_request.rb
182
- - lib/checkout_sdk/instruments/update/update_instrument_card_request.rb
183
- - lib/checkout_sdk/instruments/update/update_instrument_request.rb
184
- - lib/checkout_sdk/instruments/update/update_instrument_token_request.rb
183
+ - lib/checkout_sdk/instruments/previous/create/instrument.rb
184
+ - lib/checkout_sdk/instruments/previous/instruments_client.rb
185
+ - lib/checkout_sdk/instruments/previous/update/update_instrument.rb
186
+ - lib/checkout_sdk/instruments/update/update_instrument.rb
187
+ - lib/checkout_sdk/instruments/update/update_instrument_bank_account.rb
188
+ - lib/checkout_sdk/instruments/update/update_instrument_card.rb
189
+ - lib/checkout_sdk/instruments/update/update_instrument_token.rb
185
190
  - lib/checkout_sdk/json_serializer.rb
186
191
  - lib/checkout_sdk/oauth_access_token.rb
187
192
  - lib/checkout_sdk/oauth_scopes.rb
@@ -189,7 +194,10 @@ files:
189
194
  - lib/checkout_sdk/payments/airline_data.rb
190
195
  - lib/checkout_sdk/payments/authorization_request.rb
191
196
  - lib/checkout_sdk/payments/authorization_type.rb
197
+ - lib/checkout_sdk/payments/base_payments_client.rb
192
198
  - lib/checkout_sdk/payments/billing_descriptor.rb
199
+ - lib/checkout_sdk/payments/billing_plan.rb
200
+ - lib/checkout_sdk/payments/billing_plan_type.rb
193
201
  - lib/checkout_sdk/payments/capture_request.rb
194
202
  - lib/checkout_sdk/payments/capture_type.rb
195
203
  - lib/checkout_sdk/payments/charge_bearer.rb
@@ -219,6 +227,43 @@ files:
219
227
  - lib/checkout_sdk/payments/payout_billing_descriptor.rb
220
228
  - lib/checkout_sdk/payments/payout_request.rb
221
229
  - lib/checkout_sdk/payments/preferred_schema.rb
230
+ - lib/checkout_sdk/payments/previous/capture_request.rb
231
+ - lib/checkout_sdk/payments/previous/destination/card_destination.rb
232
+ - lib/checkout_sdk/payments/previous/destination/destination.rb
233
+ - lib/checkout_sdk/payments/previous/destination/id_destination.rb
234
+ - lib/checkout_sdk/payments/previous/destination/token_destination.rb
235
+ - lib/checkout_sdk/payments/previous/fund_transfer_type.rb
236
+ - lib/checkout_sdk/payments/previous/payment_request.rb
237
+ - lib/checkout_sdk/payments/previous/payments_client.rb
238
+ - lib/checkout_sdk/payments/previous/payout_request.rb
239
+ - lib/checkout_sdk/payments/previous/source/apm/alipay_source.rb
240
+ - lib/checkout_sdk/payments/previous/source/apm/alma_source.rb
241
+ - lib/checkout_sdk/payments/previous/source/apm/bancontact_source.rb
242
+ - lib/checkout_sdk/payments/previous/source/apm/benefit_pay_source.rb
243
+ - lib/checkout_sdk/payments/previous/source/apm/boleto_source.rb
244
+ - lib/checkout_sdk/payments/previous/source/apm/eps_source.rb
245
+ - lib/checkout_sdk/payments/previous/source/apm/fawry_source.rb
246
+ - lib/checkout_sdk/payments/previous/source/apm/giropay_source.rb
247
+ - lib/checkout_sdk/payments/previous/source/apm/ideal_source.rb
248
+ - lib/checkout_sdk/payments/previous/source/apm/integration_type.rb
249
+ - lib/checkout_sdk/payments/previous/source/apm/klarna_source.rb
250
+ - lib/checkout_sdk/payments/previous/source/apm/knet_source.rb
251
+ - lib/checkout_sdk/payments/previous/source/apm/multi_banco_source.rb
252
+ - lib/checkout_sdk/payments/previous/source/apm/oxxo_source.rb
253
+ - lib/checkout_sdk/payments/previous/source/apm/p24_source.rb
254
+ - lib/checkout_sdk/payments/previous/source/apm/pago_facil_source.rb
255
+ - lib/checkout_sdk/payments/previous/source/apm/paypal_source.rb
256
+ - lib/checkout_sdk/payments/previous/source/apm/poli_source.rb
257
+ - lib/checkout_sdk/payments/previous/source/apm/qpay_source.rb
258
+ - lib/checkout_sdk/payments/previous/source/apm/rapi_pago_source.rb
259
+ - lib/checkout_sdk/payments/previous/source/apm/sofort_source.rb
260
+ - lib/checkout_sdk/payments/previous/source/card_source.rb
261
+ - lib/checkout_sdk/payments/previous/source/customer_source.rb
262
+ - lib/checkout_sdk/payments/previous/source/d_local_source.rb
263
+ - lib/checkout_sdk/payments/previous/source/id_source.rb
264
+ - lib/checkout_sdk/payments/previous/source/network_token_source.rb
265
+ - lib/checkout_sdk/payments/previous/source/payment_source.rb
266
+ - lib/checkout_sdk/payments/previous/source/token_source.rb
222
267
  - lib/checkout_sdk/payments/processing_settings.rb
223
268
  - lib/checkout_sdk/payments/product.rb
224
269
  - lib/checkout_sdk/payments/product_type.rb
@@ -236,11 +281,15 @@ files:
236
281
  - lib/checkout_sdk/payments/shipping_preference.rb
237
282
  - lib/checkout_sdk/payments/source/apm/after_pay_source.rb
238
283
  - lib/checkout_sdk/payments/source/apm/alipay_plus_source.rb
284
+ - lib/checkout_sdk/payments/source/apm/alma_source.rb
239
285
  - lib/checkout_sdk/payments/source/apm/bancontact_source.rb
240
286
  - lib/checkout_sdk/payments/source/apm/benefit_source.rb
241
287
  - lib/checkout_sdk/payments/source/apm/eps_source.rb
288
+ - lib/checkout_sdk/payments/source/apm/fawry_product.rb
289
+ - lib/checkout_sdk/payments/source/apm/fawry_source.rb
242
290
  - lib/checkout_sdk/payments/source/apm/giropay_source.rb
243
291
  - lib/checkout_sdk/payments/source/apm/ideal_source.rb
292
+ - lib/checkout_sdk/payments/source/apm/klarna_source.rb
244
293
  - lib/checkout_sdk/payments/source/apm/knet_source.rb
245
294
  - lib/checkout_sdk/payments/source/apm/mbway_source.rb
246
295
  - lib/checkout_sdk/payments/source/apm/multi_banco_source.rb
@@ -257,8 +306,8 @@ files:
257
306
  - lib/checkout_sdk/payments/source/currency_account_source.rb
258
307
  - lib/checkout_sdk/payments/source/id_source.rb
259
308
  - lib/checkout_sdk/payments/source/network_token_source.rb
260
- - lib/checkout_sdk/payments/source/payment_request_source.rb
261
- - lib/checkout_sdk/payments/source/payout_request_source.rb
309
+ - lib/checkout_sdk/payments/source/payment_source.rb
310
+ - lib/checkout_sdk/payments/source/payout_source.rb
262
311
  - lib/checkout_sdk/payments/source/payout_source_type.rb
263
312
  - lib/checkout_sdk/payments/source/provider_token_source.rb
264
313
  - lib/checkout_sdk/payments/source/token_source.rb
@@ -311,6 +360,13 @@ files:
311
360
  - lib/checkout_sdk/sessions/source/token_source.rb
312
361
  - lib/checkout_sdk/sessions/three_ds_method_completion_request.rb
313
362
  - lib/checkout_sdk/sessions/transaction_type.rb
363
+ - lib/checkout_sdk/sources/mandate_type.rb
364
+ - lib/checkout_sdk/sources/sepa_source_request.rb
365
+ - lib/checkout_sdk/sources/source_data.rb
366
+ - lib/checkout_sdk/sources/source_request.rb
367
+ - lib/checkout_sdk/sources/source_type.rb
368
+ - lib/checkout_sdk/sources/sources.rb
369
+ - lib/checkout_sdk/sources/sources_client.rb
314
370
  - lib/checkout_sdk/static_keys_builder.rb
315
371
  - lib/checkout_sdk/static_keys_sdk_credentials.rb
316
372
  - lib/checkout_sdk/tokens/apple_pay_token_data.rb
@@ -1,33 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module CheckoutSdk
4
- module Previous
5
- module Apm
6
- module Klarna
7
- # @!attribute shipping_company
8
- # @return [String]
9
- # @!attribute shipping_method
10
- # @return [String]
11
- # @!attribute tracking_number
12
- # @return [String]
13
- # @!attribute tracking_uri
14
- # @return [String]
15
- # @!attribute return_shipping_company
16
- # @return [String]
17
- # @!attribute return_tracking_number
18
- # @return [String]
19
- # @!attribute return_tracking_uri
20
- # @return [String]
21
- class KlarnaShippingInfo
22
- attr_accessor :shipping_company,
23
- :shipping_method,
24
- :tracking_number,
25
- :tracking_uri,
26
- :return_shipping_company,
27
- :return_tracking_number,
28
- :return_tracking_uri
29
- end
30
- end
31
- end
32
- end
33
- end