Client API. The Codename One framework your app is built on: this runs on the device, not in a backend.

public enum TerminalResult.Status

  1. Object
  2. Enum<TerminalResult.Status>
  3. TerminalResult.Status

ImplementsComparable<TerminalResult.Status>

How an operation ended.

Enum constants

APPROVEDThe card was charged (or authorized, for a pre-authorization), or the refund, capture or reversal went through.
DECLINEDThe card or its issuer refused the payment.
CANCELEDThe customer or the app abandoned the operation.
FAILEDThe terminal reported an error that is neither a decline nor a cancel, such as a timeout reading the card.

Methods

public static TerminalResult.Status[] values()
public static TerminalResult.Status valueOf(String name)

Inherited methods

Enum constant details

APPROVED

APPROVED
The card was charged (or authorized, for a pre-authorization), or the refund, capture or reversal went through.

DECLINED

DECLINED
The card or its issuer refused the payment.

CANCELED

CANCELED
The customer or the app abandoned the operation.

FAILED

FAILED
The terminal reported an error that is neither a decline nor a cancel, such as a timeout reading the card. No money moved.

Method details

values

public static TerminalResult.Status[] values()

valueOf

public static TerminalResult.Status valueOf(String name)