public PaymentIntentCallback extends ErrorCallback
PaymentIntentCallback is an interface for callbacks that will receive a
class 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
class PaymentIntent| Modifier and Type | Method and Description |
|---|---|
void |
onSuccess(PaymentIntent paymentIntent)
This method will be called after successful completion of an SDK method.
|
onFailurevoid onSuccess(@NotNull
PaymentIntent paymentIntent)
This method will be called after successful completion of an SDK method.
paymentIntent - The class PaymentIntent resulting from the SDK method called.