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