public class RequestElements extends Object
Modifier and Type | Field and Description |
---|---|
static String |
CONTENT_TYPE_TEXT_XML
Content type used in Platform APIs
|
static String |
HEADER_INTUIT_TID
Variable HEADER_INTUIT_TID
|
static String |
HEADER_PARAM_ACCEPT
variable HEADER_PARAM_ACCEPT
|
static String |
HEADER_PARAM_ACCEPT_ENCODING
variable HEADER_PARAM_ACCEPT_ENCODING
|
static String |
HEADER_PARAM_CONTENT_ENCODING
variable HEADER_PARAM_CONTENT_ENCODING
|
static String |
HEADER_PARAM_CONTENT_TYPE
variable HEADER_PARAM_CONTENT_TYPE
|
static String |
HEADER_USER_AGENT
Variable HEADER_USER_AGENT
|
static String |
PARAM_SEND_SELECTOR
variable SEND_SELECTOR
|
static String |
QUICKBASE_ACTION
variable QUICKBASE_ACTION
|
static String |
REPORT_PARAM_ACC_METHOD
variable REPORT_PARAM_ACC_METHOD
|
static String |
REPORT_PARAM_ACCOUNT
variable REPORT_PARAM_ACCOUNT
|
static String |
REPORT_PARAM_ACCOUNT_STATUS |
static String |
REPORT_PARAM_ACCOUNT_TYPE
variable REPORT_PARAM_ACCOUNT_TYPE
|
static String |
REPORT_PARAM_AGENCY_ID |
static String |
REPORT_PARAM_AGING_METHOD
variable REPORT_PARAM_AGING_METHOD - applicable values = Report Date,Current
Example: aging_period=Current
|
static String |
REPORT_PARAM_AGING_PERIOD
variable REPORT_PARAM_AGING_PERIOD - days per aging period
Example: aging_period=30
|
static String |
REPORT_PARAM_APPAID
variable REPORT_PARAM_APPAID - Paid ,Unpaid
Example: appaid=Paid
|
static String |
REPORT_PARAM_ARPAID
variable REPORT_PARAM_ARPAID - can be used as one report customization option to filter report output
Account Receivable paid or not
Supported values : Paid(1), Unpaid(2) Default: All
|
static String |
REPORT_PARAM_BOTH_AMT
variable REPORT_PARAM_BOTH_AMT - can be used as one report customization option to filter report output
eg: filter all transactions with amount
|
static String |
REPORT_PARAM_CLASS
variable REPORT_PARAM_CLASS
|
static String |
REPORT_PARAM_CLEARED
variable REPORT_PARAM_CLEARED - can be used as one report customization option to filter report output
specify the check status
Supported values : Cleared,Uncleared,Reconciled,Deposited
|
static String |
REPORT_PARAM_COLUMNS
variable REPORT_PARAM_COLUMNS
|
static String |
REPORT_PARAM_CREATE_DT_MACRO
variable REPORT_PARAM_CREATE_DT_MACRO
|
static String |
REPORT_PARAM_CUSTOM1 |
static String |
REPORT_PARAM_CUSTOM2 |
static String |
REPORT_PARAM_CUSTOM3 |
static String |
REPORT_PARAM_CUSTOMER
variable REPORT_PARAM_CUSTOMER
|
static String |
REPORT_PARAM_DEPARTMENT
variable REPORT_PARAM_DEPARTMENT
|
static String |
REPORT_PARAM_DOC_NUM
variable REPORT_PARAM_DOC_NUM - specify the transaction number
|
static String |
REPORT_PARAM_DT_MACRO
variable REPORT_PARAM_DT_MACRO
|
static String |
REPORT_PARAM_DUE_DT_MACRO
variable REPORT_PARAM_DUE_DT_MACRO - due Date: can be used as one report
customization option to filter report output
|
static String |
REPORT_PARAM_EMPLOYEE |
static String |
REPORT_PARAM_END_CREATED_DT
variable REPORT_PARAM_END_CREATED_DT
|
static String |
REPORT_PARAM_END_DT
variable REPORT_PARAM_END_DT
|
static String |
REPORT_PARAM_END_DUE_DT
variable REPORT_PARAM_END_DUE_DT - specific the end date for due date
|
static String |
REPORT_PARAM_END_MOD_DT
variable REPORT_PARAM_END_MOD_DT
|
static String |
REPORT_PARAM_GROUP_BY
variable REPORT_PARAM_GROUP_BY - Supported Values: Name,Account,Transaction Type,Customer,
Vendor,Employee,Location,Payment Method,Day,Week,Month,Quarter,Year,None
|
static String |
REPORT_PARAM_ITEM
variable REPORT_PARAM_ITEM
|
static String |
REPORT_PARAM_JOURNAL_CODE |
static String |
REPORT_PARAM_MEMO
variable REPORT_PARAM_MEMO - can be used as one report customization option to filter report output
specify the memo number
|
static String |
REPORT_PARAM_MOD_DT_MACRO
variable REPORT_PARAM_MOD_DT_MACRO
|
static String |
REPORT_PARAM_NAME
variable REPORT_PARAM_NAME - specify the id of the customer/vendor or employee by id
|
static String |
REPORT_PARAM_NUM_PERIOD
variable REPORT_PARAM_NUM_PERIOD
|
static String |
REPORT_PARAM_PAST_DUE
variable REPORT_PARAM_PAST_DUE - minimum days past due
Example: past_due=10
|
static String |
REPORT_PARAM_PAYMENT_METHOD
variable REPORT_PARAM_PAYMENT_METHOD - can be used as one report customization option
to filter report output, eg:to filter all the transactions by payment method
Supported Values: Cash,Check,Dinners Club,American Express,Discover,MasterCard, Visa
|
static String |
REPORT_PARAM_PRINTED
variable REPORT_PARAM_PRINTED - an be used as one report customization option to filter report output
checks Printed or not
Supported values : Printed(1), To_be_Printed(2) Default: All
|
static String |
REPORT_PARAM_QZURL
variable REPORT_PARAM_QZURL
|
static String |
REPORT_PARAM_REPORT_DT
variable REPORT_PARAM_DT
|
static String |
REPORT_PARAM_SHIPVIA |
static String |
REPORT_PARAM_SORT_BY
variable REPORT_PARAM_SORT_BY - sorts the rows by specified column
Example: sort_by=txn_type
|
static String |
REPORT_PARAM_SORT_ORDER
variable REPORT_PARAM_SORT_ORDER - applicable values are "ascend" or "descend"
Example: sort_order=ascend
|
static String |
REPORT_PARAM_SOURCE_ACCOUNT
variable REPORT_PARAM_SOURCE_ACCOUNT
|
static String |
REPORT_PARAM_SOURCE_ACCOUNT_TYPE
variable REPORT_PARAM_SOURCE_ACCOUNT_TYPE
|
static String |
REPORT_PARAM_START_CREATED_DT
variable REPORT_PARAM_START_CREATED_DT
|
static String |
REPORT_PARAM_START_DT
variable REPORT_PARAM_START_DT
|
static String |
REPORT_PARAM_START_DUE_DT
variable REPORT_PARAM_START_DUE_DT - specific the start date for due date
|
static String |
REPORT_PARAM_START_MOD_DT
variable REPORT_PARAM_START_MOD_DT
|
static String |
REPORT_PARAM_SUBCOL_PCT_EXP |
static String |
REPORT_PARAM_SUBCOL_PCT_INC |
static String |
REPORT_PARAM_SUM_COL_BY
variable REPORT_PARAM_SUM_COL_BY
|
static String |
REPORT_PARAM_TERM
variable REPORT_PARAM_TERM - specify the term id
Example: term=2
|
static String |
REPORT_PARAM_TRANSACTION_TYPE
variable REPORT_PARAM_TRANSACTION_TYPE - can be used as one report customization option to filter report
output specify the transaction type
Supported Values :
CreditCardCharge,Check,Invoice,ReceivePayment,JournalEntry,Bill,CreditCardCredit,
VendorCredit,Credit,BillPaymentCheck,BillPaymentCreditCard,
Charge,Transfer,Deposit,Statement,BillableCharge,TimeActivity,
CashPurchase,SalesReceipt,CreditMemo,CreditRefund,Estimate,
InventoryQuantityAdjustment,PurchaseOrder,GlobalTaxPayment,GlobalTaxAdjustment,
Service Tax Refund,Service Tax Gross Adjustment,Service Tax Reversal,
Service Tax Defer,Service Tax Partial Utilisation
|
static String |
REPORT_PARAM_VENDOR
variable REPORT_PARAM_VENDOR
|
static String |
REQ_PARAM_ACCOUNT_ID
Variable REQ_PARAM_ACCOUNT_ID
|
static String |
REQ_PARAM_CHANGED_SINCE
variable REQ_PARAM_CHANGED_SINCE
|
static String |
REQ_PARAM_ENTITIES
variable REQ_PARAM_ENTITIES
|
static String |
REQ_PARAM_ENTITY_ID
variable REQ_PARAM_ENTITY_ID
|
static String |
REQ_PARAM_ENTITY_SELECTOR
variable REQ_PARAM_ENTITY_SELECTOR
|
static String |
REQ_PARAM_INCLUDE
variable REQ_PARAM_OPERATION
|
static String |
REQ_PARAM_LAST_UPDATED_TIME
variable REQ_PARAM_LAST_UPDATED_TIME
|
static String |
REQ_PARAM_LEVEL |
static String |
REQ_PARAM_MAX_RESULTS
Variable REQ_PARAM_MAX_RESULTS
|
static String |
REQ_PARAM_METHOD_TYPE
variable REQ_PARAM_METHOD_TYPE
|
static String |
REQ_PARAM_NUM_DAYS
Variable REQ_PARAM_NUM_DAYS
|
static String |
REQ_PARAM_OPERATION
variable REQ_PARAM_OPERATION
|
static String |
REQ_PARAM_PARENT_ID |
static String |
REQ_PARAM_QUERY
variable REQ_PARAM_QUERY
|
static String |
REQ_PARAM_REQUEST_ID
variable REQ_PARAM_REQUEST_ID
|
static String |
REQ_PARAM_RESOURCE_URL
variable REQ_PARAM_RESOURCE_URL
|
static String |
REQ_PARAM_SENDTO
variable REQ_PARAM_SEND - send parameter
|
static String |
REQ_PARAM_START_POS
Variable REQ_PARAM_START_POS
|
static String |
WORKPLACE_USER_AGENT
variable WORKPLACE_USER_AGENT
|
Constructor and Description |
---|
RequestElements() |
Modifier and Type | Method and Description |
---|---|
String |
getAction()
Gets entity name
|
BatchOperation |
getBatchOperation()
Gets batch operation
|
CallbackHandler |
getCallbackHandler()
Gets Callback Handler
|
byte[] |
getCompressedData()
Gets compressed data
|
Context |
getContext()
Gets context object
|
IEntity |
getEntity()
Gets entity
|
Object |
getObjectToSerialize()
Gets Object to Serialize
|
String |
getPostString()
Gets post string
|
Map<String,String> |
getRequestHeaders()
Gets request headers
|
Map<String,String> |
getRequestParameters()
Gets request parameters
|
String |
getSerializedData()
Gets serialized data
|
byte[] |
getUploadFile()
Gets upload file
|
UploadRequestElements |
getUploadRequestElements()
Gets upload request elements
|
void |
setAction(String action)
Sets action name
|
void |
setBatchOperation(BatchOperation batchOperation)
Sets batch operation
|
void |
setCallbackHandler(CallbackHandler callbackHandler)
Sets Callback Handler
|
void |
setCompressedData(byte[] compressedData)
Sets compressed data
|
void |
setContext(Context context)
Sets context object
|
<T extends IEntity> |
setEntity(T entity)
Sets entity
|
void |
setObjectToSerialize(Object objectToSerialize)
Sets Object to Serialize
|
void |
setPostString(String postString)
Sets post string
|
void |
setRequestHeaders(Map<String,String> requestHeaders)
Sets request headers
|
void |
setRequestParameters(Map<String,String> requestParameters)
Sets request parameters
|
void |
setSerializedData(String serializedData)
Sets serialized data
|
void |
setUploadFile(byte[] uploadFile)
Sets upload file content
|
public static final String HEADER_PARAM_CONTENT_TYPE
public static final String HEADER_PARAM_CONTENT_ENCODING
public static final String HEADER_PARAM_ACCEPT_ENCODING
public static final String HEADER_PARAM_ACCEPT
public static final String REQ_PARAM_METHOD_TYPE
public static final String REQ_PARAM_RESOURCE_URL
public static final String REQ_PARAM_OPERATION
public static final String REQ_PARAM_INCLUDE
public static final String REQ_PARAM_REQUEST_ID
public static final String REQ_PARAM_ENTITY_ID
public static final String REQ_PARAM_ENTITY_SELECTOR
public static final String REQ_PARAM_PARENT_ID
public static final String REQ_PARAM_LEVEL
public static final String REQ_PARAM_QUERY
public static final String PARAM_SEND_SELECTOR
public static final String REQ_PARAM_SENDTO
public static final String REPORT_PARAM_START_DT
public static final String REPORT_PARAM_REPORT_DT
public static final String REPORT_PARAM_END_DT
public static final String REPORT_PARAM_END_CREATED_DT
public static final String REPORT_PARAM_START_CREATED_DT
public static final String REPORT_PARAM_DT_MACRO
public static final String REPORT_PARAM_CREATE_DT_MACRO
public static final String REPORT_PARAM_MOD_DT_MACRO
public static final String REPORT_PARAM_START_MOD_DT
public static final String REPORT_PARAM_END_MOD_DT
public static final String REPORT_PARAM_PAST_DUE
public static final String REPORT_PARAM_END_DUE_DT
public static final String REPORT_PARAM_START_DUE_DT
public static final String REPORT_PARAM_DUE_DT_MACRO
public static final String REPORT_PARAM_ACC_METHOD
public static final String REPORT_PARAM_ACCOUNT
public static final String REPORT_PARAM_SOURCE_ACCOUNT
public static final String REPORT_PARAM_ACCOUNT_TYPE
public static final String REPORT_PARAM_SOURCE_ACCOUNT_TYPE
public static final String REPORT_PARAM_SUM_COL_BY
public static final String REPORT_PARAM_CUSTOMER
public static final String REPORT_PARAM_VENDOR
public static final String REPORT_PARAM_ITEM
public static final String REPORT_PARAM_PAYMENT_METHOD
public static final String REPORT_PARAM_CLASS
public static final String REPORT_PARAM_APPAID
public static final String REPORT_PARAM_DEPARTMENT
public static final String REPORT_PARAM_QZURL
public static final String REPORT_PARAM_AGING_PERIOD
public static final String REPORT_PARAM_AGING_METHOD
public static final String REPORT_PARAM_NUM_PERIOD
public static final String REPORT_PARAM_TERM
public static final String REPORT_PARAM_NAME
public static final String REPORT_PARAM_COLUMNS
public static final String REPORT_PARAM_TRANSACTION_TYPE
public static final String REPORT_PARAM_CLEARED
public static final String REPORT_PARAM_ARPAID
public static final String REPORT_PARAM_PRINTED
public static final String REPORT_PARAM_BOTH_AMT
public static final String REPORT_PARAM_MEMO
public static final String REPORT_PARAM_DOC_NUM
public static final String REPORT_PARAM_SORT_BY
public static final String REPORT_PARAM_SORT_ORDER
public static final String REPORT_PARAM_GROUP_BY
public static final String REPORT_PARAM_JOURNAL_CODE
public static final String REPORT_PARAM_EMPLOYEE
public static final String REPORT_PARAM_AGENCY_ID
public static final String REPORT_PARAM_CUSTOM1
public static final String REPORT_PARAM_CUSTOM2
public static final String REPORT_PARAM_CUSTOM3
public static final String REPORT_PARAM_SHIPVIA
public static final String REPORT_PARAM_ACCOUNT_STATUS
public static final String REPORT_PARAM_SUBCOL_PCT_INC
public static final String REPORT_PARAM_SUBCOL_PCT_EXP
public static final String REQ_PARAM_ENTITIES
public static final String REQ_PARAM_CHANGED_SINCE
public static final String REQ_PARAM_LAST_UPDATED_TIME
public static final String CONTENT_TYPE_TEXT_XML
public static final String HEADER_USER_AGENT
public static final String HEADER_INTUIT_TID
public static final String REQ_PARAM_ACCOUNT_ID
public static final String REQ_PARAM_NUM_DAYS
public static final String REQ_PARAM_START_POS
public static final String REQ_PARAM_MAX_RESULTS
public static final String QUICKBASE_ACTION
public static final String WORKPLACE_USER_AGENT
public Map<String,String> getRequestHeaders()
public void setRequestHeaders(Map<String,String> requestHeaders)
requestHeaders
- request headerspublic Map<String,String> getRequestParameters()
public void setRequestParameters(Map<String,String> requestParameters)
requestParameters
- request parameterspublic Context getContext()
public void setContext(Context context)
context
- context objectpublic IEntity getEntity()
public <T extends IEntity> void setEntity(T entity)
entity
- entitypublic Object getObjectToSerialize()
public void setObjectToSerialize(Object objectToSerialize)
objectToSerialize
- Object to Serializepublic String getSerializedData()
public void setSerializedData(String serializedData)
serializedData
- public byte[] getCompressedData()
public void setCompressedData(byte[] compressedData)
compressedData
- public CallbackHandler getCallbackHandler()
public void setCallbackHandler(CallbackHandler callbackHandler)
callbackHandler
- public String getAction()
public void setAction(String action)
action
- namepublic BatchOperation getBatchOperation()
public void setBatchOperation(BatchOperation batchOperation)
batchOperation
- the batch operationpublic String getPostString()
public void setPostString(String postString)
postString
- the post stringpublic UploadRequestElements getUploadRequestElements()
public byte[] getUploadFile()
public void setUploadFile(byte[] uploadFile)
uploadFile
- the upload file contentCopyright © 2021. All Rights Reserved.