Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .stats.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
configured_endpoints: 255
openapi_spec_hash: cdacba75b9a8527d3ebc57ceb52856b9
openapi_spec_hash: 430de7f888fc2cdbdbbff40828339442
config_hash: de151ebd21a0bd391662389b310a8f49
Original file line number Diff line number Diff line change
Expand Up @@ -742,6 +742,9 @@ private constructor(
/** The account's entity was not active. */
@JvmField val ENTITY_NOT_ACTIVE = of("entity_not_active")

/** The given expiration date did not match the card's value. */
@JvmField val CARD_EXPIRATION_MISMATCH = of("card_expiration_mismatch")

@JvmStatic fun of(value: String) = Reason(JsonField.of(value))
}

Expand All @@ -768,6 +771,8 @@ private constructor(
ACCOUNT_CLOSED,
/** The account's entity was not active. */
ENTITY_NOT_ACTIVE,
/** The given expiration date did not match the card's value. */
CARD_EXPIRATION_MISMATCH,
}

/**
Expand Down Expand Up @@ -801,6 +806,8 @@ private constructor(
ACCOUNT_CLOSED,
/** The account's entity was not active. */
ENTITY_NOT_ACTIVE,
/** The given expiration date did not match the card's value. */
CARD_EXPIRATION_MISMATCH,
/**
* An enum member indicating that [Reason] was instantiated with an unknown value.
*/
Expand All @@ -825,6 +832,7 @@ private constructor(
GROUP_LOCKED -> Value.GROUP_LOCKED
ACCOUNT_CLOSED -> Value.ACCOUNT_CLOSED
ENTITY_NOT_ACTIVE -> Value.ENTITY_NOT_ACTIVE
CARD_EXPIRATION_MISMATCH -> Value.CARD_EXPIRATION_MISMATCH
else -> Value._UNKNOWN
}

Expand All @@ -848,6 +856,7 @@ private constructor(
GROUP_LOCKED -> Known.GROUP_LOCKED
ACCOUNT_CLOSED -> Known.ACCOUNT_CLOSED
ENTITY_NOT_ACTIVE -> Known.ENTITY_NOT_ACTIVE
CARD_EXPIRATION_MISMATCH -> Known.CARD_EXPIRATION_MISMATCH
else -> throw IncreaseInvalidDataException("Unknown Reason: $value")
}

Expand Down
Loading
Loading