@@ -48,7 +48,6 @@ private constructor(
4848 * - `ACTIVE` - Account is able to transact and create new cards.
4949 * - `PAUSED` - Account will not be able to transact or create new cards. It can be set back to
5050 * `ACTIVE`.
51- * - `CLOSED` - Account will permanently not be able to transact or create new cards.
5251 */
5352 fun state (): State = state.getRequired(" state" )
5453
@@ -82,7 +81,6 @@ private constructor(
8281 * - `ACTIVE` - Account is able to transact and create new cards.
8382 * - `PAUSED` - Account will not be able to transact or create new cards. It can be set back to
8483 * `ACTIVE`.
85- * - `CLOSED` - Account will permanently not be able to transact or create new cards.
8684 */
8785 @JsonProperty(" state" ) @ExcludeMissing fun _state () = state
8886
@@ -203,7 +201,6 @@ private constructor(
203201 * - `ACTIVE` - Account is able to transact and create new cards.
204202 * - `PAUSED` - Account will not be able to transact or create new cards. It can be set back
205203 * to `ACTIVE`.
206- * - `CLOSED` - Account will permanently not be able to transact or create new cards.
207204 */
208205 fun state (state : State ) = state(JsonField .of(state))
209206
@@ -213,7 +210,6 @@ private constructor(
213210 * - `ACTIVE` - Account is able to transact and create new cards.
214211 * - `PAUSED` - Account will not be able to transact or create new cards. It can be set back
215212 * to `ACTIVE`.
216- * - `CLOSED` - Account will permanently not be able to transact or create new cards.
217213 */
218214 @JsonProperty(" state" )
219215 @ExcludeMissing
@@ -462,37 +458,31 @@ private constructor(
462458
463459 @JvmField val PAUSED = State (JsonField .of(" PAUSED" ))
464460
465- @JvmField val CLOSED = State (JsonField .of(" CLOSED" ))
466-
467461 @JvmStatic fun of (value : String ) = State (JsonField .of(value))
468462 }
469463
470464 enum class Known {
471465 ACTIVE ,
472466 PAUSED ,
473- CLOSED ,
474467 }
475468
476469 enum class Value {
477470 ACTIVE ,
478471 PAUSED ,
479- CLOSED ,
480472 _UNKNOWN ,
481473 }
482474
483475 fun value (): Value =
484476 when (this ) {
485477 ACTIVE -> Value .ACTIVE
486478 PAUSED -> Value .PAUSED
487- CLOSED -> Value .CLOSED
488479 else -> Value ._UNKNOWN
489480 }
490481
491482 fun known (): Known =
492483 when (this ) {
493484 ACTIVE -> Known .ACTIVE
494485 PAUSED -> Known .PAUSED
495- CLOSED -> Known .CLOSED
496486 else -> throw LithicInvalidDataException (" Unknown State: $value " )
497487 }
498488
0 commit comments