1 25 package org.ofbiz.pos.jpos.service; 26 27 import jpos.JposException; 28 29 35 public class NullCashDrawer extends BaseService implements jpos.services.CashDrawerService12 { 36 37 public boolean getCapStatus() throws JposException { 38 return false; 39 } 40 41 public boolean getDrawerOpened() throws JposException { 42 return false; 43 } 44 45 public void openDrawer() throws JposException { 46 } 47 48 public void waitForDrawerClose(int i, int i1, int i2, int i3) throws JposException { 49 } 50 51 public int getDeviceServiceVersion() throws JposException { 52 return 1002000; 53 } 54 } | Popular Tags |