Class TapToPayCallbacks

java.lang.Object
com.codename1.payment.terminal.tap.TapToPayCallbacks

public final class TapToPayCallbacks extends Object

The entry points a port's TapToPayBridge calls back into. Not for applications.

Every method may be called from any thread; each moves to the EDT before touching state. On iOS these are reached from native code by their C names, which is also what keeps them in a translated build.

  • Field Details

    • STATUS_APPROVED

      public static final int STATUS_APPROVED
      The card was charged.
      See Also:
    • STATUS_DECLINED

      public static final int STATUS_DECLINED
      The card was declined.
      See Also:
    • STATUS_CANCELED

      public static final int STATUS_CANCELED
      The payment was canceled.
      See Also:
    • STATUS_FAILED

      public static final int STATUS_FAILED
      The reader reported an error that is not a decline.
      See Also:
    • STATUS_ERROR

      public static final int STATUS_ERROR
      The payment could not be attempted (SDK setup, connection, the PaymentIntent could not be retrieved); completes the request with an error rather than a result.
      See Also:
    • STATUS_UNKNOWN

      public static final int STATUS_UNKNOWN
      The card may have been charged and the SDK could not say: completes the request with a TerminalOutcomeUnknownException carrying the transaction ID.
      See Also:
  • Method Details