Class CustomerServiceEndpoint

java.lang.Object
com.broadleafcommerce.cartoperation.web.endpoint.CustomerServiceEndpoint

@FrameworkRestController @FrameworkMapping("/cart") @Deprecated public class CustomerServiceEndpoint extends Object
Deprecated.
in favor of CSRCartEndpoint
  • Constructor Details

  • Method Details

    • overrideCartItemPrice

      @Policy(permissionRoots="CSR") @FrameworkPatchMapping(value="/items/{cartItemId}/overridePrice", consumes="application/json") public com.broadleafcommerce.cart.client.domain.Cart overrideCartItemPrice(@PathVariable("cartItemId") String cartItemId, @RequestParam(defaultValue="true") boolean price, @RequestBody OverridePriceRequest overridePrice, com.broadleafcommerce.cart.client.domain.Cart cart, @ContextOperation com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
      Deprecated.
    • overrideFulfillmentGroupPrice

      @Policy(permissionRoots="CSR") @FrameworkPatchMapping(value="/fulfillment-groups/{fgId}/overrideFulfillmentPrice", consumes="application/json") public com.broadleafcommerce.cart.client.domain.Cart overrideFulfillmentGroupPrice(@PathVariable("fgId") String fulfillmentGroupId, @RequestParam(defaultValue="true") boolean price, @RequestBody OverridePriceRequest overridePrice, com.broadleafcommerce.cart.client.domain.Cart cart, @ContextOperation com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
      Deprecated.
    • transferCsrCartToCustomer

      @Policy(permissionRoots="CSR") @FrameworkPutMapping("/csr/transfer-to-customer") public void transferCsrCartToCustomer(com.broadleafcommerce.cart.client.domain.Cart csrCart, @ContextOperation com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
      Deprecated.
    • getTransferAnonymousCsrCartToken

      @Policy(permissionRoots="CSR") @FrameworkGetMapping("/csr/transfer-anonymous/{cartId}") public TransferCartToken getTransferAnonymousCsrCartToken(@ContextOperation com.broadleafcommerce.data.tracking.core.context.ContextInfo context, @PathVariable("cartId") String cartId)
      Deprecated.
    • transferAnonymousCsrCartToCustomer

      @FrameworkPutMapping("/csr/transfer-anonymous") public com.broadleafcommerce.cart.client.domain.Cart transferAnonymousCsrCartToCustomer(@ContextOperation com.broadleafcommerce.data.tracking.core.context.ContextInfo context, @RequestParam("transferCartToken") String tokenString) throws TransferCartTokenParseException
      Deprecated.
      Throws:
      TransferCartTokenParseException
    • cloneCsrCartFromCustomer

      @Policy(permissionRoots="CSR") @FrameworkPutMapping("/csr/clone-from-customer") public com.broadleafcommerce.cart.client.domain.Cart cloneCsrCartFromCustomer(@Nullable com.broadleafcommerce.cart.client.domain.Cart csrCart, @ContextOperation(UPDATE) com.broadleafcommerce.data.tracking.core.context.ContextInfo context)
      Deprecated.
    • customerInProcessCart

      @Policy(permissionRoots="CSR") @FrameworkGetMapping("/csr/customer-in-process-cart") public Optional<com.broadleafcommerce.cart.client.domain.Cart> customerInProcessCart(@ContextOperation com.broadleafcommerce.data.tracking.core.context.ContextInfo context, @RequestParam String customerId)
      Deprecated.
    • getCartOpService

      protected CartOperationService getCartOpService()
      Deprecated.
    • getCsrCartOpService

      protected CsrCartOperationService getCsrCartOpService()
      Deprecated.
    • getCartTransferService

      protected CartTransferService getCartTransferService()
      Deprecated.