|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A TransactionDefinition
is a simple data object to contain information
about POS transactions (Regular Sale, No Sale, COD,..).
The object contains indicators to determine what functions are valid for various transaction types.
Field Summary | |
---|---|
static java.lang.String |
ALLOWANCES_ALLOWED
Identifier for transaction allows allowances |
static java.lang.String |
DISCOUNTS_ALLOWED
Identifier for transaction allows discounts |
static java.lang.String |
DOCUMENT_INSERT_USED
Identifier for document insert used |
static java.lang.String |
PAYMENTS_ALLOWED
Identifier for transaction allows payments |
static java.lang.String |
PROMPT_FOR_ACCOUNT_NUMBER
Identifier for prompt for account number |
static java.lang.String |
PROMPT_FOR_ORIGINAL_SALESPERSON
Identifier for original sales person prompt |
static java.lang.String |
PROMPT_FOR_TERMS_OF_SALE
Identifier for terms of sale prompt |
static java.lang.String |
RETURNS_ALLOWED
Identifier for transaction allows returns |
static java.lang.String |
SUSPEND_TRANSACTION_ALLOWED
Identifier for suspend transaction allowed |
static java.lang.String |
TRANSACTION_TYPE
Identifier for transaction type (application specific, typically a short descriptor e.g., "noSale"). |
static java.lang.String |
VOID_TRANSACTION_ALLOWED
Identifier for void transaction allowed |
Method Summary | |
---|---|
boolean |
allowancesAllowed()
Indicates if this transaction allows allowances to be applied. |
boolean |
discountsAllowed()
Indicates if this transaction allows discounts to be applied. |
boolean |
documentInsertUsed()
Indicates if this transaction requires a document insert. |
java.lang.String |
getType()
Get the transaction type value. |
boolean |
paymentsAllowed()
Indicates if this transaction allows payments. |
boolean |
promptForAccountNumber()
Indicates if this transaction type requires an account number. |
boolean |
promptForOriginalSalesperson()
Indicates if a prompt for original sales person is required. |
boolean |
promptForTermsOfSale()
Indicates if a prompt for terms of sale is required. |
boolean |
returnsAllowed()
Indicates if this transaction allows returns. |
boolean |
suspendTransactionAllowed()
Indicates if suspend transaction is allowed. |
boolean |
voidTransactionAllowed()
Indicates if void transaction is allowed. |
Methods inherited from interface com.ibm.retail.AEF.event.POSAppEventElement |
---|
getBooleanPropertyValue, getData, getIntegerPropertyValue, getProperty, getPropertyEntries, setData, setProperty, toString |
Methods inherited from interface com.ibm.retail.AEF.xml.SAXElementHandler |
---|
endElement, startElement |
Field Detail |
public static final java.lang.String TRANSACTION_TYPE
public static final java.lang.String PROMPT_FOR_ACCOUNT_NUMBER
public static final java.lang.String DOCUMENT_INSERT_USED
public static final java.lang.String PAYMENTS_ALLOWED
public static final java.lang.String ALLOWANCES_ALLOWED
public static final java.lang.String DISCOUNTS_ALLOWED
public static final java.lang.String RETURNS_ALLOWED
public static final java.lang.String PROMPT_FOR_ORIGINAL_SALESPERSON
public static final java.lang.String PROMPT_FOR_TERMS_OF_SALE
public static final java.lang.String VOID_TRANSACTION_ALLOWED
public static final java.lang.String SUSPEND_TRANSACTION_ALLOWED
Method Detail |
public java.lang.String getType()
public boolean promptForAccountNumber() throws AEFException
AEFException
- Among the possible AEFException error codes are:
public boolean documentInsertUsed() throws AEFException
AEFException
- Among the possible AEFException error codes are:
public boolean paymentsAllowed() throws AEFException
AEFException
- Among the possible AEFException error codes are:
public boolean allowancesAllowed() throws AEFException
AEFException
- Among the possible AEFException error codes are:
public boolean discountsAllowed() throws AEFException
AEFException
- Among the possible AEFException error codes are:
public boolean returnsAllowed() throws AEFException
AEFException
- Among the possible AEFException error codes are:
public boolean promptForOriginalSalesperson() throws AEFException
AEFException
- Among the possible AEFException error codes are:
public boolean promptForTermsOfSale() throws AEFException
AEFException
- Among the possible AEFException error codes are:
public boolean voidTransactionAllowed() throws AEFException
AEFException
- Among the possible AEFException error codes are:
public boolean suspendTransactionAllowed() throws AEFException
AEFException
- Among the possible AEFException error codes are:
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |