|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface OrderItemPriceDetailAdjustment
Records the actual adjustments that were made to an OrderItemPriceDetail.
| Method Summary | |
|---|---|
String |
getOfferName()
Stores the offer name at the time the adjustment was made. |
OrderItemPriceDetail |
getOrderItemPriceDetail()
|
Money |
getRetailPriceValue()
Value of this adjustment relative to the retail price. |
Money |
getSalesPriceValue()
Value of this adjustment relative to the sale price. |
void |
init(OrderItemPriceDetail orderItemPriceDetail,
Offer offer,
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 |
setOfferName(String offerName)
Returns the name of the offer at the time the adjustment was made. |
void |
setOrderItemPriceDetail(OrderItemPriceDetail orderItemPriceDetail)
|
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 |
|---|
String getOfferName()
void setOfferName(String offerName)
offerName - OrderItemPriceDetail getOrderItemPriceDetail()
void init(OrderItemPriceDetail orderItemPriceDetail,
Offer offer,
String reason)
void setOrderItemPriceDetail(OrderItemPriceDetail orderItemPriceDetail)
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 | |||||||||