increase 1.113.0 → 1.115.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 (69) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +16 -0
  3. data/README.md +1 -1
  4. data/lib/increase/client.rb +8 -0
  5. data/lib/increase/models/card_payment.rb +160 -4
  6. data/lib/increase/models/declined_transaction.rb +40 -1
  7. data/lib/increase/models/fednow_transfer.rb +516 -0
  8. data/lib/increase/models/fednow_transfer_approve_params.rb +14 -0
  9. data/lib/increase/models/fednow_transfer_cancel_params.rb +14 -0
  10. data/lib/increase/models/fednow_transfer_create_params.rb +188 -0
  11. data/lib/increase/models/fednow_transfer_list_params.rb +170 -0
  12. data/lib/increase/models/fednow_transfer_retrieve_params.rb +14 -0
  13. data/lib/increase/models/inbound_fednow_transfer.rb +278 -0
  14. data/lib/increase/models/inbound_fednow_transfer_list_params.rb +100 -0
  15. data/lib/increase/models/inbound_fednow_transfer_retrieve_params.rb +14 -0
  16. data/lib/increase/models/pending_transaction.rb +42 -1
  17. data/lib/increase/models/real_time_decision.rb +40 -1
  18. data/lib/increase/models/simulations/inbound_fednow_transfer_create_params.rb +64 -0
  19. data/lib/increase/models/transaction.rb +40 -1
  20. data/lib/increase/models.rb +18 -0
  21. data/lib/increase/resources/fednow_transfers.rb +159 -0
  22. data/lib/increase/resources/inbound_fednow_transfers.rb +68 -0
  23. data/lib/increase/resources/simulations/inbound_fednow_transfers.rb +49 -0
  24. data/lib/increase/resources/simulations.rb +4 -0
  25. data/lib/increase/version.rb +1 -1
  26. data/lib/increase.rb +13 -0
  27. data/rbi/increase/client.rbi +6 -0
  28. data/rbi/increase/models/card_payment.rbi +288 -0
  29. data/rbi/increase/models/declined_transaction.rbi +72 -0
  30. data/rbi/increase/models/fednow_transfer.rbi +877 -0
  31. data/rbi/increase/models/fednow_transfer_approve_params.rbi +30 -0
  32. data/rbi/increase/models/fednow_transfer_cancel_params.rbi +30 -0
  33. data/rbi/increase/models/fednow_transfer_create_params.rbi +289 -0
  34. data/rbi/increase/models/fednow_transfer_list_params.rbi +334 -0
  35. data/rbi/increase/models/fednow_transfer_retrieve_params.rbi +30 -0
  36. data/rbi/increase/models/inbound_fednow_transfer.rbi +444 -0
  37. data/rbi/increase/models/inbound_fednow_transfer_list_params.rbi +177 -0
  38. data/rbi/increase/models/inbound_fednow_transfer_retrieve_params.rbi +30 -0
  39. data/rbi/increase/models/pending_transaction.rbi +72 -0
  40. data/rbi/increase/models/real_time_decision.rbi +72 -0
  41. data/rbi/increase/models/simulations/inbound_fednow_transfer_create_params.rbi +100 -0
  42. data/rbi/increase/models/transaction.rbi +72 -0
  43. data/rbi/increase/models.rbi +20 -0
  44. data/rbi/increase/resources/fednow_transfers.rbi +138 -0
  45. data/rbi/increase/resources/inbound_fednow_transfers.rbi +54 -0
  46. data/rbi/increase/resources/simulations/inbound_fednow_transfers.rbi +44 -0
  47. data/rbi/increase/resources/simulations.rbi +3 -0
  48. data/sig/increase/client.rbs +4 -0
  49. data/sig/increase/models/card_payment.rbs +68 -0
  50. data/sig/increase/models/declined_transaction.rbs +17 -0
  51. data/sig/increase/models/fednow_transfer.rbs +404 -0
  52. data/sig/increase/models/fednow_transfer_approve_params.rbs +15 -0
  53. data/sig/increase/models/fednow_transfer_cancel_params.rbs +15 -0
  54. data/sig/increase/models/fednow_transfer_create_params.rbs +155 -0
  55. data/sig/increase/models/fednow_transfer_list_params.rbs +174 -0
  56. data/sig/increase/models/fednow_transfer_retrieve_params.rbs +15 -0
  57. data/sig/increase/models/inbound_fednow_transfer.rbs +223 -0
  58. data/sig/increase/models/inbound_fednow_transfer_list_params.rbs +93 -0
  59. data/sig/increase/models/inbound_fednow_transfer_retrieve_params.rbs +15 -0
  60. data/sig/increase/models/pending_transaction.rbs +17 -0
  61. data/sig/increase/models/real_time_decision.rbs +17 -0
  62. data/sig/increase/models/simulations/inbound_fednow_transfer_create_params.rbs +61 -0
  63. data/sig/increase/models/transaction.rbs +17 -0
  64. data/sig/increase/models.rbs +18 -0
  65. data/sig/increase/resources/fednow_transfers.rbs +49 -0
  66. data/sig/increase/resources/inbound_fednow_transfers.rbs +21 -0
  67. data/sig/increase/resources/simulations/inbound_fednow_transfers.rbs +19 -0
  68. data/sig/increase/resources/simulations.rbs +2 -0
  69. metadata +41 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 731993c0b5b6755c6b2c7bb78148d2bef80e89d39410041bca084475d134fd6d
4
- data.tar.gz: b4a00caf232b77479598c82d1ade0d9a585a8b24e19497473967daabc80b8e0d
3
+ metadata.gz: 4e6ac2684cca09e760665f4b511186522d12473c30bf666bab283286b64a850a
4
+ data.tar.gz: 68b4d9bc936f4e3724c12e21e9dd1a04c612c2fd8337df06c37f15297f69eceb
5
5
  SHA512:
6
- metadata.gz: 7a13ce32b059b969d27e515bf4e06fd978aaf4fc40d68b810d8282525e96d0e0324b4e8cd59da9cd7dfce7166216937bcc657b05e8f0a51051497b0c1823a758
7
- data.tar.gz: 8136762ea8bfbaf41dd1c8e32a07dc804245a70abeee12f7a9262f3dfc76d61c561c514285453c681d4be7b2eb245e9b81e6cbc9dde7b20d8a20267a2ed06059
6
+ metadata.gz: 5d822141be613b5328dcf9df23d247be6d26b678b528758aed5fa5915b375015f5d53042b289cd650819d49b8586eada3181b03cd63b6913ae73cb29761e060e
7
+ data.tar.gz: 0e8eb4cd18af427c9c8efc66c1b988a6232388683c146764331fe77df1a1f394645fc561ccb3592d33644d86a9c61f5717ab2343092d7acfdacaeed88d2f3064
data/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.115.0 (2025-10-26)
4
+
5
+ Full Changelog: [v1.114.0...v1.115.0](https://github.com/Increase/increase-ruby/compare/v1.114.0...v1.115.0)
6
+
7
+ ### Features
8
+
9
+ * **api:** api update ([a6288c7](https://github.com/Increase/increase-ruby/commit/a6288c723f7a36646e399428d4be6b54d30488e8))
10
+
11
+ ## 1.114.0 (2025-10-24)
12
+
13
+ Full Changelog: [v1.113.0...v1.114.0](https://github.com/Increase/increase-ruby/compare/v1.113.0...v1.114.0)
14
+
15
+ ### Features
16
+
17
+ * **api:** api update ([67322ef](https://github.com/Increase/increase-ruby/commit/67322ef5131aee957a9fc9cb34b3d0ce89675409))
18
+
3
19
  ## 1.113.0 (2025-10-23)
4
20
 
5
21
  Full Changelog: [v1.112.0...v1.113.0](https://github.com/Increase/increase-ruby/compare/v1.112.0...v1.113.0)
data/README.md CHANGED
@@ -15,7 +15,7 @@ To use this gem, install via Bundler by adding the following to your application
15
15
  <!-- x-release-please-start-version -->
16
16
 
17
17
  ```ruby
18
- gem "increase", "~> 1.113.0"
18
+ gem "increase", "~> 1.115.0"
19
19
  ```
20
20
 
21
21
  <!-- x-release-please-end -->
@@ -98,6 +98,12 @@ module Increase
98
98
  # @return [Increase::Resources::InboundRealTimePaymentsTransfers]
99
99
  attr_reader :inbound_real_time_payments_transfers
100
100
 
101
+ # @return [Increase::Resources::FednowTransfers]
102
+ attr_reader :fednow_transfers
103
+
104
+ # @return [Increase::Resources::InboundFednowTransfers]
105
+ attr_reader :inbound_fednow_transfers
106
+
101
107
  # @return [Increase::Resources::CheckDeposits]
102
108
  attr_reader :check_deposits
103
109
 
@@ -276,6 +282,8 @@ module Increase
276
282
  @real_time_payments_transfers = Increase::Resources::RealTimePaymentsTransfers.new(client: self)
277
283
  @inbound_real_time_payments_transfers =
278
284
  Increase::Resources::InboundRealTimePaymentsTransfers.new(client: self)
285
+ @fednow_transfers = Increase::Resources::FednowTransfers.new(client: self)
286
+ @inbound_fednow_transfers = Increase::Resources::InboundFednowTransfers.new(client: self)
279
287
  @check_deposits = Increase::Resources::CheckDeposits.new(client: self)
280
288
  @lockboxes = Increase::Resources::Lockboxes.new(client: self)
281
289
  @inbound_mail_items = Increase::Resources::InboundMailItems.new(client: self)
@@ -916,6 +916,14 @@ module Increase
916
916
  -> { Increase::CardPayment::Element::CardAuthorization::AdditionalAmounts::Dental },
917
917
  nil?: true
918
918
 
919
+ # @!attribute original
920
+ # The original pre-authorized amount.
921
+ #
922
+ # @return [Increase::Models::CardPayment::Element::CardAuthorization::AdditionalAmounts::Original, nil]
923
+ required :original,
924
+ -> { Increase::CardPayment::Element::CardAuthorization::AdditionalAmounts::Original },
925
+ nil?: true
926
+
919
927
  # @!attribute prescription
920
928
  # The part of this transaction amount that was for healthcare prescriptions.
921
929
  #
@@ -978,7 +986,7 @@ module Increase
978
986
  -> { Increase::CardPayment::Element::CardAuthorization::AdditionalAmounts::Vision },
979
987
  nil?: true
980
988
 
981
- # @!method initialize(clinic:, dental:, prescription:, surcharge:, total_cumulative:, total_healthcare:, transit:, unknown:, vision:)
989
+ # @!method initialize(clinic:, dental:, original:, prescription:, surcharge:, total_cumulative:, total_healthcare:, transit:, unknown:, vision:)
982
990
  # Some parameter documentations has been truncated, see
983
991
  # {Increase::Models::CardPayment::Element::CardAuthorization::AdditionalAmounts}
984
992
  # for more details.
@@ -991,6 +999,8 @@ module Increase
991
999
  #
992
1000
  # @param dental [Increase::Models::CardPayment::Element::CardAuthorization::AdditionalAmounts::Dental, nil] The part of this transaction amount that was for dental-related services.
993
1001
  #
1002
+ # @param original [Increase::Models::CardPayment::Element::CardAuthorization::AdditionalAmounts::Original, nil] The original pre-authorized amount.
1003
+ #
994
1004
  # @param prescription [Increase::Models::CardPayment::Element::CardAuthorization::AdditionalAmounts::Prescription, nil] The part of this transaction amount that was for healthcare prescriptions.
995
1005
  #
996
1006
  # @param surcharge [Increase::Models::CardPayment::Element::CardAuthorization::AdditionalAmounts::Surcharge, nil] The surcharge amount charged for this transaction by the merchant.
@@ -1063,6 +1073,35 @@ module Increase
1063
1073
  # @param currency [String] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional a
1064
1074
  end
1065
1075
 
1076
+ # @see Increase::Models::CardPayment::Element::CardAuthorization::AdditionalAmounts#original
1077
+ class Original < Increase::Internal::Type::BaseModel
1078
+ # @!attribute amount
1079
+ # The amount in minor units of the `currency` field. The amount is positive if it
1080
+ # is added to the amount (such as an ATM surcharge fee) and negative if it is
1081
+ # subtracted from the amount (such as a discount).
1082
+ #
1083
+ # @return [Integer]
1084
+ required :amount, Integer
1085
+
1086
+ # @!attribute currency
1087
+ # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
1088
+ # amount's currency.
1089
+ #
1090
+ # @return [String]
1091
+ required :currency, String
1092
+
1093
+ # @!method initialize(amount:, currency:)
1094
+ # Some parameter documentations has been truncated, see
1095
+ # {Increase::Models::CardPayment::Element::CardAuthorization::AdditionalAmounts::Original}
1096
+ # for more details.
1097
+ #
1098
+ # The original pre-authorized amount.
1099
+ #
1100
+ # @param amount [Integer] The amount in minor units of the `currency` field. The amount is positive if it
1101
+ #
1102
+ # @param currency [String] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional a
1103
+ end
1104
+
1066
1105
  # @see Increase::Models::CardPayment::Element::CardAuthorization::AdditionalAmounts#prescription
1067
1106
  class Prescription < Increase::Internal::Type::BaseModel
1068
1107
  # @!attribute amount
@@ -2194,6 +2233,14 @@ module Increase
2194
2233
  -> { Increase::CardPayment::Element::CardDecline::AdditionalAmounts::Dental },
2195
2234
  nil?: true
2196
2235
 
2236
+ # @!attribute original
2237
+ # The original pre-authorized amount.
2238
+ #
2239
+ # @return [Increase::Models::CardPayment::Element::CardDecline::AdditionalAmounts::Original, nil]
2240
+ required :original,
2241
+ -> { Increase::CardPayment::Element::CardDecline::AdditionalAmounts::Original },
2242
+ nil?: true
2243
+
2197
2244
  # @!attribute prescription
2198
2245
  # The part of this transaction amount that was for healthcare prescriptions.
2199
2246
  #
@@ -2250,7 +2297,7 @@ module Increase
2250
2297
  -> { Increase::CardPayment::Element::CardDecline::AdditionalAmounts::Vision },
2251
2298
  nil?: true
2252
2299
 
2253
- # @!method initialize(clinic:, dental:, prescription:, surcharge:, total_cumulative:, total_healthcare:, transit:, unknown:, vision:)
2300
+ # @!method initialize(clinic:, dental:, original:, prescription:, surcharge:, total_cumulative:, total_healthcare:, transit:, unknown:, vision:)
2254
2301
  # Some parameter documentations has been truncated, see
2255
2302
  # {Increase::Models::CardPayment::Element::CardDecline::AdditionalAmounts} for
2256
2303
  # more details.
@@ -2263,6 +2310,8 @@ module Increase
2263
2310
  #
2264
2311
  # @param dental [Increase::Models::CardPayment::Element::CardDecline::AdditionalAmounts::Dental, nil] The part of this transaction amount that was for dental-related services.
2265
2312
  #
2313
+ # @param original [Increase::Models::CardPayment::Element::CardDecline::AdditionalAmounts::Original, nil] The original pre-authorized amount.
2314
+ #
2266
2315
  # @param prescription [Increase::Models::CardPayment::Element::CardDecline::AdditionalAmounts::Prescription, nil] The part of this transaction amount that was for healthcare prescriptions.
2267
2316
  #
2268
2317
  # @param surcharge [Increase::Models::CardPayment::Element::CardDecline::AdditionalAmounts::Surcharge, nil] The surcharge amount charged for this transaction by the merchant.
@@ -2335,6 +2384,35 @@ module Increase
2335
2384
  # @param currency [String] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional a
2336
2385
  end
2337
2386
 
2387
+ # @see Increase::Models::CardPayment::Element::CardDecline::AdditionalAmounts#original
2388
+ class Original < Increase::Internal::Type::BaseModel
2389
+ # @!attribute amount
2390
+ # The amount in minor units of the `currency` field. The amount is positive if it
2391
+ # is added to the amount (such as an ATM surcharge fee) and negative if it is
2392
+ # subtracted from the amount (such as a discount).
2393
+ #
2394
+ # @return [Integer]
2395
+ required :amount, Integer
2396
+
2397
+ # @!attribute currency
2398
+ # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
2399
+ # amount's currency.
2400
+ #
2401
+ # @return [String]
2402
+ required :currency, String
2403
+
2404
+ # @!method initialize(amount:, currency:)
2405
+ # Some parameter documentations has been truncated, see
2406
+ # {Increase::Models::CardPayment::Element::CardDecline::AdditionalAmounts::Original}
2407
+ # for more details.
2408
+ #
2409
+ # The original pre-authorized amount.
2410
+ #
2411
+ # @param amount [Integer] The amount in minor units of the `currency` field. The amount is positive if it
2412
+ #
2413
+ # @param currency [String] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional a
2414
+ end
2415
+
2338
2416
  # @see Increase::Models::CardPayment::Element::CardDecline::AdditionalAmounts#prescription
2339
2417
  class Prescription < Increase::Internal::Type::BaseModel
2340
2418
  # @!attribute amount
@@ -3493,6 +3571,14 @@ module Increase
3493
3571
  -> { Increase::CardPayment::Element::CardIncrement::AdditionalAmounts::Dental },
3494
3572
  nil?: true
3495
3573
 
3574
+ # @!attribute original
3575
+ # The original pre-authorized amount.
3576
+ #
3577
+ # @return [Increase::Models::CardPayment::Element::CardIncrement::AdditionalAmounts::Original, nil]
3578
+ required :original,
3579
+ -> { Increase::CardPayment::Element::CardIncrement::AdditionalAmounts::Original },
3580
+ nil?: true
3581
+
3496
3582
  # @!attribute prescription
3497
3583
  # The part of this transaction amount that was for healthcare prescriptions.
3498
3584
  #
@@ -3549,7 +3635,7 @@ module Increase
3549
3635
  -> { Increase::CardPayment::Element::CardIncrement::AdditionalAmounts::Vision },
3550
3636
  nil?: true
3551
3637
 
3552
- # @!method initialize(clinic:, dental:, prescription:, surcharge:, total_cumulative:, total_healthcare:, transit:, unknown:, vision:)
3638
+ # @!method initialize(clinic:, dental:, original:, prescription:, surcharge:, total_cumulative:, total_healthcare:, transit:, unknown:, vision:)
3553
3639
  # Some parameter documentations has been truncated, see
3554
3640
  # {Increase::Models::CardPayment::Element::CardIncrement::AdditionalAmounts} for
3555
3641
  # more details.
@@ -3562,6 +3648,8 @@ module Increase
3562
3648
  #
3563
3649
  # @param dental [Increase::Models::CardPayment::Element::CardIncrement::AdditionalAmounts::Dental, nil] The part of this transaction amount that was for dental-related services.
3564
3650
  #
3651
+ # @param original [Increase::Models::CardPayment::Element::CardIncrement::AdditionalAmounts::Original, nil] The original pre-authorized amount.
3652
+ #
3565
3653
  # @param prescription [Increase::Models::CardPayment::Element::CardIncrement::AdditionalAmounts::Prescription, nil] The part of this transaction amount that was for healthcare prescriptions.
3566
3654
  #
3567
3655
  # @param surcharge [Increase::Models::CardPayment::Element::CardIncrement::AdditionalAmounts::Surcharge, nil] The surcharge amount charged for this transaction by the merchant.
@@ -3634,6 +3722,35 @@ module Increase
3634
3722
  # @param currency [String] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional a
3635
3723
  end
3636
3724
 
3725
+ # @see Increase::Models::CardPayment::Element::CardIncrement::AdditionalAmounts#original
3726
+ class Original < Increase::Internal::Type::BaseModel
3727
+ # @!attribute amount
3728
+ # The amount in minor units of the `currency` field. The amount is positive if it
3729
+ # is added to the amount (such as an ATM surcharge fee) and negative if it is
3730
+ # subtracted from the amount (such as a discount).
3731
+ #
3732
+ # @return [Integer]
3733
+ required :amount, Integer
3734
+
3735
+ # @!attribute currency
3736
+ # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
3737
+ # amount's currency.
3738
+ #
3739
+ # @return [String]
3740
+ required :currency, String
3741
+
3742
+ # @!method initialize(amount:, currency:)
3743
+ # Some parameter documentations has been truncated, see
3744
+ # {Increase::Models::CardPayment::Element::CardIncrement::AdditionalAmounts::Original}
3745
+ # for more details.
3746
+ #
3747
+ # The original pre-authorized amount.
3748
+ #
3749
+ # @param amount [Integer] The amount in minor units of the `currency` field. The amount is positive if it
3750
+ #
3751
+ # @param currency [String] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional a
3752
+ end
3753
+
3637
3754
  # @see Increase::Models::CardPayment::Element::CardIncrement::AdditionalAmounts#prescription
3638
3755
  class Prescription < Increase::Internal::Type::BaseModel
3639
3756
  # @!attribute amount
@@ -7301,6 +7418,14 @@ module Increase
7301
7418
  -> { Increase::CardPayment::Element::CardValidation::AdditionalAmounts::Dental },
7302
7419
  nil?: true
7303
7420
 
7421
+ # @!attribute original
7422
+ # The original pre-authorized amount.
7423
+ #
7424
+ # @return [Increase::Models::CardPayment::Element::CardValidation::AdditionalAmounts::Original, nil]
7425
+ required :original,
7426
+ -> { Increase::CardPayment::Element::CardValidation::AdditionalAmounts::Original },
7427
+ nil?: true
7428
+
7304
7429
  # @!attribute prescription
7305
7430
  # The part of this transaction amount that was for healthcare prescriptions.
7306
7431
  #
@@ -7361,7 +7486,7 @@ module Increase
7361
7486
  -> { Increase::CardPayment::Element::CardValidation::AdditionalAmounts::Vision },
7362
7487
  nil?: true
7363
7488
 
7364
- # @!method initialize(clinic:, dental:, prescription:, surcharge:, total_cumulative:, total_healthcare:, transit:, unknown:, vision:)
7489
+ # @!method initialize(clinic:, dental:, original:, prescription:, surcharge:, total_cumulative:, total_healthcare:, transit:, unknown:, vision:)
7365
7490
  # Some parameter documentations has been truncated, see
7366
7491
  # {Increase::Models::CardPayment::Element::CardValidation::AdditionalAmounts} for
7367
7492
  # more details.
@@ -7374,6 +7499,8 @@ module Increase
7374
7499
  #
7375
7500
  # @param dental [Increase::Models::CardPayment::Element::CardValidation::AdditionalAmounts::Dental, nil] The part of this transaction amount that was for dental-related services.
7376
7501
  #
7502
+ # @param original [Increase::Models::CardPayment::Element::CardValidation::AdditionalAmounts::Original, nil] The original pre-authorized amount.
7503
+ #
7377
7504
  # @param prescription [Increase::Models::CardPayment::Element::CardValidation::AdditionalAmounts::Prescription, nil] The part of this transaction amount that was for healthcare prescriptions.
7378
7505
  #
7379
7506
  # @param surcharge [Increase::Models::CardPayment::Element::CardValidation::AdditionalAmounts::Surcharge, nil] The surcharge amount charged for this transaction by the merchant.
@@ -7446,6 +7573,35 @@ module Increase
7446
7573
  # @param currency [String] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional a
7447
7574
  end
7448
7575
 
7576
+ # @see Increase::Models::CardPayment::Element::CardValidation::AdditionalAmounts#original
7577
+ class Original < Increase::Internal::Type::BaseModel
7578
+ # @!attribute amount
7579
+ # The amount in minor units of the `currency` field. The amount is positive if it
7580
+ # is added to the amount (such as an ATM surcharge fee) and negative if it is
7581
+ # subtracted from the amount (such as a discount).
7582
+ #
7583
+ # @return [Integer]
7584
+ required :amount, Integer
7585
+
7586
+ # @!attribute currency
7587
+ # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
7588
+ # amount's currency.
7589
+ #
7590
+ # @return [String]
7591
+ required :currency, String
7592
+
7593
+ # @!method initialize(amount:, currency:)
7594
+ # Some parameter documentations has been truncated, see
7595
+ # {Increase::Models::CardPayment::Element::CardValidation::AdditionalAmounts::Original}
7596
+ # for more details.
7597
+ #
7598
+ # The original pre-authorized amount.
7599
+ #
7600
+ # @param amount [Integer] The amount in minor units of the `currency` field. The amount is positive if it
7601
+ #
7602
+ # @param currency [String] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional a
7603
+ end
7604
+
7449
7605
  # @see Increase::Models::CardPayment::Element::CardValidation::AdditionalAmounts#prescription
7450
7606
  class Prescription < Increase::Internal::Type::BaseModel
7451
7607
  # @!attribute amount
@@ -737,6 +737,14 @@ module Increase
737
737
  -> { Increase::DeclinedTransaction::Source::CardDecline::AdditionalAmounts::Dental },
738
738
  nil?: true
739
739
 
740
+ # @!attribute original
741
+ # The original pre-authorized amount.
742
+ #
743
+ # @return [Increase::Models::DeclinedTransaction::Source::CardDecline::AdditionalAmounts::Original, nil]
744
+ required :original,
745
+ -> { Increase::DeclinedTransaction::Source::CardDecline::AdditionalAmounts::Original },
746
+ nil?: true
747
+
740
748
  # @!attribute prescription
741
749
  # The part of this transaction amount that was for healthcare prescriptions.
742
750
  #
@@ -799,7 +807,7 @@ module Increase
799
807
  -> { Increase::DeclinedTransaction::Source::CardDecline::AdditionalAmounts::Vision },
800
808
  nil?: true
801
809
 
802
- # @!method initialize(clinic:, dental:, prescription:, surcharge:, total_cumulative:, total_healthcare:, transit:, unknown:, vision:)
810
+ # @!method initialize(clinic:, dental:, original:, prescription:, surcharge:, total_cumulative:, total_healthcare:, transit:, unknown:, vision:)
803
811
  # Some parameter documentations has been truncated, see
804
812
  # {Increase::Models::DeclinedTransaction::Source::CardDecline::AdditionalAmounts}
805
813
  # for more details.
@@ -812,6 +820,8 @@ module Increase
812
820
  #
813
821
  # @param dental [Increase::Models::DeclinedTransaction::Source::CardDecline::AdditionalAmounts::Dental, nil] The part of this transaction amount that was for dental-related services.
814
822
  #
823
+ # @param original [Increase::Models::DeclinedTransaction::Source::CardDecline::AdditionalAmounts::Original, nil] The original pre-authorized amount.
824
+ #
815
825
  # @param prescription [Increase::Models::DeclinedTransaction::Source::CardDecline::AdditionalAmounts::Prescription, nil] The part of this transaction amount that was for healthcare prescriptions.
816
826
  #
817
827
  # @param surcharge [Increase::Models::DeclinedTransaction::Source::CardDecline::AdditionalAmounts::Surcharge, nil] The surcharge amount charged for this transaction by the merchant.
@@ -884,6 +894,35 @@ module Increase
884
894
  # @param currency [String] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional a
885
895
  end
886
896
 
897
+ # @see Increase::Models::DeclinedTransaction::Source::CardDecline::AdditionalAmounts#original
898
+ class Original < Increase::Internal::Type::BaseModel
899
+ # @!attribute amount
900
+ # The amount in minor units of the `currency` field. The amount is positive if it
901
+ # is added to the amount (such as an ATM surcharge fee) and negative if it is
902
+ # subtracted from the amount (such as a discount).
903
+ #
904
+ # @return [Integer]
905
+ required :amount, Integer
906
+
907
+ # @!attribute currency
908
+ # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
909
+ # amount's currency.
910
+ #
911
+ # @return [String]
912
+ required :currency, String
913
+
914
+ # @!method initialize(amount:, currency:)
915
+ # Some parameter documentations has been truncated, see
916
+ # {Increase::Models::DeclinedTransaction::Source::CardDecline::AdditionalAmounts::Original}
917
+ # for more details.
918
+ #
919
+ # The original pre-authorized amount.
920
+ #
921
+ # @param amount [Integer] The amount in minor units of the `currency` field. The amount is positive if it
922
+ #
923
+ # @param currency [String] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional a
924
+ end
925
+
887
926
  # @see Increase::Models::DeclinedTransaction::Source::CardDecline::AdditionalAmounts#prescription
888
927
  class Prescription < Increase::Internal::Type::BaseModel
889
928
  # @!attribute amount