Interface OrderAdjustment

All Superinterfaces:
Adjustment, Serializable
All Known Implementing Classes:
OrderAdjustmentImpl

public interface OrderAdjustment extends Adjustment
  • Method Details

    • getOrder

      Order getOrder()
    • setOrder

      void setOrder(Order order)
    • init

      void init(Order order, Offer offer, String reason)
    • 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 -