public class ConvergenceBalanceEvent extends LocalEvent
Modifier and Type | Field and Description |
---|---|
protected java.math.BigDecimal |
balance |
protected boolean |
balanceExceedsLimit |
protected java.math.BigDecimal |
limit |
protected boolean |
saldoExceedsZero |
CONTRACT_GLOBAL, NO_MODULE, NO_PLUGIN
Modifier | Constructor and Description |
---|---|
protected |
ConvergenceBalanceEvent() |
|
ConvergenceBalanceEvent(int contractId,
boolean balanceExceedsLimit,
boolean saldoExceedsZero,
java.math.BigDecimal balance,
java.math.BigDecimal limit) |
Modifier and Type | Method and Description |
---|---|
java.math.BigDecimal |
getBalance() |
java.math.BigDecimal |
getLimit() |
boolean |
isBalanceExceedsLimit() |
boolean |
isBalanceUnderLimit()
Deprecated.
|
boolean |
isSaldoExceedsZero() |
getContractId, getContractID, getDestination, getGenerateTime, getModuleId, getModuleID, getPluginId, getSuperContractId, getTime, getTimestamp, getTypeId, getUserId, isLogFunctionProcess, prepareMessage, serializeAsObject, setLogFunctionProcess, toString, toString
protected final boolean balanceExceedsLimit
protected final boolean saldoExceedsZero
protected final java.math.BigDecimal balance
protected final java.math.BigDecimal limit
protected ConvergenceBalanceEvent()
public ConvergenceBalanceEvent(int contractId, boolean balanceExceedsLimit, boolean saldoExceedsZero, java.math.BigDecimal balance, java.math.BigDecimal limit)
@Deprecated public boolean isBalanceUnderLimit()
public java.math.BigDecimal getBalance()
public java.math.BigDecimal getLimit()
public boolean isBalanceExceedsLimit()
public boolean isSaldoExceedsZero()