PaymentIntentCallback
PaymentIntentCallback
is an interface for callbacks that will receive a PaymentIntent under the success case, and an Exception under the failure case.
Use of this SDK is subject to the Stripe Terminal Terms: https://stripe.com/terminal/legal