Package com.clover.sdk.v3.order
Class OrderContract.OrderSummary
- java.lang.Object
-
- com.clover.sdk.v3.order.OrderContract.OrderSummary
-
- All Implemented Interfaces:
BaseColumns
,OrderContract.OrderSummaryColumns
- Enclosing class:
- OrderContract
public static final class OrderContract.OrderSummary extends Object implements BaseColumns, OrderContract.OrderSummaryColumns
Provides order summaries for up to 100 days of recent orders. To retrieve full order data use theOrderConnector
.
-
-
Field Summary
Fields Modifier and Type Field Description static String
CONTENT_DIRECTORY
base content directory for ordersstatic String
CONTENT_DIRECTORY_2
static String
CONTENT_ITEM_TYPE
The MIME type of aCONTENT_URI
subdirectory of a single order.static String
CONTENT_TYPE
The MIME type ofCONTENT_URI
providing a directory of orders.static Uri
CONTENT_URI
The content:// style URI for this tablestatic Uri
CONTENT_URI_2
-
Fields inherited from interface android.provider.BaseColumns
_COUNT, _ID
-
Fields inherited from interface com.clover.sdk.v3.order.OrderContract.OrderSummaryColumns
AMOUNT_CREDITED, AMOUNT_PAID, AMOUNT_REFUNDED, CREATED, CREATED_TIME, CURRENCY, CUSTOMER_ID, CUSTOMER_NAME, CUSTOMER_NOTE, DEVICE_ID, EMPLOYEE_ID, EMPLOYEE_NAME, EXTERNAL_REFERENCE_ID, FULFILLMENT_TIME, ID, IS_AUTH, LAST_FOURS, MODIFIED_TIME, NOTE, OLO_CUSTOMER_NAME, OLO_SERVICE_TYPE, ORDER_TYPE, PAYMENT_IDS, PAYMENT_STATE, STATE, TENDER_IDS, TENDER_LABELS, TITLE, TOTAL
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Uri
contentUriWithAccount(Account account)
Return order summariesstatic Uri
contentUriWithAccount2(Account account)
Same ascontentUriWithAccount(Account)
, but queries will not automatically add a state IS NOT NULL condition to the WHERE clause.static Uri
contentUriWithToken(String token)
-
-
-
Field Detail
-
CONTENT_DIRECTORY
public static final String CONTENT_DIRECTORY
base content directory for orders- See Also:
- Constant Field Values
-
CONTENT_URI
public static final Uri CONTENT_URI
The content:// style URI for this table
-
CONTENT_TYPE
public static final String CONTENT_TYPE
The MIME type ofCONTENT_URI
providing a directory of orders.- See Also:
- Constant Field Values
-
CONTENT_ITEM_TYPE
public static final String CONTENT_ITEM_TYPE
The MIME type of aCONTENT_URI
subdirectory of a single order.- See Also:
- Constant Field Values
-
CONTENT_DIRECTORY_2
public static final String CONTENT_DIRECTORY_2
- See Also:
- Constant Field Values
-
CONTENT_URI_2
public static final Uri CONTENT_URI_2
-
-
Method Detail
-
contentUriWithAccount
public static Uri contentUriWithAccount(Account account)
Return order summaries
-
contentUriWithAccount2
public static Uri contentUriWithAccount2(Account account)
Same ascontentUriWithAccount(Account)
, but queries will not automatically add a state IS NOT NULL condition to the WHERE clause. SeeOrder.getState()
for details about the meaning of order state.
-
-