onSuccess
inline fun <T : Parcelable> ProcessOutActivityResult<T>.onSuccess(action: (value: T) -> Unit): ProcessOutActivityResult<T>
Performs the given action on the encapsulated value if this instance represents Success. Returns the original ProcessOutActivityResult unchanged.
Performs the given action on the encapsulated value if this instance represents Success. Returns the original ProcessOutResult unchanged.