Skip to content

Commit 108f733

Browse files
feat(api): add REVERSED status value to payment list parameters
1 parent 6038ae0 commit 108f733

2 files changed

Lines changed: 8 additions & 2 deletions

File tree

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 214
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/lithic/lithic-46435dfdef99ea1c005a78bab282c859980e1edd5570e781bf3b67dd97ebf545.yml
3-
openapi_spec_hash: fe504df52c793d72df78146d3fb6f3ac
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/lithic/lithic-5b3d4793b9cc2b4a6ac971f36d5e8a08b48fb976aba670f9ffedc929a52d3e0a.yml
3+
openapi_spec_hash: 3bcf49d20dbd24100d67fa3750a40e6b
44
config_hash: 5bb913c05ebeb301ec925b16e75bb251

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -637,6 +637,8 @@ private constructor(
637637

638638
@JvmField val RETURNED = of("RETURNED")
639639

640+
@JvmField val REVERSED = of("REVERSED")
641+
640642
@JvmField val SETTLED = of("SETTLED")
641643

642644
@JvmStatic fun of(value: String) = Status(JsonField.of(value))
@@ -647,6 +649,7 @@ private constructor(
647649
DECLINED,
648650
PENDING,
649651
RETURNED,
652+
REVERSED,
650653
SETTLED,
651654
}
652655

@@ -663,6 +666,7 @@ private constructor(
663666
DECLINED,
664667
PENDING,
665668
RETURNED,
669+
REVERSED,
666670
SETTLED,
667671
/** An enum member indicating that [Status] was instantiated with an unknown value. */
668672
_UNKNOWN,
@@ -680,6 +684,7 @@ private constructor(
680684
DECLINED -> Value.DECLINED
681685
PENDING -> Value.PENDING
682686
RETURNED -> Value.RETURNED
687+
REVERSED -> Value.REVERSED
683688
SETTLED -> Value.SETTLED
684689
else -> Value._UNKNOWN
685690
}
@@ -698,6 +703,7 @@ private constructor(
698703
DECLINED -> Known.DECLINED
699704
PENDING -> Known.PENDING
700705
RETURNED -> Known.RETURNED
706+
REVERSED -> Known.REVERSED
701707
SETTLED -> Known.SETTLED
702708
else -> throw LithicInvalidDataException("Unknown Status: $value")
703709
}

0 commit comments

Comments
 (0)