Class CartOperationServiceProperties.PriceInvalidation
java.lang.Object
com.broadleafcommerce.cartoperation.service.CartOperationServiceProperties.PriceInvalidation
- Enclosing class:
- CartOperationServiceProperties
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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
An addition to cart attributes.boolean
A deletion of a cart attribute.boolean
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.
-
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.
-