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, onTaskCreated
void success()
void error(PCError error, PCNetError netError, PCDeclination declination)
error
- Not null if type of error occurred is PCError
netError
- Not null if type of error occurred is PCNetError
declination
- Not null if the transaction is still can be declined offline. Contains offline declination
code which can be acquired through PCDeclination.getShortDeclineCode()
.