Uses of Class
de.hybris.platform.commercefacades.voucher.exceptions.VoucherOperationException
-
-
Uses of VoucherOperationException in de.hybris.platform.commercefacades.voucher
Methods in de.hybris.platform.commercefacades.voucher that throw VoucherOperationException Modifier and Type Method Description voidVoucherFacade. applyVoucher(java.lang.String voucherCode)Apply voucher to current session cartVoucherDataVoucherFacade. getVoucher(java.lang.String voucherCode)Get voucher base on its codevoidVoucherFacade. releaseVoucher(java.lang.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 VoucherOperationException Modifier and Type Method Description voidDefaultVoucherFacade. applyVoucher(java.lang.String voucherCode)protected voidDefaultVoucherFacade. checkCartAfterApply(java.lang.String lastVoucherCode, VoucherModel lastVoucher)Checking state of cart after redeem last voucherprotected VoucherDataDefaultVoucherFacade. getSingleVouchersByCode(java.lang.String voucherCode)Voucher cannot be redeemed Getting single voucherVoucherDataDefaultVoucherFacade. getVoucher(java.lang.String voucherCode)protected VoucherModelDefaultVoucherFacade. getVoucherModel(java.lang.String voucherCode)voidDefaultVoucherFacade. releaseVoucher(java.lang.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 VoucherOperationException Modifier and Type Method Description protected CartDataBaseCommerceController. applyVoucherForCartInternal(java.lang.String voucherId)voidCartsController. doApplyCartVoucher(java.lang.String voucherId)VoucherWsDTOVouchersController. getVoucher(java.lang.String code, java.lang.String fields)voidCartsController. removeCartVoucher(java.lang.String voucherId) -
Uses of VoucherOperationException in de.hybris.platform.couponfacades.facades.impl
Methods in de.hybris.platform.couponfacades.facades.impl that throw VoucherOperationException Modifier and Type Method Description protected voidDefaultCouponFacade. acceptIfCartExists(java.lang.String code, java.util.function.BiConsumer<java.lang.String,AbstractOrderModel> orderConsumer)protected <R> RDefaultCouponFacade. applyIfCartExists(java.lang.String code, java.util.function.BiFunction<java.lang.String,CartModel,R> orderConsumer)voidDefaultCouponFacade. applyVoucher(java.lang.String voucherCode)VoucherDataDefaultCouponFacade. getVoucher(java.lang.String voucherCode)voidDefaultCouponFacade. releaseVoucher(java.lang.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 VoucherOperationException Modifier and Type Method Description voidCustomerCouponFacade. releaseCoupon(java.lang.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 VoucherOperationException Modifier and Type Method Description voidDefaultCustomerCouponFacade. releaseCoupon(java.lang.String couponCode)voidDefaultCustomerCouponFacadeTest. testReleaseCoupon() -
Uses of VoucherOperationException in de.hybris.platform.ycommercewebservices.v1.controller
Methods in de.hybris.platform.ycommercewebservices.v1.controller that throw VoucherOperationException Modifier and Type Method Description 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.VoucherDataVouchersController. getVoucherByCode(java.lang.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.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.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. -
Uses of VoucherOperationException in de.hybris.platform.ycommercewebservices.v2.controller
Methods in de.hybris.platform.ycommercewebservices.v2.controller that throw VoucherOperationException Modifier and Type Method Description protected CartDataBaseCommerceController. applyVoucherForCartInternal(java.lang.String voucherId)voidCartsController. doApplyCartVoucher(java.lang.String voucherId)VoucherWsDTOVouchersController. getVoucher(java.lang.String code, java.lang.String fields)voidCartsController. removeCartVoucher(java.lang.String voucherId)
-