Client API. The Codename One framework your app is built on: this runs on the device, not in a backend.
public enum TerminalResult.Status
- Object
- Enum<TerminalResult.Status>
- TerminalResult.Status
ImplementsComparable<TerminalResult.Status>
How an operation ended.
Enum constants
APPROVED | The card was charged (or authorized, for a pre-authorization), or the refund, capture or reversal went through. |
DECLINED | The card or its issuer refused the payment. |
CANCELED | The customer or the app abandoned the operation. |
FAILED | The 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
APPROVEDThe card was charged (or authorized, for a pre-authorization),
or the refund, capture or reversal went through.
DECLINED
DECLINEDThe card or its issuer refused the payment.
CANCELED
CANCELEDThe customer or the app abandoned the operation.
FAILED
FAILEDThe 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)