checkout_sdk 2.0.0 → 2.1.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.
Files changed (66) hide show
  1. checksums.yaml +4 -4
  2. data/lib/checkout_sdk/apm/apm.rb +5 -0
  3. data/lib/checkout_sdk/apm/bacs/bacs_client.rb +29 -0
  4. data/lib/checkout_sdk/apm/bacs/bacs_notification_request.rb +52 -0
  5. data/lib/checkout_sdk/apm/bacs/bacs_notification_type.rb +10 -0
  6. data/lib/checkout_sdk/checkout_api.rb +4 -0
  7. data/lib/checkout_sdk/common/account_holder_type.rb +16 -0
  8. data/lib/checkout_sdk/common/customer_request.rb +15 -3
  9. data/lib/checkout_sdk/common/instrument_type.rb +8 -0
  10. data/lib/checkout_sdk/common/payment_source_type.rb +19 -0
  11. data/lib/checkout_sdk/instruments/ach_account_type.rb +14 -0
  12. data/lib/checkout_sdk/instruments/bacs_payment_type.rb +15 -0
  13. data/lib/checkout_sdk/instruments/create/create_ach_account_holder.rb +29 -0
  14. data/lib/checkout_sdk/instruments/create/create_ach_instrument_data.rb +30 -0
  15. data/lib/checkout_sdk/instruments/create/create_bacs_account_holder.rb +24 -0
  16. data/lib/checkout_sdk/instruments/create/create_bacs_billing_address.rb +30 -0
  17. data/lib/checkout_sdk/instruments/create/create_bacs_instrument_account.rb +14 -0
  18. data/lib/checkout_sdk/instruments/create/create_bacs_instrument_data.rb +36 -0
  19. data/lib/checkout_sdk/instruments/create/create_sepa_account_holder.rb +28 -0
  20. data/lib/checkout_sdk/instruments/create/create_sepa_billing_address.rb +31 -0
  21. data/lib/checkout_sdk/instruments/create/create_sepa_instrument_data.rb +40 -0
  22. data/lib/checkout_sdk/instruments/create/instrument_ach.rb +25 -0
  23. data/lib/checkout_sdk/instruments/create/instrument_bacs.rb +29 -0
  24. data/lib/checkout_sdk/instruments/create/instrument_sepa.rb +9 -3
  25. data/lib/checkout_sdk/instruments/get/payment_network.rb +8 -4
  26. data/lib/checkout_sdk/instruments/instrument_account_holder_type.rb +14 -0
  27. data/lib/checkout_sdk/instruments/instruments.rb +28 -1
  28. data/lib/checkout_sdk/instruments/sepa_mandate_type.rb +11 -0
  29. data/lib/checkout_sdk/instruments/sepa_payment_type.rb +15 -0
  30. data/lib/checkout_sdk/instruments/update/update_ach_account_holder.rb +28 -0
  31. data/lib/checkout_sdk/instruments/update/update_ach_instrument_data.rb +32 -0
  32. data/lib/checkout_sdk/instruments/update/update_bacs_account_holder.rb +31 -0
  33. data/lib/checkout_sdk/instruments/update/update_bacs_billing_address.rb +30 -0
  34. data/lib/checkout_sdk/instruments/update/update_bacs_instrument_data.rb +36 -0
  35. data/lib/checkout_sdk/instruments/update/update_instrument_ach.rb +21 -0
  36. data/lib/checkout_sdk/instruments/update/update_instrument_bacs.rb +21 -0
  37. data/lib/checkout_sdk/instruments/update/update_instrument_sepa.rb +20 -0
  38. data/lib/checkout_sdk/instruments/update/update_sepa_account_holder.rb +31 -0
  39. data/lib/checkout_sdk/instruments/update/update_sepa_billing_address.rb +31 -0
  40. data/lib/checkout_sdk/instruments/update/update_sepa_instrument_data.rb +43 -0
  41. data/lib/checkout_sdk/payments/payments.rb +19 -0
  42. data/lib/checkout_sdk/payments/source/apm/ach_source.rb +16 -5
  43. data/lib/checkout_sdk/payments/source/apm/ach_source_account_holder.rb +45 -0
  44. data/lib/checkout_sdk/payments/source/apm/ach_source_account_type.rb +22 -0
  45. data/lib/checkout_sdk/payments/source/apm/alipay_cn_source.rb +14 -0
  46. data/lib/checkout_sdk/payments/source/apm/alipay_hk_source.rb +14 -0
  47. data/lib/checkout_sdk/payments/source/apm/alipay_plus_source.rb +9 -0
  48. data/lib/checkout_sdk/payments/source/apm/bacs_source.rb +18 -0
  49. data/lib/checkout_sdk/payments/source/apm/dana_source.rb +14 -0
  50. data/lib/checkout_sdk/payments/source/apm/gcash_source.rb +14 -0
  51. data/lib/checkout_sdk/payments/source/apm/kakaopay_source.rb +14 -0
  52. data/lib/checkout_sdk/payments/source/apm/mobile_pay_source.rb +14 -0
  53. data/lib/checkout_sdk/payments/source/apm/pay_now_source.rb +14 -0
  54. data/lib/checkout_sdk/payments/source/apm/sepa_source.rb +28 -11
  55. data/lib/checkout_sdk/payments/source/apm/sepa_source_account_holder.rb +37 -0
  56. data/lib/checkout_sdk/payments/source/apm/sepa_source_billing_address.rb +31 -0
  57. data/lib/checkout_sdk/payments/source/apm/swish_account_holder.rb +18 -0
  58. data/lib/checkout_sdk/payments/source/apm/swish_billing_descriptor.rb +14 -0
  59. data/lib/checkout_sdk/payments/source/apm/swish_source.rb +29 -0
  60. data/lib/checkout_sdk/payments/source/apm/tng_source.rb +14 -0
  61. data/lib/checkout_sdk/payments/source/apm/truemoney_source.rb +14 -0
  62. data/lib/checkout_sdk/payments/source/apm/twint_source.rb +14 -0
  63. data/lib/checkout_sdk/payments/source/apm/vipps_source.rb +14 -0
  64. data/lib/checkout_sdk/version.rb +1 -1
  65. metadata +51 -3
  66. data/lib/checkout_sdk/instruments/create/instrument_data.rb +0 -26
@@ -0,0 +1,14 @@
1
+ # frozen_string_literal: true
2
+
3
+ module CheckoutSdk
4
+ module Payments
5
+ # DANA source.
6
+ #
7
+ # The schema declares no properties beyond `type`.
8
+ class DanaSource < PaymentSource
9
+ def initialize
10
+ super(CheckoutSdk::Common::PaymentSourceType::DANA)
11
+ end
12
+ end
13
+ end
14
+ end
@@ -0,0 +1,14 @@
1
+ # frozen_string_literal: true
2
+
3
+ module CheckoutSdk
4
+ module Payments
5
+ # GCash source.
6
+ #
7
+ # The schema declares no properties beyond `type`.
8
+ class GcashSource < PaymentSource
9
+ def initialize
10
+ super(CheckoutSdk::Common::PaymentSourceType::GCASH)
11
+ end
12
+ end
13
+ end
14
+ end
@@ -0,0 +1,14 @@
1
+ # frozen_string_literal: true
2
+
3
+ module CheckoutSdk
4
+ module Payments
5
+ # Kakao Pay source.
6
+ #
7
+ # The schema declares no properties beyond `type`.
8
+ class KakaopaySource < PaymentSource
9
+ def initialize
10
+ super(CheckoutSdk::Common::PaymentSourceType::KAKAOPAY)
11
+ end
12
+ end
13
+ end
14
+ end
@@ -0,0 +1,14 @@
1
+ # frozen_string_literal: true
2
+
3
+ module CheckoutSdk
4
+ module Payments
5
+ # MobilePay source.
6
+ #
7
+ # The schema declares no properties beyond `type`.
8
+ class MobilePaySource < PaymentSource
9
+ def initialize
10
+ super(CheckoutSdk::Common::PaymentSourceType::MOBILEPAY)
11
+ end
12
+ end
13
+ end
14
+ end
@@ -0,0 +1,14 @@
1
+ # frozen_string_literal: true
2
+
3
+ module CheckoutSdk
4
+ module Payments
5
+ # PayNow source.
6
+ #
7
+ # The schema declares no properties beyond `type`.
8
+ class PayNowSource < PaymentSource
9
+ def initialize
10
+ super(CheckoutSdk::Common::PaymentSourceType::PAYNOW)
11
+ end
12
+ end
13
+ end
14
+ end
@@ -2,28 +2,45 @@
2
2
 
3
3
  module CheckoutSdk
4
4
  module Payments
5
+ # SEPA Direct Debit source.
6
+ #
5
7
  # @!attribute country
6
- # @return [CheckoutSdk::Common::Country]
8
+ # @return [String] {CheckoutSdk::Common::Country} The account's country, as an
9
+ # ISO 3166-1 alpha-2 code. [Required]
7
10
  # @!attribute account_number
8
- # @return [String]
9
- # @!attribute bank_code
10
- # @return [String]
11
+ # @return [String] The account holder's IBAN. [Required]
11
12
  # @!attribute currency
12
- # @return [CheckoutSdk::Common::Currency]
13
+ # @return [String] {CheckoutSdk::Common::Currency} The account holder's account
14
+ # currency. [Required]
15
+ # @!attribute account_holder
16
+ # @return [SepaSourceAccountHolder] The account holder's personal information.
17
+ # [Required] Its billing_address is required, and that address requires all
18
+ # five of its properties. A {CheckoutSdk::Common::AccountHolder} or a Hash is
19
+ # still accepted, but only the five properties
20
+ # `PaymentRequestSEPAV4Source.account_holder` declares are valid here. See
21
+ # {SepaSourceAccountHolder#type} for the casing to send.
13
22
  # @!attribute mandate_id
14
- # @return [String]
23
+ # @return [String] The ID of the mandate. [Optional]
24
+ # @!attribute mandate_type
25
+ # @return [String] {CheckoutSdk::Instruments::SepaMandateType} The type of
26
+ # mandate, Core or B2B. [Optional]
15
27
  # @!attribute date_of_signature
16
- # @return [String]
17
- # @!attribute account_holder
18
- # @return [CheckoutSdk::Common::AccountHolder]
28
+ # @return [String] The date the mandate was signed, in the format yyyy-MM-dd.
29
+ # [Optional]
30
+ # @!attribute bank_code
31
+ # @return [String] Not declared by PaymentRequestSEPAV4Source. No SEPA schema
32
+ # in the specification declares a bank code, and the SEPA source is
33
+ # identified by IBAN through account_number. Retained for
34
+ # retro-compatibility purposes only. Possibly an obsoleted field.
19
35
  class SepaSource < PaymentSource
20
36
  attr_accessor :country,
21
37
  :account_number,
22
- :bank_code,
23
38
  :currency,
39
+ :account_holder,
24
40
  :mandate_id,
41
+ :mandate_type,
25
42
  :date_of_signature,
26
- :account_holder
43
+ :bank_code
27
44
 
28
45
  def initialize
29
46
  super(CheckoutSdk::Common::PaymentSourceType::SEPA)
@@ -0,0 +1,37 @@
1
+ # frozen_string_literal: true
2
+
3
+ module CheckoutSdk
4
+ module Payments
5
+ # The account holder's personal information on a SEPA payment source.
6
+ #
7
+ # Maps the `account_holder` object of swagger `PaymentRequestSEPAV4Source`
8
+ # exactly. This is deliberately not {CheckoutSdk::Common::AccountHolder}, which
9
+ # carries 16 properties against the five declared here.
10
+ #
11
+ # @!attribute billing_address
12
+ # @return [SepaSourceBillingAddress] The account holder's billing address.
13
+ # [Required] All five of its properties are required.
14
+ # @!attribute first_name
15
+ # @return [String] The account holder's first name. [Optional]
16
+ # max 50 characters.
17
+ # @!attribute last_name
18
+ # @return [String] The account holder's last name. [Optional]
19
+ # max 50 characters.
20
+ # @!attribute company_name
21
+ # @return [String] The account holder's company name. [Optional]
22
+ # max 50 characters.
23
+ # @!attribute type
24
+ # @return [String] {InstrumentAccountHolderType} The type of account holder.
25
+ # [Optional] Send this lowercase (individual / corporate). The specification
26
+ # declares it capitalized at this one position, but every other
27
+ # account-holder-type position declares it lowercase and every other
28
+ # Checkout.com SDK sends lowercase. Pending confirmation from the API owners.
29
+ class SepaSourceAccountHolder
30
+ attr_accessor :billing_address,
31
+ :first_name,
32
+ :last_name,
33
+ :company_name,
34
+ :type
35
+ end
36
+ end
37
+ end
@@ -0,0 +1,31 @@
1
+ # frozen_string_literal: true
2
+
3
+ module CheckoutSdk
4
+ module Payments
5
+ # The account holder's billing address on a SEPA payment source.
6
+ #
7
+ # Every property is required. This is deliberately not
8
+ # {CheckoutSdk::Common::Address}, which also declares `state` - a property this
9
+ # position does not accept.
10
+ #
11
+ # @!attribute address_line1
12
+ # @return [String] The account holder's street name. [Required]
13
+ # @!attribute address_line2
14
+ # @return [String] The account holder's street number. [Required]
15
+ # max 10 characters.
16
+ # @!attribute city
17
+ # @return [String] The account holder's city. [Required] max 35 characters.
18
+ # @!attribute zip
19
+ # @return [String] The account holder's zip code. [Required] max 16 characters.
20
+ # @!attribute country
21
+ # @return [String] {CheckoutSdk::Common::Country} The account holder's country,
22
+ # as an ISO 3166-1 alpha-2 code. [Required] max 2 characters.
23
+ class SepaSourceBillingAddress
24
+ attr_accessor :address_line1,
25
+ :address_line2,
26
+ :city,
27
+ :zip,
28
+ :country
29
+ end
30
+ end
31
+ end
@@ -0,0 +1,18 @@
1
+ # frozen_string_literal: true
2
+
3
+ module CheckoutSdk
4
+ module Payments
5
+ # Information about the account holder's details on a Swish payment source.
6
+ #
7
+ # @!attribute first_name
8
+ # @return [String] The account holder's first name. [Required]
9
+ # max 50 characters.
10
+ # @!attribute last_name
11
+ # @return [String] The account holder's last name. [Required]
12
+ # max 50 characters.
13
+ class SwishAccountHolder
14
+ attr_accessor :first_name,
15
+ :last_name
16
+ end
17
+ end
18
+ end
@@ -0,0 +1,14 @@
1
+ # frozen_string_literal: true
2
+
3
+ module CheckoutSdk
4
+ module Payments
5
+ # Payment billing descriptor on a Swish payment source.
6
+ #
7
+ # @!attribute name
8
+ # @return [String] A description for the payment, which displays on the
9
+ # customer's statement. [Required] max 120 characters.
10
+ class SwishBillingDescriptor
11
+ attr_accessor :name
12
+ end
13
+ end
14
+ end
@@ -0,0 +1,29 @@
1
+ # frozen_string_literal: true
2
+
3
+ module CheckoutSdk
4
+ module Payments
5
+ # Swish source.
6
+ #
7
+ # @!attribute payment_country
8
+ # @return [String] The 2-letter ISO country code of the country in which the
9
+ # payment instrument is issued or operated. [Required] The schema declares
10
+ # one value only: SE. min 2 characters, max 2 characters.
11
+ # @!attribute account_holder
12
+ # @return [SwishAccountHolder] Information about the account holder's details.
13
+ # [Required]
14
+ # @!attribute billing_descriptor
15
+ # @return [SwishBillingDescriptor] Payment billing descriptor. [Optional]
16
+ class SwishSource < PaymentSource
17
+ # The only payment_country the schema declares.
18
+ SWEDEN = 'SE'
19
+
20
+ attr_accessor :payment_country,
21
+ :account_holder,
22
+ :billing_descriptor
23
+
24
+ def initialize
25
+ super(CheckoutSdk::Common::PaymentSourceType::SWISH)
26
+ end
27
+ end
28
+ end
29
+ end
@@ -0,0 +1,14 @@
1
+ # frozen_string_literal: true
2
+
3
+ module CheckoutSdk
4
+ module Payments
5
+ # Touch n Go source.
6
+ #
7
+ # The schema declares no properties beyond `type`.
8
+ class TngSource < PaymentSource
9
+ def initialize
10
+ super(CheckoutSdk::Common::PaymentSourceType::TNG)
11
+ end
12
+ end
13
+ end
14
+ end
@@ -0,0 +1,14 @@
1
+ # frozen_string_literal: true
2
+
3
+ module CheckoutSdk
4
+ module Payments
5
+ # TrueMoney source.
6
+ #
7
+ # The schema declares no properties beyond `type`.
8
+ class TruemoneySource < PaymentSource
9
+ def initialize
10
+ super(CheckoutSdk::Common::PaymentSourceType::TRUEMONEY)
11
+ end
12
+ end
13
+ end
14
+ end
@@ -0,0 +1,14 @@
1
+ # frozen_string_literal: true
2
+
3
+ module CheckoutSdk
4
+ module Payments
5
+ # TWINT source.
6
+ #
7
+ # The schema declares no properties beyond `type`.
8
+ class TwintSource < PaymentSource
9
+ def initialize
10
+ super(CheckoutSdk::Common::PaymentSourceType::TWINT)
11
+ end
12
+ end
13
+ end
14
+ end
@@ -0,0 +1,14 @@
1
+ # frozen_string_literal: true
2
+
3
+ module CheckoutSdk
4
+ module Payments
5
+ # Vipps source.
6
+ #
7
+ # The schema declares no properties beyond `type`.
8
+ class VippsSource < PaymentSource
9
+ def initialize
10
+ super(CheckoutSdk::Common::PaymentSourceType::VIPPS)
11
+ end
12
+ end
13
+ end
14
+ end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module CheckoutSdk
4
- VERSION = '2.0.0'
4
+ VERSION = '2.1.0'
5
5
  end
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.0.0
4
+ version: 2.1.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-08-31 00:00:00.000000000 Z
11
+ date: 2026-09-07 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
@@ -337,23 +340,49 @@ files:
337
340
  - lib/checkout_sdk/identities/identity_verification/identity_verification_request.rb
338
341
  - lib/checkout_sdk/identities/identity_verification/idv_client_information.rb
339
342
  - lib/checkout_sdk/identities/identity_verification/idv_declared_data.rb
343
+ - lib/checkout_sdk/instruments/ach_account_type.rb
344
+ - lib/checkout_sdk/instruments/bacs_payment_type.rb
340
345
  - lib/checkout_sdk/instruments/base_instruments_client.rb
346
+ - lib/checkout_sdk/instruments/create/create_ach_account_holder.rb
347
+ - lib/checkout_sdk/instruments/create/create_ach_instrument_data.rb
348
+ - lib/checkout_sdk/instruments/create/create_bacs_account_holder.rb
349
+ - lib/checkout_sdk/instruments/create/create_bacs_billing_address.rb
350
+ - lib/checkout_sdk/instruments/create/create_bacs_instrument_account.rb
351
+ - lib/checkout_sdk/instruments/create/create_bacs_instrument_data.rb
352
+ - lib/checkout_sdk/instruments/create/create_sepa_account_holder.rb
353
+ - lib/checkout_sdk/instruments/create/create_sepa_billing_address.rb
354
+ - lib/checkout_sdk/instruments/create/create_sepa_instrument_data.rb
341
355
  - lib/checkout_sdk/instruments/create/instrument.rb
356
+ - lib/checkout_sdk/instruments/create/instrument_ach.rb
357
+ - lib/checkout_sdk/instruments/create/instrument_bacs.rb
342
358
  - lib/checkout_sdk/instruments/create/instrument_bank_account.rb
343
- - lib/checkout_sdk/instruments/create/instrument_data.rb
344
359
  - lib/checkout_sdk/instruments/create/instrument_sepa.rb
345
360
  - lib/checkout_sdk/instruments/create/instrument_token.rb
346
361
  - lib/checkout_sdk/instruments/get/bank_account_field_query.rb
347
362
  - lib/checkout_sdk/instruments/get/payment_network.rb
363
+ - lib/checkout_sdk/instruments/instrument_account_holder_type.rb
348
364
  - lib/checkout_sdk/instruments/instruments.rb
349
365
  - lib/checkout_sdk/instruments/instruments_client.rb
350
366
  - lib/checkout_sdk/instruments/previous/create/instrument.rb
351
367
  - lib/checkout_sdk/instruments/previous/instruments_client.rb
352
368
  - lib/checkout_sdk/instruments/previous/update/update_instrument.rb
369
+ - lib/checkout_sdk/instruments/sepa_mandate_type.rb
370
+ - lib/checkout_sdk/instruments/sepa_payment_type.rb
371
+ - lib/checkout_sdk/instruments/update/update_ach_account_holder.rb
372
+ - lib/checkout_sdk/instruments/update/update_ach_instrument_data.rb
373
+ - lib/checkout_sdk/instruments/update/update_bacs_account_holder.rb
374
+ - lib/checkout_sdk/instruments/update/update_bacs_billing_address.rb
375
+ - lib/checkout_sdk/instruments/update/update_bacs_instrument_data.rb
353
376
  - lib/checkout_sdk/instruments/update/update_instrument.rb
377
+ - lib/checkout_sdk/instruments/update/update_instrument_ach.rb
378
+ - lib/checkout_sdk/instruments/update/update_instrument_bacs.rb
354
379
  - lib/checkout_sdk/instruments/update/update_instrument_bank_account.rb
355
380
  - lib/checkout_sdk/instruments/update/update_instrument_card.rb
381
+ - lib/checkout_sdk/instruments/update/update_instrument_sepa.rb
356
382
  - lib/checkout_sdk/instruments/update/update_instrument_token.rb
383
+ - lib/checkout_sdk/instruments/update/update_sepa_account_holder.rb
384
+ - lib/checkout_sdk/instruments/update/update_sepa_billing_address.rb
385
+ - lib/checkout_sdk/instruments/update/update_sepa_instrument_data.rb
357
386
  - lib/checkout_sdk/issuing/add_control_group_request.rb
358
387
  - lib/checkout_sdk/issuing/add_control_profile_request.rb
359
388
  - lib/checkout_sdk/issuing/amend_dispute_request.rb
@@ -540,36 +569,55 @@ files:
540
569
  - lib/checkout_sdk/payments/shipping_details.rb
541
570
  - lib/checkout_sdk/payments/shipping_preference.rb
542
571
  - lib/checkout_sdk/payments/source/apm/ach_source.rb
572
+ - lib/checkout_sdk/payments/source/apm/ach_source_account_holder.rb
573
+ - lib/checkout_sdk/payments/source/apm/ach_source_account_type.rb
543
574
  - lib/checkout_sdk/payments/source/apm/after_pay_source.rb
575
+ - lib/checkout_sdk/payments/source/apm/alipay_cn_source.rb
576
+ - lib/checkout_sdk/payments/source/apm/alipay_hk_source.rb
544
577
  - lib/checkout_sdk/payments/source/apm/alipay_plus_source.rb
545
578
  - lib/checkout_sdk/payments/source/apm/alma_source.rb
579
+ - lib/checkout_sdk/payments/source/apm/bacs_source.rb
546
580
  - lib/checkout_sdk/payments/source/apm/bancontact_source.rb
547
581
  - lib/checkout_sdk/payments/source/apm/benefit_source.rb
548
582
  - lib/checkout_sdk/payments/source/apm/bizum_source.rb
549
583
  - lib/checkout_sdk/payments/source/apm/blik_source.rb
550
584
  - lib/checkout_sdk/payments/source/apm/cv_connect_source.rb
585
+ - lib/checkout_sdk/payments/source/apm/dana_source.rb
551
586
  - lib/checkout_sdk/payments/source/apm/eps_source.rb
552
587
  - lib/checkout_sdk/payments/source/apm/fawry_product.rb
553
588
  - lib/checkout_sdk/payments/source/apm/fawry_source.rb
589
+ - lib/checkout_sdk/payments/source/apm/gcash_source.rb
554
590
  - lib/checkout_sdk/payments/source/apm/giropay_source.rb
555
591
  - lib/checkout_sdk/payments/source/apm/ideal_source.rb
556
592
  - lib/checkout_sdk/payments/source/apm/illicado_source.rb
593
+ - lib/checkout_sdk/payments/source/apm/kakaopay_source.rb
557
594
  - lib/checkout_sdk/payments/source/apm/klarna_source.rb
558
595
  - lib/checkout_sdk/payments/source/apm/knet_source.rb
559
596
  - lib/checkout_sdk/payments/source/apm/mbway_source.rb
597
+ - lib/checkout_sdk/payments/source/apm/mobile_pay_source.rb
560
598
  - lib/checkout_sdk/payments/source/apm/multi_banco_source.rb
561
599
  - lib/checkout_sdk/payments/source/apm/octopus_source.rb
562
600
  - lib/checkout_sdk/payments/source/apm/p24_source.rb
601
+ - lib/checkout_sdk/payments/source/apm/pay_now_source.rb
563
602
  - lib/checkout_sdk/payments/source/apm/paypal_source.rb
564
603
  - lib/checkout_sdk/payments/source/apm/plaid_source.rb
565
604
  - lib/checkout_sdk/payments/source/apm/post_finance_source.rb
566
605
  - lib/checkout_sdk/payments/source/apm/qpay_source.rb
567
606
  - lib/checkout_sdk/payments/source/apm/sepa_source.rb
607
+ - lib/checkout_sdk/payments/source/apm/sepa_source_account_holder.rb
608
+ - lib/checkout_sdk/payments/source/apm/sepa_source_billing_address.rb
568
609
  - lib/checkout_sdk/payments/source/apm/sequra_source.rb
569
610
  - lib/checkout_sdk/payments/source/apm/sofort_source.rb
570
611
  - lib/checkout_sdk/payments/source/apm/stcpay_source.rb
612
+ - lib/checkout_sdk/payments/source/apm/swish_account_holder.rb
613
+ - lib/checkout_sdk/payments/source/apm/swish_billing_descriptor.rb
614
+ - lib/checkout_sdk/payments/source/apm/swish_source.rb
571
615
  - lib/checkout_sdk/payments/source/apm/tamara_source.rb
616
+ - lib/checkout_sdk/payments/source/apm/tng_source.rb
617
+ - lib/checkout_sdk/payments/source/apm/truemoney_source.rb
572
618
  - lib/checkout_sdk/payments/source/apm/trustly_source.rb
619
+ - lib/checkout_sdk/payments/source/apm/twint_source.rb
620
+ - lib/checkout_sdk/payments/source/apm/vipps_source.rb
573
621
  - lib/checkout_sdk/payments/source/apm/we_chat_pay_source.rb
574
622
  - lib/checkout_sdk/payments/source/bank_account_source.rb
575
623
  - 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