checkout_sdk 1.2.1 → 1.2.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (83) hide show
  1. checksums.yaml +4 -4
  2. data/lib/checkout_sdk/accounts/accounts.rb +21 -0
  3. data/lib/checkout_sdk/accounts/additional_document.rb +11 -0
  4. data/lib/checkout_sdk/accounts/additional_info.rb +17 -0
  5. data/lib/checkout_sdk/accounts/articles_of_association_type.rb +10 -0
  6. data/lib/checkout_sdk/accounts/bank_verification.rb +14 -0
  7. data/lib/checkout_sdk/accounts/bank_verification_type.rb +9 -0
  8. data/lib/checkout_sdk/accounts/company.rb +7 -1
  9. data/lib/checkout_sdk/accounts/contact_details.rb +4 -1
  10. data/lib/checkout_sdk/accounts/date_of_incorporation.rb +14 -0
  11. data/lib/checkout_sdk/accounts/financial_verification.rb +14 -0
  12. data/lib/checkout_sdk/accounts/financial_verification_type.rb +9 -0
  13. data/lib/checkout_sdk/accounts/invitee.rb +11 -0
  14. data/lib/checkout_sdk/accounts/onboard_entity.rb +13 -4
  15. data/lib/checkout_sdk/accounts/onboard_sub_entity_documents.rb +31 -4
  16. data/lib/checkout_sdk/accounts/processing_details.rb +26 -0
  17. data/lib/checkout_sdk/accounts/proof_of_legality.rb +14 -0
  18. data/lib/checkout_sdk/accounts/proof_of_legality_type.rb +9 -0
  19. data/lib/checkout_sdk/accounts/proof_of_principal_address.rb +14 -0
  20. data/lib/checkout_sdk/accounts/proof_of_principal_address_type.rb +9 -0
  21. data/lib/checkout_sdk/accounts/shareholder_structure.rb +14 -0
  22. data/lib/checkout_sdk/accounts/shareholder_structure_type.rb +9 -0
  23. data/lib/checkout_sdk/api_client.rb +59 -50
  24. data/lib/checkout_sdk/client.rb +2 -3
  25. data/lib/checkout_sdk/common/account_change_indicator_type.rb +12 -0
  26. data/lib/checkout_sdk/common/account_holder.rb +7 -4
  27. data/lib/checkout_sdk/common/account_password_change_indicator_type.rb +13 -0
  28. data/lib/checkout_sdk/common/account_type_card_product_type.rb +11 -0
  29. data/lib/checkout_sdk/common/cardholder_account_age_indicator_type.rb +13 -0
  30. data/lib/checkout_sdk/common/common.rb +6 -0
  31. data/lib/checkout_sdk/common/customer_retry.rb +11 -0
  32. data/lib/checkout_sdk/common/destination.rb +38 -0
  33. data/lib/checkout_sdk/common/payment_source_type.rb +5 -0
  34. data/lib/checkout_sdk/error.rb +24 -8
  35. data/lib/checkout_sdk/payments/exemption.rb +2 -0
  36. data/lib/checkout_sdk/payments/hosted/hosted_payments_session.rb +18 -4
  37. data/lib/checkout_sdk/payments/links/payment_link.rb +18 -0
  38. data/lib/checkout_sdk/payments/partial_authorization.rb +11 -0
  39. data/lib/checkout_sdk/payments/payment_method_details.rb +17 -0
  40. data/lib/checkout_sdk/payments/payment_request.rb +3 -0
  41. data/lib/checkout_sdk/payments/payments.rb +6 -1
  42. data/lib/checkout_sdk/payments/previous/source/apm/knet_source.rb +10 -1
  43. data/lib/checkout_sdk/payments/sender/government_sender.rb +3 -0
  44. data/lib/checkout_sdk/payments/sender/individual_sender.rb +3 -0
  45. data/lib/checkout_sdk/payments/sessions/payment_sessions_request.rb +3 -0
  46. data/lib/checkout_sdk/payments/source/apm/ach_source.rb +27 -0
  47. data/lib/checkout_sdk/payments/source/apm/bizum_source.rb +15 -0
  48. data/lib/checkout_sdk/payments/source/apm/knet_source.rb +10 -1
  49. data/lib/checkout_sdk/payments/source/apm/octopus_source.rb +11 -0
  50. data/lib/checkout_sdk/payments/source/apm/plaid_source.rb +17 -0
  51. data/lib/checkout_sdk/payments/source/apm/sequra_source.rb +15 -0
  52. data/lib/checkout_sdk/payments/source/card_source.rb +4 -1
  53. data/lib/checkout_sdk/payments/source/customer_source.rb +4 -1
  54. data/lib/checkout_sdk/payments/source/id_source.rb +4 -1
  55. data/lib/checkout_sdk/payments/source/network_token_source.rb +4 -1
  56. data/lib/checkout_sdk/payments/source/token_source.rb +4 -1
  57. data/lib/checkout_sdk/sessions/authentication_method.rb +3 -3
  58. data/lib/checkout_sdk/sessions/authentication_type.rb +3 -3
  59. data/lib/checkout_sdk/sessions/card_holder_account_info.rb +39 -3
  60. data/lib/checkout_sdk/sessions/channel/browser_session.rb +4 -1
  61. data/lib/checkout_sdk/sessions/channel/channel_data_type.rb +1 -0
  62. data/lib/checkout_sdk/sessions/channel/merchant_initiated_session.rb +15 -0
  63. data/lib/checkout_sdk/sessions/channel/request_type.rb +19 -0
  64. data/lib/checkout_sdk/sessions/channel/sdk_interface_type.rb +2 -2
  65. data/lib/checkout_sdk/sessions/initial_transaction.rb +23 -0
  66. data/lib/checkout_sdk/sessions/installment.rb +5 -0
  67. data/lib/checkout_sdk/sessions/merchant_risk_info.rb +20 -2
  68. data/lib/checkout_sdk/sessions/optimization.rb +19 -0
  69. data/lib/checkout_sdk/sessions/optimized_properties.rb +17 -0
  70. data/lib/checkout_sdk/sessions/pre_order_purchase_indicator_type.rb +10 -0
  71. data/lib/checkout_sdk/sessions/recurring.rb +5 -0
  72. data/lib/checkout_sdk/sessions/reorder_items_indicator_type.rb +10 -0
  73. data/lib/checkout_sdk/sessions/session_request.rb +25 -2
  74. data/lib/checkout_sdk/sessions/sessions.rb +9 -0
  75. data/lib/checkout_sdk/sessions/source/card_source.rb +2 -1
  76. data/lib/checkout_sdk/sessions/three_ds_method_completion_request.rb +3 -1
  77. data/lib/checkout_sdk/sessions/three_ds_req_auth_method.rb +16 -0
  78. data/lib/checkout_sdk/sessions/three_ds_requestor_authentication_info.rb +17 -0
  79. data/lib/checkout_sdk/sessions/transaction_type.rb +3 -3
  80. data/lib/checkout_sdk/version.rb +1 -1
  81. data/lib/checkout_sdk/workflows/patch_workflow.rb +7 -1
  82. data/lib/checkout_sdk/workflows/workflows_client.rb +8 -1
  83. metadata +40 -2
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.2.1
4
+ version: 1.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Checkout
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-09-03 00:00:00.000000000 Z
11
+ date: 2024-11-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -129,12 +129,18 @@ files:
129
129
  - lib/checkout_sdk/accounts/account_holder.rb
130
130
  - lib/checkout_sdk/accounts/accounts.rb
131
131
  - lib/checkout_sdk/accounts/accounts_client.rb
132
+ - lib/checkout_sdk/accounts/additional_document.rb
133
+ - lib/checkout_sdk/accounts/additional_info.rb
134
+ - lib/checkout_sdk/accounts/articles_of_association_type.rb
135
+ - lib/checkout_sdk/accounts/bank_verification.rb
136
+ - lib/checkout_sdk/accounts/bank_verification_type.rb
132
137
  - lib/checkout_sdk/accounts/business_type.rb
133
138
  - lib/checkout_sdk/accounts/company.rb
134
139
  - lib/checkout_sdk/accounts/company_verification.rb
135
140
  - lib/checkout_sdk/accounts/company_verification_type.rb
136
141
  - lib/checkout_sdk/accounts/contact_details.rb
137
142
  - lib/checkout_sdk/accounts/date_of_birth.rb
143
+ - lib/checkout_sdk/accounts/date_of_incorporation.rb
138
144
  - lib/checkout_sdk/accounts/document.rb
139
145
  - lib/checkout_sdk/accounts/document_type.rb
140
146
  - lib/checkout_sdk/accounts/entity_document.rb
@@ -142,6 +148,8 @@ files:
142
148
  - lib/checkout_sdk/accounts/entity_financial_details.rb
143
149
  - lib/checkout_sdk/accounts/entity_financial_documents.rb
144
150
  - lib/checkout_sdk/accounts/file_request.rb
151
+ - lib/checkout_sdk/accounts/financial_verification.rb
152
+ - lib/checkout_sdk/accounts/financial_verification_type.rb
145
153
  - lib/checkout_sdk/accounts/headers.rb
146
154
  - lib/checkout_sdk/accounts/identification.rb
147
155
  - lib/checkout_sdk/accounts/individual.rb
@@ -150,6 +158,7 @@ files:
150
158
  - lib/checkout_sdk/accounts/instrument_details_faster_payments.rb
151
159
  - lib/checkout_sdk/accounts/instrument_details_sepa.rb
152
160
  - lib/checkout_sdk/accounts/instrument_document.rb
161
+ - lib/checkout_sdk/accounts/invitee.rb
153
162
  - lib/checkout_sdk/accounts/onboard_entity.rb
154
163
  - lib/checkout_sdk/accounts/onboard_sub_entity_documents.rb
155
164
  - lib/checkout_sdk/accounts/payment_instrument.rb
@@ -157,13 +166,20 @@ files:
157
166
  - lib/checkout_sdk/accounts/payment_instruments_query.rb
158
167
  - lib/checkout_sdk/accounts/phone.rb
159
168
  - lib/checkout_sdk/accounts/place_of_birth.rb
169
+ - lib/checkout_sdk/accounts/processing_details.rb
160
170
  - lib/checkout_sdk/accounts/profile.rb
171
+ - lib/checkout_sdk/accounts/proof_of_legality.rb
172
+ - lib/checkout_sdk/accounts/proof_of_legality_type.rb
173
+ - lib/checkout_sdk/accounts/proof_of_principal_address.rb
174
+ - lib/checkout_sdk/accounts/proof_of_principal_address_type.rb
161
175
  - lib/checkout_sdk/accounts/representative.rb
162
176
  - lib/checkout_sdk/accounts/schedule_frequency_daily.rb
163
177
  - lib/checkout_sdk/accounts/schedule_frequency_monthly.rb
164
178
  - lib/checkout_sdk/accounts/schedule_frequency_type.rb
165
179
  - lib/checkout_sdk/accounts/schedule_frequency_weekly.rb
166
180
  - lib/checkout_sdk/accounts/schedule_request.rb
181
+ - lib/checkout_sdk/accounts/shareholder_structure.rb
182
+ - lib/checkout_sdk/accounts/shareholder_structure_type.rb
167
183
  - lib/checkout_sdk/accounts/tax_verification.rb
168
184
  - lib/checkout_sdk/accounts/tax_verification_type.rb
169
185
  - lib/checkout_sdk/accounts/update_payment_instrument_request.rb
@@ -187,21 +203,27 @@ files:
187
203
  - lib/checkout_sdk/checkout_static_keys_sdk_builder.rb
188
204
  - lib/checkout_sdk/checkout_utils.rb
189
205
  - lib/checkout_sdk/client.rb
206
+ - lib/checkout_sdk/common/account_change_indicator_type.rb
190
207
  - lib/checkout_sdk/common/account_holder.rb
191
208
  - lib/checkout_sdk/common/account_holder_identification.rb
192
209
  - lib/checkout_sdk/common/account_holder_identification_type.rb
193
210
  - lib/checkout_sdk/common/account_holder_type.rb
211
+ - lib/checkout_sdk/common/account_password_change_indicator_type.rb
194
212
  - lib/checkout_sdk/common/account_type.rb
213
+ - lib/checkout_sdk/common/account_type_card_product_type.rb
195
214
  - lib/checkout_sdk/common/address.rb
196
215
  - lib/checkout_sdk/common/amount_allocations.rb
197
216
  - lib/checkout_sdk/common/bank_details.rb
217
+ - lib/checkout_sdk/common/cardholder_account_age_indicator_type.rb
198
218
  - lib/checkout_sdk/common/challenge_indicator.rb
199
219
  - lib/checkout_sdk/common/commission.rb
200
220
  - lib/checkout_sdk/common/common.rb
201
221
  - lib/checkout_sdk/common/country.rb
202
222
  - lib/checkout_sdk/common/currency.rb
203
223
  - lib/checkout_sdk/common/customer_request.rb
224
+ - lib/checkout_sdk/common/customer_retry.rb
204
225
  - lib/checkout_sdk/common/date_range_query_filter.rb
226
+ - lib/checkout_sdk/common/destination.rb
205
227
  - lib/checkout_sdk/common/file_purpose.rb
206
228
  - lib/checkout_sdk/common/file_request.rb
207
229
  - lib/checkout_sdk/common/instrument_type.rb
@@ -297,10 +319,12 @@ files:
297
319
  - lib/checkout_sdk/payments/merchant_initiated_reason.rb
298
320
  - lib/checkout_sdk/payments/network_token_type.rb
299
321
  - lib/checkout_sdk/payments/os_type.rb
322
+ - lib/checkout_sdk/payments/partial_authorization.rb
300
323
  - lib/checkout_sdk/payments/passenger.rb
301
324
  - lib/checkout_sdk/payments/passenger_name.rb
302
325
  - lib/checkout_sdk/payments/payer.rb
303
326
  - lib/checkout_sdk/payments/payment_instruction.rb
327
+ - lib/checkout_sdk/payments/payment_method_details.rb
304
328
  - lib/checkout_sdk/payments/payment_recipient.rb
305
329
  - lib/checkout_sdk/payments/payment_request.rb
306
330
  - lib/checkout_sdk/payments/payment_retry_request.rb
@@ -372,11 +396,13 @@ files:
372
396
  - lib/checkout_sdk/payments/sessions/store_payment_details_type.rb
373
397
  - lib/checkout_sdk/payments/shipping_details.rb
374
398
  - lib/checkout_sdk/payments/shipping_preference.rb
399
+ - lib/checkout_sdk/payments/source/apm/ach_source.rb
375
400
  - lib/checkout_sdk/payments/source/apm/after_pay_source.rb
376
401
  - lib/checkout_sdk/payments/source/apm/alipay_plus_source.rb
377
402
  - lib/checkout_sdk/payments/source/apm/alma_source.rb
378
403
  - lib/checkout_sdk/payments/source/apm/bancontact_source.rb
379
404
  - lib/checkout_sdk/payments/source/apm/benefit_source.rb
405
+ - lib/checkout_sdk/payments/source/apm/bizum_source.rb
380
406
  - lib/checkout_sdk/payments/source/apm/cv_connect_source.rb
381
407
  - lib/checkout_sdk/payments/source/apm/eps_source.rb
382
408
  - lib/checkout_sdk/payments/source/apm/fawry_product.rb
@@ -388,11 +414,14 @@ files:
388
414
  - lib/checkout_sdk/payments/source/apm/knet_source.rb
389
415
  - lib/checkout_sdk/payments/source/apm/mbway_source.rb
390
416
  - lib/checkout_sdk/payments/source/apm/multi_banco_source.rb
417
+ - lib/checkout_sdk/payments/source/apm/octopus_source.rb
391
418
  - lib/checkout_sdk/payments/source/apm/p24_source.rb
392
419
  - lib/checkout_sdk/payments/source/apm/paypal_source.rb
420
+ - lib/checkout_sdk/payments/source/apm/plaid_source.rb
393
421
  - lib/checkout_sdk/payments/source/apm/post_finance_source.rb
394
422
  - lib/checkout_sdk/payments/source/apm/qpay_source.rb
395
423
  - lib/checkout_sdk/payments/source/apm/sepa_source.rb
424
+ - lib/checkout_sdk/payments/source/apm/sequra_source.rb
396
425
  - lib/checkout_sdk/payments/source/apm/sofort_source.rb
397
426
  - lib/checkout_sdk/payments/source/apm/stcpay_source.rb
398
427
  - lib/checkout_sdk/payments/source/apm/tamara_source.rb
@@ -451,6 +480,8 @@ files:
451
480
  - lib/checkout_sdk/sessions/channel/browser_session.rb
452
481
  - lib/checkout_sdk/sessions/channel/channel_data.rb
453
482
  - lib/checkout_sdk/sessions/channel/channel_data_type.rb
483
+ - lib/checkout_sdk/sessions/channel/merchant_initiated_session.rb
484
+ - lib/checkout_sdk/sessions/channel/request_type.rb
454
485
  - lib/checkout_sdk/sessions/channel/sdk_ephemeral_public_key.rb
455
486
  - lib/checkout_sdk/sessions/channel/sdk_interface_type.rb
456
487
  - lib/checkout_sdk/sessions/channel/three_ds_method_completion.rb
@@ -460,9 +491,14 @@ files:
460
491
  - lib/checkout_sdk/sessions/completion/hosted_completion_info.rb
461
492
  - lib/checkout_sdk/sessions/completion/non_hosted_completion_info.rb
462
493
  - lib/checkout_sdk/sessions/delivery_timeframe.rb
494
+ - lib/checkout_sdk/sessions/initial_transaction.rb
463
495
  - lib/checkout_sdk/sessions/installment.rb
464
496
  - lib/checkout_sdk/sessions/merchant_risk_info.rb
497
+ - lib/checkout_sdk/sessions/optimization.rb
498
+ - lib/checkout_sdk/sessions/optimized_properties.rb
499
+ - lib/checkout_sdk/sessions/pre_order_purchase_indicator_type.rb
465
500
  - lib/checkout_sdk/sessions/recurring.rb
501
+ - lib/checkout_sdk/sessions/reorder_items_indicator_type.rb
466
502
  - lib/checkout_sdk/sessions/session_address.rb
467
503
  - lib/checkout_sdk/sessions/session_marketplace_data.rb
468
504
  - lib/checkout_sdk/sessions/session_request.rb
@@ -479,6 +515,8 @@ files:
479
515
  - lib/checkout_sdk/sessions/source/session_source.rb
480
516
  - lib/checkout_sdk/sessions/source/token_source.rb
481
517
  - lib/checkout_sdk/sessions/three_ds_method_completion_request.rb
518
+ - lib/checkout_sdk/sessions/three_ds_req_auth_method.rb
519
+ - lib/checkout_sdk/sessions/three_ds_requestor_authentication_info.rb
482
520
  - lib/checkout_sdk/sessions/transaction_type.rb
483
521
  - lib/checkout_sdk/simple_logger.rb
484
522
  - lib/checkout_sdk/sources/mandate_type.rb