# Status

enum Status : Enum<Payment.Status>

The status of the payment.

## Entries

APPROVED
Link copied to clipboard
APPROVED

The card transaction has been approved, and funds reserved, but not yet completed.

COMPLETED
Link copied to clipboard
COMPLETED

The card transaction was approved and subsequently completed.

CANCELED
Link copied to clipboard
CANCELED

The card transaction was approved and subsequently voided.

FAILED
Link copied to clipboard
FAILED

The card transaction failed.

UNKNOWN
Link copied to clipboard
UNKNOWN

/v2/payment reported this payment in a status not known to this version of Mobile Payments SDK.

## Properties

entries
Link copied to clipboard
val entries: EnumEntries<Payment.Status>

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

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

## Functions

valueOf
Link copied to clipboard
fun valueOf(value: String): Payment.Status

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.)

values
Link copied to clipboard
fun values(): Array<Payment.Status>

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