|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface PromotableFulfillmentGroupAdjustment
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 | |
|---|---|
void |
finalizeAdjustment(boolean useSaleAdjustments)
Updates the adjustmentValue to the sales or retail value based on the passed in param |
Money |
getAdjustmentValue()
Returns the value of this adjustment |
PromotableCandidateFulfillmentGroupOffer |
getPromotableCandidateFulfillmentGroupOffer()
Returns the associated promotableCandidateOrderOffer |
PromotableFulfillmentGroup |
getPromotableFulfillmentGroup()
Returns the associated promotableFulfillmentGroup |
Money |
getRetailAdjustmentValue()
Returns the value of this adjustment |
Money |
getSaleAdjustmentValue()
Returns the value of this adjustment |
boolean |
isAppliedToSalePrice()
|
boolean |
isCombinable()
Returns true if this adjustment represents a combinable offer. |
boolean |
isTotalitarian()
Returns true if this adjustment represents a totalitarian offer. |
| Method Detail |
|---|
PromotableFulfillmentGroup getPromotableFulfillmentGroup()
PromotableCandidateFulfillmentGroupOffer getPromotableCandidateFulfillmentGroupOffer()
Money getSaleAdjustmentValue()
Money getRetailAdjustmentValue()
Money getAdjustmentValue()
boolean isCombinable()
boolean isTotalitarian()
void finalizeAdjustment(boolean useSaleAdjustments)
boolean isAppliedToSalePrice()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||