CashDrawer

public class CashDrawer

Deprecated

Class for interacting with connected cash drawers.

Deprecated

This class interacts with cash drawers that are connected via configured Clover printers. For a more generalized API for working with cash drawers, please use com.clover.sdk.cashdrawer.CashDrawers.

Properties

Link copied to clipboard
public final static String CASH_DRAWER_AUTHORITY
Link copied to clipboard
public final static Uri CASH_DRAWER_AUTHORITY_URI
Link copied to clipboard
public final static String POP_CASH_DRAWER_METHOD
Link copied to clipboard
public final static String USB_DEVICE

Functions

Link copied to clipboard
public static void open(Context context, Account account)
public static void open(Context context, Account account, UsbDevice usbDevice)
public static void open(Context context, Account account, boolean openAny)
public static void open(Context context, Account account, Printer printer)
public static void open(Context context, Account account, int cashDrawerNumber)
public static void open(Context context, Account account, Printer printer, int cashDrawerNumber)
Link copied to clipboard
public static boolean open2(Context context, Account account)
public static boolean open2(Context context, Account account, boolean openAny)
Open a cash drawer connected to a printer.
public static boolean open2(Context context, Account account, UsbDevice usbDevice)

public static boolean open2(Context context, Account account, Printer printer)
Open a cash drawer connected to the designated printer.
public static boolean open2(Context context, Account account, int cashDrawerNumber)
Open specified cash drawer
public static boolean open2(Context context, Account account, Printer printer, int cashDrawerNumber)
Opens specified cash drawer.