com.ibm.retail.saf.provider
Interface ItemIdentifier

All Superinterfaces:
POSInfo, java.io.Serializable
All Known Implementing Classes:
ScannedItemIdentifier

public interface ItemIdentifier
extends POSInfo

Provides information needed to identify an item at the point-of-sale register.

This information typically consists of the item number as it would be keyed from the bar-coded label on the item. Some identifiers are not scanned and may require an item type to be specified.


Field Summary
static byte SCAN_LABEL
          Identifies the item code string as a scanned label, typically a UPC.
static byte SKU
          Identifies the item code string as an SKU.
static byte VELOCITY
          Identifies the item code string as an VELOCITY code or PLU code.
 
Method Summary
 java.lang.String getItemCode()
          Get the item code string.
 byte getItemCodeType()
          Get the item code type.
 void setItemCode(java.lang.String itemCode)
          Set the item code string.
 void setItemCodeType(byte itemCodeType)
          Set the item code type.
 
Methods inherited from interface com.ibm.retail.saf.provider.POSInfo
getExtendedAttribute, getExtendedAttributeNames, removeExtendedAttribute, setExtendedAttribute
 

Field Detail

SCAN_LABEL

public static final byte SCAN_LABEL
Identifies the item code string as a scanned label, typically a UPC.

See Also:
Constant Field Values

SKU

public static final byte SKU
Identifies the item code string as an SKU.

See Also:
Constant Field Values

VELOCITY

public static final byte VELOCITY
Identifies the item code string as an VELOCITY code or PLU code.

See Also:
Constant Field Values
Method Detail

getItemCode

public java.lang.String getItemCode()
Get the item code string.

Returns:
item code string

getItemCodeType

public byte getItemCodeType()
Get the item code type.

Reserved item code types are:

Returns:
item code type

setItemCode

public void setItemCode(java.lang.String itemCode)
Set the item code string.

Returns:
item code string

setItemCodeType

public void setItemCodeType(byte itemCodeType)
Set the item code type.