Class CustomerServiceEndpoint
java.lang.Object
com.broadleafcommerce.cartoperation.web.endpoint.CustomerServiceEndpoint
@FrameworkRestController
@FrameworkMapping("/cart")
@Deprecated
public class CustomerServiceEndpoint
extends Object
Deprecated.
-
Constructor Summary
ConstructorDescriptionCustomerServiceEndpoint
(CartOperationService cartOpService, CsrCartOperationService csrCartOpService, CartTransferService cartTransferService) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptioncom.broadleafcommerce.cart.client.domain.Cart
cloneCsrCartFromCustomer
(com.broadleafcommerce.cart.client.domain.Cart csrCart, com.broadleafcommerce.data.tracking.core.context.ContextInfo context) Deprecated.Optional<com.broadleafcommerce.cart.client.domain.Cart>
customerInProcessCart
(com.broadleafcommerce.data.tracking.core.context.ContextInfo context, String customerId) Deprecated.protected CartOperationService
Deprecated.protected CartTransferService
Deprecated.protected CsrCartOperationService
Deprecated.getTransferAnonymousCsrCartToken
(com.broadleafcommerce.data.tracking.core.context.ContextInfo context, String cartId) Deprecated.com.broadleafcommerce.cart.client.domain.Cart
overrideCartItemPrice
(String cartItemId, boolean price, OverridePriceRequest overridePrice, com.broadleafcommerce.cart.client.domain.Cart cart, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Deprecated.com.broadleafcommerce.cart.client.domain.Cart
overrideFulfillmentGroupPrice
(String fulfillmentGroupId, boolean price, OverridePriceRequest overridePrice, com.broadleafcommerce.cart.client.domain.Cart cart, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Deprecated.com.broadleafcommerce.cart.client.domain.Cart
transferAnonymousCsrCartToCustomer
(com.broadleafcommerce.data.tracking.core.context.ContextInfo context, String tokenString) Deprecated.void
transferCsrCartToCustomer
(com.broadleafcommerce.cart.client.domain.Cart csrCart, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Deprecated.
-
Constructor Details
-
CustomerServiceEndpoint
public CustomerServiceEndpoint(CartOperationService cartOpService, CsrCartOperationService csrCartOpService, CartTransferService cartTransferService) Deprecated.
-
-
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
Deprecated. -
getCsrCartOpService
Deprecated. -
getCartTransferService
Deprecated.
-
CSRCartEndpoint