Class ExternalCartProperties


  • @ConfigurationProperties("broadleaf.cartoperation.cartprovider")
    public class ExternalCartProperties
    extends Object
    • Constructor Detail

      • ExternalCartProperties

        public ExternalCartProperties()
    • Method Detail

      • getUrl

        public String getUrl()
        The base url for an external cart service.
      • getCartUri

        public String getCartUri()
        The URI path for basic singular cart retrieval.
      • getCartsUri

        public String getCartsUri()
        The URI path for basic CRUD operations on carts.
      • getTenantCartsUri

        public String getTenantCartsUri()
        The URI path for basic CRUD operations on carts at the tenant level.

        This should only be used by scheduled jobs where application context is not available.

      • getUpdateCartsStatusUri

        public String getUpdateCartsStatusUri()
        The URI sub-path for updating status for multiple carts.
      • getCartItemsUri

        public String getCartItemsUri()
        The URI path for basic CRUD operations on cart items.
      • getGuestTokenUri

        public String getGuestTokenUri()
        The URI path of the guest token store for a cart.
      • getItemListsUri

        public String getItemListsUri()
        The URI path for basic CRUD operation on item lists.
      • getItemListsBulkUri

        public String getItemListsBulkUri()
        The context path to append to url for bulk list operations.
      • getItemListsBulkDeleteUri

        public String getItemListsBulkDeleteUri()
        Context path to append to itemListsBulkUri for deleting items.
      • getItemListsItemsUri

        public String getItemListsItemsUri()
        The URI path for basic CRUD operation on item list items.
      • getItemListsBulkItemsUri

        public String getItemListsBulkItemsUri()
        The URI path for bulk CRUD operation on item list items.
      • getItemListsBulkDeleteItemsUri

        public String getItemListsBulkDeleteItemsUri()
        Context path to append to itemListsBulkItemsUri for deleting items.
      • getCustomersUri

        public String getCustomersUri()
        The URI path for customer operations.
      • getCustomersItemListAccessRulesUri

        public String getCustomersItemListAccessRulesUri()
        The URI subpath for customer item list access rule operations.
      • getCustomersItemListAccessRuleByRolesUri

        public String getCustomersItemListAccessRuleByRolesUri()
        The URI subpath for customer item list access rule by roles.
      • getItemListAccessRulesUri

        public String getItemListAccessRulesUri()
        The URI subpath for item list access rule operations.
      • getItemListAccessRulesBulkUri

        public String getItemListAccessRulesBulkUri()
        The URI subpath for bulk item list access rule operations.
      • getResourceLocksUri

        public String getResourceLocksUri()
        The URI subpath for resource locks.
      • getFulfillmentGroupsUri

        public String getFulfillmentGroupsUri()
        The fulfillment groups URI
      • getCartItemsByCartIdUri

        public String getCartItemsByCartIdUri()
        The cart items URI
      • getSendRollbackEventUri

        public String getSendRollbackEventUri()
        The URI to send the rollback event
      • getSendCheckoutCompletionEventUri

        public String getSendCheckoutCompletionEventUri()
        The URI to send the checkout completion event
      • getSendCartRejectionEventUri

        public String getSendCartRejectionEventUri()
        The URI to send the cart rejection event
      • getCartActionAuditsUri

        public String getCartActionAuditsUri()
        The URI path for basic CRUD operations on cartActionAudits.
      • getSendCartPaymentFailedEventUri

        public String getSendCartPaymentFailedEventUri()
        The URI to send the cart payment failed event
      • getServiceClient

        public String getServiceClient()
        The service client to use when calling cart services. Default is "cartopsclient".
      • setUrl

        public void setUrl​(String url)
        The base url for an external cart service.
      • setCartUri

        public void setCartUri​(String cartUri)
        The URI path for basic singular cart retrieval.
      • setCartsUri

        public void setCartsUri​(String cartsUri)
        The URI path for basic CRUD operations on carts.
      • setTenantCartsUri

        public void setTenantCartsUri​(String tenantCartsUri)
        The URI path for basic CRUD operations on carts at the tenant level.

        This should only be used by scheduled jobs where application context is not available.

      • setUpdateCartsStatusUri

        public void setUpdateCartsStatusUri​(String updateCartsStatusUri)
        The URI sub-path for updating status for multiple carts.
      • setCartItemsUri

        public void setCartItemsUri​(String cartItemsUri)
        The URI path for basic CRUD operations on cart items.
      • setGuestTokenUri

        public void setGuestTokenUri​(String guestTokenUri)
        The URI path of the guest token store for a cart.
      • setItemListsUri

        public void setItemListsUri​(String itemListsUri)
        The URI path for basic CRUD operation on item lists.
      • setItemListsBulkUri

        public void setItemListsBulkUri​(String itemListsBulkUri)
        The context path to append to url for bulk list operations.
      • setItemListsBulkDeleteUri

        public void setItemListsBulkDeleteUri​(String itemListsBulkDeleteUri)
        Context path to append to itemListsBulkUri for deleting items.
      • setItemListsItemsUri

        public void setItemListsItemsUri​(String itemListsItemsUri)
        The URI path for basic CRUD operation on item list items.
      • setItemListsBulkItemsUri

        public void setItemListsBulkItemsUri​(String itemListsBulkItemsUri)
        The URI path for bulk CRUD operation on item list items.
      • setItemListsBulkDeleteItemsUri

        public void setItemListsBulkDeleteItemsUri​(String itemListsBulkDeleteItemsUri)
        Context path to append to itemListsBulkItemsUri for deleting items.
      • setCustomersUri

        public void setCustomersUri​(String customersUri)
        The URI path for customer operations.
      • setCustomersItemListAccessRulesUri

        public void setCustomersItemListAccessRulesUri​(String customersItemListAccessRulesUri)
        The URI subpath for customer item list access rule operations.
      • setCustomersItemListAccessRuleByRolesUri

        public void setCustomersItemListAccessRuleByRolesUri​(String customersItemListAccessRuleByRolesUri)
        The URI subpath for customer item list access rule by roles.
      • setItemListAccessRulesUri

        public void setItemListAccessRulesUri​(String itemListAccessRulesUri)
        The URI subpath for item list access rule operations.
      • setItemListAccessRulesBulkUri

        public void setItemListAccessRulesBulkUri​(String itemListAccessRulesBulkUri)
        The URI subpath for bulk item list access rule operations.
      • setResourceLocksUri

        public void setResourceLocksUri​(String resourceLocksUri)
        The URI subpath for resource locks.
      • setFulfillmentGroupsUri

        public void setFulfillmentGroupsUri​(String fulfillmentGroupsUri)
        The fulfillment groups URI
      • setCartItemsByCartIdUri

        public void setCartItemsByCartIdUri​(String cartItemsByCartIdUri)
        The cart items URI
      • setSendRollbackEventUri

        public void setSendRollbackEventUri​(String sendRollbackEventUri)
        The URI to send the rollback event
      • setSendCheckoutCompletionEventUri

        public void setSendCheckoutCompletionEventUri​(String sendCheckoutCompletionEventUri)
        The URI to send the checkout completion event
      • setSendCartRejectionEventUri

        public void setSendCartRejectionEventUri​(String sendCartRejectionEventUri)
        The URI to send the cart rejection event
      • setCartActionAuditsUri

        public void setCartActionAuditsUri​(String cartActionAuditsUri)
        The URI path for basic CRUD operations on cartActionAudits.
      • setSendCartPaymentFailedEventUri

        public void setSendCartPaymentFailedEventUri​(String sendCartPaymentFailedEventUri)
        The URI to send the cart payment failed event
      • setServiceClient

        public void setServiceClient​(String serviceClient)
        The service client to use when calling cart services. Default is "cartopsclient".