public static final String module = PaymentEvents.class.getName();
public static synchronized void payCash(PosScreen pos) {
PosTransaction trans = PosTransaction.getCurrentTx(pos.getSession());
trans.clearPayment("CASH");
// all cash transactions are NO_PAYMENT; no need to check
try {
double amount = processAmount(trans, pos, null);
Debug.log("Processing [Cash] Amount : " + amount, module);