Uses of Class
de.hybris.platform.ycommercewebservices.exceptions.NoCheckoutCartException
-
Packages that use NoCheckoutCartException Package Description de.hybris.platform.ycommercewebservices.v1.controller de.hybris.platform.ycommercewebservices.v2.controller -
-
Uses of NoCheckoutCartException in de.hybris.platform.ycommercewebservices.v1.controller
Methods in de.hybris.platform.ycommercewebservices.v1.controller that throw NoCheckoutCartException Modifier and Type Method Description CartDataCartController. addPaymentInfo(javax.servlet.http.HttpServletRequest request)Web service for creating a credit card payment subscription.
Sample call: https://localhost:9002/rest/v1/mysite/cart/paymentinfo
CCPaymentInfoData parameters need to be send as post body.
Method uses dedicated populator -HttpRequestPaymentInfoPopulator- to populate theCCPaymentInfoDatafrom request parameters.
Method uses dedicated validator -CCPaymentInfoValidator- to validate request parameters.
This method requires authentication and is restricted forHTTPSchannel.
Method type :POST.CartDataCartController. applyVoucherForCart(java.lang.String voucherCode)Web service for applying voucher to cart.
Sample call: https://localhost:9002/rest/v1/mysite/cart/voucher/abc-9PSW-EDH2-RXKA
This method requires authentication.
Method type :POST.
Method is restricted forHTTPSchannel.OrderDataCartController. oneStepCheckout(java.lang.String addressId, java.lang.String addressIsocode, java.lang.String deliveryMode, java.lang.String voucherCode, java.lang.String paymentInfoId, java.lang.String securityCode, javax.servlet.http.HttpServletRequest request)Web service for one-step checkout from current session cart.
Sample call: https://localhost:9002/rest/v1/mysite/cart/checkout
This method requires authentication.
Method type :POST.
Method is restricted forHTTPSchannel.OrderDataCartController. placeOrder(javax.servlet.http.HttpSession session)Web service for placing order from current session cart.
Sample call: https://localhost:9002/rest/v1/mysite/cart/placeorder.CartDataCartController. releaseVoucherFromCart(java.lang.String voucherCode)Web service for removing voucher from cart.
Sample call: https://localhost:9002/rest/v1/mysite/cart/voucher/abc-9PSW-EDH2-RXKA
This method requires authentication.
Method type :DELETE.
Method is restricted forHTTPSchannel.CartDataCartController. removePromotion(java.lang.String promotionCode)Web service for disabling order promotions.
Sample call: https://localhost:9002/rest/v1/mysite/cart/promotion/{promotionCode}
This method requires authentication and is restricted toHTTPSchannel only.
Method type :DELETE.CartDataCartController. setCartDeliveryAddress(java.lang.String id)Web service for setting cart's delivery address by address id.
Address id must be given as path variable.
Sample call: https://localhost:9002/rest/v1/mysite/cart/address/delivery/1234
Response contains a set-cookie header with the jsessionId associated with the cart.
This method requires authentication.
Method type :PUT.
Method is restricted forHTTPSchannel.protected voidCartController. validateCartForPlaceOrder() -
Uses of NoCheckoutCartException in de.hybris.platform.ycommercewebservices.v2.controller
Methods in de.hybris.platform.ycommercewebservices.v2.controller that throw NoCheckoutCartException Modifier and Type Method Description protected CartDataBaseCommerceController. addPaymentDetailsInternal(javax.servlet.http.HttpServletRequest request)protected CartDataBaseCommerceController. applyVoucherForCartInternal(java.lang.String voucherId)PaymentDetailsWsDTOCartsController. createCartPaymentDetails(PaymentDetailsWsDTO paymentDetails, java.lang.String fields)PaymentDetailsWsDTOCartsController. createCartPaymentDetails(javax.servlet.http.HttpServletRequest request, java.lang.String fields)Deprecated, for removal: This API element is subject to removal in a future version.since 2005.voidCartsController. doApplyCartVoucher(java.lang.String voucherId)OrderWsDTOOrdersController. placeOrder(java.lang.String cartId, java.lang.String fields)voidCartsController. removeCartVoucher(java.lang.String voucherId)protected voidBaseCommerceController. validateCartForPlaceOrder()protected voidCartsController. validatePayment(PaymentDetailsWsDTO paymentDetails)
-