public interface PCDeclineCallback extends PCTaskCallback
PCTransactionsManager.decline(PCUser, PCTransaction, PCDeclineCallback)| Modifier and Type | Method and Description |
|---|---|
void |
error(PCError error,
PCNetError netError,
PCDeclination declination)
Invoked when transaction was not declined because of some error
|
void |
success()
Invoked when transaction is declined successfully
|
onTaskCancelled, onTaskCreatedvoid success()
void error(PCError error, PCNetError netError, PCDeclination declination)
error - Not null if type of error occurred is PCErrornetError - Not null if type of error occurred is PCNetErrordeclination - Not null if the transaction is still can be declined offline. Contains offline declination
code which can be acquired through PCDeclination.getShortDeclineCode().