Class CartStalePricingValidationActivityProperties
java.lang.Object
com.broadleafcommerce.cartoperation.service.checkout.workflow.activity.CartStalePricingValidationActivityProperties
@ConfigurationProperties("broadleaf.cartoperation.checkout.activity.validation.cart-stale-pricing")
public class CartStalePricingValidationActivityProperties
extends Object
Properties to configure
CartStalePricingValidationActivity.- Author:
- Dima Myroniuk (dmyroniuk)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleaninthashCode()booleanWhether 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.booleanWhether the cart should use real-time pricing every time or honor theCartOperationServiceProperties.getCartPricingTimeToLive()based on the last catalog reprice.voidsetShouldRejectLowerPrice(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.voidsetUseRealTimeCartPricing(boolean useRealTimeCartPricing) Whether the cart should use real-time pricing every time or honor theCartOperationServiceProperties.getCartPricingTimeToLive()based on the last catalog reprice.booleanDeprecated, for removal: This API element is subject to removal in a future version.due to previous use of @Accessors(fluent = true).voidshouldRejectLowerPrice(boolean shouldRejectLowerPrice) Deprecated, for removal: This API element is subject to removal in a future version.due to previous use of @Accessors(fluent = true).toString()booleanDeprecated, for removal: This API element is subject to removal in a future version.due to previous use of @Accessors(fluent = true).voiduseRealTimeCartPricing(boolean useRealTimeCartPricing) Deprecated, for removal: This API element is subject to removal in a future version.due to previous use of @Accessors(fluent = true).
-
Constructor Details
-
CartStalePricingValidationActivityProperties
public CartStalePricingValidationActivityProperties()
-
-
Method Details
-
shouldRejectLowerPrice
Deprecated, for removal: This API element is subject to removal in a future version.due to previous use of @Accessors(fluent = true). Use isShouldRejectLowerPrice() instead. -
shouldRejectLowerPrice
@Deprecated(since="2.3.1", forRemoval=true) public void shouldRejectLowerPrice(boolean shouldRejectLowerPrice) Deprecated, for removal: This API element is subject to removal in a future version.due to previous use of @Accessors(fluent = true). Use setShouldRejectLowerPrice() instead. -
useRealTimeCartPricing
Deprecated, for removal: This API element is subject to removal in a future version.due to previous use of @Accessors(fluent = true). Use isUseRealTimeCartPricing() instead. -
useRealTimeCartPricing
@Deprecated(since="2.3.1", forRemoval=true) public void useRealTimeCartPricing(boolean useRealTimeCartPricing) Deprecated, for removal: This API element is subject to removal in a future version.due to previous use of @Accessors(fluent = true). Use setUseRealTimeCartPricing() instead. -
isShouldRejectLowerPrice
public boolean isShouldRejectLowerPrice()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. -
isUseRealTimeCartPricing
public boolean isUseRealTimeCartPricing()Whether the cart should use real-time pricing every time or honor theCartOperationServiceProperties.getCartPricingTimeToLive()based on the last catalog reprice. -
setShouldRejectLowerPrice
public void setShouldRejectLowerPrice(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. -
setUseRealTimeCartPricing
public void setUseRealTimeCartPricing(boolean useRealTimeCartPricing) Whether the cart should use real-time pricing every time or honor theCartOperationServiceProperties.getCartPricingTimeToLive()based on the last catalog reprice. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-