PrinterContract

public final class PrinterContract

Contract defining printers for use in Clover applications.

The printers contract is composed of two tables and one view. The Devices table lists all known printer devices. The Categories table maps a printer device to a printing category, either receipt or order.

Conceptually, the com.clover.sdk.v1.printer.PrinterContract.Devices class represents the printers that are configured on any device belong to the merchant. The com.clover.sdk.v1.printer.PrinterContract.Categories class maps a printer device to a printer category, and represents the printer devices that are configured on this device.

The com.clover.sdk.v1.printer.PrinterContract.DeviceCategories class is a join of the com.clover.sdk.v1.printer.PrinterContract.Devices and com.clover.sdk.v1.printer.PrinterContract.Categories class where the category is not null. In other words, com.clover.sdk.v1.printer.PrinterContract.DeviceCategories is the configured devices and their category.

Constructors

Link copied to clipboard
public void PrinterContract()

Types

Link copied to clipboard
Link copied to clipboard
public interface CategoriesColumns
Link copied to clipboard
Link copied to clipboard
public final class Devices implements BaseColumns, PrinterContract.DevicesColumns
Link copied to clipboard
public interface DevicesColumns

Properties

Link copied to clipboard
public final static String AUTHORITY
Link copied to clipboard
public final static Uri AUTHORITY_URI
Link copied to clipboard
public final static String PARAM_ACCOUNT_NAME
Link copied to clipboard
public final static String PARAM_ACCOUNT_TYPE
Link copied to clipboard
public final static String PARAM_SYNC

Functions

Link copied to clipboard
public static boolean isSync(Uri uri)