|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface OrderItemAdjustment
| Method Summary | |
|---|---|
OrderItem |
getOrderItem()
|
Money |
getRetailPriceValue()
Value of this adjustment relative to the retail price. |
Money |
getSalesPriceValue()
Value of this adjustment relative to the sale price. |
void |
init(OrderItem orderItem,
Offer offer,
java.lang.String reason)
|
boolean |
isAppliedToSalePrice()
Even for items that are on sale, it is possible that an adjustment was made to the retail price that gave the customer a better offer. |
void |
setAppliedToSalePrice(boolean appliedToSalePrice)
|
void |
setOrderItem(OrderItem orderItem)
|
void |
setRetailPriceValue(Money retailPriceValue)
|
void |
setSalesPriceValue(Money salesPriceValue)
|
| Methods inherited from interface org.broadleafcommerce.core.offer.domain.Adjustment |
|---|
getId, getOffer, getReason, getValue, setId, setReason, setValue |
| Method Detail |
|---|
OrderItem getOrderItem()
void init(OrderItem orderItem,
Offer offer,
java.lang.String reason)
void setOrderItem(OrderItem orderItem)
boolean isAppliedToSalePrice()
void setAppliedToSalePrice(boolean appliedToSalePrice)
Money getRetailPriceValue()
void setRetailPriceValue(Money retailPriceValue)
Money getSalesPriceValue()
void setSalesPriceValue(Money salesPriceValue)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||