Class CartStalePricingValidationActivityProperties


  • @ConfigurationProperties("broadleaf.cartoperation.checkout.activity.validation.cart-stale-pricing")
    public class CartStalePricingValidationActivityProperties
    extends Object
    Properties to configure CartStalePricingValidationActivity.
    Author:
    Dima Myroniuk (dmyroniuk)
    • Constructor Detail

      • CartStalePricingValidationActivityProperties

        public CartStalePricingValidationActivityProperties()
    • Method Detail

      • shouldRejectLowerPrice

        public CartStalePricingValidationActivityProperties shouldRejectLowerPrice​(boolean shouldRejectLowerPrice)
        Whether or not to reject the checkout attempt if it's determined that the latest price for the cart is lower than the cart's previously known price. By default, we'll allow the checkout attempt to proceed with the lower price.
        Returns:
        this.
      • shouldRejectLowerPrice

        public boolean shouldRejectLowerPrice()
        Whether or not to reject the checkout attempt if it's determined that the latest price for the cart is lower than the cart's previously known price. By default, we'll allow the checkout attempt to proceed with the lower price.