Class CartHistoryProperties

java.lang.Object
com.broadleafcommerce.cartoperation.web.autoconfigure.CartHistoryProperties

@ConfigurationProperties("broadleaf.cartoperation.endpoint.cart-history") public class CartHistoryProperties extends Object
Configuration properties for cart history behavior.
Since:
Cart Operations 2.1.6, Release Train 2.1.7, Cart Operations 2.2.3, Release Train 2.2.3, Cart Operations 2.3.1, Release Train 2.3.1
  • Constructor Details

    • CartHistoryProperties

      public CartHistoryProperties()
  • Method Details

    • isReadAnonymousCustomerCartEnabled

      public boolean isReadAnonymousCustomerCartEnabled()
      Whether the endpoint to read anonymous carts by id is enabled. If false, then a 404 is always returned. Default is true.
    • isReadCartByOrderNumberForAnonymousCustomerEnabled

      public boolean isReadCartByOrderNumberForAnonymousCustomerEnabled()
      Whether the endpoint to read anonymous carts by order number is enabled. If false, then a 404 is always returned. Default is true.
    • isReadCartByOrderNumberForAnonymousCustomerHydratePaymentsEnabled

      public boolean isReadCartByOrderNumberForAnonymousCustomerHydratePaymentsEnabled()
      Whether the endpoint to read anonymous carts by order number and hydrate payments is enabled. If false, then a 404 is always returned. Default is true.
    • setReadAnonymousCustomerCartEnabled

      public void setReadAnonymousCustomerCartEnabled(boolean readAnonymousCustomerCartEnabled)
      Whether the endpoint to read anonymous carts by id is enabled. If false, then a 404 is always returned. Default is true.
    • setReadCartByOrderNumberForAnonymousCustomerEnabled

      public void setReadCartByOrderNumberForAnonymousCustomerEnabled(boolean readCartByOrderNumberForAnonymousCustomerEnabled)
      Whether the endpoint to read anonymous carts by order number is enabled. If false, then a 404 is always returned. Default is true.
    • setReadCartByOrderNumberForAnonymousCustomerHydratePaymentsEnabled

      public void setReadCartByOrderNumberForAnonymousCustomerHydratePaymentsEnabled(boolean readCartByOrderNumberForAnonymousCustomerHydratePaymentsEnabled)
      Whether the endpoint to read anonymous carts by order number and hydrate payments is enabled. If false, then a 404 is always returned. Default is true.