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 theCart.isPriced()
and/orCartItem.isPriced()
being set to false.
-
-
Constructor Summary
Constructors Constructor Description PriceInvalidation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isAddAttribute()
An addition to cart attributes.boolean
isRemoveAttribute()
A deletion of a cart attribute.boolean
isUpdateContactInfo()
An update of the contact info for the order (e.g.void
setAddAttribute(boolean addAttribute)
An addition to cart attributes.void
setRemoveAttribute(boolean removeAttribute)
A deletion of a cart attribute.void
setUpdateContactInfo(boolean updateContactInfo)
An update of the contact info for the order (e.g.
-
-
-
Method Detail
-
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.
-
-