checkout_sdk 2.0.0 → 2.2.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/apm/apm.rb +5 -0
- data/lib/checkout_sdk/apm/bacs/bacs_client.rb +29 -0
- data/lib/checkout_sdk/apm/bacs/bacs_notification_request.rb +52 -0
- data/lib/checkout_sdk/apm/bacs/bacs_notification_type.rb +10 -0
- data/lib/checkout_sdk/balances/balances.rb +3 -0
- data/lib/checkout_sdk/balances/balances_client.rb +37 -3
- data/lib/checkout_sdk/balances/top_up_bank_details.rb +22 -0
- data/lib/checkout_sdk/balances/top_up_funding_details.rb +53 -0
- data/lib/checkout_sdk/balances/top_up_instructions.rb +34 -0
- data/lib/checkout_sdk/checkout_api.rb +4 -0
- data/lib/checkout_sdk/common/account_holder_type.rb +16 -0
- data/lib/checkout_sdk/common/customer_request.rb +15 -3
- data/lib/checkout_sdk/common/instrument_type.rb +8 -0
- data/lib/checkout_sdk/common/payment_source_type.rb +19 -0
- data/lib/checkout_sdk/instruments/ach_account_type.rb +14 -0
- data/lib/checkout_sdk/instruments/bacs_payment_type.rb +15 -0
- data/lib/checkout_sdk/instruments/create/create_ach_account_holder.rb +29 -0
- data/lib/checkout_sdk/instruments/create/create_ach_instrument_data.rb +30 -0
- data/lib/checkout_sdk/instruments/create/create_bacs_account_holder.rb +24 -0
- data/lib/checkout_sdk/instruments/create/create_bacs_billing_address.rb +30 -0
- data/lib/checkout_sdk/instruments/create/create_bacs_instrument_account.rb +14 -0
- data/lib/checkout_sdk/instruments/create/create_bacs_instrument_data.rb +36 -0
- data/lib/checkout_sdk/instruments/create/create_sepa_account_holder.rb +28 -0
- data/lib/checkout_sdk/instruments/create/create_sepa_billing_address.rb +31 -0
- data/lib/checkout_sdk/instruments/create/create_sepa_instrument_data.rb +40 -0
- data/lib/checkout_sdk/instruments/create/instrument_ach.rb +25 -0
- data/lib/checkout_sdk/instruments/create/instrument_bacs.rb +29 -0
- data/lib/checkout_sdk/instruments/create/instrument_sepa.rb +9 -3
- data/lib/checkout_sdk/instruments/get/payment_network.rb +8 -4
- data/lib/checkout_sdk/instruments/instrument_account_holder_type.rb +14 -0
- data/lib/checkout_sdk/instruments/instruments.rb +28 -1
- data/lib/checkout_sdk/instruments/sepa_mandate_type.rb +11 -0
- data/lib/checkout_sdk/instruments/sepa_payment_type.rb +15 -0
- data/lib/checkout_sdk/instruments/update/update_ach_account_holder.rb +28 -0
- data/lib/checkout_sdk/instruments/update/update_ach_instrument_data.rb +32 -0
- data/lib/checkout_sdk/instruments/update/update_bacs_account_holder.rb +31 -0
- data/lib/checkout_sdk/instruments/update/update_bacs_billing_address.rb +30 -0
- data/lib/checkout_sdk/instruments/update/update_bacs_instrument_data.rb +36 -0
- data/lib/checkout_sdk/instruments/update/update_instrument_ach.rb +21 -0
- data/lib/checkout_sdk/instruments/update/update_instrument_bacs.rb +21 -0
- data/lib/checkout_sdk/instruments/update/update_instrument_sepa.rb +20 -0
- data/lib/checkout_sdk/instruments/update/update_sepa_account_holder.rb +31 -0
- data/lib/checkout_sdk/instruments/update/update_sepa_billing_address.rb +31 -0
- data/lib/checkout_sdk/instruments/update/update_sepa_instrument_data.rb +43 -0
- data/lib/checkout_sdk/json_serializer.rb +3 -1
- data/lib/checkout_sdk/oauth_scopes.rb +1 -0
- data/lib/checkout_sdk/payments/flow/flow_client.rb +6 -0
- data/lib/checkout_sdk/payments/payments.rb +22 -0
- data/lib/checkout_sdk/payments/setups/payment_setup_billing_descriptor.rb +19 -0
- data/lib/checkout_sdk/payments/setups/payment_setup_presentment_details.rb +17 -0
- data/lib/checkout_sdk/payments/setups/payment_setup_terminal.rb +16 -0
- data/lib/checkout_sdk/payments/setups/payment_setups_client.rb +11 -5
- data/lib/checkout_sdk/payments/source/apm/ach_source.rb +16 -5
- data/lib/checkout_sdk/payments/source/apm/ach_source_account_holder.rb +45 -0
- data/lib/checkout_sdk/payments/source/apm/ach_source_account_type.rb +22 -0
- data/lib/checkout_sdk/payments/source/apm/alipay_cn_source.rb +14 -0
- data/lib/checkout_sdk/payments/source/apm/alipay_hk_source.rb +14 -0
- data/lib/checkout_sdk/payments/source/apm/alipay_plus_source.rb +9 -0
- data/lib/checkout_sdk/payments/source/apm/bacs_source.rb +18 -0
- data/lib/checkout_sdk/payments/source/apm/dana_source.rb +14 -0
- data/lib/checkout_sdk/payments/source/apm/gcash_source.rb +14 -0
- data/lib/checkout_sdk/payments/source/apm/kakaopay_source.rb +14 -0
- data/lib/checkout_sdk/payments/source/apm/mobile_pay_source.rb +14 -0
- data/lib/checkout_sdk/payments/source/apm/pay_now_source.rb +14 -0
- data/lib/checkout_sdk/payments/source/apm/sepa_source.rb +28 -11
- data/lib/checkout_sdk/payments/source/apm/sepa_source_account_holder.rb +37 -0
- data/lib/checkout_sdk/payments/source/apm/sepa_source_billing_address.rb +31 -0
- data/lib/checkout_sdk/payments/source/apm/swish_account_holder.rb +18 -0
- data/lib/checkout_sdk/payments/source/apm/swish_billing_descriptor.rb +14 -0
- data/lib/checkout_sdk/payments/source/apm/swish_source.rb +29 -0
- data/lib/checkout_sdk/payments/source/apm/tng_source.rb +14 -0
- data/lib/checkout_sdk/payments/source/apm/truemoney_source.rb +14 -0
- data/lib/checkout_sdk/payments/source/apm/twint_source.rb +14 -0
- data/lib/checkout_sdk/payments/source/apm/vipps_source.rb +14 -0
- data/lib/checkout_sdk/version.rb +1 -1
- metadata +57 -3
- data/lib/checkout_sdk/instruments/create/instrument_data.rb +0 -26
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: 2.
|
|
4
|
+
version: 2.2.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-
|
|
11
|
+
date: 2026-09-10 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rake
|
|
@@ -233,6 +233,9 @@ files:
|
|
|
233
233
|
- lib/checkout_sdk/agentic_commerce/delegated_payment_risk_signal.rb
|
|
234
234
|
- lib/checkout_sdk/api_client.rb
|
|
235
235
|
- lib/checkout_sdk/apm/apm.rb
|
|
236
|
+
- lib/checkout_sdk/apm/bacs/bacs_client.rb
|
|
237
|
+
- lib/checkout_sdk/apm/bacs/bacs_notification_request.rb
|
|
238
|
+
- lib/checkout_sdk/apm/bacs/bacs_notification_type.rb
|
|
236
239
|
- lib/checkout_sdk/apm/ideal/ideal_client.rb
|
|
237
240
|
- lib/checkout_sdk/apm/previous/klarna/credit_session_request.rb
|
|
238
241
|
- lib/checkout_sdk/apm/previous/klarna/klarna.rb
|
|
@@ -247,6 +250,9 @@ files:
|
|
|
247
250
|
- lib/checkout_sdk/balances/balances_query.rb
|
|
248
251
|
- lib/checkout_sdk/balances/collateral_breakdown.rb
|
|
249
252
|
- lib/checkout_sdk/balances/currency_account_balance.rb
|
|
253
|
+
- lib/checkout_sdk/balances/top_up_bank_details.rb
|
|
254
|
+
- lib/checkout_sdk/balances/top_up_funding_details.rb
|
|
255
|
+
- lib/checkout_sdk/balances/top_up_instructions.rb
|
|
250
256
|
- lib/checkout_sdk/checkout_api.rb
|
|
251
257
|
- lib/checkout_sdk/checkout_configuration.rb
|
|
252
258
|
- lib/checkout_sdk/checkout_oauth_sdk_builder.rb
|
|
@@ -337,23 +343,49 @@ files:
|
|
|
337
343
|
- lib/checkout_sdk/identities/identity_verification/identity_verification_request.rb
|
|
338
344
|
- lib/checkout_sdk/identities/identity_verification/idv_client_information.rb
|
|
339
345
|
- lib/checkout_sdk/identities/identity_verification/idv_declared_data.rb
|
|
346
|
+
- lib/checkout_sdk/instruments/ach_account_type.rb
|
|
347
|
+
- lib/checkout_sdk/instruments/bacs_payment_type.rb
|
|
340
348
|
- lib/checkout_sdk/instruments/base_instruments_client.rb
|
|
349
|
+
- lib/checkout_sdk/instruments/create/create_ach_account_holder.rb
|
|
350
|
+
- lib/checkout_sdk/instruments/create/create_ach_instrument_data.rb
|
|
351
|
+
- lib/checkout_sdk/instruments/create/create_bacs_account_holder.rb
|
|
352
|
+
- lib/checkout_sdk/instruments/create/create_bacs_billing_address.rb
|
|
353
|
+
- lib/checkout_sdk/instruments/create/create_bacs_instrument_account.rb
|
|
354
|
+
- lib/checkout_sdk/instruments/create/create_bacs_instrument_data.rb
|
|
355
|
+
- lib/checkout_sdk/instruments/create/create_sepa_account_holder.rb
|
|
356
|
+
- lib/checkout_sdk/instruments/create/create_sepa_billing_address.rb
|
|
357
|
+
- lib/checkout_sdk/instruments/create/create_sepa_instrument_data.rb
|
|
341
358
|
- lib/checkout_sdk/instruments/create/instrument.rb
|
|
359
|
+
- lib/checkout_sdk/instruments/create/instrument_ach.rb
|
|
360
|
+
- lib/checkout_sdk/instruments/create/instrument_bacs.rb
|
|
342
361
|
- lib/checkout_sdk/instruments/create/instrument_bank_account.rb
|
|
343
|
-
- lib/checkout_sdk/instruments/create/instrument_data.rb
|
|
344
362
|
- lib/checkout_sdk/instruments/create/instrument_sepa.rb
|
|
345
363
|
- lib/checkout_sdk/instruments/create/instrument_token.rb
|
|
346
364
|
- lib/checkout_sdk/instruments/get/bank_account_field_query.rb
|
|
347
365
|
- lib/checkout_sdk/instruments/get/payment_network.rb
|
|
366
|
+
- lib/checkout_sdk/instruments/instrument_account_holder_type.rb
|
|
348
367
|
- lib/checkout_sdk/instruments/instruments.rb
|
|
349
368
|
- lib/checkout_sdk/instruments/instruments_client.rb
|
|
350
369
|
- lib/checkout_sdk/instruments/previous/create/instrument.rb
|
|
351
370
|
- lib/checkout_sdk/instruments/previous/instruments_client.rb
|
|
352
371
|
- lib/checkout_sdk/instruments/previous/update/update_instrument.rb
|
|
372
|
+
- lib/checkout_sdk/instruments/sepa_mandate_type.rb
|
|
373
|
+
- lib/checkout_sdk/instruments/sepa_payment_type.rb
|
|
374
|
+
- lib/checkout_sdk/instruments/update/update_ach_account_holder.rb
|
|
375
|
+
- lib/checkout_sdk/instruments/update/update_ach_instrument_data.rb
|
|
376
|
+
- lib/checkout_sdk/instruments/update/update_bacs_account_holder.rb
|
|
377
|
+
- lib/checkout_sdk/instruments/update/update_bacs_billing_address.rb
|
|
378
|
+
- lib/checkout_sdk/instruments/update/update_bacs_instrument_data.rb
|
|
353
379
|
- lib/checkout_sdk/instruments/update/update_instrument.rb
|
|
380
|
+
- lib/checkout_sdk/instruments/update/update_instrument_ach.rb
|
|
381
|
+
- lib/checkout_sdk/instruments/update/update_instrument_bacs.rb
|
|
354
382
|
- lib/checkout_sdk/instruments/update/update_instrument_bank_account.rb
|
|
355
383
|
- lib/checkout_sdk/instruments/update/update_instrument_card.rb
|
|
384
|
+
- lib/checkout_sdk/instruments/update/update_instrument_sepa.rb
|
|
356
385
|
- lib/checkout_sdk/instruments/update/update_instrument_token.rb
|
|
386
|
+
- lib/checkout_sdk/instruments/update/update_sepa_account_holder.rb
|
|
387
|
+
- lib/checkout_sdk/instruments/update/update_sepa_billing_address.rb
|
|
388
|
+
- lib/checkout_sdk/instruments/update/update_sepa_instrument_data.rb
|
|
357
389
|
- lib/checkout_sdk/issuing/add_control_group_request.rb
|
|
358
390
|
- lib/checkout_sdk/issuing/add_control_profile_request.rb
|
|
359
391
|
- lib/checkout_sdk/issuing/amend_dispute_request.rb
|
|
@@ -535,41 +567,63 @@ files:
|
|
|
535
567
|
- lib/checkout_sdk/payments/setups/card_present_payment_method.rb
|
|
536
568
|
- lib/checkout_sdk/payments/setups/pay_by_bank_payment_method.rb
|
|
537
569
|
- lib/checkout_sdk/payments/setups/payment_setup_account_funding_transaction.rb
|
|
570
|
+
- lib/checkout_sdk/payments/setups/payment_setup_billing_descriptor.rb
|
|
571
|
+
- lib/checkout_sdk/payments/setups/payment_setup_presentment_details.rb
|
|
572
|
+
- lib/checkout_sdk/payments/setups/payment_setup_terminal.rb
|
|
538
573
|
- lib/checkout_sdk/payments/setups/payment_setups_client.rb
|
|
539
574
|
- lib/checkout_sdk/payments/setups/stablecoin_payment_method.rb
|
|
540
575
|
- lib/checkout_sdk/payments/shipping_details.rb
|
|
541
576
|
- lib/checkout_sdk/payments/shipping_preference.rb
|
|
542
577
|
- lib/checkout_sdk/payments/source/apm/ach_source.rb
|
|
578
|
+
- lib/checkout_sdk/payments/source/apm/ach_source_account_holder.rb
|
|
579
|
+
- lib/checkout_sdk/payments/source/apm/ach_source_account_type.rb
|
|
543
580
|
- lib/checkout_sdk/payments/source/apm/after_pay_source.rb
|
|
581
|
+
- lib/checkout_sdk/payments/source/apm/alipay_cn_source.rb
|
|
582
|
+
- lib/checkout_sdk/payments/source/apm/alipay_hk_source.rb
|
|
544
583
|
- lib/checkout_sdk/payments/source/apm/alipay_plus_source.rb
|
|
545
584
|
- lib/checkout_sdk/payments/source/apm/alma_source.rb
|
|
585
|
+
- lib/checkout_sdk/payments/source/apm/bacs_source.rb
|
|
546
586
|
- lib/checkout_sdk/payments/source/apm/bancontact_source.rb
|
|
547
587
|
- lib/checkout_sdk/payments/source/apm/benefit_source.rb
|
|
548
588
|
- lib/checkout_sdk/payments/source/apm/bizum_source.rb
|
|
549
589
|
- lib/checkout_sdk/payments/source/apm/blik_source.rb
|
|
550
590
|
- lib/checkout_sdk/payments/source/apm/cv_connect_source.rb
|
|
591
|
+
- lib/checkout_sdk/payments/source/apm/dana_source.rb
|
|
551
592
|
- lib/checkout_sdk/payments/source/apm/eps_source.rb
|
|
552
593
|
- lib/checkout_sdk/payments/source/apm/fawry_product.rb
|
|
553
594
|
- lib/checkout_sdk/payments/source/apm/fawry_source.rb
|
|
595
|
+
- lib/checkout_sdk/payments/source/apm/gcash_source.rb
|
|
554
596
|
- lib/checkout_sdk/payments/source/apm/giropay_source.rb
|
|
555
597
|
- lib/checkout_sdk/payments/source/apm/ideal_source.rb
|
|
556
598
|
- lib/checkout_sdk/payments/source/apm/illicado_source.rb
|
|
599
|
+
- lib/checkout_sdk/payments/source/apm/kakaopay_source.rb
|
|
557
600
|
- lib/checkout_sdk/payments/source/apm/klarna_source.rb
|
|
558
601
|
- lib/checkout_sdk/payments/source/apm/knet_source.rb
|
|
559
602
|
- lib/checkout_sdk/payments/source/apm/mbway_source.rb
|
|
603
|
+
- lib/checkout_sdk/payments/source/apm/mobile_pay_source.rb
|
|
560
604
|
- lib/checkout_sdk/payments/source/apm/multi_banco_source.rb
|
|
561
605
|
- lib/checkout_sdk/payments/source/apm/octopus_source.rb
|
|
562
606
|
- lib/checkout_sdk/payments/source/apm/p24_source.rb
|
|
607
|
+
- lib/checkout_sdk/payments/source/apm/pay_now_source.rb
|
|
563
608
|
- lib/checkout_sdk/payments/source/apm/paypal_source.rb
|
|
564
609
|
- lib/checkout_sdk/payments/source/apm/plaid_source.rb
|
|
565
610
|
- lib/checkout_sdk/payments/source/apm/post_finance_source.rb
|
|
566
611
|
- lib/checkout_sdk/payments/source/apm/qpay_source.rb
|
|
567
612
|
- lib/checkout_sdk/payments/source/apm/sepa_source.rb
|
|
613
|
+
- lib/checkout_sdk/payments/source/apm/sepa_source_account_holder.rb
|
|
614
|
+
- lib/checkout_sdk/payments/source/apm/sepa_source_billing_address.rb
|
|
568
615
|
- lib/checkout_sdk/payments/source/apm/sequra_source.rb
|
|
569
616
|
- lib/checkout_sdk/payments/source/apm/sofort_source.rb
|
|
570
617
|
- lib/checkout_sdk/payments/source/apm/stcpay_source.rb
|
|
618
|
+
- lib/checkout_sdk/payments/source/apm/swish_account_holder.rb
|
|
619
|
+
- lib/checkout_sdk/payments/source/apm/swish_billing_descriptor.rb
|
|
620
|
+
- lib/checkout_sdk/payments/source/apm/swish_source.rb
|
|
571
621
|
- lib/checkout_sdk/payments/source/apm/tamara_source.rb
|
|
622
|
+
- lib/checkout_sdk/payments/source/apm/tng_source.rb
|
|
623
|
+
- lib/checkout_sdk/payments/source/apm/truemoney_source.rb
|
|
572
624
|
- lib/checkout_sdk/payments/source/apm/trustly_source.rb
|
|
625
|
+
- lib/checkout_sdk/payments/source/apm/twint_source.rb
|
|
626
|
+
- lib/checkout_sdk/payments/source/apm/vipps_source.rb
|
|
573
627
|
- lib/checkout_sdk/payments/source/apm/we_chat_pay_source.rb
|
|
574
628
|
- lib/checkout_sdk/payments/source/bank_account_source.rb
|
|
575
629
|
- lib/checkout_sdk/payments/source/card_source.rb
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
# frozen_string_literal: true
|
|
2
|
-
|
|
3
|
-
module CheckoutSdk
|
|
4
|
-
module Instruments
|
|
5
|
-
# @!attribute account_number
|
|
6
|
-
# @return [String]
|
|
7
|
-
# @!attribute country
|
|
8
|
-
# @return [String] {CheckoutSdk::Common::Country}
|
|
9
|
-
# @!attribute currency
|
|
10
|
-
# @return [String] {CheckoutSdk::Common::Currency}
|
|
11
|
-
# @!attribute payment_type
|
|
12
|
-
# @return [String] {CheckoutSdk::Payments::PaymentType}
|
|
13
|
-
# @!attribute mandate_id
|
|
14
|
-
# @return [String]
|
|
15
|
-
# @!attribute date_of_signature
|
|
16
|
-
# @return [DateTime]
|
|
17
|
-
class InstrumentData
|
|
18
|
-
attr_accessor :account_number,
|
|
19
|
-
:country,
|
|
20
|
-
:currency,
|
|
21
|
-
:payment_type,
|
|
22
|
-
:mandate_id,
|
|
23
|
-
:date_of_signature
|
|
24
|
-
end
|
|
25
|
-
end
|
|
26
|
-
end
|