# OfflineStatus

enum OfflineStatus : Enum<Payment.OfflineStatus>

The status of the offline payment.

## Entries

QUEUED
Link copied to clipboard
QUEUED

Payment is on your device only but Mobile Payments SDK will attempt to upload it soon.

UPLOADED
Link copied to clipboard
UPLOADED

Payment has been uploaded to the Square Server. Your money is safe now!

FAILED_TO_UPLOAD
Link copied to clipboard
FAILED_TO_UPLOAD

Payment could not be uploaded, due to the unrecoverable error.

FAILED_TO_PROCESS
Link copied to clipboard
FAILED_TO_PROCESS

Square Server couldn't process your offline payment, maybe the card was declined or something.

PROCESSED
Link copied to clipboard
PROCESSED

Square Server processed your offline payment successfully, you can now see it in your merchant dashboard.

## Properties

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

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

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

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