Uses of Class
de.hybris.platform.ycommercewebservices.exceptions.NoCheckoutCartException
Packages that use NoCheckoutCartException
Package
Description
-
Uses of NoCheckoutCartException in de.hybris.platform.ycommercewebservices.v1.controller
Methods in de.hybris.platform.ycommercewebservices.v1.controller that throw NoCheckoutCartExceptionModifier and TypeMethodDescriptionCartController.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.CartController.applyVoucherForCart(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.CartController.oneStepCheckout(String addressId, String addressIsocode, String deliveryMode, String voucherCode, String paymentInfoId, 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.CartController.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.CartController.releaseVoucherFromCart(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.CartController.removePromotion(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.CartController.setCartDeliveryAddress(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 NoCheckoutCartExceptionModifier and TypeMethodDescriptionprotected CartDataBaseCommerceController.applyVoucherForCartInternal(String voucherId) protected CartDataBaseCommerceController.applyVoucherForCartInternal(String voucherId, javax.servlet.http.HttpServletRequest request) CartPaymentsController.createCartPaymentDetails(PaymentDetailsWsDTO paymentDetails, String fields) voidCartPromotionsController.doApplyCartVoucher(String voucherId, javax.servlet.http.HttpServletRequest request) OrdersController.placeOrder(String cartId, String fields) voidCartPromotionsController.removeCartVoucher(String voucherId) protected voidBaseCommerceController.validateCartForPlaceOrder()protected voidCartPaymentsController.validatePayment(PaymentDetailsWsDTO paymentDetails)