public static final class MerchantDevicesV2Contract.Device extends Object implements BaseColumns, MerchantDevicesV2Contract.DeviceColumns
Modifier and Type | Field and Description |
---|---|
static String |
CONTENT_DIRECTORY |
static String |
CONTENT_ITEM_TYPE |
static String |
CONTENT_TYPE |
static Uri |
CONTENT_URI |
_COUNT, _ID
BUILD_TYPE, COLUMNS, DEVICE_TYPE_NAME, ID, MERCHANT_ID, MODEL, NAME, OFFLINE_PAYMENTS, OFFLINE_PAYMENTS_ALL, OFFLINE_PAYMENTS_LIMIT, OFFLINE_PAYMENTS_PROMPT_THRESHOLD, OFFLINE_PAYMENTS_TOTAL_PAYMENTS_LIMIT, ORDER_PREFIX, PIN_DISABLED, PRODUCT_NAME, SECURE_ID, SERIAL, TERMINAL_PREFIX
Modifier and Type | Method and Description |
---|---|
static Device |
fromCursor(Cursor cursor)
Convert a cursor obtained by querying the URI
CONTENT_URI to a
Device object. |
static ContentValues |
toContentValues(Device device)
Convert a device into a
ContentValues . |
public static final String CONTENT_DIRECTORY
public static final Uri CONTENT_URI
public static final String CONTENT_TYPE
public static final String CONTENT_ITEM_TYPE
public static Device fromCursor(Cursor cursor)
CONTENT_URI
to a
Device
object.
Only the columns declared in MerchantDevicesV2Contract.Device
are set.public static ContentValues toContentValues(Device device)
ContentValues
. Only values where the MerchantDevicesV2Contract.Device
"has" the value are reflected in the returned ContentValues
;