This class contains methods to get and set cause codes that may have occurred during the accounting process.
This class passes errors and status codes between transactions.
Accounting acct = new Accounting(); CauseCode cc = new CauseCode(); cc.setCausecode(0); cc.setNodeFunctionality(1); acct.setACauseCode(cc);
Methods | Type | Returns | Description |
---|---|---|---|
getCausecode | int | Returns one of the following cause codes:
|
Retrieves cause codes |
getNodeFunctionality | int | nodeFunctionality | Retrieves the identifier of the node where the causecode was generated |
Methods | Parameters | Type | Description |
---|---|---|---|
setCausecode | causecode | int | Defines the cause code |
setNodeFunctionality | nodeFunctionality | int | Defines the identifier of the node |