CSRCartEndpoint
@FrameworkRestController @FrameworkMapping(value="/cart") @Deprecated public class CustomerServiceEndpoint extends Object
Constructor and Description |
---|
CustomerServiceEndpoint(CartOperationService cartOpService,
CsrCartOperationService csrCartOpService,
CartTransferService cartTransferService)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
com.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 |
getCartOpService()
Deprecated.
|
protected CartTransferService |
getCartTransferService()
Deprecated.
|
protected CsrCartOperationService |
getCsrCartOpService()
Deprecated.
|
TransferCartToken |
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.
|
public CustomerServiceEndpoint(CartOperationService cartOpService, CsrCartOperationService csrCartOpService, CartTransferService cartTransferService)
@Policy(permissionRoots="CSR") @FrameworkPatchMapping(value="/items/{cartItemId}/overridePrice", consumes="application/json") public com.broadleafcommerce.cart.client.domain.Cart overrideCartItemPrice(@PathVariable(value="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)
@Policy(permissionRoots="CSR") @FrameworkPatchMapping(value="/fulfillment-groups/{fgId}/overrideFulfillmentPrice", consumes="application/json") public com.broadleafcommerce.cart.client.domain.Cart overrideFulfillmentGroupPrice(@PathVariable(value="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)
@Policy(permissionRoots="CSR") @FrameworkPutMapping(value="/csr/transfer-to-customer") public void transferCsrCartToCustomer(com.broadleafcommerce.cart.client.domain.Cart csrCart, @ContextOperation com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
@Policy(permissionRoots="CSR") @FrameworkGetMapping(value="/csr/transfer-anonymous/{cartId}") public TransferCartToken getTransferAnonymousCsrCartToken(@ContextOperation com.broadleafcommerce.data.tracking.core.context.ContextInfo context, @PathVariable(value="cartId") String cartId)
@FrameworkPutMapping(value="/csr/transfer-anonymous") public com.broadleafcommerce.cart.client.domain.Cart transferAnonymousCsrCartToCustomer(@ContextOperation com.broadleafcommerce.data.tracking.core.context.ContextInfo context, @RequestParam(value="transferCartToken") String tokenString) throws TransferCartTokenParseException
TransferCartTokenParseException
@Policy(permissionRoots="CSR") @FrameworkPutMapping(value="/csr/clone-from-customer") public com.broadleafcommerce.cart.client.domain.Cart cloneCsrCartFromCustomer(@Nullable com.broadleafcommerce.cart.client.domain.Cart csrCart, @ContextOperation(value=UPDATE) com.broadleafcommerce.data.tracking.core.context.ContextInfo context)
@Policy(permissionRoots="CSR") @FrameworkGetMapping(value="/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)
protected CartOperationService getCartOpService()
protected CsrCartOperationService getCsrCartOpService()
protected CartTransferService getCartTransferService()
Copyright © 2021. All rights reserved.