SetupErrorType

enum SetupErrorType : Enum<SetupErrorType> , Serializable

Types of SetupAttempt errors.

Entries

Link copied to clipboard
@SerialName(value = "api_connection_error")
API_CONNECTION_ERROR
Link copied to clipboard
@SerialName(value = "api_error")
API_ERROR
Link copied to clipboard
@SerialName(value = "authentication_error")
AUTHENTICATION_ERROR
Link copied to clipboard
@SerialName(value = "card_error")
CARD_ERROR
Link copied to clipboard
@SerialName(value = "idempotency_error")
IDEMPOTENCY_ERROR
Link copied to clipboard
@SerialName(value = "invalid_request_error")
INVALID_REQUEST_ERROR
Link copied to clipboard
@SerialName(value = "rate_limit_error")
RATE_LIMIT_ERROR

Properties

Link copied to clipboard
val entries: EnumEntries<SetupErrorType>

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
val name: String
Link copied to clipboard
val ordinal: Int

Functions

Link copied to clipboard
fun valueOf(value: String): SetupErrorType

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard
fun values(): Array<SetupErrorType>

Returns an array containing the constants of this enum type, in the order they're declared.