|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectatg.commerce.pricing.UnitPriceBean
atg.projects.store.pricing.StoreUnitPriceBean
public class StoreUnitPriceBean
Extension of UnitPriceBean class that provides GWP-specific information like list of GWP selections associated with the current price bean and helper methods that determine whether price bean is GWP specific.
Field Summary | |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string |
Constructor Summary | |
---|---|
StoreUnitPriceBean()
Constructor creating empty bean. |
|
StoreUnitPriceBean(atg.commerce.pricing.DetailedItemPriceInfo pInfo)
Constructor that populates beans properties from DetailedItemPriceInfo object. |
|
StoreUnitPriceBean(atg.commerce.pricing.UnitPriceBean pUnitPriceBean)
Constructor that populates beans properties from UnitPriceBean object. |
Method Summary | |
---|---|
java.util.List<? extends atg.commerce.promotion.GiftWithPurchaseSelection> |
getGwpSelections()
Returns list of GWP selections associated within the price bean. |
boolean |
isGiftWithPurchase()
Returns true if price bean is discounted by gift with purchase promotion. |
void |
setGwpSelections(java.util.List<? extends atg.commerce.promotion.GiftWithPurchaseSelection> pGwpSelections)
List of GWP selections associated within the price bean. |
Methods inherited from class atg.commerce.pricing.UnitPriceBean |
---|
getPricingModels, getQuantity, getUnitPrice, setPricingModels, setQuantity, setUnitPrice, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static java.lang.String CLASS_VERSION
Constructor Detail |
---|
public StoreUnitPriceBean()
public StoreUnitPriceBean(atg.commerce.pricing.DetailedItemPriceInfo pInfo)
pInfo
- The DetailedItemPriceInfo object to populate bean's properties from.public StoreUnitPriceBean(atg.commerce.pricing.UnitPriceBean pUnitPriceBean)
pUnitPriceBean
- The UnitPriceBean
object to copy properties from.Method Detail |
---|
public void setGwpSelections(java.util.List<? extends atg.commerce.promotion.GiftWithPurchaseSelection> pGwpSelections)
pGwpSelections
- List of GWP selections associated within the price bean.public java.util.List<? extends atg.commerce.promotion.GiftWithPurchaseSelection> getGwpSelections()
public boolean isGiftWithPurchase()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |