public Callback extends ErrorCallback
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.
Use of this SDK is subject to the Stripe Terminal Terms: https://stripe.com/terminal/legal
Modifier and Type | Method and Description |
---|---|
void |
onSuccess()
This method will be called whenever the current operation completes with no errors.
|
onFailure