CashDrawers
.@Deprecated public class CashDrawer extends Object
Modifier and Type | Field and Description |
---|---|
static String |
CASH_DRAWER_AUTHORITY
Deprecated.
|
static Uri |
CASH_DRAWER_AUTHORITY_URI
Deprecated.
|
static String |
POP_CASH_DRAWER_METHOD
Deprecated.
|
static String |
USB_DEVICE
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static void |
open(Context context,
Account account)
Deprecated.
Prefer interacting with cash drawers via
CashDrawers |
static void |
open(Context context,
Account account,
boolean openAny)
Deprecated.
Prefer interacting with cash drawers via
CashDrawers |
static void |
open(Context context,
Account account,
int cashDrawerNumber)
Deprecated.
Prefer interacting with cash drawers via
CashDrawers |
static void |
open(Context context,
Account account,
Printer printer)
Deprecated.
Prefer interacting with cash drawers via
CashDrawers |
static void |
open(Context context,
Account account,
Printer printer,
int cashDrawerNumber)
Deprecated.
Prefer interacting with cash drawers via
CashDrawers |
static void |
open(Context context,
Account account,
UsbDevice usbDevice)
Deprecated.
Prefer interacting with cash drawers via
CashDrawers |
static boolean |
open2(Context context,
Account account)
Deprecated.
|
static boolean |
open2(Context context,
Account account,
boolean openAny)
Deprecated.
Prefer interacting with cash drawers via
CashDrawers |
static boolean |
open2(Context context,
Account account,
int cashDrawerNumber)
Deprecated.
Prefer interacting with cash drawers via
CashDrawers |
static boolean |
open2(Context context,
Account account,
Printer printer)
Deprecated.
Prefer interacting with cash drawers via
CashDrawers |
static boolean |
open2(Context context,
Account account,
Printer printer,
int cashDrawerNumber)
Deprecated.
Prefer interacting with cash drawers via
CashDrawers |
static boolean |
open2(Context context,
Account account,
UsbDevice usbDevice)
Deprecated.
Prefer interacting with cash drawers via
CashDrawers |
public static final String POP_CASH_DRAWER_METHOD
public static final String CASH_DRAWER_AUTHORITY
public static final Uri CASH_DRAWER_AUTHORITY_URI
public static final String USB_DEVICE
@Deprecated public static void open(Context context, Account account)
CashDrawers
@Deprecated public static void open(Context context, Account account, int cashDrawerNumber)
CashDrawers
@Deprecated public static void open(Context context, Account account, boolean openAny)
CashDrawers
@Deprecated public static void open(Context context, Account account, Printer printer)
CashDrawers
@Deprecated public static void open(Context context, Account account, Printer printer, int cashDrawerNumber)
CashDrawers
@Deprecated public static void open(Context context, Account account, UsbDevice usbDevice)
CashDrawers
@Deprecated public static boolean open2(Context context, Account account)
context
- A context.account
- A Clover account.@Deprecated public static boolean open2(Context context, Account account, int cashDrawerNumber)
CashDrawers
context
- A context.account
- A Clover account.cashDrawerNumber
- A cash drawer number, usually applicable to devices which support multiple
cash drawers. This value can be '1' for those printers which support only one cash drawer port@Deprecated public static boolean open2(Context context, Account account, boolean openAny)
CashDrawers
context
- A context.account
- A Clover account.openAny
- If multiple receipt printers are configured and false, the system will prompt
the user to select the printer (or cash drawer if applicable). If true, the system will open the cash drawer
on the first configured receipt printer (when multiple cash drawers are supported
opens the cash drawer numbered '1').@Deprecated public static boolean open2(Context context, Account account, Printer printer)
CashDrawers
context
- A context.account
- A Clover account.printer
- The printer to which the cash drawer is connected.@Deprecated public static boolean open2(Context context, Account account, Printer printer, int cashDrawerNumber)
CashDrawers
context
- A context.account
- A Clover account.printer
- The printer to which the cash drawer is connected.cashDrawerNumber
- A cash drawer number, usually applicable to devices which support multiple
cash drawers. This value can be '1' for those printers which support only one cash drawer port@Deprecated public static boolean open2(Context context, Account account, UsbDevice usbDevice)
CashDrawers