increase 1.114.0 → 1.116.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bac78d29bbc1cba753854b3addc6af6d3d8b8c158f2f58c5f85dd0f015eed0d7
4
- data.tar.gz: a1310b2589f4f6e0847396f1bed5e8b0d1fbcfd665e5a18c714a751ea7e7ead6
3
+ metadata.gz: 1f603d150d58551ed768c287938833ae182c1592c0c471275e13887d419d3e84
4
+ data.tar.gz: c07e87205dc91864e238afdcd14d510d2305cb01d41ebc5c1b8308a3424a8998
5
5
  SHA512:
6
- metadata.gz: 8d30619f8f721c612be918a69da82bbbae2a942e3aeaa00c471d46df240e44ac8a7eeee02c41ef685c6b9c56090414298e1f30dc6f267b6342d66b300d250def
7
- data.tar.gz: c288c5e847fb48a1041df7236d43612c18ee23e61b3fbf300fb82cae9b855794783ef750a7712f892033722c7b070d1d0dc43f1bd3f1306a6327d72a7b91f497
6
+ metadata.gz: 704d99b034e6fc1d9eebcc4a6ad2339a3186598622818f5299e2addd7381dee380a7dd75ae9d90e0adf669b06fcac7304c0be1de3ee9e48959ae73d18a9746f9
7
+ data.tar.gz: 390359466dcba5f8580bba02f285a17e3986216156c32b77e9d9d0c61609508ef8ab76dcfe5e389a3d37cf8694a31a87718714e32dadbf21fac75609643ab756
data/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.116.0 (2025-10-27)
4
+
5
+ Full Changelog: [v1.115.0...v1.116.0](https://github.com/Increase/increase-ruby/compare/v1.115.0...v1.116.0)
6
+
7
+ ### Features
8
+
9
+ * **api:** api update ([bcb588d](https://github.com/Increase/increase-ruby/commit/bcb588d1864aafbf4a1b99b65a02bc37005bf4d2))
10
+
11
+ ## 1.115.0 (2025-10-26)
12
+
13
+ Full Changelog: [v1.114.0...v1.115.0](https://github.com/Increase/increase-ruby/compare/v1.114.0...v1.115.0)
14
+
15
+ ### Features
16
+
17
+ * **api:** api update ([a6288c7](https://github.com/Increase/increase-ruby/commit/a6288c723f7a36646e399428d4be6b54d30488e8))
18
+
3
19
  ## 1.114.0 (2025-10-24)
4
20
 
5
21
  Full Changelog: [v1.113.0...v1.114.0](https://github.com/Increase/increase-ruby/compare/v1.113.0...v1.114.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.114.0"
18
+ gem "increase", "~> 1.116.0"
19
19
  ```
20
20
 
21
21
  <!-- x-release-please-end -->
@@ -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
@@ -767,6 +767,16 @@ module Increase
767
767
  },
768
768
  nil?: true
769
769
 
770
+ # @!attribute original
771
+ # The original pre-authorized amount.
772
+ #
773
+ # @return [Increase::Models::PendingTransaction::Source::CardAuthorization::AdditionalAmounts::Original, nil]
774
+ required :original,
775
+ -> {
776
+ Increase::PendingTransaction::Source::CardAuthorization::AdditionalAmounts::Original
777
+ },
778
+ nil?: true
779
+
770
780
  # @!attribute prescription
771
781
  # The part of this transaction amount that was for healthcare prescriptions.
772
782
  #
@@ -837,7 +847,7 @@ module Increase
837
847
  },
838
848
  nil?: true
839
849
 
840
- # @!method initialize(clinic:, dental:, prescription:, surcharge:, total_cumulative:, total_healthcare:, transit:, unknown:, vision:)
850
+ # @!method initialize(clinic:, dental:, original:, prescription:, surcharge:, total_cumulative:, total_healthcare:, transit:, unknown:, vision:)
841
851
  # Some parameter documentations has been truncated, see
842
852
  # {Increase::Models::PendingTransaction::Source::CardAuthorization::AdditionalAmounts}
843
853
  # for more details.
@@ -850,6 +860,8 @@ module Increase
850
860
  #
851
861
  # @param dental [Increase::Models::PendingTransaction::Source::CardAuthorization::AdditionalAmounts::Dental, nil] The part of this transaction amount that was for dental-related services.
852
862
  #
863
+ # @param original [Increase::Models::PendingTransaction::Source::CardAuthorization::AdditionalAmounts::Original, nil] The original pre-authorized amount.
864
+ #
853
865
  # @param prescription [Increase::Models::PendingTransaction::Source::CardAuthorization::AdditionalAmounts::Prescription, nil] The part of this transaction amount that was for healthcare prescriptions.
854
866
  #
855
867
  # @param surcharge [Increase::Models::PendingTransaction::Source::CardAuthorization::AdditionalAmounts::Surcharge, nil] The surcharge amount charged for this transaction by the merchant.
@@ -922,6 +934,35 @@ module Increase
922
934
  # @param currency [String] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional a
923
935
  end
924
936
 
937
+ # @see Increase::Models::PendingTransaction::Source::CardAuthorization::AdditionalAmounts#original
938
+ class Original < Increase::Internal::Type::BaseModel
939
+ # @!attribute amount
940
+ # The amount in minor units of the `currency` field. The amount is positive if it
941
+ # is added to the amount (such as an ATM surcharge fee) and negative if it is
942
+ # subtracted from the amount (such as a discount).
943
+ #
944
+ # @return [Integer]
945
+ required :amount, Integer
946
+
947
+ # @!attribute currency
948
+ # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
949
+ # amount's currency.
950
+ #
951
+ # @return [String]
952
+ required :currency, String
953
+
954
+ # @!method initialize(amount:, currency:)
955
+ # Some parameter documentations has been truncated, see
956
+ # {Increase::Models::PendingTransaction::Source::CardAuthorization::AdditionalAmounts::Original}
957
+ # for more details.
958
+ #
959
+ # The original pre-authorized amount.
960
+ #
961
+ # @param amount [Integer] The amount in minor units of the `currency` field. The amount is positive if it
962
+ #
963
+ # @param currency [String] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional a
964
+ end
965
+
925
966
  # @see Increase::Models::PendingTransaction::Source::CardAuthorization::AdditionalAmounts#prescription
926
967
  class Prescription < Increase::Internal::Type::BaseModel
927
968
  # @!attribute amount
@@ -502,6 +502,14 @@ module Increase
502
502
  -> { Increase::RealTimeDecision::CardAuthorization::AdditionalAmounts::Dental },
503
503
  nil?: true
504
504
 
505
+ # @!attribute original
506
+ # The original pre-authorized amount.
507
+ #
508
+ # @return [Increase::Models::RealTimeDecision::CardAuthorization::AdditionalAmounts::Original, nil]
509
+ required :original,
510
+ -> { Increase::RealTimeDecision::CardAuthorization::AdditionalAmounts::Original },
511
+ nil?: true
512
+
505
513
  # @!attribute prescription
506
514
  # The part of this transaction amount that was for healthcare prescriptions.
507
515
  #
@@ -558,7 +566,7 @@ module Increase
558
566
  -> { Increase::RealTimeDecision::CardAuthorization::AdditionalAmounts::Vision },
559
567
  nil?: true
560
568
 
561
- # @!method initialize(clinic:, dental:, prescription:, surcharge:, total_cumulative:, total_healthcare:, transit:, unknown:, vision:)
569
+ # @!method initialize(clinic:, dental:, original:, prescription:, surcharge:, total_cumulative:, total_healthcare:, transit:, unknown:, vision:)
562
570
  # Some parameter documentations has been truncated, see
563
571
  # {Increase::Models::RealTimeDecision::CardAuthorization::AdditionalAmounts} for
564
572
  # more details.
@@ -571,6 +579,8 @@ module Increase
571
579
  #
572
580
  # @param dental [Increase::Models::RealTimeDecision::CardAuthorization::AdditionalAmounts::Dental, nil] The part of this transaction amount that was for dental-related services.
573
581
  #
582
+ # @param original [Increase::Models::RealTimeDecision::CardAuthorization::AdditionalAmounts::Original, nil] The original pre-authorized amount.
583
+ #
574
584
  # @param prescription [Increase::Models::RealTimeDecision::CardAuthorization::AdditionalAmounts::Prescription, nil] The part of this transaction amount that was for healthcare prescriptions.
575
585
  #
576
586
  # @param surcharge [Increase::Models::RealTimeDecision::CardAuthorization::AdditionalAmounts::Surcharge, nil] The surcharge amount charged for this transaction by the merchant.
@@ -643,6 +653,35 @@ module Increase
643
653
  # @param currency [String] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional a
644
654
  end
645
655
 
656
+ # @see Increase::Models::RealTimeDecision::CardAuthorization::AdditionalAmounts#original
657
+ class Original < Increase::Internal::Type::BaseModel
658
+ # @!attribute amount
659
+ # The amount in minor units of the `currency` field. The amount is positive if it
660
+ # is added to the amount (such as an ATM surcharge fee) and negative if it is
661
+ # subtracted from the amount (such as a discount).
662
+ #
663
+ # @return [Integer]
664
+ required :amount, Integer
665
+
666
+ # @!attribute currency
667
+ # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
668
+ # amount's currency.
669
+ #
670
+ # @return [String]
671
+ required :currency, String
672
+
673
+ # @!method initialize(amount:, currency:)
674
+ # Some parameter documentations has been truncated, see
675
+ # {Increase::Models::RealTimeDecision::CardAuthorization::AdditionalAmounts::Original}
676
+ # for more details.
677
+ #
678
+ # The original pre-authorized amount.
679
+ #
680
+ # @param amount [Integer] The amount in minor units of the `currency` field. The amount is positive if it
681
+ #
682
+ # @param currency [String] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional a
683
+ end
684
+
646
685
  # @see Increase::Models::RealTimeDecision::CardAuthorization::AdditionalAmounts#prescription
647
686
  class Prescription < Increase::Internal::Type::BaseModel
648
687
  # @!attribute amount
@@ -8,6 +8,13 @@ module Increase
8
8
  extend Increase::Internal::Type::RequestParameters::Converter
9
9
  include Increase::Internal::Type::RequestParameters
10
10
 
11
+ # @!attribute amount
12
+ # The refund amount in cents. Pulled off the `pending_transaction` or the
13
+ # `transaction` if not provided.
14
+ #
15
+ # @return [Integer, nil]
16
+ optional :amount, Integer
17
+
11
18
  # @!attribute pending_transaction_id
12
19
  # The identifier of the Pending Transaction for the refund authorization. If this
13
20
  # is provided, `transaction` must not be provided as a refund with a refund
@@ -23,10 +30,12 @@ module Increase
23
30
  # @return [String, nil]
24
31
  optional :transaction_id, String
25
32
 
26
- # @!method initialize(pending_transaction_id: nil, transaction_id: nil, request_options: {})
33
+ # @!method initialize(amount: nil, pending_transaction_id: nil, transaction_id: nil, request_options: {})
27
34
  # Some parameter documentations has been truncated, see
28
35
  # {Increase::Models::Simulations::CardRefundCreateParams} for more details.
29
36
  #
37
+ # @param amount [Integer] The refund amount in cents. Pulled off the `pending_transaction` or the `transac
38
+ #
30
39
  # @param pending_transaction_id [String] The identifier of the Pending Transaction for the refund authorization. If this
31
40
  #
32
41
  # @param transaction_id [String] The identifier for the Transaction to refund. The Transaction's source must have
@@ -1567,6 +1567,14 @@ module Increase
1567
1567
  -> { Increase::Transaction::Source::CardFinancial::AdditionalAmounts::Dental },
1568
1568
  nil?: true
1569
1569
 
1570
+ # @!attribute original
1571
+ # The original pre-authorized amount.
1572
+ #
1573
+ # @return [Increase::Models::Transaction::Source::CardFinancial::AdditionalAmounts::Original, nil]
1574
+ required :original,
1575
+ -> { Increase::Transaction::Source::CardFinancial::AdditionalAmounts::Original },
1576
+ nil?: true
1577
+
1570
1578
  # @!attribute prescription
1571
1579
  # The part of this transaction amount that was for healthcare prescriptions.
1572
1580
  #
@@ -1623,7 +1631,7 @@ module Increase
1623
1631
  -> { Increase::Transaction::Source::CardFinancial::AdditionalAmounts::Vision },
1624
1632
  nil?: true
1625
1633
 
1626
- # @!method initialize(clinic:, dental:, prescription:, surcharge:, total_cumulative:, total_healthcare:, transit:, unknown:, vision:)
1634
+ # @!method initialize(clinic:, dental:, original:, prescription:, surcharge:, total_cumulative:, total_healthcare:, transit:, unknown:, vision:)
1627
1635
  # Some parameter documentations has been truncated, see
1628
1636
  # {Increase::Models::Transaction::Source::CardFinancial::AdditionalAmounts} for
1629
1637
  # more details.
@@ -1636,6 +1644,8 @@ module Increase
1636
1644
  #
1637
1645
  # @param dental [Increase::Models::Transaction::Source::CardFinancial::AdditionalAmounts::Dental, nil] The part of this transaction amount that was for dental-related services.
1638
1646
  #
1647
+ # @param original [Increase::Models::Transaction::Source::CardFinancial::AdditionalAmounts::Original, nil] The original pre-authorized amount.
1648
+ #
1639
1649
  # @param prescription [Increase::Models::Transaction::Source::CardFinancial::AdditionalAmounts::Prescription, nil] The part of this transaction amount that was for healthcare prescriptions.
1640
1650
  #
1641
1651
  # @param surcharge [Increase::Models::Transaction::Source::CardFinancial::AdditionalAmounts::Surcharge, nil] The surcharge amount charged for this transaction by the merchant.
@@ -1708,6 +1718,35 @@ module Increase
1708
1718
  # @param currency [String] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional a
1709
1719
  end
1710
1720
 
1721
+ # @see Increase::Models::Transaction::Source::CardFinancial::AdditionalAmounts#original
1722
+ class Original < Increase::Internal::Type::BaseModel
1723
+ # @!attribute amount
1724
+ # The amount in minor units of the `currency` field. The amount is positive if it
1725
+ # is added to the amount (such as an ATM surcharge fee) and negative if it is
1726
+ # subtracted from the amount (such as a discount).
1727
+ #
1728
+ # @return [Integer]
1729
+ required :amount, Integer
1730
+
1731
+ # @!attribute currency
1732
+ # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
1733
+ # amount's currency.
1734
+ #
1735
+ # @return [String]
1736
+ required :currency, String
1737
+
1738
+ # @!method initialize(amount:, currency:)
1739
+ # Some parameter documentations has been truncated, see
1740
+ # {Increase::Models::Transaction::Source::CardFinancial::AdditionalAmounts::Original}
1741
+ # for more details.
1742
+ #
1743
+ # The original pre-authorized amount.
1744
+ #
1745
+ # @param amount [Integer] The amount in minor units of the `currency` field. The amount is positive if it
1746
+ #
1747
+ # @param currency [String] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional a
1748
+ end
1749
+
1711
1750
  # @see Increase::Models::Transaction::Source::CardFinancial::AdditionalAmounts#prescription
1712
1751
  class Prescription < Increase::Internal::Type::BaseModel
1713
1752
  # @!attribute amount
@@ -10,7 +10,9 @@ module Increase
10
10
  # Simulates refunding a card transaction. The full value of the original sandbox
11
11
  # transaction is refunded.
12
12
  #
13
- # @overload create(pending_transaction_id: nil, transaction_id: nil, request_options: {})
13
+ # @overload create(amount: nil, pending_transaction_id: nil, transaction_id: nil, request_options: {})
14
+ #
15
+ # @param amount [Integer] The refund amount in cents. Pulled off the `pending_transaction` or the `transac
14
16
  #
15
17
  # @param pending_transaction_id [String] The identifier of the Pending Transaction for the refund authorization. If this
16
18
  #
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Increase
4
- VERSION = "1.114.0"
4
+ VERSION = "1.116.0"
5
5
  end