public class StoreUnitPriceBean
extends atg.commerce.pricing.UnitPriceBean
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string
|
Constructor and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
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.
|
getAdditionalPriceBeanInfo, getCommerceItem, getPricingModels, getQuantity, getQuantityDerivedAsFloatingPoint, getQuantityWithFraction, getUnitPrice, setAdditionalPriceBeanInfo, setCommerceItem, setPricingModels, setQuantity, setQuantityWithFraction, setUnitPrice, toString
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.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()