|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ItemInfo is an interface which encapsulates the item information for an item which is sold in a transaction.
Field Summary | |
---|---|
static java.lang.String |
CLASS_KEY
|
Method Summary | |
---|---|
void |
addRestrictedPeriod(com.ibm.retail.AEF.event.TimeInterval period)
Adds a restricted period for the item. |
int |
getAgeRestriction()
Returns the age restriction (in years) for this item. |
java.lang.String |
getDealPrice()
Returns the deal price for this item if the pricing method utilizes any kind of deal price. |
int |
getDealQuantity()
Returns the deal quantity for this item if the pricing method utilizes any kind of deal price. |
java.lang.String |
getExtendedPrice()
Get the extendedPrice |
com.ibm.retail.AEF.automation.ItemIdentifier |
getItemID()
Gets the item identifier. |
java.lang.String |
getItemModifier()
Gets the item modifier. |
java.lang.String |
getMultiPricingGroup()
Returns the multi-pricing group for this item if the pricing method utilizes multi-pricing. |
java.lang.String |
getPricingMethod()
Returns the pricing method for this item. |
int |
getQuantity()
Get the quantity |
java.lang.String |
getReducedPrice()
Returns the reduced price for this item if the pricing method utilizes a reduced price. |
java.lang.String |
getRegularPrice()
Returns the regular price for this item. |
java.util.Collection |
getRestrictedPeriods()
Returns the restricted time periods associated with this item. |
java.lang.String |
getUnitPrice()
Get the unit price |
java.lang.String |
getWeight()
Get the weight |
boolean |
isFoodstampEligible()
Indicates whether the item is eligible for foodstamps. |
boolean |
isItemRepeatAllowed()
Returns whether selling another item by using item repeat is allowed for this item. |
boolean |
isTaxable()
Indicates whether the item is taxable. |
boolean |
isTimeRestricted()
Is this item time restricted |
boolean |
isWICEligible()
Indicates whether the item is eligible for WIC. |
void |
setAgeRestriction(int years)
Sets the age restriction (in years) for this item. |
void |
setDealPrice(java.lang.String dealPrice)
Set the deal price for this item. |
void |
setDealQuantity(int dealQuantity)
Set the deal quantity for this item. |
void |
setExtendedPrice(java.lang.String value)
Set the extendedPrice |
void |
setFoodstampEligible(boolean eligible)
Sets whether the item is eligible for foodstamps. |
void |
setItemID(com.ibm.retail.AEF.automation.ItemIdentifier itemID)
Sets the item identifier. |
void |
setItemModifier(java.lang.String itemModifier)
Sets the item modifier. |
void |
setItemRepeatAllowed(boolean repeatAllowed)
Set whether selling another item by using item repeat is allowed for this item. |
void |
setMultiPricingGroup(java.lang.String multiPricingGroup)
Set the multi-pricing group for this item. |
void |
setPricingMethod(java.lang.String pricingMethod)
Set the pricing method for this item. |
void |
setQuantity(int qty)
Set the quantity |
void |
setReducedPrice(java.lang.String reducedPrice)
Set the reduced price for this item. |
void |
setRegularPrice(java.lang.String price)
Set the regular price for this item. |
void |
setRestrictedPeriods(java.util.Collection periods)
Sets the restricted time periods associated with this item. |
void |
setTaxable(boolean taxable)
Set whether the item is taxable. |
void |
setUnitPrice(java.lang.String value)
Set the unit price |
void |
setWeight(java.lang.String weight)
Set the weight |
void |
setWICEligible(boolean eligible)
Sets whether the item is eligible for WIC. |
Methods inherited from interface com.ibm.retail.AEF.automation.LineItemInfo |
---|
addRawReceiptLine, addReceiptLine, getDescription, getRawReceiptLines, getReceiptLines, getTransaction, isDeposit, isRefunded, isVoided, setDeposit, setDescription, setRawReceiptLines, setReceiptLines, setRefunded, setTransaction, setVoided |
Methods inherited from interface com.ibm.retail.AEF.automation.BaseInfo |
---|
getBooleanPropertyValue, getIntegerPropertyValue, getProperty, getPropertyEntries, setProperty, update |
Field Detail |
public static final java.lang.String CLASS_KEY
Method Detail |
public void setItemID(com.ibm.retail.AEF.automation.ItemIdentifier itemID)
itemID
- The unique item identifier.public com.ibm.retail.AEF.automation.ItemIdentifier getItemID()
public void setItemModifier(java.lang.String itemModifier)
itemModifier
- public java.lang.String getItemModifier()
public java.lang.String getUnitPrice()
public void setUnitPrice(java.lang.String value)
public int getQuantity()
public void setQuantity(int qty)
public java.lang.String getWeight()
public void setWeight(java.lang.String weight)
weight
-
java.lang.NumberFormatException
public java.lang.String getExtendedPrice()
public void setExtendedPrice(java.lang.String value)
public int getAgeRestriction()
public void setAgeRestriction(int years)
years
- The number of years old the customer must be to purchase the item.
Use zero for no age restriction.public boolean isFoodstampEligible()
public void setFoodstampEligible(boolean eligible)
public boolean isWICEligible()
public void setWICEligible(boolean eligible)
public boolean isTimeRestricted()
public java.util.Collection getRestrictedPeriods()
public void setRestrictedPeriods(java.util.Collection periods)
public void addRestrictedPeriod(com.ibm.retail.AEF.event.TimeInterval period)
public int getDealQuantity()
public void setDealQuantity(int dealQuantity)
dealQuantity
- The quantity required for the deal pricing method.public java.lang.String getDealPrice()
public void setDealPrice(java.lang.String dealPrice)
dealPrice
- The deal price for the item if a deal pricing
method applies.public java.lang.String getReducedPrice()
public void setReducedPrice(java.lang.String reducedPrice)
reducedPrice
- The reduced price for the item if a reduced price pricing
method applies.public java.lang.String getMultiPricingGroup()
public void setMultiPricingGroup(java.lang.String multiPricingGroup)
multiPricingGroup
- The multi-pricing group for the item if
the pricing method utilizes a multi-group pricing method.public boolean isItemRepeatAllowed()
public void setItemRepeatAllowed(boolean repeatAllowed)
repeatAllowed
- public boolean isTaxable()
public void setTaxable(boolean taxable)
taxable
- public java.lang.String getPricingMethod()
public void setPricingMethod(java.lang.String pricingMethod)
pricingMethod
- public java.lang.String getRegularPrice()
public void setRegularPrice(java.lang.String price)
price
- - The regular price for the item.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |