com.ibm.retail.AEF.automation
Interface ItemIdentifier

All Superinterfaces:
Identifier, java.util.Map
All Known Implementing Classes:
ItemIdentifierImpl

public interface ItemIdentifier
extends Identifier

ItemIdentifier 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 CLASS
           
static java.lang.String CLASS_KEY
           
static java.lang.String DEAL_PRICE
           
static java.lang.String DEAL_QUANTITY
           
static java.lang.String DEPARTMENT
           
static java.lang.String ITEM_CODE
           
static java.lang.String ITEM_TYPE
           
static java.lang.String NONMERCHANDISE
           
static java.lang.String ORIGINAL_SALESPERSON
           
static java.lang.String PRICE
           
static java.lang.String QUANTITY
           
static java.lang.String TAXABLE
           
static java.lang.String WEIGHT
           
 
Fields inherited from interface com.ibm.retail.AEF.automation.Identifier
ACCOUNT_NUMBER
 
Method Summary
 java.lang.String getDealPrice()
          Gets the item's deal price.
 java.lang.String getDealQuantity()
          Gets the item's deal quantity.
 java.lang.String getDepartment()
          Gets the item's department.
 java.lang.String getItemClass()
          Gets the item's class.
 java.lang.String getItemCode()
          Gets the item code.
 java.lang.String getItemCodeType()
          Gets the item code type.
 java.lang.String getOriginalSalesperson()
          Gets the Original Salesperson for this item.
 java.lang.String getPrice()
          Gets the item's price.
 java.lang.String getQuantity()
          Gets the item's quantity.
 java.lang.String getWeight()
          Gets the item's weight.
 boolean isNonMerchandise()
          Gets the item's non-merchandise status.
 void setDealPrice(java.lang.String dealPrice)
          Sets the deal price for the item.
 void setDealQuantity(java.lang.String dealQuantity)
          Sets the deal quantity for the item.
 void setDepartment(java.lang.String itemdepartment)
          Sets the department for the item.
 void setItemClass(java.lang.String itemClass)
          Sets the class for the item.
 void setItemCode(java.lang.String itemCode)
          Sets the item code.
 void setItemCodeType(java.lang.String itemCodeType)
          Sets the item code type.
 void setNonMerchandise(boolean itemNonMerchandiseStatus)
          Sets the non-merchandise flag for this item.
 void setOriginalSalesperson(java.lang.String originalSalesperson)
          Sets the Original Salesperson for this item.
 void setPrice(java.lang.String itemPrice)
          Sets the price for the item.
 void setQuantity(java.lang.String itemQuantity)
          Sets the quantity.
 void setWeight(java.lang.String itemWeight)
          Sets the weight of the item.
 
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

CLASS_KEY

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

ITEM_CODE

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

QUANTITY

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

PRICE

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

WEIGHT

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

DEPARTMENT

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

CLASS

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

TAXABLE

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

NONMERCHANDISE

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

ITEM_TYPE

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

DEAL_PRICE

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

DEAL_QUANTITY

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

ORIGINAL_SALESPERSON

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

setItemCode

public void setItemCode(java.lang.String itemCode)
Sets the item code. This should be the upc code, velocity number, sku number, or department number.

Parameters:
itemCode - The unique item identifier.

setItemCodeType

public void setItemCodeType(java.lang.String itemCodeType)
Sets the item code type. This should be UPC, VELOCITY, SKU, or DEPT as defined in AEFConst.java.

Parameters:
itemCodeType - The type of identifier (sku, velocity, upc, dept, etc)
See Also:
for the valid id types.

setQuantity

public void setQuantity(java.lang.String itemQuantity)
Sets the quantity.

Parameters:
itemQuantity - The quantity for the item.

setPrice

public void setPrice(java.lang.String itemPrice)
Sets the price for the item.

Parameters:
itemPrice - The price for the item.

setDealPrice

public void setDealPrice(java.lang.String dealPrice)
Sets the deal price for the item.

Parameters:
dealPrice - The price for a number of items, for example 3 for $1.00.

setDealQuantity

public void setDealQuantity(java.lang.String dealQuantity)
Sets the deal quantity for the item.

Parameters:
dealQuantity - The number of items selling for a price, for example 3 for $1.00.

setWeight

public void setWeight(java.lang.String itemWeight)
Sets the weight of the item.

Parameters:
itemWeight - The weight of the item.

setDepartment

public void setDepartment(java.lang.String itemdepartment)
Sets the department for the item.

Parameters:
itemdepartment - The department for the item.

setItemClass

public void setItemClass(java.lang.String itemClass)
Sets the class for the item.

Parameters:
itemClass - The item's class.

setNonMerchandise

public void setNonMerchandise(boolean itemNonMerchandiseStatus)
Sets the non-merchandise flag for this item.

Parameters:
itemNonMerchandiseStatus - The item's non-merchandise status.

setOriginalSalesperson

public void setOriginalSalesperson(java.lang.String originalSalesperson)
Sets the Original Salesperson for this item. This is used for returns on some systems.

Parameters:
originalSalesperson - The original salesperson for this item.

getItemCode

public java.lang.String getItemCode()
Gets the item code.

Returns:
String The item code.

getItemCodeType

public java.lang.String getItemCodeType()
Gets the item code type. This should be UPC, VELOCITY, SKU, or DEPT as defined in AEFConst.java.

Returns:
String The type of identifier (sku, velocity, upc, dept, etc)
See Also:
for the valid id types.

getQuantity

public java.lang.String getQuantity()
Gets the item's quantity.

Returns:
String The item's quantity.

getPrice

public java.lang.String getPrice()
Gets the item's price.

Returns:
String The item's price.

getDealPrice

public java.lang.String getDealPrice()
Gets the item's deal price.

Returns:
String

getDealQuantity

public java.lang.String getDealQuantity()
Gets the item's deal quantity.

Returns:
String

getWeight

public java.lang.String getWeight()
Gets the item's weight.

Returns:
String The item's weight.

getDepartment

public java.lang.String getDepartment()
Gets the item's department.

Returns:
String The item's department.

getItemClass

public java.lang.String getItemClass()
Gets the item's class.

Returns:
String The item's class.

getOriginalSalesperson

public java.lang.String getOriginalSalesperson()
Gets the Original Salesperson for this item. This is used for returns on some systems.

Returns:
The original salesperson for this item.

isNonMerchandise

public boolean isNonMerchandise()
Gets the item's non-merchandise status.

Returns:
boolean The item's non-merchandise status.


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