Interface | Description |
---|---|
Callback |
The
Callback interface represents the simplest set of methods to run upon completion of
an operation. If the operation completes with error, the onFailure method
will be called. If, instead, the operation completes with no error, the onSuccess
method will be called. |
ConnectionTokenCallback |
The
ConnectionTokenCallback will be used for the Stripe Terminal SDK to handle the
result of the user's interface ConnectionTokenProvider . |
ConnectionTokenProvider |
Before integrating the SDK, you should create an endpoint on your backend
server that creates a new connection token via the Stripe Terminal API. The
connection token is used by the SDK to connect to a reader.
|
DiscoveryListener |
The
DiscoveryListener is notified whenever the set of class Reader s available for
connection is updated. |
ErrorCallback |
ErrorCallback is a generic callback interface used for any callback that handles
exceptions. |
PaymentIntentCallback |
PaymentIntentCallback is an interface for callbacks that will receive a
class PaymentIntent under the success case, and an Exception under the failure case. |
PaymentMethodCallback |
PaymentMethodCallback is an interface for callbacks that will receive a
class PaymentMethod under the success case, and an Exception under the failure case. |
ReaderCallback |
ReaderCallback is an interface for callbacks that will receive a
class Reader under the success case, and an Exception under the failure case. |
ReaderDisplayListener |
The
ReaderDisplayListener should be implemented to handle events from the reader that
occur while accepting input. |
ReaderSoftwareUpdateCallback |
A
ReaderSoftwareUpdateCallback is called upon completion of
Terminal.checkForUpdate and will pass back a class ReaderSoftwareUpdate if it's
available. |
ReaderSoftwareUpdateListener |
The
ReaderSoftwareUpdateListener handles updates when checking for and installing
reader software updates. |
TerminalListener |
The
TerminalListener interface should be implemented in order to receive updates from
a class Terminal instance. |
Class | Description |
---|---|
Cancelable |
A
Cancelable represents an ongoing operation run by the Terminal SDK. While the operation
runs, the Cancelable allows the user to check whether it has completed or cancel it if necessary. |