RefundCallback

interface RefundCallback : ErrorCallback

RefundCallback is an interface for callbacks that will receive a Refund 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

Functions

onFailure
Link copied to clipboard
abstract fun onFailure(e: TerminalException)
This method will be called any time the the current operation fails.
onSuccess
Link copied to clipboard
abstract fun onSuccess(refund: Refund)
This method will be called after successful completion of an SDK method.