Interface PromotableFulfillmentGroupAdjustment

All Superinterfaces:
PromotionRounding, Serializable
All Known Implementing Classes:
PromotableFulfillmentGroupAdjustmentImpl

public interface PromotableFulfillmentGroupAdjustment extends PromotionRounding, Serializable
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.
Author:
bpolster
  • Method Details

    • getPromotableFulfillmentGroup

      PromotableFulfillmentGroup getPromotableFulfillmentGroup()
      Returns the associated promotableFulfillmentGroup
      Returns:
    • getPromotableCandidateFulfillmentGroupOffer

      PromotableCandidateFulfillmentGroupOffer getPromotableCandidateFulfillmentGroupOffer()
      Returns the associated promotableCandidateOrderOffer
      Returns:
    • getSaleAdjustmentValue

      Money getSaleAdjustmentValue()
      Returns the value of this adjustment
      Returns:
    • getRetailAdjustmentValue

      Money getRetailAdjustmentValue()
      Returns the value of this adjustment
      Returns:
    • getAdjustmentValue

      Money getAdjustmentValue()
      Returns the value of this adjustment
      Returns:
    • isCombinable

      boolean isCombinable()
      Returns true if this adjustment represents a combinable offer.
    • isTotalitarian

      boolean isTotalitarian()
      Returns true if this adjustment represents a totalitarian offer.
    • finalizeAdjustment

      void finalizeAdjustment(boolean useSaleAdjustments)
      Updates the adjustmentValue to the sales or retail value based on the passed in param
    • isAppliedToSalePrice

      boolean isAppliedToSalePrice()