increase 1.142.0 → 1.144.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: 5220b81a2ead4122f88ed2ede53a1ce18d450b660994c41962e2319b89101335
4
- data.tar.gz: 2ae9da2ccc5ead295f5f6fd43920e086004d49a21e30a0ec75e40b7aba3aaa1f
3
+ metadata.gz: 1d80dd222c1c40bee53731c7027fa72664b4806b0e646004a936b5efff7c3d72
4
+ data.tar.gz: a38386383afed291c382cc26fa1a493b8173ee05e4bb4ce7c68f0597d1be8b50
5
5
  SHA512:
6
- metadata.gz: f4bb3284b0d5f0cddc1ca0e421827218f6b1bfbf532cbf612474d3f062821af74c98f827f9427003a3b86bba7de662839dc06740afc169a4c0c0589686270b78
7
- data.tar.gz: da2d46c4f2a30413f8adf574c75f96f197bab7a3b817bce5e4492a114de5777ff54015b542803c60e9ba76d626e6a87a1e587d42431939d1ab67a4577edaeea5
6
+ metadata.gz: cfcdbb76dbfb6ac4428f1bb309fce08a3b8fa208495b125e74f8806ccf63dc58eab788404683e969f90cb722b44bd84cb36af4be98f4c01b7922e00a59a454aa
7
+ data.tar.gz: 574e5dd11b948c36f2ab3aced09562df72a02e40fb5e6bda5c1589597254fdc6d1f970330941dd48204ef1409587347c16527b8cdc35fbd1c7fdd5deee522429
data/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.144.0 (2025-11-18)
4
+
5
+ Full Changelog: [v1.143.0...v1.144.0](https://github.com/Increase/increase-ruby/compare/v1.143.0...v1.144.0)
6
+
7
+ ### Features
8
+
9
+ * **api:** api update ([ef65e7e](https://github.com/Increase/increase-ruby/commit/ef65e7e040bba725360a271ddb61222b8fdd9276))
10
+
11
+ ## 1.143.0 (2025-11-14)
12
+
13
+ Full Changelog: [v1.142.0...v1.143.0](https://github.com/Increase/increase-ruby/compare/v1.142.0...v1.143.0)
14
+
15
+ ### Features
16
+
17
+ * **api:** api update ([d0d0539](https://github.com/Increase/increase-ruby/commit/d0d053907c0edb52a744265c0218be1c07d98e49))
18
+
3
19
  ## 1.142.0 (2025-11-14)
4
20
 
5
21
  Full Changelog: [v1.141.0...v1.142.0](https://github.com/Increase/increase-ruby/compare/v1.141.0...v1.142.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.142.0"
18
+ gem "increase", "~> 1.144.0"
19
19
  ```
20
20
 
21
21
  <!-- x-release-please-end -->
@@ -23,12 +23,6 @@ module Increase
23
23
  # @return [String]
24
24
  required :account_id, String
25
25
 
26
- # @!attribute amount
27
- # The transfer amount in USD cents.
28
- #
29
- # @return [Integer]
30
- required :amount, Integer
31
-
32
26
  # @!attribute approval
33
27
  # If your account requires approvals for transfers and the transfer was approved,
34
28
  # this will contain details of the approval.
@@ -65,13 +59,6 @@ module Increase
65
59
  # @return [Increase::Models::CardPushTransfer::CreatedBy, nil]
66
60
  required :created_by, -> { Increase::CardPushTransfer::CreatedBy }, nil?: true
67
61
 
68
- # @!attribute currency
69
- # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the transfer's
70
- # currency.
71
- #
72
- # @return [Symbol, Increase::Models::CardPushTransfer::Currency]
73
- required :currency, enum: -> { Increase::CardPushTransfer::Currency }
74
-
75
62
  # @!attribute decline
76
63
  # If the transfer is rejected by the card network or the destination financial
77
64
  # institution, this will contain supplemental details.
@@ -129,6 +116,14 @@ module Increase
129
116
  # @return [String]
130
117
  required :merchant_state, String
131
118
 
119
+ # @!attribute presentment_amount
120
+ # The amount that was transferred. The receiving bank will have converted this to
121
+ # the cardholder's currency. The amount that is applied to your Increase account
122
+ # matches the currency of your account.
123
+ #
124
+ # @return [Increase::Models::CardPushTransfer::PresentmentAmount]
125
+ required :presentment_amount, -> { Increase::CardPushTransfer::PresentmentAmount }
126
+
132
127
  # @!attribute recipient_name
133
128
  # The name of the funds recipient.
134
129
  #
@@ -191,7 +186,7 @@ module Increase
191
186
  # @return [Symbol, Increase::Models::CardPushTransfer::Type]
192
187
  required :type, enum: -> { Increase::CardPushTransfer::Type }
193
188
 
194
- # @!method initialize(id:, acceptance:, account_id:, amount:, approval:, business_application_identifier:, cancellation:, created_at:, created_by:, currency:, decline:, idempotency_key:, merchant_category_code:, merchant_city_name:, merchant_name:, merchant_name_prefix:, merchant_postal_code:, merchant_state:, recipient_name:, sender_address_city:, sender_address_line1:, sender_address_postal_code:, sender_address_state:, sender_name:, source_account_number_id:, status:, submission:, type:)
189
+ # @!method initialize(id:, acceptance:, account_id:, approval:, business_application_identifier:, cancellation:, created_at:, created_by:, decline:, idempotency_key:, merchant_category_code:, merchant_city_name:, merchant_name:, merchant_name_prefix:, merchant_postal_code:, merchant_state:, presentment_amount:, recipient_name:, sender_address_city:, sender_address_line1:, sender_address_postal_code:, sender_address_state:, sender_name:, source_account_number_id:, status:, submission:, type:)
195
190
  # Some parameter documentations has been truncated, see
196
191
  # {Increase::Models::CardPushTransfer} for more details.
197
192
  #
@@ -203,8 +198,6 @@ module Increase
203
198
  #
204
199
  # @param account_id [String] The Account from which the transfer was sent.
205
200
  #
206
- # @param amount [Integer] The transfer amount in USD cents.
207
- #
208
201
  # @param approval [Increase::Models::CardPushTransfer::Approval, nil] If your account requires approvals for transfers and the transfer was approved,
209
202
  #
210
203
  # @param business_application_identifier [Symbol, Increase::Models::CardPushTransfer::BusinessApplicationIdentifier] The Business Application Identifier describes the type of transaction being perf
@@ -215,8 +208,6 @@ module Increase
215
208
  #
216
209
  # @param created_by [Increase::Models::CardPushTransfer::CreatedBy, nil] What object created the transfer, either via the API or the dashboard.
217
210
  #
218
- # @param currency [Symbol, Increase::Models::CardPushTransfer::Currency] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the transfer's c
219
- #
220
211
  # @param decline [Increase::Models::CardPushTransfer::Decline, nil] If the transfer is rejected by the card network or the destination financial ins
221
212
  #
222
213
  # @param idempotency_key [String, nil] The idempotency key you chose for this object. This value is unique across Incre
@@ -233,6 +224,8 @@ module Increase
233
224
  #
234
225
  # @param merchant_state [String] The state of the merchant (generally your business) sending the transfer.
235
226
  #
227
+ # @param presentment_amount [Increase::Models::CardPushTransfer::PresentmentAmount] The amount that was transferred. The receiving bank will have converted this to
228
+ #
236
229
  # @param recipient_name [String] The name of the funds recipient.
237
230
  #
238
231
  # @param sender_address_city [String] The city of the sender.
@@ -282,7 +275,13 @@ module Increase
282
275
  # @return [String, nil]
283
276
  required :network_transaction_identifier, String, nil?: true
284
277
 
285
- # @!method initialize(accepted_at:, authorization_identification_response:, card_verification_value2_result:, network_transaction_identifier:)
278
+ # @!attribute settlement_amount
279
+ # The transfer amount in USD cents.
280
+ #
281
+ # @return [Integer]
282
+ required :settlement_amount, Integer
283
+
284
+ # @!method initialize(accepted_at:, authorization_identification_response:, card_verification_value2_result:, network_transaction_identifier:, settlement_amount:)
286
285
  # Some parameter documentations has been truncated, see
287
286
  # {Increase::Models::CardPushTransfer::Acceptance} for more details.
288
287
  #
@@ -296,6 +295,8 @@ module Increase
296
295
  # @param card_verification_value2_result [Symbol, Increase::Models::CardPushTransfer::Acceptance::CardVerificationValue2Result, nil] The result of the Card Verification Value 2 match.
297
296
  #
298
297
  # @param network_transaction_identifier [String, nil] A unique identifier for the transaction on the card network.
298
+ #
299
+ # @param settlement_amount [Integer] The transfer amount in USD cents.
299
300
 
300
301
  # The result of the Card Verification Value 2 match.
301
302
  #
@@ -527,20 +528,6 @@ module Increase
527
528
  end
528
529
  end
529
530
 
530
- # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the transfer's
531
- # currency.
532
- #
533
- # @see Increase::Models::CardPushTransfer#currency
534
- module Currency
535
- extend Increase::Internal::Type::Enum
536
-
537
- # US Dollar (USD)
538
- USD = :USD
539
-
540
- # @!method self.values
541
- # @return [Array<Symbol>]
542
- end
543
-
544
531
  # @see Increase::Models::CardPushTransfer#decline
545
532
  class Decline < Increase::Internal::Type::BaseModel
546
533
  # @!attribute declined_at
@@ -713,6 +700,524 @@ module Increase
713
700
  end
714
701
  end
715
702
 
703
+ # @see Increase::Models::CardPushTransfer#presentment_amount
704
+ class PresentmentAmount < Increase::Internal::Type::BaseModel
705
+ # @!attribute currency
706
+ # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code.
707
+ #
708
+ # @return [Symbol, Increase::Models::CardPushTransfer::PresentmentAmount::Currency]
709
+ required :currency, enum: -> { Increase::CardPushTransfer::PresentmentAmount::Currency }
710
+
711
+ # @!attribute value
712
+ # The amount value represented as a string containing a decimal number in major
713
+ # units (so e.g., "12.34" for $12.34).
714
+ #
715
+ # @return [String]
716
+ required :value, String
717
+
718
+ # @!method initialize(currency:, value:)
719
+ # Some parameter documentations has been truncated, see
720
+ # {Increase::Models::CardPushTransfer::PresentmentAmount} for more details.
721
+ #
722
+ # The amount that was transferred. The receiving bank will have converted this to
723
+ # the cardholder's currency. The amount that is applied to your Increase account
724
+ # matches the currency of your account.
725
+ #
726
+ # @param currency [Symbol, Increase::Models::CardPushTransfer::PresentmentAmount::Currency] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code.
727
+ #
728
+ # @param value [String] The amount value represented as a string containing a decimal number in major un
729
+
730
+ # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code.
731
+ #
732
+ # @see Increase::Models::CardPushTransfer::PresentmentAmount#currency
733
+ module Currency
734
+ extend Increase::Internal::Type::Enum
735
+
736
+ # AFN
737
+ AFN = :AFN
738
+
739
+ # EUR
740
+ EUR = :EUR
741
+
742
+ # ALL
743
+ ALL = :ALL
744
+
745
+ # DZD
746
+ DZD = :DZD
747
+
748
+ # USD
749
+ USD = :USD
750
+
751
+ # AOA
752
+ AOA = :AOA
753
+
754
+ # ARS
755
+ ARS = :ARS
756
+
757
+ # AMD
758
+ AMD = :AMD
759
+
760
+ # AWG
761
+ AWG = :AWG
762
+
763
+ # AUD
764
+ AUD = :AUD
765
+
766
+ # AZN
767
+ AZN = :AZN
768
+
769
+ # BSD
770
+ BSD = :BSD
771
+
772
+ # BHD
773
+ BHD = :BHD
774
+
775
+ # BDT
776
+ BDT = :BDT
777
+
778
+ # BBD
779
+ BBD = :BBD
780
+
781
+ # BYN
782
+ BYN = :BYN
783
+
784
+ # BZD
785
+ BZD = :BZD
786
+
787
+ # BMD
788
+ BMD = :BMD
789
+
790
+ # INR
791
+ INR = :INR
792
+
793
+ # BTN
794
+ BTN = :BTN
795
+
796
+ # BOB
797
+ BOB = :BOB
798
+
799
+ # BOV
800
+ BOV = :BOV
801
+
802
+ # BAM
803
+ BAM = :BAM
804
+
805
+ # BWP
806
+ BWP = :BWP
807
+
808
+ # NOK
809
+ NOK = :NOK
810
+
811
+ # BRL
812
+ BRL = :BRL
813
+
814
+ # BND
815
+ BND = :BND
816
+
817
+ # BGN
818
+ BGN = :BGN
819
+
820
+ # BIF
821
+ BIF = :BIF
822
+
823
+ # CVE
824
+ CVE = :CVE
825
+
826
+ # KHR
827
+ KHR = :KHR
828
+
829
+ # CAD
830
+ CAD = :CAD
831
+
832
+ # KYD
833
+ KYD = :KYD
834
+
835
+ # CLP
836
+ CLP = :CLP
837
+
838
+ # CLF
839
+ CLF = :CLF
840
+
841
+ # CNY
842
+ CNY = :CNY
843
+
844
+ # COP
845
+ COP = :COP
846
+
847
+ # COU
848
+ COU = :COU
849
+
850
+ # KMF
851
+ KMF = :KMF
852
+
853
+ # CDF
854
+ CDF = :CDF
855
+
856
+ # NZD
857
+ NZD = :NZD
858
+
859
+ # CRC
860
+ CRC = :CRC
861
+
862
+ # CUP
863
+ CUP = :CUP
864
+
865
+ # CZK
866
+ CZK = :CZK
867
+
868
+ # DKK
869
+ DKK = :DKK
870
+
871
+ # DJF
872
+ DJF = :DJF
873
+
874
+ # DOP
875
+ DOP = :DOP
876
+
877
+ # EGP
878
+ EGP = :EGP
879
+
880
+ # SVC
881
+ SVC = :SVC
882
+
883
+ # ERN
884
+ ERN = :ERN
885
+
886
+ # SZL
887
+ SZL = :SZL
888
+
889
+ # ETB
890
+ ETB = :ETB
891
+
892
+ # FKP
893
+ FKP = :FKP
894
+
895
+ # FJD
896
+ FJD = :FJD
897
+
898
+ # GMD
899
+ GMD = :GMD
900
+
901
+ # GEL
902
+ GEL = :GEL
903
+
904
+ # GHS
905
+ GHS = :GHS
906
+
907
+ # GIP
908
+ GIP = :GIP
909
+
910
+ # GTQ
911
+ GTQ = :GTQ
912
+
913
+ # GBP
914
+ GBP = :GBP
915
+
916
+ # GNF
917
+ GNF = :GNF
918
+
919
+ # GYD
920
+ GYD = :GYD
921
+
922
+ # HTG
923
+ HTG = :HTG
924
+
925
+ # HNL
926
+ HNL = :HNL
927
+
928
+ # HKD
929
+ HKD = :HKD
930
+
931
+ # HUF
932
+ HUF = :HUF
933
+
934
+ # ISK
935
+ ISK = :ISK
936
+
937
+ # IDR
938
+ IDR = :IDR
939
+
940
+ # IRR
941
+ IRR = :IRR
942
+
943
+ # IQD
944
+ IQD = :IQD
945
+
946
+ # ILS
947
+ ILS = :ILS
948
+
949
+ # JMD
950
+ JMD = :JMD
951
+
952
+ # JPY
953
+ JPY = :JPY
954
+
955
+ # JOD
956
+ JOD = :JOD
957
+
958
+ # KZT
959
+ KZT = :KZT
960
+
961
+ # KES
962
+ KES = :KES
963
+
964
+ # KPW
965
+ KPW = :KPW
966
+
967
+ # KRW
968
+ KRW = :KRW
969
+
970
+ # KWD
971
+ KWD = :KWD
972
+
973
+ # KGS
974
+ KGS = :KGS
975
+
976
+ # LAK
977
+ LAK = :LAK
978
+
979
+ # LBP
980
+ LBP = :LBP
981
+
982
+ # LSL
983
+ LSL = :LSL
984
+
985
+ # ZAR
986
+ ZAR = :ZAR
987
+
988
+ # LRD
989
+ LRD = :LRD
990
+
991
+ # LYD
992
+ LYD = :LYD
993
+
994
+ # CHF
995
+ CHF = :CHF
996
+
997
+ # MOP
998
+ MOP = :MOP
999
+
1000
+ # MKD
1001
+ MKD = :MKD
1002
+
1003
+ # MGA
1004
+ MGA = :MGA
1005
+
1006
+ # MWK
1007
+ MWK = :MWK
1008
+
1009
+ # MYR
1010
+ MYR = :MYR
1011
+
1012
+ # MVR
1013
+ MVR = :MVR
1014
+
1015
+ # MRU
1016
+ MRU = :MRU
1017
+
1018
+ # MUR
1019
+ MUR = :MUR
1020
+
1021
+ # MXN
1022
+ MXN = :MXN
1023
+
1024
+ # MXV
1025
+ MXV = :MXV
1026
+
1027
+ # MDL
1028
+ MDL = :MDL
1029
+
1030
+ # MNT
1031
+ MNT = :MNT
1032
+
1033
+ # MAD
1034
+ MAD = :MAD
1035
+
1036
+ # MZN
1037
+ MZN = :MZN
1038
+
1039
+ # MMK
1040
+ MMK = :MMK
1041
+
1042
+ # NAD
1043
+ NAD = :NAD
1044
+
1045
+ # NPR
1046
+ NPR = :NPR
1047
+
1048
+ # NIO
1049
+ NIO = :NIO
1050
+
1051
+ # NGN
1052
+ NGN = :NGN
1053
+
1054
+ # OMR
1055
+ OMR = :OMR
1056
+
1057
+ # PKR
1058
+ PKR = :PKR
1059
+
1060
+ # PAB
1061
+ PAB = :PAB
1062
+
1063
+ # PGK
1064
+ PGK = :PGK
1065
+
1066
+ # PYG
1067
+ PYG = :PYG
1068
+
1069
+ # PEN
1070
+ PEN = :PEN
1071
+
1072
+ # PHP
1073
+ PHP = :PHP
1074
+
1075
+ # PLN
1076
+ PLN = :PLN
1077
+
1078
+ # QAR
1079
+ QAR = :QAR
1080
+
1081
+ # RON
1082
+ RON = :RON
1083
+
1084
+ # RUB
1085
+ RUB = :RUB
1086
+
1087
+ # RWF
1088
+ RWF = :RWF
1089
+
1090
+ # SHP
1091
+ SHP = :SHP
1092
+
1093
+ # WST
1094
+ WST = :WST
1095
+
1096
+ # STN
1097
+ STN = :STN
1098
+
1099
+ # SAR
1100
+ SAR = :SAR
1101
+
1102
+ # RSD
1103
+ RSD = :RSD
1104
+
1105
+ # SCR
1106
+ SCR = :SCR
1107
+
1108
+ # SLE
1109
+ SLE = :SLE
1110
+
1111
+ # SGD
1112
+ SGD = :SGD
1113
+
1114
+ # SBD
1115
+ SBD = :SBD
1116
+
1117
+ # SOS
1118
+ SOS = :SOS
1119
+
1120
+ # SSP
1121
+ SSP = :SSP
1122
+
1123
+ # LKR
1124
+ LKR = :LKR
1125
+
1126
+ # SDG
1127
+ SDG = :SDG
1128
+
1129
+ # SRD
1130
+ SRD = :SRD
1131
+
1132
+ # SEK
1133
+ SEK = :SEK
1134
+
1135
+ # CHE
1136
+ CHE = :CHE
1137
+
1138
+ # CHW
1139
+ CHW = :CHW
1140
+
1141
+ # SYP
1142
+ SYP = :SYP
1143
+
1144
+ # TWD
1145
+ TWD = :TWD
1146
+
1147
+ # TJS
1148
+ TJS = :TJS
1149
+
1150
+ # TZS
1151
+ TZS = :TZS
1152
+
1153
+ # THB
1154
+ THB = :THB
1155
+
1156
+ # TOP
1157
+ TOP = :TOP
1158
+
1159
+ # TTD
1160
+ TTD = :TTD
1161
+
1162
+ # TND
1163
+ TND = :TND
1164
+
1165
+ # TRY
1166
+ TRY = :TRY
1167
+
1168
+ # TMT
1169
+ TMT = :TMT
1170
+
1171
+ # UGX
1172
+ UGX = :UGX
1173
+
1174
+ # UAH
1175
+ UAH = :UAH
1176
+
1177
+ # AED
1178
+ AED = :AED
1179
+
1180
+ # USN
1181
+ USN = :USN
1182
+
1183
+ # UYU
1184
+ UYU = :UYU
1185
+
1186
+ # UYI
1187
+ UYI = :UYI
1188
+
1189
+ # UYW
1190
+ UYW = :UYW
1191
+
1192
+ # UZS
1193
+ UZS = :UZS
1194
+
1195
+ # VUV
1196
+ VUV = :VUV
1197
+
1198
+ # VES
1199
+ VES = :VES
1200
+
1201
+ # VED
1202
+ VED = :VED
1203
+
1204
+ # VND
1205
+ VND = :VND
1206
+
1207
+ # YER
1208
+ YER = :YER
1209
+
1210
+ # ZMW
1211
+ ZMW = :ZMW
1212
+
1213
+ # ZWG
1214
+ ZWG = :ZWG
1215
+
1216
+ # @!method self.values
1217
+ # @return [Array<Symbol>]
1218
+ end
1219
+ end
1220
+
716
1221
  # The lifecycle status of the transfer.
717
1222
  #
718
1223
  # @see Increase::Models::CardPushTransfer#status