com.univapay.sdk.utils.UnivapayCallback Maven / Gradle / Ivy
The newest version!
package com.univapay.sdk.utils;
public interface UnivapayCallback {
void getResponse(T response);
void getFailure(Throwable error);
/**
* In case there was a cancel event, it is signalled downstream, unfortunately, there is no
* information whether this request was already in-flight or not, therefore treat this request as
* might have been successful, the cancel event are manually invoked
*/
default void onCancel() {}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy