com.ibm.retail.AEF.automation
Interface TenderIdentifier

All Superinterfaces:
Identifier, java.util.Map
All Known Subinterfaces:
CreditIdentifier, MSRCreditIdentifier
All Known Implementing Classes:
CreditIdentifierImpl, MSRCreditIdentifierImpl, TenderIdentifierImpl

public interface TenderIdentifier
extends Identifier

TenderIdentifier is an interface which encapsulates an item code, and the type of the item code. For example, an item may be identified as a upc code, a velocity code, a sku code, or a department.


Field Summary
static java.lang.String AMOUNT
           
static java.lang.String BALANCE_DUE
           
 
Fields inherited from interface com.ibm.retail.AEF.automation.Identifier
ACCOUNT_NUMBER, PRICE
 
Method Summary
 java.lang.String getAmount()
          Gets the tender amount.
 java.lang.String getKey()
          Gets the tender key.
 void setAmount(java.lang.String amount)
          Sets the tender amount.
 
Methods inherited from interface com.ibm.retail.AEF.automation.Identifier
toString
 
Methods inherited from interface java.util.Map
clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, values
 

Field Detail

AMOUNT

public static final java.lang.String AMOUNT
See Also:
Constant Field Values

BALANCE_DUE

public static final java.lang.String BALANCE_DUE
See Also:
Constant Field Values
Method Detail

setAmount

public void setAmount(java.lang.String amount)
Sets the tender amount.

Parameters:
amount -

getAmount

public java.lang.String getAmount()
Gets the tender amount.

Returns:
String The amount of the tender.

getKey

public java.lang.String getKey()
Gets the tender key. The tender key is used to determine the keys in classes.properties chain for the classes used to add a tender or void a tender. For example, if the method returns "Cash", then "AddCashTenderAction" is the key used to determine the action class for adding the tender to a transaction.

Returns:
String


Copyright © 2004 IBM. All Rights Reserved.
Generated: July 19 2004