|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface PromotableOrderItemPriceDetailAdjustment
This class holds adjustment records during the discount calculation processing. This and other disposable objects avoid churn on the database while the offer engine determines the best offer(s) for the order being priced.
| Method Summary | |
|---|---|
PromotableOrderItemPriceDetailAdjustment |
copy()
Copy this adjustment. |
void |
finalizeAdjustment(boolean useSalePrice)
Sets the adjustment price based on the passed in parameter. |
Money |
getAdjustmentValue()
Returns the value of this adjustment. |
Offer |
getOffer()
Returns the associated promotableCandidateItemOffer |
Long |
getOfferId()
Returns the id of the contained offer. |
PromotableOrderItemPriceDetail |
getPromotableOrderItemPriceDetail()
Returns the associated promotableOrderItemPriceDetail |
Money |
getRetailAdjustmentValue()
Returns the value of this adjustment if only retail prices can be used. |
Money |
getSaleAdjustmentValue()
Returns the value of this adjustment if sale prices can be used. |
boolean |
isAppliedToSalePrice()
Returns true if the value was applied to the sale price. |
boolean |
isCombinable()
Returns true if this adjustment represents a combinable offer. |
boolean |
isTotalitarian()
Returns true if this adjustment represents a totalitarian offer. |
| Method Detail |
|---|
PromotableOrderItemPriceDetail getPromotableOrderItemPriceDetail()
Offer getOffer()
Money getRetailAdjustmentValue()
Money getSaleAdjustmentValue()
Money getAdjustmentValue()
boolean isAppliedToSalePrice()
boolean isCombinable()
boolean isTotalitarian()
Long getOfferId()
void finalizeAdjustment(boolean useSalePrice)
PromotableOrderItemPriceDetailAdjustment copy()
discountQty - copy -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||