Class CartOperationServiceProperties.PriceInvalidation

java.lang.Object
com.broadleafcommerce.cartoperation.service.CartOperationServiceProperties.PriceInvalidation
Enclosing class:
CartOperationServiceProperties

public static class CartOperationServiceProperties.PriceInvalidation extends Object
Contains properties that determine whether certain operations from the API cause prices to be invalidated. Invalidated prices will result in the Cart.isPriced() and/or CartItem.isPriced() being set to false.
  • Constructor Details

    • PriceInvalidation

      public PriceInvalidation()
  • Method Details

    • isUpdateContactInfo

      public boolean isUpdateContactInfo()
      An update of the contact info for the order (e.g. email address). Defaults to true for cases such as an offer applying based on the email address.
    • isAddAttribute

      public boolean isAddAttribute()
      An addition to cart attributes.
    • isRemoveAttribute

      public boolean isRemoveAttribute()
      A deletion of a cart attribute.
    • setUpdateContactInfo

      public void setUpdateContactInfo(boolean updateContactInfo)
      An update of the contact info for the order (e.g. email address). Defaults to true for cases such as an offer applying based on the email address.
    • setAddAttribute

      public void setAddAttribute(boolean addAttribute)
      An addition to cart attributes.
    • setRemoveAttribute

      public void setRemoveAttribute(boolean removeAttribute)
      A deletion of a cart attribute.