Interface PromotableOrderAdjustment

All Superinterfaces:
Serializable
All Known Implementing Classes:
PromotableOrderAdjustmentImpl

public interface PromotableOrderAdjustment extends Serializable
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the value of this adjustment
    Returns the associated promotableCandidateOrderOffer
    Returns the associated promotableOrder
    boolean
    Returns true if this adjustment represents a combinable offer.
    boolean
    Future credit means that the associated adjustment will be discounted at a later time to the customer via a credit.
    boolean
    Returns true if this adjustment represents a totalitarian offer.
    void
    setFutureCredit(boolean futureCredit)
    Future credit means that the associated adjustment will be discounted at a later time to the customer via a credit.
  • Method Details

    • getPromotableOrder

      PromotableOrder getPromotableOrder()
      Returns the associated promotableOrder
      Returns:
    • getOffer

      Offer getOffer()
      Returns the associated promotableCandidateOrderOffer
      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.
    • isFutureCredit

      boolean isFutureCredit()
      Future credit means that the associated adjustment will be discounted at a later time to the customer via a credit. It is up to the implementor to decide how to achieve this. This field is used to determine if the adjustment originated from an offer marked as FUTURE_CREDIT.

      See Offer.getAdjustmentType() for more info

      Returns:
    • setFutureCredit

      void setFutureCredit(boolean futureCredit)
      Future credit means that the associated adjustment will be discounted at a later time to the customer via a credit. It is up to the implementor to decide how to achieve this. This field is used to determine if the adjustment originated from an offer marked as FUTURE_CREDIT.

      See Offer.getAdjustmentType() for more info

      Parameters:
      futureCredit -