checkout_sdk 1.1.6 → 1.1.7
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/accounts/company_verification.rb +14 -0
- data/lib/checkout_sdk/accounts/company_verification_type.rb +10 -0
- data/lib/checkout_sdk/accounts/entity_financial_details.rb +4 -1
- data/lib/checkout_sdk/accounts/individual.rb +4 -1
- data/lib/checkout_sdk/accounts/onboard_entity.rb +4 -1
- data/lib/checkout_sdk/accounts/onboard_sub_entity_documents.rb +17 -0
- data/lib/checkout_sdk/accounts/representative.rb +4 -1
- data/lib/checkout_sdk/accounts/tax_verification.rb +14 -0
- data/lib/checkout_sdk/accounts/tax_verification_type.rb +9 -0
- data/lib/checkout_sdk/disputes/disputes_client.rb +6 -0
- data/lib/checkout_sdk/payments/hosted/hosted_payments_session.rb +3 -0
- data/lib/checkout_sdk/sessions/completion/non_hosted_completion_info.rb +4 -1
- data/lib/checkout_sdk/version.rb +1 -1
- metadata +7 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b2a7e1557158e8381bfbf318e1cfef80519f8df0889b98e28b8a33ea220873a5
|
4
|
+
data.tar.gz: 93f1dbae3763bca6872f065d077e3ff113c9dec6e67f39071b5c8cbf05cfc037
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1e7a17d7f19728b444b4b02689f178aa0fa3a6e66d07d6462f39f9766dae5da3aea839ed7c7ad0a571c87043fd42d69361a2a9afbfae4bdca4c68bfe81535af7
|
7
|
+
data.tar.gz: c5d72ac85ba9b18281912ffc445a116dc1435237526b8a2b8afe7a2d9283f8ec90d96bdf6316a6e24ccb5b8654614ae3dc127924da48632e22f73830291f7b59
|
@@ -0,0 +1,14 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module CheckoutSdk
|
4
|
+
module Accounts
|
5
|
+
# @!attribute type
|
6
|
+
# @return [String] {CompanyVerificationType}
|
7
|
+
# @!attribute front
|
8
|
+
# @return [String]
|
9
|
+
class CompanyVerification
|
10
|
+
attr_accessor :type,
|
11
|
+
:front
|
12
|
+
end
|
13
|
+
end
|
14
|
+
end
|
@@ -10,11 +10,14 @@ module CheckoutSdk
|
|
10
10
|
# @return [Integer]
|
11
11
|
# @!attribute documents
|
12
12
|
# @return [EntityFinancialDocuments]
|
13
|
+
# @!attribute currency
|
14
|
+
# @return [String] {CheckoutSdk::Common::Currency}
|
13
15
|
class EntityFinancialDetails
|
14
16
|
attr_accessor :annual_processing_volume,
|
15
17
|
:average_transaction_value,
|
16
18
|
:highest_transaction_value,
|
17
|
-
:documents
|
19
|
+
:documents,
|
20
|
+
:currency
|
18
21
|
end
|
19
22
|
end
|
20
23
|
end
|
@@ -22,6 +22,8 @@ module CheckoutSdk
|
|
22
22
|
# @return [PlaceOfBirth]
|
23
23
|
# @!attribute identification
|
24
24
|
# @return [Identification]
|
25
|
+
# @!attribute financial_details
|
26
|
+
# @return [EntityFinancialDetails]
|
25
27
|
class Individual
|
26
28
|
attr_accessor :first_name,
|
27
29
|
:middle_name,
|
@@ -32,7 +34,8 @@ module CheckoutSdk
|
|
32
34
|
:registered_address,
|
33
35
|
:date_of_birth,
|
34
36
|
:place_of_birth,
|
35
|
-
:identification
|
37
|
+
:identification,
|
38
|
+
:financial_details
|
36
39
|
end
|
37
40
|
end
|
38
41
|
end
|
@@ -12,12 +12,15 @@ module CheckoutSdk
|
|
12
12
|
# @return [Company]
|
13
13
|
# @!attribute individual
|
14
14
|
# @return [Individual]
|
15
|
+
# @!attribute documents
|
16
|
+
# @return [OnboardSubEntityDocuments]
|
15
17
|
class OnboardEntity
|
16
18
|
attr_accessor :reference,
|
17
19
|
:contact_details,
|
18
20
|
:profile,
|
19
21
|
:company,
|
20
|
-
:individual
|
22
|
+
:individual,
|
23
|
+
:documents
|
21
24
|
end
|
22
25
|
end
|
23
26
|
end
|
@@ -0,0 +1,17 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module CheckoutSdk
|
4
|
+
module Accounts
|
5
|
+
# @!attribute documents
|
6
|
+
# @return [Document]
|
7
|
+
# @!attribute company_verification
|
8
|
+
# @return [CompanyVerification]
|
9
|
+
# @!attribute tax_verification
|
10
|
+
# @return [TaxVerification]
|
11
|
+
class OnboardSubEntityDocuments
|
12
|
+
attr_accessor :documents,
|
13
|
+
:company_verification,
|
14
|
+
:tax_verification
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
@@ -20,6 +20,8 @@ module CheckoutSdk
|
|
20
20
|
# @return [PlaceOfBirth]
|
21
21
|
# @!attribute roles
|
22
22
|
# @return [Array(String)]
|
23
|
+
# @!attribute documents
|
24
|
+
# @return [OnboardSubEntityDocuments]
|
23
25
|
class Representative
|
24
26
|
attr_accessor :id,
|
25
27
|
:first_name,
|
@@ -29,7 +31,8 @@ module CheckoutSdk
|
|
29
31
|
:phone,
|
30
32
|
:date_of_birth,
|
31
33
|
:place_of_birth,
|
32
|
-
:roles
|
34
|
+
:roles,
|
35
|
+
:documents
|
33
36
|
end
|
34
37
|
end
|
35
38
|
end
|
@@ -0,0 +1,14 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module CheckoutSdk
|
4
|
+
module Accounts
|
5
|
+
# @!attribute type
|
6
|
+
# @return [String] {TaxVerificationType}
|
7
|
+
# @!attribute front
|
8
|
+
# @return [String]
|
9
|
+
class TaxVerification
|
10
|
+
attr_accessor :type,
|
11
|
+
:front
|
12
|
+
end
|
13
|
+
end
|
14
|
+
end
|
@@ -7,6 +7,7 @@ module CheckoutSdk
|
|
7
7
|
FILES = 'files'
|
8
8
|
ACCEPT = 'accept'
|
9
9
|
EVIDENCE = 'evidence'
|
10
|
+
SUBMITTED = 'submitted'
|
10
11
|
SCHEME_FILES = 'schemefiles'
|
11
12
|
private_constant :DISPUTES, :FILES, :ACCEPT, :EVIDENCE, :SCHEME_FILES
|
12
13
|
|
@@ -47,6 +48,11 @@ module CheckoutSdk
|
|
47
48
|
api_client.invoke_post(build_path(DISPUTES, dispute_id, EVIDENCE), sdk_authorization)
|
48
49
|
end
|
49
50
|
|
51
|
+
# @param [String] dispute_id
|
52
|
+
def get_compiled_submitted_evidence(dispute_id)
|
53
|
+
api_client.invoke_get(build_path(DISPUTES, dispute_id, EVIDENCE, SUBMITTED), sdk_authorization)
|
54
|
+
end
|
55
|
+
|
50
56
|
# @param [String] dispute_id
|
51
57
|
def get_dispute_scheme_files(dispute_id)
|
52
58
|
api_client.invoke_get(build_path(DISPUTES, dispute_id, SCHEME_FILES), sdk_authorization)
|
@@ -28,6 +28,8 @@ module CheckoutSdk
|
|
28
28
|
# @return [ProcessingSettings]
|
29
29
|
# @!attribute allow_payment_methods
|
30
30
|
# @return [Array(CheckoutSdk::Common::PaymentSourceType)]
|
31
|
+
# @!attribute disabled_payment_methods
|
32
|
+
# @return [Array(CheckoutSdk::Common::PaymentSourceType)]
|
31
33
|
# @!attribute products
|
32
34
|
# @return [Array(CheckoutSdk::Common::Product)]
|
33
35
|
# @!attribute risk
|
@@ -66,6 +68,7 @@ module CheckoutSdk
|
|
66
68
|
:recipient,
|
67
69
|
:processing,
|
68
70
|
:allow_payment_methods,
|
71
|
+
:disabled_payment_methods,
|
69
72
|
:products,
|
70
73
|
:risk,
|
71
74
|
:success_url,
|
@@ -4,8 +4,11 @@ module CheckoutSdk
|
|
4
4
|
module Sessions
|
5
5
|
# @!attribute callback_url
|
6
6
|
# @return [String]
|
7
|
+
# @!attribute challenge_notification_url
|
8
|
+
# # @return [String]
|
7
9
|
class NonHostedCompletionInfo < CompletionInfo
|
8
|
-
attr_accessor :callback_url
|
10
|
+
attr_accessor :callback_url,
|
11
|
+
:challenge_notification_url
|
9
12
|
|
10
13
|
def initialize
|
11
14
|
super CompletionInfoType::NON_HOSTED
|
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.1.
|
4
|
+
version: 1.1.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Checkout
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-03-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
@@ -131,6 +131,8 @@ files:
|
|
131
131
|
- lib/checkout_sdk/accounts/accounts_client.rb
|
132
132
|
- lib/checkout_sdk/accounts/business_type.rb
|
133
133
|
- lib/checkout_sdk/accounts/company.rb
|
134
|
+
- lib/checkout_sdk/accounts/company_verification.rb
|
135
|
+
- lib/checkout_sdk/accounts/company_verification_type.rb
|
134
136
|
- lib/checkout_sdk/accounts/contact_details.rb
|
135
137
|
- lib/checkout_sdk/accounts/date_of_birth.rb
|
136
138
|
- lib/checkout_sdk/accounts/document.rb
|
@@ -149,6 +151,7 @@ files:
|
|
149
151
|
- lib/checkout_sdk/accounts/instrument_details_sepa.rb
|
150
152
|
- lib/checkout_sdk/accounts/instrument_document.rb
|
151
153
|
- lib/checkout_sdk/accounts/onboard_entity.rb
|
154
|
+
- lib/checkout_sdk/accounts/onboard_sub_entity_documents.rb
|
152
155
|
- lib/checkout_sdk/accounts/payment_instrument.rb
|
153
156
|
- lib/checkout_sdk/accounts/payment_instrument_request.rb
|
154
157
|
- lib/checkout_sdk/accounts/payment_instruments_query.rb
|
@@ -161,6 +164,8 @@ files:
|
|
161
164
|
- lib/checkout_sdk/accounts/schedule_frequency_type.rb
|
162
165
|
- lib/checkout_sdk/accounts/schedule_frequency_weekly.rb
|
163
166
|
- lib/checkout_sdk/accounts/schedule_request.rb
|
167
|
+
- lib/checkout_sdk/accounts/tax_verification.rb
|
168
|
+
- lib/checkout_sdk/accounts/tax_verification_type.rb
|
164
169
|
- lib/checkout_sdk/accounts/update_payment_instrument_request.rb
|
165
170
|
- lib/checkout_sdk/accounts/update_schedule.rb
|
166
171
|
- lib/checkout_sdk/api_client.rb
|