Skip to content

Commit 65f1c4b

Browse files
feat(api): add card decline count values to conditional authorization
1 parent 2fe328d commit 65f1c4b

File tree

2 files changed

+38
-2
lines changed

2 files changed

+38
-2
lines changed

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 190
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/lithic%2Flithic-eb2cf51467f505a1d29c3ca40b9595ecbf6d6a3743f53bc42a52c8135a252ff0.yml
3-
openapi_spec_hash: 2fbd71b69d71138b3e54432a38d759ed
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/lithic%2Flithic-27d13d3d5226c710b07f9fc954fa53a8e6923e74d90d3f587d96399c1baf4de3.yml
3+
openapi_spec_hash: 99a60cbd91f32b25617a9536fadebf07
44
config_hash: edbdfefeb0d3d927c2f9fe3402793215

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

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -409,6 +409,12 @@ private constructor(
409409
* hour up and until the authorization.
410410
* * `CARD_TRANSACTION_COUNT_24H`: The number of transactions on the card in the trailing 24
411411
* hours up and until the authorization.
412+
* * `CARD_DECLINE_COUNT_15M`: The number of declined transactions on the card in the
413+
* trailing 15 minutes before the authorization.
414+
* * `CARD_DECLINE_COUNT_1H`: The number of declined transactions on the card in the
415+
* trailing hour up and until the authorization.
416+
* * `CARD_DECLINE_COUNT_24H`: The number of declined transactions on the card in the
417+
* trailing 24 hours up and until the authorization.
412418
* * `CARD_STATE`: The current state of the card associated with the transaction. Valid
413419
* values are `CLOSED`, `OPEN`, `PAUSED`, `PENDING_ACTIVATION`, `PENDING_FULFILLMENT`.
414420
* * `PIN_ENTERED`: Indicates whether a PIN was entered during the transaction. Valid values
@@ -563,6 +569,12 @@ private constructor(
563569
* hour up and until the authorization.
564570
* * `CARD_TRANSACTION_COUNT_24H`: The number of transactions on the card in the
565571
* trailing 24 hours up and until the authorization.
572+
* * `CARD_DECLINE_COUNT_15M`: The number of declined transactions on the card in the
573+
* trailing 15 minutes before the authorization.
574+
* * `CARD_DECLINE_COUNT_1H`: The number of declined transactions on the card in the
575+
* trailing hour up and until the authorization.
576+
* * `CARD_DECLINE_COUNT_24H`: The number of declined transactions on the card in the
577+
* trailing 24 hours up and until the authorization.
566578
* * `CARD_STATE`: The current state of the card associated with the transaction. Valid
567579
* values are `CLOSED`, `OPEN`, `PAUSED`, `PENDING_ACTIVATION`, `PENDING_FULFILLMENT`.
568580
* * `PIN_ENTERED`: Indicates whether a PIN was entered during the transaction. Valid
@@ -750,6 +762,12 @@ private constructor(
750762
* hour up and until the authorization.
751763
* * `CARD_TRANSACTION_COUNT_24H`: The number of transactions on the card in the trailing 24
752764
* hours up and until the authorization.
765+
* * `CARD_DECLINE_COUNT_15M`: The number of declined transactions on the card in the
766+
* trailing 15 minutes before the authorization.
767+
* * `CARD_DECLINE_COUNT_1H`: The number of declined transactions on the card in the
768+
* trailing hour up and until the authorization.
769+
* * `CARD_DECLINE_COUNT_24H`: The number of declined transactions on the card in the
770+
* trailing 24 hours up and until the authorization.
753771
* * `CARD_STATE`: The current state of the card associated with the transaction. Valid
754772
* values are `CLOSED`, `OPEN`, `PAUSED`, `PENDING_ACTIVATION`, `PENDING_FULFILLMENT`.
755773
* * `PIN_ENTERED`: Indicates whether a PIN was entered during the transaction. Valid values
@@ -817,6 +835,12 @@ private constructor(
817835

818836
@JvmField val CARD_TRANSACTION_COUNT_24_H = of("CARD_TRANSACTION_COUNT_24H")
819837

838+
@JvmField val CARD_DECLINE_COUNT_15_M = of("CARD_DECLINE_COUNT_15M")
839+
840+
@JvmField val CARD_DECLINE_COUNT_1_H = of("CARD_DECLINE_COUNT_1H")
841+
842+
@JvmField val CARD_DECLINE_COUNT_24_H = of("CARD_DECLINE_COUNT_24H")
843+
820844
@JvmField val CARD_STATE = of("CARD_STATE")
821845

822846
@JvmField val PIN_ENTERED = of("PIN_ENTERED")
@@ -855,6 +879,9 @@ private constructor(
855879
CARD_TRANSACTION_COUNT_15_M,
856880
CARD_TRANSACTION_COUNT_1_H,
857881
CARD_TRANSACTION_COUNT_24_H,
882+
CARD_DECLINE_COUNT_15_M,
883+
CARD_DECLINE_COUNT_1_H,
884+
CARD_DECLINE_COUNT_24_H,
858885
CARD_STATE,
859886
PIN_ENTERED,
860887
PIN_STATUS,
@@ -890,6 +917,9 @@ private constructor(
890917
CARD_TRANSACTION_COUNT_15_M,
891918
CARD_TRANSACTION_COUNT_1_H,
892919
CARD_TRANSACTION_COUNT_24_H,
920+
CARD_DECLINE_COUNT_15_M,
921+
CARD_DECLINE_COUNT_1_H,
922+
CARD_DECLINE_COUNT_24_H,
893923
CARD_STATE,
894924
PIN_ENTERED,
895925
PIN_STATUS,
@@ -929,6 +959,9 @@ private constructor(
929959
CARD_TRANSACTION_COUNT_15_M -> Value.CARD_TRANSACTION_COUNT_15_M
930960
CARD_TRANSACTION_COUNT_1_H -> Value.CARD_TRANSACTION_COUNT_1_H
931961
CARD_TRANSACTION_COUNT_24_H -> Value.CARD_TRANSACTION_COUNT_24_H
962+
CARD_DECLINE_COUNT_15_M -> Value.CARD_DECLINE_COUNT_15_M
963+
CARD_DECLINE_COUNT_1_H -> Value.CARD_DECLINE_COUNT_1_H
964+
CARD_DECLINE_COUNT_24_H -> Value.CARD_DECLINE_COUNT_24_H
932965
CARD_STATE -> Value.CARD_STATE
933966
PIN_ENTERED -> Value.PIN_ENTERED
934967
PIN_STATUS -> Value.PIN_STATUS
@@ -966,6 +999,9 @@ private constructor(
966999
CARD_TRANSACTION_COUNT_15_M -> Known.CARD_TRANSACTION_COUNT_15_M
9671000
CARD_TRANSACTION_COUNT_1_H -> Known.CARD_TRANSACTION_COUNT_1_H
9681001
CARD_TRANSACTION_COUNT_24_H -> Known.CARD_TRANSACTION_COUNT_24_H
1002+
CARD_DECLINE_COUNT_15_M -> Known.CARD_DECLINE_COUNT_15_M
1003+
CARD_DECLINE_COUNT_1_H -> Known.CARD_DECLINE_COUNT_1_H
1004+
CARD_DECLINE_COUNT_24_H -> Known.CARD_DECLINE_COUNT_24_H
9691005
CARD_STATE -> Known.CARD_STATE
9701006
PIN_ENTERED -> Known.PIN_ENTERED
9711007
PIN_STATUS -> Known.PIN_STATUS

0 commit comments

Comments
 (0)