wallee-ruby-sdk 7.0.0 → 8.0.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/Gemfile.lock +16 -16
- data/README.md +38 -1
- data/lib/wallee-ruby-sdk/api_client.rb +1 -1
- data/lib/wallee-ruby-sdk/models/charge_attempt_projection.rb +13 -4
- data/lib/wallee-ruby-sdk/models/express_checkout_session.rb +449 -0
- data/lib/wallee-ruby-sdk/models/express_checkout_session_create.rb +381 -0
- data/lib/wallee-ruby-sdk/models/express_checkout_session_create_response.rb +241 -0
- data/lib/wallee-ruby-sdk/models/express_checkout_session_process_request.rb +329 -0
- data/lib/wallee-ruby-sdk/models/express_checkout_session_process_response.rb +231 -0
- data/lib/wallee-ruby-sdk/models/express_checkout_session_state.rb +53 -0
- data/lib/wallee-ruby-sdk/models/express_checkout_shipping_option.rb +303 -0
- data/lib/wallee-ruby-sdk/models/express_checkout_wallet_type.rb +255 -0
- data/lib/wallee-ruby-sdk/models/fulfillment_state.rb +2 -1
- data/lib/wallee-ruby-sdk/models/merchant_application_submit_request_dto.rb +232 -0
- data/lib/wallee-ruby-sdk/models/merchant_application_submitted_dto.rb +273 -0
- data/lib/wallee-ruby-sdk/models/{payment_terminal_update.rb → payment_terminal_update_request.rb} +15 -41
- data/lib/wallee-ruby-sdk/models/subscription_partial_update_request.rb +250 -0
- data/lib/wallee-ruby-sdk/models/subscription_update_request.rb +45 -22
- data/lib/wallee-ruby-sdk/models/transaction_amounts.rb +257 -0
- data/lib/wallee-ruby-sdk/models/walleejoin_create_partnership_api_request_dto.rb +20 -1
- data/lib/wallee-ruby-sdk/service/express_checkout_session_service.rb +255 -0
- data/lib/wallee-ruby-sdk/service/merchant_applications_service.rb +151 -0
- data/lib/wallee-ruby-sdk/service/payment_terminals_service.rb +9 -9
- data/lib/wallee-ruby-sdk/service/subscriptions_service.rb +9 -9
- data/lib/wallee-ruby-sdk/version.rb +1 -1
- data/lib/wallee-ruby-sdk.rb +14 -1
- data/wallee-ruby-sdk.gemspec +3 -3
- metadata +962 -931
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c8ae49d2e9ab847dc84c38063a5f6704507ea24ea71f17f7fecbb5c9cc232e31
|
|
4
|
+
data.tar.gz: 1a5561833a56770a0cd74c059c0fea1497ed116cc1f8066262fe147a037b3b81
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2b2f31315fd61b8dd1eb153d26a5deeafeead59fbb1346155e8d3ad8e976c17ff066f32540145dc143e1f45486b41d654f984ddc721f7361f22264a290c1d83f
|
|
7
|
+
data.tar.gz: 04aebdedcacddfc4b69dcbe9933a689030e704bf959c5270c6a4fa2aca89d61e837537ef25b8b390c947de812cb26d003e830f6576a36395eac15fd82cdc79f5
|
data/Gemfile.lock
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
wallee-ruby-sdk (
|
|
5
|
-
concurrent-ruby (~> 1.3.
|
|
6
|
-
faraday (
|
|
4
|
+
wallee-ruby-sdk (8.0.0)
|
|
5
|
+
concurrent-ruby (~> 1.3.7)
|
|
6
|
+
faraday (>= 2.14.3, < 3.0)
|
|
7
7
|
faraday-multipart (~> 1.1.0)
|
|
8
|
-
jwt (~> 2.10.
|
|
8
|
+
jwt (~> 2.10.3)
|
|
9
9
|
marcel (~> 1.0.4)
|
|
10
10
|
|
|
11
11
|
GEM
|
|
@@ -18,17 +18,17 @@ GEM
|
|
|
18
18
|
coderay (1.1.3)
|
|
19
19
|
concurrent-ruby (1.3.8)
|
|
20
20
|
date (3.6.0)
|
|
21
|
-
faraday (2.
|
|
22
|
-
faraday-net_http (>= 2.0, < 3.
|
|
21
|
+
faraday (2.15.1)
|
|
22
|
+
faraday-net_http (>= 2.0, < 3.6)
|
|
23
23
|
json
|
|
24
24
|
logger
|
|
25
25
|
faraday-multipart (1.1.1)
|
|
26
26
|
multipart-post (~> 2.0)
|
|
27
|
-
faraday-net_http (3.
|
|
27
|
+
faraday-net_http (3.5.0)
|
|
28
28
|
net-http (~> 0.5)
|
|
29
29
|
io-console (0.9.5)
|
|
30
30
|
jaro_winkler (1.5.6)
|
|
31
|
-
json (3.
|
|
31
|
+
json (3.2.0)
|
|
32
32
|
jwt (2.10.3)
|
|
33
33
|
base64
|
|
34
34
|
logger (1.7.0)
|
|
@@ -41,7 +41,7 @@ GEM
|
|
|
41
41
|
net-protocol (0.4.0)
|
|
42
42
|
timeout
|
|
43
43
|
parallel (1.28.0)
|
|
44
|
-
parser (3.3.
|
|
44
|
+
parser (3.3.14.0)
|
|
45
45
|
ast (~> 2.4.1)
|
|
46
46
|
racc
|
|
47
47
|
power_assert (3.1.0)
|
|
@@ -90,17 +90,17 @@ DEPENDENCIES
|
|
|
90
90
|
CHECKSUMS
|
|
91
91
|
ast (2.4.3) sha256=954615157c1d6a382bc27d690d973195e79db7f55e9765ac7c481c60bdb4d383
|
|
92
92
|
base64 (0.3.0) sha256=27337aeabad6ffae05c265c450490628ef3ebd4b67be58257393227588f5a97b
|
|
93
|
-
bundler (4.
|
|
93
|
+
bundler (4.1.1) sha256=7a76aebebc2e476cbc1e11314200d7fe83c7398d6930f1d048e4d3dd2d0e93e3
|
|
94
94
|
byebug (13.0.0) sha256=d2263efe751941ca520fa29744b71972d39cbc41839496706f5d9b22e92ae05d
|
|
95
95
|
coderay (1.1.3) sha256=dc530018a4684512f8f38143cd2a096c9f02a1fc2459edcfe534787a7fc77d4b
|
|
96
96
|
concurrent-ruby (1.3.8) sha256=b2f1be836e968ccc78ccfce277ea79c72a88633f22306782c16ff23fb415d1e1
|
|
97
97
|
date (3.6.0) sha256=18ac945c4e24ebd93534f8eab8c2fd8c5604b3e977105b3798d62a1e8d27b580
|
|
98
|
-
faraday (2.
|
|
98
|
+
faraday (2.15.1) sha256=8708154deda739c5e86cc42b74960e23e8491fce0eba9e11639a6a34b1ac288f
|
|
99
99
|
faraday-multipart (1.1.1) sha256=77a18ff40149030fd1aef55bb4fc7a67ce46419a8a3fcd010e28c2526e8d8903
|
|
100
|
-
faraday-net_http (3.
|
|
100
|
+
faraday-net_http (3.5.0) sha256=2e7094c34e38754ee048cc3df47376f8657005d9375f8473bce1c3b526a22e36
|
|
101
101
|
io-console (0.9.5) sha256=83dd9bbf4c4680416629245b39cd4212eb5f4d9a4ea91804870c1f6b846414d5
|
|
102
102
|
jaro_winkler (1.5.6) sha256=007db7805527ada1cc12f2547676181d63b0a504ec4dd7a9a2eb2424521ccd81
|
|
103
|
-
json (3.
|
|
103
|
+
json (3.2.0) sha256=4a4e222a9ee6ffb296ab3171b6b39d85fec83afc4e7b57eee17edf68c74aec87
|
|
104
104
|
jwt (2.10.3) sha256=e4d9352fbc7309b1a7448c7dd713dfe4d8c47077af80759cdbed8f878ea0b484
|
|
105
105
|
logger (1.7.0) sha256=196edec7cc44b66cfb40f9755ce11b392f21f7967696af15d274dde7edff0203
|
|
106
106
|
marcel (1.0.4) sha256=0d5649feb64b8f19f3d3468b96c680bae9746335d02194270287868a661516a4
|
|
@@ -109,7 +109,7 @@ CHECKSUMS
|
|
|
109
109
|
net-http (0.10.0) sha256=1a2ff6e37a05724973c43f2bf7bf105f59c36a4cd0a7e9b1c021a0a566987c27
|
|
110
110
|
net-protocol (0.4.0) sha256=f9f90c8c6f64794a45160bf422177a336db12809de3beeeaa26b88fcd2e8c853
|
|
111
111
|
parallel (1.28.0) sha256=33e6de1484baf2524792d178b0913fc8eb94c628d6cfe45599ad4458c638c970
|
|
112
|
-
parser (3.3.
|
|
112
|
+
parser (3.3.14.0) sha256=62f8f76af7b919425ee2d811880e9dcb8011ab40bfd59970dfb583141697e58f
|
|
113
113
|
power_assert (3.1.0) sha256=fefe98ed5d3140628138f3f9f9194d6ece01f1320e69700d3c928adca7518251
|
|
114
114
|
pry (0.16.1) sha256=d92d82c86e7f2dc34beec6d2892d5cf5ea517eea22eed3ceabb38ee62a98accc
|
|
115
115
|
pry-byebug (3.12.0) sha256=594e094ae8a8390a7ad4c7b36ae36e13304ed02664c67417d108dc5f7213d1b7
|
|
@@ -125,7 +125,7 @@ CHECKSUMS
|
|
|
125
125
|
timeout (0.6.1) sha256=78f57368a7e7bbadec56971f78a3f5ecbcfb59b7fcbb0a3ed6ddc08a5094accb
|
|
126
126
|
unicode-display_width (1.5.0) sha256=9890eebd24feb4cb0e0542c9b8c6beecb40cda27be8c7afe49312625b36156eb
|
|
127
127
|
uri (1.1.2) sha256=89292e98eabbef6248b0a0ed5e7e398e152f83f17560023a6d94a7f492b169fb
|
|
128
|
-
wallee-ruby-sdk (
|
|
128
|
+
wallee-ruby-sdk (8.0.0)
|
|
129
129
|
|
|
130
130
|
BUNDLED WITH
|
|
131
|
-
4.
|
|
131
|
+
4.1.1
|
data/README.md
CHANGED
|
@@ -743,6 +743,21 @@ Web API client: [*link*](https://app-wallee.com//api/client)<br>
|
|
|
743
743
|
<strong>GET</strong> /payment/dunning-flows/search
|
|
744
744
|
Search dunning flows
|
|
745
745
|
<br><br>
|
|
746
|
+
- <strong>ExpressCheckoutSessionService</strong><br>
|
|
747
|
+
* <code>get_express_checkout_session</code>
|
|
748
|
+
<strong>GET</strong> /express-checkout/session
|
|
749
|
+
Get Express Checkout Session details
|
|
750
|
+
<br><br>
|
|
751
|
+
- <strong>ExpressCheckoutSessionService</strong><br>
|
|
752
|
+
* <code>post_express_checkout_session_create</code>
|
|
753
|
+
<strong>POST</strong> /express-checkout/session/create
|
|
754
|
+
Create a new Express Checkout Session
|
|
755
|
+
<br><br>
|
|
756
|
+
- <strong>ExpressCheckoutSessionService</strong><br>
|
|
757
|
+
* <code>post_express_checkout_session_process</code>
|
|
758
|
+
<strong>POST</strong> /express-checkout/session/process
|
|
759
|
+
Process Express Checkout Session
|
|
760
|
+
<br><br>
|
|
746
761
|
- <strong>ExternalTransferBankTransactionsService</strong><br>
|
|
747
762
|
* <code>get_payment_bank_transactions_external_transfers</code>
|
|
748
763
|
<strong>GET</strong> /payment/bank-transactions/external-transfers
|
|
@@ -1058,6 +1073,11 @@ Web API client: [*link*](https://app-wallee.com//api/client)<br>
|
|
|
1058
1073
|
<strong>GET</strong> /members/space
|
|
1059
1074
|
List all members of the space
|
|
1060
1075
|
<br><br>
|
|
1076
|
+
- <strong>MerchantApplicationsService</strong><br>
|
|
1077
|
+
* <code>get_onboarding_merchant_applications_by_account</code>
|
|
1078
|
+
<strong>GET</strong> /onboarding/merchant-applications/by-account
|
|
1079
|
+
Retrieve a merchant application by account
|
|
1080
|
+
<br><br>
|
|
1061
1081
|
- <strong>MerchantApplicationsService</strong><br>
|
|
1062
1082
|
* <code>get_onboarding_merchant_applications_id_status</code>
|
|
1063
1083
|
<strong>GET</strong> /onboarding/merchant-applications/{id}/status
|
|
@@ -1078,6 +1098,11 @@ Web API client: [*link*](https://app-wallee.com//api/client)<br>
|
|
|
1078
1098
|
<strong>POST</strong> /onboarding/merchant-applications
|
|
1079
1099
|
Create a merchant application
|
|
1080
1100
|
<br><br>
|
|
1101
|
+
- <strong>MerchantApplicationsService</strong><br>
|
|
1102
|
+
* <code>post_onboarding_merchant_applications_id_submit</code>
|
|
1103
|
+
<strong>POST</strong> /onboarding/merchant-applications/{id}/submit
|
|
1104
|
+
Submit a merchant application and create an organization
|
|
1105
|
+
<br><br>
|
|
1081
1106
|
- <strong>OAuthClientsService</strong><br>
|
|
1082
1107
|
* <code>delete_oauth2_clients_client_id_secrets_id</code>
|
|
1083
1108
|
<strong>DELETE</strong> /oauth2/clients/{clientId}/secrets/{id}
|
|
@@ -3066,6 +3091,14 @@ Additional Api models documentation: [*link*](https://app-wallee.com/en-us/doc/a
|
|
|
3066
3091
|
* <strong>DunningFlowSearchResponse</strong>
|
|
3067
3092
|
* <strong>DunningFlowType</strong>
|
|
3068
3093
|
* <strong>Environment</strong>
|
|
3094
|
+
* <strong>ExpressCheckoutSession</strong>
|
|
3095
|
+
* <strong>ExpressCheckoutSessionCreate</strong>
|
|
3096
|
+
* <strong>ExpressCheckoutSessionCreateResponse</strong>
|
|
3097
|
+
* <strong>ExpressCheckoutSessionProcessRequest</strong>
|
|
3098
|
+
* <strong>ExpressCheckoutSessionProcessResponse</strong>
|
|
3099
|
+
* <strong>ExpressCheckoutSessionState</strong>
|
|
3100
|
+
* <strong>ExpressCheckoutShippingOption</strong>
|
|
3101
|
+
* <strong>ExpressCheckoutWalletType</strong>
|
|
3069
3102
|
* <strong>ExtendedRestOAuthClient</strong>
|
|
3070
3103
|
* <strong>ExternalTransferBankTransaction</strong>
|
|
3071
3104
|
* <strong>ExternalTransferBankTransactionListResponse</strong>
|
|
@@ -3141,6 +3174,8 @@ Additional Api models documentation: [*link*](https://app-wallee.com/en-us/doc/a
|
|
|
3141
3174
|
* <strong>MerchantApplicationDataDto</strong>
|
|
3142
3175
|
* <strong>MerchantApplicationState</strong>
|
|
3143
3176
|
* <strong>MerchantApplicationStatusDto</strong>
|
|
3177
|
+
* <strong>MerchantApplicationSubmitRequestDto</strong>
|
|
3178
|
+
* <strong>MerchantApplicationSubmittedDto</strong>
|
|
3144
3179
|
* <strong>MerchantBankDetailsDto</strong>
|
|
3145
3180
|
* <strong>MerchantCompanyDetailsDto</strong>
|
|
3146
3181
|
* <strong>MerchantContractRevenueDto</strong>
|
|
@@ -3257,7 +3292,7 @@ Additional Api models documentation: [*link*](https://app-wallee.com/en-us/doc/a
|
|
|
3257
3292
|
* <strong>PaymentTerminalTransactionSummary</strong>
|
|
3258
3293
|
* <strong>PaymentTerminalTransactionSummaryReference</strong>
|
|
3259
3294
|
* <strong>PaymentTerminalType</strong>
|
|
3260
|
-
* <strong>
|
|
3295
|
+
* <strong>PaymentTerminalUpdateRequest</strong>
|
|
3261
3296
|
* <strong>PayoutAccountInfo</strong>
|
|
3262
3297
|
* <strong>Permission</strong>
|
|
3263
3298
|
* <strong>PermissionListResponse</strong>
|
|
@@ -3415,6 +3450,7 @@ Additional Api models documentation: [*link*](https://app-wallee.com/en-us/doc/a
|
|
|
3415
3450
|
* <strong>SubscriptionMetricUpdate</strong>
|
|
3416
3451
|
* <strong>SubscriptionMetricUsageReport</strong>
|
|
3417
3452
|
* <strong>SubscriptionMetricUsageReportCreate</strong>
|
|
3453
|
+
* <strong>SubscriptionPartialUpdateRequest</strong>
|
|
3418
3454
|
* <strong>SubscriptionPending</strong>
|
|
3419
3455
|
* <strong>SubscriptionPeriodBill</strong>
|
|
3420
3456
|
* <strong>SubscriptionPeriodBillListResponse</strong>
|
|
@@ -3480,6 +3516,7 @@ Additional Api models documentation: [*link*](https://app-wallee.com/en-us/doc/a
|
|
|
3480
3516
|
* <strong>TokenizedCardRequest</strong>
|
|
3481
3517
|
* <strong>TrackingNumberRequest</strong>
|
|
3482
3518
|
* <strong>Transaction</strong>
|
|
3519
|
+
* <strong>TransactionAmounts</strong>
|
|
3483
3520
|
* <strong>TransactionClientPlatformInformation</strong>
|
|
3484
3521
|
* <strong>TransactionComment</strong>
|
|
3485
3522
|
* <strong>TransactionCommentActive</strong>
|
|
@@ -118,7 +118,7 @@ module WalleeRubySdk
|
|
|
118
118
|
http_method = http_method.to_sym.downcase
|
|
119
119
|
|
|
120
120
|
default_headers = {
|
|
121
|
-
'x-meta-sdk-version': "
|
|
121
|
+
'x-meta-sdk-version': "8.0.0",
|
|
122
122
|
'x-meta-sdk-language': "ruby",
|
|
123
123
|
'x-meta-sdk-provider': "wallee",
|
|
124
124
|
'x-meta-sdk-language-version': RUBY_VERSION
|
|
@@ -101,6 +101,8 @@ module WalleeRubySdk
|
|
|
101
101
|
# The date and time when the charge attempt failed.
|
|
102
102
|
attr_accessor :failed_on
|
|
103
103
|
|
|
104
|
+
attr_accessor :transaction_amounts
|
|
105
|
+
|
|
104
106
|
class EnumAttributeValidator
|
|
105
107
|
attr_reader :datatype
|
|
106
108
|
attr_reader :allowable_values
|
|
@@ -154,7 +156,8 @@ module WalleeRubySdk
|
|
|
154
156
|
:'next_update_on' => :'nextUpdateOn',
|
|
155
157
|
:'failure_reason' => :'failureReason',
|
|
156
158
|
:'customers_presence' => :'customersPresence',
|
|
157
|
-
:'failed_on' => :'failedOn'
|
|
159
|
+
:'failed_on' => :'failedOn',
|
|
160
|
+
:'transaction_amounts' => :'transactionAmounts'
|
|
158
161
|
}
|
|
159
162
|
end
|
|
160
163
|
|
|
@@ -199,7 +202,8 @@ module WalleeRubySdk
|
|
|
199
202
|
:'next_update_on' => :'Time',
|
|
200
203
|
:'failure_reason' => :'FailureReason',
|
|
201
204
|
:'customers_presence' => :'CustomersPresence',
|
|
202
|
-
:'failed_on' => :'Time'
|
|
205
|
+
:'failed_on' => :'Time',
|
|
206
|
+
:'transaction_amounts' => :'TransactionAmounts'
|
|
203
207
|
}
|
|
204
208
|
end
|
|
205
209
|
|
|
@@ -349,6 +353,10 @@ module WalleeRubySdk
|
|
|
349
353
|
if attributes.key?(:'failed_on')
|
|
350
354
|
self.failed_on = attributes[:'failed_on']
|
|
351
355
|
end
|
|
356
|
+
|
|
357
|
+
if attributes.key?(:'transaction_amounts')
|
|
358
|
+
self.transaction_amounts = attributes[:'transaction_amounts']
|
|
359
|
+
end
|
|
352
360
|
end
|
|
353
361
|
|
|
354
362
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -428,7 +436,8 @@ module WalleeRubySdk
|
|
|
428
436
|
next_update_on == o.next_update_on &&
|
|
429
437
|
failure_reason == o.failure_reason &&
|
|
430
438
|
customers_presence == o.customers_presence &&
|
|
431
|
-
failed_on == o.failed_on
|
|
439
|
+
failed_on == o.failed_on &&
|
|
440
|
+
transaction_amounts == o.transaction_amounts
|
|
432
441
|
end
|
|
433
442
|
|
|
434
443
|
# @see the `==` method
|
|
@@ -440,7 +449,7 @@ module WalleeRubySdk
|
|
|
440
449
|
# Calculates hash code according to all attributes.
|
|
441
450
|
# @return [Integer] Hash code
|
|
442
451
|
def hash
|
|
443
|
-
[language, sales_channel, created_on, initializing_token_version, token_version, succeeded_on, id, state, linked_transaction, redirection_url, charge, wallet, planned_purge_date, time_zone, space_view_id, terminal, user_failure_message, completion_behavior, version, labels, linked_space_id, timeout_on, environment, invocation, connector_configuration, next_update_on, failure_reason, customers_presence, failed_on].hash
|
|
452
|
+
[language, sales_channel, created_on, initializing_token_version, token_version, succeeded_on, id, state, linked_transaction, redirection_url, charge, wallet, planned_purge_date, time_zone, space_view_id, terminal, user_failure_message, completion_behavior, version, labels, linked_space_id, timeout_on, environment, invocation, connector_configuration, next_update_on, failure_reason, customers_presence, failed_on, transaction_amounts].hash
|
|
444
453
|
end
|
|
445
454
|
|
|
446
455
|
# Builds the object from hash
|