Skip to content

Commit eaccb51

Browse files
feat(api): adds support for Auth Rule features
1 parent 900f6d5 commit eaccb51

31 files changed

+3367
-70
lines changed

.stats.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
configured_endpoints: 169
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/lithic%2Flithic-fbbce0ea11d3e86e532f705804f3d79e8eecfb8a7796e3a6ad3c50cccee14bb1.yml
3-
openapi_spec_hash: 3f44b97866ca74effe5e70fc9c64effb
4-
config_hash: 768e8f0faa1a21e26b07e6cdc395cebf
1+
configured_endpoints: 170
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/lithic%2Flithic-1a0e3a42c88b88140af0f9ad05ab0026fc87f0a500d6879c86b93dfa7f923810.yml
3+
openapi_spec_hash: 2b4db6185c6e4ab3626461a448c97d4b
4+
config_hash: 7a6a0c0bab3306093c6c171cd7407a45

lithic-java-core/src/main/kotlin/com/lithic/api/models/AuthRuleV2CreateParams.kt

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1783,6 +1783,9 @@ private constructor(
17831783
* acquirer fee field in the settlement/cardholder billing currency. This
17841784
* is the amount the issuer should authorize against unless the issuer is
17851785
* paying the acquirer fee on behalf of the cardholder.
1786+
* * `CASH_AMOUNT`: The cash amount of the transaction in minor units
1787+
* (cents). This represents the amount of cash being withdrawn or
1788+
* advanced.
17861789
* * `RISK_SCORE`: Network-provided score assessing risk level associated
17871790
* with a given authorization. Scores are on a range of 0-999, with 0
17881791
* representing the lowest risk and 999 representing the highest risk. For
@@ -1925,6 +1928,9 @@ private constructor(
19251928
* currency. This is the amount the issuer should authorize against
19261929
* unless the issuer is paying the acquirer fee on behalf of the
19271930
* cardholder.
1931+
* * `CASH_AMOUNT`: The cash amount of the transaction in minor units
1932+
* (cents). This represents the amount of cash being withdrawn or
1933+
* advanced.
19281934
* * `RISK_SCORE`: Network-provided score assessing risk level
19291935
* associated with a given authorization. Scores are on a range of
19301936
* 0-999, with 0 representing the lowest risk and 999 representing the
@@ -2101,6 +2107,9 @@ private constructor(
21012107
* acquirer fee field in the settlement/cardholder billing currency. This
21022108
* is the amount the issuer should authorize against unless the issuer is
21032109
* paying the acquirer fee on behalf of the cardholder.
2110+
* * `CASH_AMOUNT`: The cash amount of the transaction in minor units
2111+
* (cents). This represents the amount of cash being withdrawn or
2112+
* advanced.
21042113
* * `RISK_SCORE`: Network-provided score assessing risk level associated
21052114
* with a given authorization. Scores are on a range of 0-999, with 0
21062115
* representing the lowest risk and 999 representing the highest risk. For
@@ -2159,6 +2168,8 @@ private constructor(
21592168

21602169
@JvmField val TRANSACTION_AMOUNT = of("TRANSACTION_AMOUNT")
21612170

2171+
@JvmField val CASH_AMOUNT = of("CASH_AMOUNT")
2172+
21622173
@JvmField val RISK_SCORE = of("RISK_SCORE")
21632174

21642175
@JvmField
@@ -2193,6 +2204,7 @@ private constructor(
21932204
LIABILITY_SHIFT,
21942205
PAN_ENTRY_MODE,
21952206
TRANSACTION_AMOUNT,
2207+
CASH_AMOUNT,
21962208
RISK_SCORE,
21972209
CARD_TRANSACTION_COUNT_15_M,
21982210
CARD_TRANSACTION_COUNT_1_H,
@@ -2224,6 +2236,7 @@ private constructor(
22242236
LIABILITY_SHIFT,
22252237
PAN_ENTRY_MODE,
22262238
TRANSACTION_AMOUNT,
2239+
CASH_AMOUNT,
22272240
RISK_SCORE,
22282241
CARD_TRANSACTION_COUNT_15_M,
22292242
CARD_TRANSACTION_COUNT_1_H,
@@ -2258,6 +2271,7 @@ private constructor(
22582271
LIABILITY_SHIFT -> Value.LIABILITY_SHIFT
22592272
PAN_ENTRY_MODE -> Value.PAN_ENTRY_MODE
22602273
TRANSACTION_AMOUNT -> Value.TRANSACTION_AMOUNT
2274+
CASH_AMOUNT -> Value.CASH_AMOUNT
22612275
RISK_SCORE -> Value.RISK_SCORE
22622276
CARD_TRANSACTION_COUNT_15_M -> Value.CARD_TRANSACTION_COUNT_15_M
22632277
CARD_TRANSACTION_COUNT_1_H -> Value.CARD_TRANSACTION_COUNT_1_H
@@ -2289,6 +2303,7 @@ private constructor(
22892303
LIABILITY_SHIFT -> Known.LIABILITY_SHIFT
22902304
PAN_ENTRY_MODE -> Known.PAN_ENTRY_MODE
22912305
TRANSACTION_AMOUNT -> Known.TRANSACTION_AMOUNT
2306+
CASH_AMOUNT -> Known.CASH_AMOUNT
22922307
RISK_SCORE -> Known.RISK_SCORE
22932308
CARD_TRANSACTION_COUNT_15_M -> Known.CARD_TRANSACTION_COUNT_15_M
22942309
CARD_TRANSACTION_COUNT_1_H -> Known.CARD_TRANSACTION_COUNT_1_H
@@ -4277,6 +4292,9 @@ private constructor(
42774292
* acquirer fee field in the settlement/cardholder billing currency. This
42784293
* is the amount the issuer should authorize against unless the issuer is
42794294
* paying the acquirer fee on behalf of the cardholder.
4295+
* * `CASH_AMOUNT`: The cash amount of the transaction in minor units
4296+
* (cents). This represents the amount of cash being withdrawn or
4297+
* advanced.
42804298
* * `RISK_SCORE`: Network-provided score assessing risk level associated
42814299
* with a given authorization. Scores are on a range of 0-999, with 0
42824300
* representing the lowest risk and 999 representing the highest risk. For
@@ -4419,6 +4437,9 @@ private constructor(
44194437
* currency. This is the amount the issuer should authorize against
44204438
* unless the issuer is paying the acquirer fee on behalf of the
44214439
* cardholder.
4440+
* * `CASH_AMOUNT`: The cash amount of the transaction in minor units
4441+
* (cents). This represents the amount of cash being withdrawn or
4442+
* advanced.
44224443
* * `RISK_SCORE`: Network-provided score assessing risk level
44234444
* associated with a given authorization. Scores are on a range of
44244445
* 0-999, with 0 representing the lowest risk and 999 representing the
@@ -4595,6 +4616,9 @@ private constructor(
45954616
* acquirer fee field in the settlement/cardholder billing currency. This
45964617
* is the amount the issuer should authorize against unless the issuer is
45974618
* paying the acquirer fee on behalf of the cardholder.
4619+
* * `CASH_AMOUNT`: The cash amount of the transaction in minor units
4620+
* (cents). This represents the amount of cash being withdrawn or
4621+
* advanced.
45984622
* * `RISK_SCORE`: Network-provided score assessing risk level associated
45994623
* with a given authorization. Scores are on a range of 0-999, with 0
46004624
* representing the lowest risk and 999 representing the highest risk. For
@@ -4653,6 +4677,8 @@ private constructor(
46534677

46544678
@JvmField val TRANSACTION_AMOUNT = of("TRANSACTION_AMOUNT")
46554679

4680+
@JvmField val CASH_AMOUNT = of("CASH_AMOUNT")
4681+
46564682
@JvmField val RISK_SCORE = of("RISK_SCORE")
46574683

46584684
@JvmField
@@ -4687,6 +4713,7 @@ private constructor(
46874713
LIABILITY_SHIFT,
46884714
PAN_ENTRY_MODE,
46894715
TRANSACTION_AMOUNT,
4716+
CASH_AMOUNT,
46904717
RISK_SCORE,
46914718
CARD_TRANSACTION_COUNT_15_M,
46924719
CARD_TRANSACTION_COUNT_1_H,
@@ -4718,6 +4745,7 @@ private constructor(
47184745
LIABILITY_SHIFT,
47194746
PAN_ENTRY_MODE,
47204747
TRANSACTION_AMOUNT,
4748+
CASH_AMOUNT,
47214749
RISK_SCORE,
47224750
CARD_TRANSACTION_COUNT_15_M,
47234751
CARD_TRANSACTION_COUNT_1_H,
@@ -4752,6 +4780,7 @@ private constructor(
47524780
LIABILITY_SHIFT -> Value.LIABILITY_SHIFT
47534781
PAN_ENTRY_MODE -> Value.PAN_ENTRY_MODE
47544782
TRANSACTION_AMOUNT -> Value.TRANSACTION_AMOUNT
4783+
CASH_AMOUNT -> Value.CASH_AMOUNT
47554784
RISK_SCORE -> Value.RISK_SCORE
47564785
CARD_TRANSACTION_COUNT_15_M -> Value.CARD_TRANSACTION_COUNT_15_M
47574786
CARD_TRANSACTION_COUNT_1_H -> Value.CARD_TRANSACTION_COUNT_1_H
@@ -4783,6 +4812,7 @@ private constructor(
47834812
LIABILITY_SHIFT -> Known.LIABILITY_SHIFT
47844813
PAN_ENTRY_MODE -> Known.PAN_ENTRY_MODE
47854814
TRANSACTION_AMOUNT -> Known.TRANSACTION_AMOUNT
4815+
CASH_AMOUNT -> Known.CASH_AMOUNT
47864816
RISK_SCORE -> Known.RISK_SCORE
47874817
CARD_TRANSACTION_COUNT_15_M -> Known.CARD_TRANSACTION_COUNT_15_M
47884818
CARD_TRANSACTION_COUNT_1_H -> Known.CARD_TRANSACTION_COUNT_1_H
@@ -6815,6 +6845,9 @@ private constructor(
68156845
* acquirer fee field in the settlement/cardholder billing currency. This
68166846
* is the amount the issuer should authorize against unless the issuer is
68176847
* paying the acquirer fee on behalf of the cardholder.
6848+
* * `CASH_AMOUNT`: The cash amount of the transaction in minor units
6849+
* (cents). This represents the amount of cash being withdrawn or
6850+
* advanced.
68186851
* * `RISK_SCORE`: Network-provided score assessing risk level associated
68196852
* with a given authorization. Scores are on a range of 0-999, with 0
68206853
* representing the lowest risk and 999 representing the highest risk. For
@@ -6957,6 +6990,9 @@ private constructor(
69576990
* currency. This is the amount the issuer should authorize against
69586991
* unless the issuer is paying the acquirer fee on behalf of the
69596992
* cardholder.
6993+
* * `CASH_AMOUNT`: The cash amount of the transaction in minor units
6994+
* (cents). This represents the amount of cash being withdrawn or
6995+
* advanced.
69606996
* * `RISK_SCORE`: Network-provided score assessing risk level
69616997
* associated with a given authorization. Scores are on a range of
69626998
* 0-999, with 0 representing the lowest risk and 999 representing the
@@ -7133,6 +7169,9 @@ private constructor(
71337169
* acquirer fee field in the settlement/cardholder billing currency. This
71347170
* is the amount the issuer should authorize against unless the issuer is
71357171
* paying the acquirer fee on behalf of the cardholder.
7172+
* * `CASH_AMOUNT`: The cash amount of the transaction in minor units
7173+
* (cents). This represents the amount of cash being withdrawn or
7174+
* advanced.
71367175
* * `RISK_SCORE`: Network-provided score assessing risk level associated
71377176
* with a given authorization. Scores are on a range of 0-999, with 0
71387177
* representing the lowest risk and 999 representing the highest risk. For
@@ -7191,6 +7230,8 @@ private constructor(
71917230

71927231
@JvmField val TRANSACTION_AMOUNT = of("TRANSACTION_AMOUNT")
71937232

7233+
@JvmField val CASH_AMOUNT = of("CASH_AMOUNT")
7234+
71947235
@JvmField val RISK_SCORE = of("RISK_SCORE")
71957236

71967237
@JvmField
@@ -7225,6 +7266,7 @@ private constructor(
72257266
LIABILITY_SHIFT,
72267267
PAN_ENTRY_MODE,
72277268
TRANSACTION_AMOUNT,
7269+
CASH_AMOUNT,
72287270
RISK_SCORE,
72297271
CARD_TRANSACTION_COUNT_15_M,
72307272
CARD_TRANSACTION_COUNT_1_H,
@@ -7256,6 +7298,7 @@ private constructor(
72567298
LIABILITY_SHIFT,
72577299
PAN_ENTRY_MODE,
72587300
TRANSACTION_AMOUNT,
7301+
CASH_AMOUNT,
72597302
RISK_SCORE,
72607303
CARD_TRANSACTION_COUNT_15_M,
72617304
CARD_TRANSACTION_COUNT_1_H,
@@ -7290,6 +7333,7 @@ private constructor(
72907333
LIABILITY_SHIFT -> Value.LIABILITY_SHIFT
72917334
PAN_ENTRY_MODE -> Value.PAN_ENTRY_MODE
72927335
TRANSACTION_AMOUNT -> Value.TRANSACTION_AMOUNT
7336+
CASH_AMOUNT -> Value.CASH_AMOUNT
72937337
RISK_SCORE -> Value.RISK_SCORE
72947338
CARD_TRANSACTION_COUNT_15_M -> Value.CARD_TRANSACTION_COUNT_15_M
72957339
CARD_TRANSACTION_COUNT_1_H -> Value.CARD_TRANSACTION_COUNT_1_H
@@ -7321,6 +7365,7 @@ private constructor(
73217365
LIABILITY_SHIFT -> Known.LIABILITY_SHIFT
73227366
PAN_ENTRY_MODE -> Known.PAN_ENTRY_MODE
73237367
TRANSACTION_AMOUNT -> Known.TRANSACTION_AMOUNT
7368+
CASH_AMOUNT -> Known.CASH_AMOUNT
73247369
RISK_SCORE -> Known.RISK_SCORE
73257370
CARD_TRANSACTION_COUNT_15_M -> Known.CARD_TRANSACTION_COUNT_15_M
73267371
CARD_TRANSACTION_COUNT_1_H -> Known.CARD_TRANSACTION_COUNT_1_H

lithic-java-core/src/main/kotlin/com/lithic/api/models/AuthRuleV2DraftParams.kt

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1188,6 +1188,8 @@ private constructor(
11881188
* fee field in the settlement/cardholder billing currency. This is the amount the
11891189
* issuer should authorize against unless the issuer is paying the acquirer fee on
11901190
* behalf of the cardholder.
1191+
* * `CASH_AMOUNT`: The cash amount of the transaction in minor units (cents). This
1192+
* represents the amount of cash being withdrawn or advanced.
11911193
* * `RISK_SCORE`: Network-provided score assessing risk level associated with a
11921194
* given authorization. Scores are on a range of 0-999, with 0 representing the
11931195
* lowest risk and 999 representing the highest risk. For Visa transactions, where
@@ -1321,6 +1323,8 @@ private constructor(
13211323
* acquirer fee field in the settlement/cardholder billing currency. This is
13221324
* the amount the issuer should authorize against unless the issuer is paying
13231325
* the acquirer fee on behalf of the cardholder.
1326+
* * `CASH_AMOUNT`: The cash amount of the transaction in minor units (cents).
1327+
* This represents the amount of cash being withdrawn or advanced.
13241328
* * `RISK_SCORE`: Network-provided score assessing risk level associated with a
13251329
* given authorization. Scores are on a range of 0-999, with 0 representing
13261330
* the lowest risk and 999 representing the highest risk. For Visa
@@ -1485,6 +1489,8 @@ private constructor(
14851489
* fee field in the settlement/cardholder billing currency. This is the amount the
14861490
* issuer should authorize against unless the issuer is paying the acquirer fee on
14871491
* behalf of the cardholder.
1492+
* * `CASH_AMOUNT`: The cash amount of the transaction in minor units (cents). This
1493+
* represents the amount of cash being withdrawn or advanced.
14881494
* * `RISK_SCORE`: Network-provided score assessing risk level associated with a
14891495
* given authorization. Scores are on a range of 0-999, with 0 representing the
14901496
* lowest risk and 999 representing the highest risk. For Visa transactions, where
@@ -1542,6 +1548,8 @@ private constructor(
15421548

15431549
@JvmField val TRANSACTION_AMOUNT = of("TRANSACTION_AMOUNT")
15441550

1551+
@JvmField val CASH_AMOUNT = of("CASH_AMOUNT")
1552+
15451553
@JvmField val RISK_SCORE = of("RISK_SCORE")
15461554

15471555
@JvmField val CARD_TRANSACTION_COUNT_15_M = of("CARD_TRANSACTION_COUNT_15M")
@@ -1573,6 +1581,7 @@ private constructor(
15731581
LIABILITY_SHIFT,
15741582
PAN_ENTRY_MODE,
15751583
TRANSACTION_AMOUNT,
1584+
CASH_AMOUNT,
15761585
RISK_SCORE,
15771586
CARD_TRANSACTION_COUNT_15_M,
15781587
CARD_TRANSACTION_COUNT_1_H,
@@ -1603,6 +1612,7 @@ private constructor(
16031612
LIABILITY_SHIFT,
16041613
PAN_ENTRY_MODE,
16051614
TRANSACTION_AMOUNT,
1615+
CASH_AMOUNT,
16061616
RISK_SCORE,
16071617
CARD_TRANSACTION_COUNT_15_M,
16081618
CARD_TRANSACTION_COUNT_1_H,
@@ -1636,6 +1646,7 @@ private constructor(
16361646
LIABILITY_SHIFT -> Value.LIABILITY_SHIFT
16371647
PAN_ENTRY_MODE -> Value.PAN_ENTRY_MODE
16381648
TRANSACTION_AMOUNT -> Value.TRANSACTION_AMOUNT
1649+
CASH_AMOUNT -> Value.CASH_AMOUNT
16391650
RISK_SCORE -> Value.RISK_SCORE
16401651
CARD_TRANSACTION_COUNT_15_M -> Value.CARD_TRANSACTION_COUNT_15_M
16411652
CARD_TRANSACTION_COUNT_1_H -> Value.CARD_TRANSACTION_COUNT_1_H
@@ -1667,6 +1678,7 @@ private constructor(
16671678
LIABILITY_SHIFT -> Known.LIABILITY_SHIFT
16681679
PAN_ENTRY_MODE -> Known.PAN_ENTRY_MODE
16691680
TRANSACTION_AMOUNT -> Known.TRANSACTION_AMOUNT
1681+
CASH_AMOUNT -> Known.CASH_AMOUNT
16701682
RISK_SCORE -> Known.RISK_SCORE
16711683
CARD_TRANSACTION_COUNT_15_M -> Known.CARD_TRANSACTION_COUNT_15_M
16721684
CARD_TRANSACTION_COUNT_1_H -> Known.CARD_TRANSACTION_COUNT_1_H

0 commit comments

Comments
 (0)