Download Toshiba Global Commerce Solutions Programming Guide
Transcript
Understanding the architecture Table 10. Error helper classes (continued) Error helper key SAErrorHelperB608 Implementation classes available for applications Error helper behavior Used to handle the B608 ASK FOR CARD CLEAR TO CONTINUE prompt. SA There are two reasons for getting this message. One is a reminder to get the customer's card when the total key is pressed. The other is when a coupon is entered that is limited to preferred customers. If the error handling mode is automatic, the error helper clears the error. If the prompt was generated in response to a coupon that is limited to preferred customers, the error helper throws an exception. If the error handling mode is default, the error helper waits for the operator to clear the error. If the prompt was generated in response to a coupon that is limited to preferred customers, the error helper throws an exception. ACEErrorHelperB676 SAErrorHelperB676 ACE, SA Used to handle the B676 ACTIVE SUSPENDS, CLEAR OR CONTINUE prompt. If the error handling mode is automatic, the error helper clears the error to allow the signoff. If the error handling mode is default, the error helper waits for the operator to clear the error to allow the signoff. AcceptOrVoidTender Used to handle the ENTER TO ACCEPT OR CLEAR TO VOID tender prompt in GSA. If the error handler is in automatic mode, the error helper sends the ENTER key to accept the tender. If the error handler is in default mode, the error helper waits for the operator to handle the prompt. If the operator clears the tender, an exception is thrown. GSA AccountNumberErrorHelper GSA: Used to handle GSA state 51. In automatic mode, the error helper retrieves the account number from the tender identifier and sends it. If none is found, an exception is thrown. In manual mode, the AEF waits for the operator to enter an account number. GSA, SA SA: Used to handle B048 ACCOUNT NUMBER NEEDED guidance message. In automatic mode, this is a fatal error, the guidance is cleared, and an exception is thrown. In manual mode, the AEF waits for the operator to enter an account number. AgeRestrictedHelper ACE: Used to handle date of birth prompt for age restricted items. ACE, GSA, SA GSA: Used to handle A399 AGE RESTRICTED ITEM guidance message. SA: Used to handle B107 AGE CHECK NEEDED guidance. In automatic mode, if the Automation Provider is configured to handle age restricted items automatically, a hard coded date of birth is entered to satisfy the age prompt. If the Automation Provider is not configured to automatically handle age restricted items, or the error handling mode is default an exception is thrown. AppDefaultErrorHelper This is the error helper used whenever an error key cannot be located in apperror.properties. An exception is always thrown. This usually indicates that an error helper should be configured. ACE, GSA, SA AuthorizationCodeErrorHelper Used to handle the ENTER AUTHORIZATION CODE prompt. In either automatic or default error handling modes, the error helper uses the authorization code from the tender identifier as input for a key sequence to satisfy the prompt. ACE BaseDescriptor449ErrorHelper This error helper might be used when the error handler encounters a blank line on the operator display. The error helper waits for the line display to change. GSA Chapter 2. Understanding the architecture 37