pos.refresh();
}
public static void clearAllPayments(PosScreen pos) {
PosTransaction trans = PosTransaction.getCurrentTx(pos.getSession());
trans.clearPayments();
pos.getInput().clearFunction("GIFTCARD");
pos.getInput().clearFunction("CREDIT");
pos.getInput().clearFunction("CHECK");
pos.refresh();
}