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