checkout_sdk 1.7.0 → 1.8.0
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.
- checksums.yaml +4 -4
- data/lib/checkout_sdk/identities/face_authentication/face_authentication_client.rb +15 -1
- data/lib/checkout_sdk/identities/identity_verification/identity_verification_client.rb +16 -1
- data/lib/checkout_sdk/payments/hosted/hosted_payments_session.rb +8 -1
- data/lib/checkout_sdk/payments/links/payment_link.rb +8 -1
- data/lib/checkout_sdk/payments/processing_settings.rb +4 -1
- data/lib/checkout_sdk/payments/sessions/payment_sessions_request.rb +8 -1
- data/lib/checkout_sdk/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e874d400bc746ae69745bb115abe339f65794ae26da3dbad9cda50f06d1ee6ae
|
|
4
|
+
data.tar.gz: 0c3a867f5112af78fe5226904b933e63fd71bc18a212944a6b49edb399a6bda6
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 793ec64a35428ae6184c6b377c845e24210c44c74bac147fca8abe633d933d6c8166283b3a4dad42b48e783d9e65c5270f35e1000bea15c45cebbdd6d836f256
|
|
7
|
+
data.tar.gz: a9c72282100667bef51dd7879ab64eda2a584f75f633b873b6ef7108aa66b06917d54b34d20e79df7afb6a53c47e80920d480c298136f5e3d9942b25fff747ea
|
|
@@ -8,7 +8,8 @@ module CheckoutSdk
|
|
|
8
8
|
FACE_AUTHENTICATIONS = 'face-authentications'
|
|
9
9
|
ANONYMIZE = 'anonymize'
|
|
10
10
|
ATTEMPTS = 'attempts'
|
|
11
|
-
|
|
11
|
+
ASSETS = 'assets'
|
|
12
|
+
private_constant :FACE_AUTHENTICATIONS, :ANONYMIZE, :ATTEMPTS, :ASSETS
|
|
12
13
|
|
|
13
14
|
# @param [ApiClient] api_client
|
|
14
15
|
# @param [CheckoutConfiguration] configuration
|
|
@@ -62,6 +63,19 @@ module CheckoutSdk
|
|
|
62
63
|
sdk_authorization
|
|
63
64
|
)
|
|
64
65
|
end
|
|
66
|
+
|
|
67
|
+
# Retrieve the assets (face images and videos) captured during a face authentication attempt.
|
|
68
|
+
# @param [String] face_authentication_id
|
|
69
|
+
# @param [String] attempt_id
|
|
70
|
+
# @param [Hash, nil] query pagination query parameters; supports :skip (Integer, default: 0)
|
|
71
|
+
# and :limit (Integer, default: 10)
|
|
72
|
+
def get_face_authentication_attempt_assets(face_authentication_id, attempt_id, query = nil)
|
|
73
|
+
api_client.invoke_get(
|
|
74
|
+
build_path(FACE_AUTHENTICATIONS, face_authentication_id, ATTEMPTS, attempt_id, ASSETS),
|
|
75
|
+
sdk_authorization,
|
|
76
|
+
query
|
|
77
|
+
)
|
|
78
|
+
end
|
|
65
79
|
end
|
|
66
80
|
end
|
|
67
81
|
end
|
|
@@ -10,7 +10,8 @@ module CheckoutSdk
|
|
|
10
10
|
ANONYMIZE = 'anonymize'
|
|
11
11
|
ATTEMPTS = 'attempts'
|
|
12
12
|
PDF_REPORT = 'pdf-report'
|
|
13
|
-
|
|
13
|
+
ASSETS = 'assets'
|
|
14
|
+
private_constant :IDENTITY_VERIFICATIONS, :CREATE_AND_OPEN_IDV, :ANONYMIZE, :ATTEMPTS, :PDF_REPORT, :ASSETS
|
|
14
15
|
|
|
15
16
|
# @param [ApiClient] api_client
|
|
16
17
|
# @param [CheckoutConfiguration] configuration
|
|
@@ -78,6 +79,20 @@ module CheckoutSdk
|
|
|
78
79
|
sdk_authorization
|
|
79
80
|
)
|
|
80
81
|
end
|
|
82
|
+
|
|
83
|
+
# Retrieve the assets (face images, videos, and document images) captured during an
|
|
84
|
+
# identity verification attempt.
|
|
85
|
+
# @param [String] identity_verification_id
|
|
86
|
+
# @param [String] attempt_id
|
|
87
|
+
# @param [Hash, nil] query pagination query parameters; supports :skip (Integer, default: 0)
|
|
88
|
+
# and :limit (Integer, default: 10)
|
|
89
|
+
def get_identity_verification_attempt_assets(identity_verification_id, attempt_id, query = nil)
|
|
90
|
+
api_client.invoke_get(
|
|
91
|
+
build_path(IDENTITY_VERIFICATIONS, identity_verification_id, ATTEMPTS, attempt_id, ASSETS),
|
|
92
|
+
sdk_authorization,
|
|
93
|
+
query
|
|
94
|
+
)
|
|
95
|
+
end
|
|
81
96
|
end
|
|
82
97
|
end
|
|
83
98
|
end
|
|
@@ -66,6 +66,11 @@ module CheckoutSdk
|
|
|
66
66
|
# @return [HostedPaymentInstruction]
|
|
67
67
|
# @!attribute payment_method_configuration
|
|
68
68
|
# @return [PaymentMethodConfiguration]
|
|
69
|
+
# @!attribute payment_plan
|
|
70
|
+
# @return [PaymentPlan] [Optional] The information to process a recurring payment request.
|
|
71
|
+
# To be used when the payment_type is Recurring.
|
|
72
|
+
# @!attribute authorization_type
|
|
73
|
+
# @return [String] [Optional] {AuthorizationType} Enum: "Final" "Estimated". Default: "Final".
|
|
69
74
|
class HostedPaymentsSession
|
|
70
75
|
attr_accessor :currency,
|
|
71
76
|
:billing,
|
|
@@ -97,7 +102,9 @@ module CheckoutSdk
|
|
|
97
102
|
:capture,
|
|
98
103
|
:capture_on,
|
|
99
104
|
:instruction,
|
|
100
|
-
:payment_method_configuration
|
|
105
|
+
:payment_method_configuration,
|
|
106
|
+
:payment_plan,
|
|
107
|
+
:authorization_type
|
|
101
108
|
|
|
102
109
|
def initialize(payment_type: CheckoutSdk::Payments::PaymentType::REGULAR)
|
|
103
110
|
@payment_type = payment_type
|
|
@@ -60,6 +60,11 @@ module CheckoutSdk
|
|
|
60
60
|
# @return [TrueClass, FalseClass]
|
|
61
61
|
# @!attribute capture_on
|
|
62
62
|
# @return [Time]
|
|
63
|
+
# @!attribute payment_plan
|
|
64
|
+
# @return [PaymentPlan] [Optional] The information to process a recurring payment request.
|
|
65
|
+
# To be used when the payment_type is Recurring.
|
|
66
|
+
# @!attribute authorization_type
|
|
67
|
+
# @return [String] [Optional] {AuthorizationType} Enum: "Final" "Estimated". Default: "Final".
|
|
63
68
|
class PaymentLink
|
|
64
69
|
attr_accessor :amount,
|
|
65
70
|
:currency,
|
|
@@ -88,7 +93,9 @@ module CheckoutSdk
|
|
|
88
93
|
:return_url,
|
|
89
94
|
:locale,
|
|
90
95
|
:capture,
|
|
91
|
-
:capture_on
|
|
96
|
+
:capture_on,
|
|
97
|
+
:payment_plan,
|
|
98
|
+
:authorization_type
|
|
92
99
|
|
|
93
100
|
def initialize(payment_type: CheckoutSdk::Payments::PaymentType::REGULAR)
|
|
94
101
|
@payment_type = payment_type
|
|
@@ -75,6 +75,8 @@ module CheckoutSdk
|
|
|
75
75
|
# @!attribute partner_code
|
|
76
76
|
# @return [String] The customer's 6-digit BLIK code. Required when source.type is "blik"
|
|
77
77
|
# and merchant_initiated is false. Pattern: ^\d{6}$
|
|
78
|
+
# @!attribute scheme_transaction_link_id
|
|
79
|
+
# @return [String] [Optional] The scheme transaction link identifier.
|
|
78
80
|
class ProcessingSettings
|
|
79
81
|
attr_accessor :order_id,
|
|
80
82
|
:tax_amount,
|
|
@@ -111,7 +113,8 @@ module CheckoutSdk
|
|
|
111
113
|
:purpose,
|
|
112
114
|
:affiliate_id,
|
|
113
115
|
:affiliate_url,
|
|
114
|
-
:partner_code
|
|
116
|
+
:partner_code,
|
|
117
|
+
:scheme_transaction_link_id
|
|
115
118
|
end
|
|
116
119
|
end
|
|
117
120
|
end
|
|
@@ -64,6 +64,11 @@ module CheckoutSdk
|
|
|
64
64
|
# @return [Time]
|
|
65
65
|
# @!attribute tax_amount
|
|
66
66
|
# @return [Integer]
|
|
67
|
+
# @!attribute authorization_type
|
|
68
|
+
# @return [String] [Optional] {AuthorizationType} Enum: "Final" "Estimated". Default: "Final".
|
|
69
|
+
# @!attribute payment_plan
|
|
70
|
+
# @return [PaymentPlan] [Optional] The information to process a recurring payment request.
|
|
71
|
+
# To be used when the payment_type is Recurring.
|
|
67
72
|
class PaymentSessionsRequest
|
|
68
73
|
attr_accessor :amount,
|
|
69
74
|
:currency,
|
|
@@ -95,7 +100,9 @@ module CheckoutSdk
|
|
|
95
100
|
:capture,
|
|
96
101
|
:ip_address,
|
|
97
102
|
:capture_on,
|
|
98
|
-
:tax_amount
|
|
103
|
+
:tax_amount,
|
|
104
|
+
:authorization_type,
|
|
105
|
+
:payment_plan
|
|
99
106
|
end
|
|
100
107
|
end
|
|
101
108
|
end
|
data/lib/checkout_sdk/version.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.
|
|
4
|
+
version: 1.8.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Checkout
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-06-
|
|
11
|
+
date: 2026-06-23 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rake
|