public abstract class PCActionResult
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
PCAbstractError |
getError()
Returns the error in case the processing has failed or null in case of success
|
PCTransaction |
getTransaction()
Transaction which is processed
|
void |
setError(PCAbstractError error)
Sets an error occurred while processing transaction
|
void |
setTransaction(PCTransaction transaction)
Sets the transaction to be processed
|
public PCTransaction getTransaction()
PCTransaction
objectpublic void setTransaction(PCTransaction transaction)
transaction
- PCTransaction
objectpublic PCAbstractError getError()
PCAbstractError
public void setError(PCAbstractError error)
error
- An instance of error