ProcessOutCallback

interface ProcessOutCallback<in T : Any>

Provides onSuccess or onFailure callbacks as a result of operation.

Functions

Link copied to clipboard
abstract fun onFailure(code: POFailure.Code, message: String? = null, invalidFields: List<POFailure.InvalidField>? = null, cause: Exception? = null)

Callback with detailed information about an error that occurred.

Link copied to clipboard
abstract fun onSuccess(result: T)

Callback with successful result.