checkout_sdk 1.0.0.beta.0 → 1.0.0.beta.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +3 -0
- data/lib/checkout_sdk/api_client.rb +6 -2
- data/lib/checkout_sdk/apm/apm.rb +0 -1
- data/lib/checkout_sdk/apm/previous/klarna/credit_session_request.rb +19 -21
- data/lib/checkout_sdk/apm/previous/klarna/klarna.rb +13 -15
- data/lib/checkout_sdk/apm/previous/klarna/klarna_client.rb +43 -45
- data/lib/checkout_sdk/apm/previous/klarna/klarna_product.rb +19 -21
- data/lib/checkout_sdk/apm/previous/klarna/order_capture_request.rb +24 -26
- data/lib/checkout_sdk/apm/previous/sepa/sepa_client.rb +25 -27
- data/lib/checkout_sdk/checkout_utils.rb +13 -4
- data/lib/checkout_sdk/common/account_holder.rb +4 -1
- data/lib/checkout_sdk/common/common.rb +2 -0
- data/lib/checkout_sdk/common/marketplace_data.rb +14 -0
- data/lib/checkout_sdk/common/payment_source_type.rb +1 -0
- data/lib/checkout_sdk/common/shipping_info.rb +29 -0
- data/lib/checkout_sdk/customers/customer_request.rb +2 -2
- data/lib/checkout_sdk/disputes/disputes_client.rb +5 -0
- data/lib/checkout_sdk/disputes/disputes_query_filter.rb +3 -3
- data/lib/checkout_sdk/instruments/base_instruments_client.rb +20 -0
- data/lib/checkout_sdk/instruments/create/{instrument_request.rb → instrument.rb} +1 -1
- data/lib/checkout_sdk/instruments/create/{instrument_bank_account_request.rb → instrument_bank_account.rb} +1 -1
- data/lib/checkout_sdk/instruments/create/{instrument_token_request.rb → instrument_token.rb} +1 -1
- data/lib/checkout_sdk/instruments/instruments.rb +14 -7
- data/lib/checkout_sdk/instruments/instruments_client.rb +4 -15
- data/lib/checkout_sdk/instruments/previous/create/instrument.rb +26 -0
- data/lib/checkout_sdk/instruments/previous/instruments_client.rb +28 -0
- data/lib/checkout_sdk/instruments/previous/update/update_instrument.rb +25 -0
- data/lib/checkout_sdk/instruments/update/{update_instrument_request.rb → update_instrument.rb} +1 -1
- data/lib/checkout_sdk/instruments/update/{update_instrument_bank_account_request.rb → update_instrument_bank_account.rb} +1 -1
- data/lib/checkout_sdk/instruments/update/{update_instrument_card_request.rb → update_instrument_card.rb} +1 -1
- data/lib/checkout_sdk/instruments/update/{update_instrument_token_request.rb → update_instrument_token.rb} +1 -1
- data/lib/checkout_sdk/payments/base_payments_client.rb +41 -0
- data/lib/checkout_sdk/payments/billing_plan.rb +17 -0
- data/lib/checkout_sdk/payments/billing_plan_type.rb +14 -0
- data/lib/checkout_sdk/payments/capture_request.rb +4 -0
- data/lib/checkout_sdk/payments/destination/destination.rb +1 -1
- data/lib/checkout_sdk/payments/payment_request.rb +5 -1
- data/lib/checkout_sdk/payments/payments.rb +81 -23
- data/lib/checkout_sdk/payments/payments_client.rb +1 -36
- data/lib/checkout_sdk/payments/payout_request.rb +1 -1
- data/lib/checkout_sdk/payments/previous/capture_request.rb +19 -0
- data/lib/checkout_sdk/payments/previous/destination/card_destination.rb +38 -0
- data/lib/checkout_sdk/payments/previous/destination/destination.rb +21 -0
- data/lib/checkout_sdk/payments/previous/destination/id_destination.rb +23 -0
- data/lib/checkout_sdk/payments/previous/destination/token_destination.rb +29 -0
- data/lib/checkout_sdk/payments/previous/fund_transfer_type.rb +17 -0
- data/lib/checkout_sdk/payments/previous/payment_request.rb +73 -0
- data/lib/checkout_sdk/payments/previous/payments_client.rb +43 -0
- data/lib/checkout_sdk/payments/previous/payout_request.rb +70 -0
- data/lib/checkout_sdk/payments/previous/source/apm/alipay_source.rb +13 -0
- data/lib/checkout_sdk/payments/previous/source/apm/alma_source.rb +23 -0
- data/lib/checkout_sdk/payments/previous/source/apm/bancontact_source.rb +26 -0
- data/lib/checkout_sdk/payments/previous/source/apm/benefit_pay_source.rb +17 -0
- data/lib/checkout_sdk/payments/previous/source/apm/boleto_source.rb +26 -0
- data/lib/checkout_sdk/payments/previous/source/apm/eps_source.rb +20 -0
- data/lib/checkout_sdk/payments/previous/source/apm/fawry_source.rb +47 -0
- data/lib/checkout_sdk/payments/previous/source/apm/giropay_source.rb +32 -0
- data/lib/checkout_sdk/payments/previous/source/apm/ideal_source.rb +23 -0
- data/lib/checkout_sdk/payments/previous/source/apm/integration_type.rb +12 -0
- data/lib/checkout_sdk/payments/previous/source/apm/klarna_source.rb +56 -0
- data/lib/checkout_sdk/payments/previous/source/apm/knet_source.rb +38 -0
- data/lib/checkout_sdk/payments/previous/source/apm/multi_banco_source.rb +23 -0
- data/lib/checkout_sdk/payments/previous/source/apm/oxxo_source.rb +26 -0
- data/lib/checkout_sdk/payments/previous/source/apm/p24_source.rb +26 -0
- data/lib/checkout_sdk/payments/previous/source/apm/pago_facil_source.rb +26 -0
- data/lib/checkout_sdk/payments/previous/source/apm/paypal_source.rb +26 -0
- data/lib/checkout_sdk/payments/previous/source/apm/poli_source.rb +13 -0
- data/lib/checkout_sdk/payments/previous/source/apm/qpay_source.rb +26 -0
- data/lib/checkout_sdk/payments/previous/source/apm/rapi_pago_source.rb +26 -0
- data/lib/checkout_sdk/payments/previous/source/apm/sofort_source.rb +20 -0
- data/lib/checkout_sdk/payments/previous/source/card_source.rb +41 -0
- data/lib/checkout_sdk/payments/previous/source/customer_source.rb +17 -0
- data/lib/checkout_sdk/payments/previous/source/d_local_source.rb +41 -0
- data/lib/checkout_sdk/payments/previous/source/id_source.rb +20 -0
- data/lib/checkout_sdk/payments/previous/source/network_token_source.rb +47 -0
- data/lib/checkout_sdk/payments/previous/source/payment_source.rb +20 -0
- data/lib/checkout_sdk/payments/previous/source/token_source.rb +26 -0
- data/lib/checkout_sdk/payments/processing_settings.rb +15 -0
- data/lib/checkout_sdk/payments/sender/sender.rb +2 -2
- data/lib/checkout_sdk/payments/source/apm/after_pay_source.rb +1 -1
- data/lib/checkout_sdk/payments/source/apm/alipay_plus_source.rb +1 -1
- data/lib/checkout_sdk/payments/source/apm/alma_source.rb +15 -0
- data/lib/checkout_sdk/payments/source/apm/bancontact_source.rb +1 -1
- data/lib/checkout_sdk/payments/source/apm/benefit_source.rb +1 -1
- data/lib/checkout_sdk/payments/source/apm/eps_source.rb +1 -1
- data/lib/checkout_sdk/payments/source/apm/fawry_product.rb +20 -0
- data/lib/checkout_sdk/payments/source/apm/fawry_source.rb +30 -0
- data/lib/checkout_sdk/payments/source/apm/giropay_source.rb +1 -1
- data/lib/checkout_sdk/payments/source/apm/ideal_source.rb +1 -1
- data/lib/checkout_sdk/payments/source/apm/klarna_source.rb +15 -0
- data/lib/checkout_sdk/payments/source/apm/knet_source.rb +1 -1
- data/lib/checkout_sdk/payments/source/apm/mbway_source.rb +1 -1
- data/lib/checkout_sdk/payments/source/apm/multi_banco_source.rb +1 -1
- data/lib/checkout_sdk/payments/source/apm/p24_source.rb +1 -1
- data/lib/checkout_sdk/payments/source/apm/paypal_source.rb +5 -1
- data/lib/checkout_sdk/payments/source/apm/post_finance_source.rb +1 -1
- data/lib/checkout_sdk/payments/source/apm/qpay_source.rb +1 -1
- data/lib/checkout_sdk/payments/source/apm/sofort_source.rb +1 -1
- data/lib/checkout_sdk/payments/source/apm/stcpay_source.rb +1 -1
- data/lib/checkout_sdk/payments/source/apm/tamara_source.rb +1 -1
- data/lib/checkout_sdk/payments/source/apm/we_chat_pay_source.rb +1 -1
- data/lib/checkout_sdk/payments/source/bank_account_source.rb +1 -1
- data/lib/checkout_sdk/payments/source/card_source.rb +1 -1
- data/lib/checkout_sdk/payments/source/currency_account_source.rb +1 -1
- data/lib/checkout_sdk/payments/source/id_source.rb +1 -1
- data/lib/checkout_sdk/payments/source/network_token_source.rb +1 -1
- data/lib/checkout_sdk/payments/source/{payment_request_source.rb → payment_source.rb} +1 -1
- data/lib/checkout_sdk/payments/source/{payout_request_source.rb → payout_source.rb} +3 -3
- data/lib/checkout_sdk/payments/source/provider_token_source.rb +1 -1
- data/lib/checkout_sdk/payments/source/token_source.rb +1 -1
- data/lib/checkout_sdk/payments/three_ds_request.rb +4 -1
- data/lib/checkout_sdk/previous/checkout_api.rb +29 -5
- data/lib/checkout_sdk/sources/mandate_type.rb +12 -0
- data/lib/checkout_sdk/sources/sepa_source_request.rb +20 -0
- data/lib/checkout_sdk/sources/source_data.rb +28 -0
- data/lib/checkout_sdk/sources/source_request.rb +30 -0
- data/lib/checkout_sdk/sources/source_type.rb +11 -0
- data/lib/checkout_sdk/sources/sources.rb +9 -0
- data/lib/checkout_sdk/sources/sources_client.rb +23 -0
- data/lib/checkout_sdk/tokens/wallet_token_request.rb +1 -1
- data/lib/checkout_sdk/version.rb +1 -1
- data/lib/checkout_sdk.rb +3 -0
- metadata +68 -12
- data/lib/checkout_sdk/apm/previous/klarna/klarna_shipping_info.rb +0 -33
@@ -8,7 +8,7 @@ module CheckoutSdk
|
|
8
8
|
# @return [String]
|
9
9
|
# @!attribute account_holder
|
10
10
|
# @return [CheckoutSdk::Common::AccountHolder]
|
11
|
-
class ProviderTokenSource <
|
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 <
|
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::
|
18
|
+
# @return [CheckoutSdk::Previous::Apm::KlarnaClient]
|
7
19
|
# @!attribute sepa
|
8
|
-
# @return [CheckoutSdk::Previous::Apm::
|
20
|
+
# @return [CheckoutSdk::Previous::Apm::SepaClient]
|
9
21
|
class CheckoutApi
|
10
|
-
attr_reader :
|
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
|
-
@
|
17
|
-
@
|
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,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,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
|
data/lib/checkout_sdk/version.rb
CHANGED
data/lib/checkout_sdk.rb
CHANGED
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.
|
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-
|
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/
|
175
|
-
- lib/checkout_sdk/instruments/create/
|
176
|
-
- lib/checkout_sdk/instruments/create/
|
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/
|
182
|
-
- lib/checkout_sdk/instruments/
|
183
|
-
- lib/checkout_sdk/instruments/update/
|
184
|
-
- lib/checkout_sdk/instruments/update/
|
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/
|
261
|
-
- lib/checkout_sdk/payments/source/
|
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
|