Class CartEntryGroupsController
- java.lang.Object
-
- de.hybris.platform.ycommercewebservices.v2.controller.BaseController
-
- de.hybris.platform.ycommercewebservices.v2.controller.BaseCommerceController
-
- de.hybris.platform.ycommercewebservices.v2.controller.CartEntryGroupsController
-
@Controller @RequestMapping("/{baseSiteId}/users/{userId}/carts") public class CartEntryGroupsController extends BaseCommerceController
-
-
Field Summary
-
Fields inherited from class de.hybris.platform.ycommercewebservices.v2.controller.BaseCommerceController
API_COMPATIBILITY_B2C_CHANNELS, ENTRY
-
Fields inherited from class de.hybris.platform.ycommercewebservices.v2.controller.BaseController
BASIC_FIELD_SET, DEFAULT_CURRENT_PAGE, DEFAULT_FIELD_SET, DEFAULT_PAGE_SIZE, HEADER_TOTAL_COUNT, INVALID_REQUEST_BODY_ERROR_MESSAGE
-
-
Constructor Summary
Constructors Constructor Description CartEntryGroupsController()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CartModificationWsDTOaddToCartEntryGroup(java.lang.String baseSiteId, java.lang.Integer entryGroupNumber, OrderEntryWsDTO entry, java.lang.String fields)voidremoveEntryGroup(int entryGroupNumber)-
Methods inherited from class de.hybris.platform.ycommercewebservices.v2.controller.BaseCommerceController
addPaymentDetailsInternal, applyVoucherForCartInternal, createAddressInternal, createAddressInternal, getAddressDTOValidator, getAddressValidator, getCartFacade, getCartVoucherValidator, getCcPaymentInfoValidator, getCheckoutFacade, getDeliveryAddressValidator, getHttpRequestAddressDataPopulator, getHttpRequestPaymentInfoPopulator, getPaymentDetailsDTOValidator, getSessionCart, getUserFacade, getVoucherFacade, setAddressDTOValidator, setAddressValidator, setCartDeliveryAddressInternal, setCartDeliveryModeInternal, setCartFacade, setCcPaymentInfoValidator, setCheckoutFacade, setDeliveryAddressValidator, setHttpRequestAddressDataPopulator, setHttpRequestPaymentInfoPopulator, setPaymentDetailsDTOValidator, setPaymentDetailsInternal, setUserFacade, setVoucherFacade, validateCartForPlaceOrder, validateStatusesEnumValue
-
Methods inherited from class de.hybris.platform.ycommercewebservices.v2.controller.BaseController
addPaginationField, getDataMapper, handleDuplicateUidException, handleErrorInternal, handleHttpMessageNotReadableException, handleModelNotFoundException, logParam, logParam, logValue, sanitize, setDataMapper, setTotalCountHeader, setTotalCountHeader, validate
-
-
-
-
Method Detail
-
addToCartEntryGroup
@PostMapping(value="/{cartId}/entrygroups/{entryGroupNumber}", consumes="application/json") @ResponseStatus(OK) @ResponseBody public CartModificationWsDTO addToCartEntryGroup(@PathVariable java.lang.String baseSiteId, @PathVariable java.lang.Integer entryGroupNumber, @RequestBody OrderEntryWsDTO entry, @RequestParam(defaultValue="DEFAULT") java.lang.String fields) throws CommerceCartModificationException
-
removeEntryGroup
@DeleteMapping("/{cartId}/entrygroups/{entryGroupNumber}") @ResponseStatus(OK) public void removeEntryGroup(@PathVariable int entryGroupNumber) throws CommerceCartModificationException
-
-