java.lang.Object
com.broadleafcommerce.promotion.offer.client.web.context.info.Adjustment
com.broadleafcommerce.promotion.offer.client.web.context.discounts.ItemAdjustment
All Implemented Interfaces:
Serializable

public class ItemAdjustment extends Adjustment implements Serializable
An adjustment for a line item of the order.
Author:
Chad Harchar (charchar)
See Also:
  • Constructor Details

    • ItemAdjustment

      public ItemAdjustment()
  • Method Details

    • isAppliedToSalePrice

      public boolean isAppliedToSalePrice()
      Whether this adjustment is applied to the sale price of the item.
    • setAppliedToSalePrice

      public void setAppliedToSalePrice(boolean appliedToSalePrice)
      Whether this adjustment is applied to the sale price of the item.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Adjustment
    • canEqual

      protected boolean canEqual(Object other)
      Overrides:
      canEqual in class Adjustment
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Adjustment
    • toString

      public String toString()
      Overrides:
      toString in class Adjustment