ApiResultCallback

interface ApiResultCallback<in ResultType : StripeModel>

Generic interface for an API operation callback that either returns a result, ResultType, or an Exception

Functions

Link copied to clipboard
abstract fun onError(e: Exception)
Link copied to clipboard
abstract fun onSuccess(result: ResultType)