/** * Returns whether it has the type for the transaction (can be "Buy", "Sell", * "Buy to Cover" or "Sell Short"). * * @return whether it has the type for the transaction (can be "Buy", "Sell", * "Buy to Cover" or "Sell Short") */ public boolean hasType() { return getType() != null; }
/** * Returns whether it has the type for the transaction (can be "Buy", "Sell", * "Buy to Cover" or "Sell Short"). * * @return whether it has the type for the transaction (can be "Buy", "Sell", * "Buy to Cover" or "Sell Short") */ public boolean hasType() { return getType() != null; }