Uses of Class
de.hybris.platform.commercefacades.voucher.exceptions.VoucherOperationException
Packages that use VoucherOperationException
Package
Description
-
Uses of VoucherOperationException in de.hybris.platform.b2b.occ.v2.controllers
Methods in de.hybris.platform.b2b.occ.v2.controllers that throw VoucherOperationExceptionModifier and TypeMethodDescriptionQuoteController.createQuote(@Valid QuoteStarterWsDTO quoteStarter, String fields) voidQuoteController.performQuoteAction(@Valid String quoteCode, @Valid QuoteActionWsDTO quoteAction) -
Uses of VoucherOperationException in de.hybris.platform.b2b.occ.v2.helper
Methods in de.hybris.platform.b2b.occ.v2.helper that throw VoucherOperationExceptionModifier and TypeMethodDescriptionQuoteHelper.initiateQuote(String cartId, String fields) protected voidQuoteHelper.removeVouchers()voidQuoteHelper.submitQuote(String quoteCode) -
Uses of VoucherOperationException in de.hybris.platform.b2bocc.v2.controllers
Methods in de.hybris.platform.b2bocc.v2.controllers that throw VoucherOperationExceptionModifier and TypeMethodDescriptionQuoteController.createQuote(@Valid QuoteStarterWsDTO quoteStarter, String fields) voidQuoteController.performQuoteAction(@Valid String quoteCode, @Valid QuoteActionWsDTO quoteAction) voidQuoteControllerUnitTest.testApproveQuote()voidQuoteControllerUnitTest.testCancelQuote()voidQuoteControllerUnitTest.testCheckoutQuote()voidQuoteControllerUnitTest.testCreateQuoteQuoteCodeIsNotNullAndCartIdIsNull()voidQuoteControllerUnitTest.testCreateQuoteQuoteCodeIsNullAndCartIdIsNotNull()voidQuoteControllerUnitTest.testEditQuote()voidQuoteControllerUnitTest.testRejectQuote()voidQuoteControllerUnitTest.testSubmitQuote() -
Uses of VoucherOperationException in de.hybris.platform.b2bocc.v2.helper
Methods in de.hybris.platform.b2bocc.v2.helper that throw VoucherOperationExceptionModifier and TypeMethodDescriptionQuoteHelper.initiateQuote(String cartId, String fields) protected voidQuoteHelper.removeVouchers()voidQuoteHelper.submitQuote(String quoteCode) voidQuoteHelperTest.testApproveQuote()voidQuoteHelperTest.testCancelQuote()voidQuoteHelperTest.testCheckoutQuote()voidQuoteHelperTest.testCheckoutQuoteWhenNotAllowedToCheckout()voidQuoteHelperTest.testCreateQuote()voidQuoteHelperTest.testCreateQuoteWhenRemoveVoucherThrowsError()voidQuoteHelperTest.testEditQuote()voidvoidQuoteHelperTest.testIfViewAndSaveAreNotReturnedInTheListOfAllowedActionsForCreate()voidQuoteHelperTest.testIfViewAndSaveAreNotReturnedInTheListOfAllowedActionsForGet()voidQuoteHelperTest.testRejectQuote()voidQuoteHelperTest.testRemoveVouchers()voidQuoteHelperTest.testRemoveVouchersWithErrors()voidQuoteHelperTest.testSubmitQuote()voidQuoteHelperTest.testSubmitQuoteWhenRemoveVoucherThrowsError() -
Uses of VoucherOperationException in de.hybris.platform.commercefacades.voucher
Methods in de.hybris.platform.commercefacades.voucher that throw VoucherOperationExceptionModifier and TypeMethodDescriptionvoidVoucherFacade.applyVoucher(String voucherCode) Apply voucher to current session cartVoucherFacade.getVoucher(String voucherCode) Get voucher base on its codevoidVoucherFacade.releaseVoucher(String voucherCode) Remove voucher from current session cart -
Uses of VoucherOperationException in de.hybris.platform.commercefacades.voucher.impl
Methods in de.hybris.platform.commercefacades.voucher.impl that throw VoucherOperationExceptionModifier and TypeMethodDescriptionvoidDefaultVoucherFacade.applyVoucher(String voucherCode) protected voidDefaultVoucherFacade.checkCartAfterApply(String lastVoucherCode, VoucherModel lastVoucher) Checking state of cart after redeem last voucherprotected VoucherDataDefaultVoucherFacade.getSingleVouchersByCode(String voucherCode) Voucher cannot be redeemed Getting single voucherDefaultVoucherFacade.getVoucher(String voucherCode) protected VoucherModelDefaultVoucherFacade.getVoucherModel(String voucherCode) voidDefaultVoucherFacade.releaseVoucher(String voucherCode) voidDefaultVoucherFacadeTest.testApplyRestrictedVoucherFail()voidDefaultVoucherFacadeTest.testApplyVoucher()voidDefaultVoucherFacadeTest.testApplyVoucherFail()voidDefaultVoucherFacadeTest.testApplyVoucherForNotExistingVoucher()voidDefaultVoucherFacadeTest.testApplyVoucherWhenTotalPriceExceeded()voidDefaultVoucherFacadeTest.testApplyVoucherWithNullParam()voidDefaultVoucherFacadeTest.testGetVoucher()voidDefaultVoucherFacadeTest.testGetVoucherForNotExistingVoucher()voidDefaultVoucherFacadeTest.testGetVoucherWithNullParam()voidDefaultVoucherFacadeTest.testReleaseVoucher()voidDefaultVoucherFacadeTest.testReleaseVoucherForNotExistingVoucher()voidDefaultVoucherFacadeTest.testReleaseVoucherWithNullParam() -
Uses of VoucherOperationException in de.hybris.platform.commercewebservices.core.v2.controller
Methods in de.hybris.platform.commercewebservices.core.v2.controller that throw VoucherOperationExceptionModifier and TypeMethodDescriptionprotected CartDataBaseCommerceController.applyVoucherForCartInternal(String voucherId) voidCartPromotionsController.doApplyCartVoucher(String voucherId) VouchersController.getVoucher(String code, String fields) voidCartPromotionsController.removeCartVoucher(String voucherId) -
Uses of VoucherOperationException in de.hybris.platform.couponfacades.facades.impl
Methods in de.hybris.platform.couponfacades.facades.impl that throw VoucherOperationExceptionModifier and TypeMethodDescriptionprotected voidDefaultCouponFacade.acceptIfCartExists(String code, BiConsumer<String, AbstractOrderModel> orderConsumer) protected <R> RDefaultCouponFacade.applyIfCartExists(String code, BiFunction<String, CartModel, R> orderConsumer) voidDefaultCouponFacade.applyVoucher(String voucherCode) DefaultCouponFacade.getVoucher(String voucherCode) voidDefaultCouponFacade.releaseVoucher(String voucherCode) voidDefaultCouponFacadeTest.testApplyVoucher()voidDefaultCouponFacadeTest.testApplyVoucherNoCart()voidDefaultCouponFacadeTest.testApplyVoucherNullArg()voidDefaultCouponDataFacadeTest.testGetCouponDetails()voidDefaultCouponFacadeTest.testGetCouponDetails()voidDefaultCouponDataFacadeTest.testGetCouponDetailsNullArg()voidDefaultCouponFacadeTest.testGetCouponDetailsNullArg()voidDefaultCouponDataFacadeTest.testGetCouponDetailsWhenCouponModelEmpty()voidDefaultCouponFacadeTest.testReleaseVoucher()voidDefaultCouponFacadeTest.testReleaseVoucherNoCart()voidDefaultCouponFacadeTest.testReleaseVoucherNullCode() -
Uses of VoucherOperationException in de.hybris.platform.customercouponfacades
Methods in de.hybris.platform.customercouponfacades that throw VoucherOperationExceptionModifier and TypeMethodDescriptionvoidCustomerCouponFacade.releaseCoupon(String couponCode) Releases the specific customer coupon of the current customer -
Uses of VoucherOperationException in de.hybris.platform.customercouponfacades.impl
Methods in de.hybris.platform.customercouponfacades.impl that throw VoucherOperationExceptionModifier and TypeMethodDescriptionvoidDefaultCustomerCouponFacade.releaseCoupon(String couponCode) voidDefaultCustomerCouponFacadeTest.testReleaseCoupon() -
Uses of VoucherOperationException in de.hybris.platform.ycommercewebservices.v1.controller
Methods in de.hybris.platform.ycommercewebservices.v1.controller that throw VoucherOperationExceptionModifier and TypeMethodDescriptionCartController.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.VouchersController.getVoucherByCode(String code) Web service for getting voucher information by voucher code.
Sample call: https://localhost:9002/rest/v1/mysite/vouchers/abc-9PSW-EDH2-RXKA
This method requires authentication.
Method type :GET.
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.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. -
Uses of VoucherOperationException in de.hybris.platform.ycommercewebservices.v2.controller
Methods in de.hybris.platform.ycommercewebservices.v2.controller that throw VoucherOperationExceptionModifier and TypeMethodDescriptionprotected CartDataBaseCommerceController.applyVoucherForCartInternal(String voucherId) voidCartPromotionsController.doApplyCartVoucher(String voucherId) VouchersController.getVoucher(String code, String fields) voidCartPromotionsController.removeCartVoucher(String voucherId)