Uses of Class
de.hybris.platform.voucher.model.VoucherModel
Packages that use VoucherModel
Package
Description
Contains generated models for each type of de.hybris.platform.promotions.jalo package.
Contains generated models for each type of de.hybris.platform.voucher.jalo package.
-
Uses of VoucherModel in de.hybris.platform.commercefacades.voucher.converters.populator
Methods in de.hybris.platform.commercefacades.voucher.converters.populator that return VoucherModelModifier and TypeMethodDescriptionprotected VoucherModelVoucherAppliedValuePopulator.findVoucherModel(VoucherData voucherData) Methods in de.hybris.platform.commercefacades.voucher.converters.populator with parameters of type VoucherModelModifier and TypeMethodDescriptionvoidVoucherPopulator.populate(VoucherModel source, VoucherData target) -
Uses of VoucherModel in de.hybris.platform.commercefacades.voucher.impl
Methods in de.hybris.platform.commercefacades.voucher.impl that return VoucherModelModifier and TypeMethodDescriptionprotected VoucherModelDefaultVoucherFacade.getVoucherModel(String voucherCode) Methods in de.hybris.platform.commercefacades.voucher.impl that return types with arguments of type VoucherModelMethods in de.hybris.platform.commercefacades.voucher.impl with parameters of type VoucherModelModifier and TypeMethodDescriptionprotected voidDefaultVoucherFacade.checkCartAfterApply(String lastVoucherCode, VoucherModel lastVoucher) Checking state of cart after redeem last voucherprotected booleanDefaultVoucherFacade.checkVoucherCanBeRedeemed(VoucherModel voucher, String voucherCode) Method parameters in de.hybris.platform.commercefacades.voucher.impl with type arguments of type VoucherModelModifier and TypeMethodDescriptionvoidDefaultVoucherFacade.setVoucherConverter(Converter<VoucherModel, VoucherData> voucherConverter) -
Uses of VoucherModel in de.hybris.platform.promotions.impl
Methods in de.hybris.platform.promotions.impl that return types with arguments of type VoucherModelModifier and TypeMethodDescriptionprotected List<VoucherModel>DefaultPromotionsService.fixupVouchersRemoveVouchers(AbstractOrderModel order) Method to fixup the vouchers applied to the order.Method parameters in de.hybris.platform.promotions.impl with type arguments of type VoucherModelModifier and TypeMethodDescriptionprotected voidDefaultPromotionsService.fixupVouchersReapplyVouchers(AbstractOrderModel order, List<VoucherModel> vouchers) Method to fixup the vouchers applied to the order. -
Uses of VoucherModel in de.hybris.platform.promotions.model
Methods in de.hybris.platform.promotions.model that return VoucherModelModifier and TypeMethodDescriptionOrderThresholdFreeVoucherPromotionModel.getFreeVoucher()Generated method - Getter of theOrderThresholdFreeVoucherPromotion.freeVoucherattribute defined at extensionpromotions.Methods in de.hybris.platform.promotions.model with parameters of type VoucherModelModifier and TypeMethodDescriptionvoidOrderThresholdFreeVoucherPromotionModel.setFreeVoucher(VoucherModel value) Generated method - Setter ofOrderThresholdFreeVoucherPromotion.freeVoucherattribute defined at extensionpromotions. -
Uses of VoucherModel in de.hybris.platform.voucher
Methods in de.hybris.platform.voucher that return VoucherModelModifier and TypeMethodDescriptionVoucherService.getVoucher(String voucherCode) Get a voucher for a given voucher codeMethods in de.hybris.platform.voucher that return types with arguments of type VoucherModelMethods in de.hybris.platform.voucher with parameters of type VoucherModelModifier and TypeMethodDescriptionbooleanVoucherModelService.checkVoucherCode(VoucherModel voucher, String voucherCode) Returns true if the specified voucher code is valid for this voucher.VoucherModelService.createVoucherInvalidation(VoucherModel voucher, String voucherCode, OrderModel order) voidVoucherService.delete(VoucherModel voucher) VoucherModelService.generateVoucherCode(VoucherModel voucher) VoucherModelService.getApplicableEntries(VoucherModel voucher, AbstractOrderModel order) Returns all positions or parts of positions of the specified abstract order that are eligible for this voucher.VoucherModelService.getAppliedValue(VoucherModel voucher, AbstractOrderModel order) Returns a VoucherValue object representing the discount value of this voucher.VoucherModelService.getDiscountValue(VoucherModel voucher, AbstractOrderModel order) VoucherModelService.getViolatedRestrictions(VoucherModel voucher, AbstractOrderModel order) Returns all restrictions that are not fulfilled by the specified abstract order.VoucherModelService.getViolatedRestrictions(VoucherModel voucher, ProductModel product) Returns all restrictions that are not fulfilled by the specified product.VoucherModelService.getViolationMessages(VoucherModel voucher, AbstractOrderModel order) VoucherModelService.getViolationMessages(VoucherModel voucher, ProductModel product) VoucherModelService.getVoucherValue(VoucherModel voucher, AbstractOrderModel order) booleanVoucherModelService.isApplicable(VoucherModel voucher, AbstractOrderModel order) Returns true if the specified abstract order is eligible for this voucher.booleanVoucherModelService.isApplicable(VoucherModel voucher, ProductModel product) Returns true if the specified product is eligible for this voucher.booleanVoucherModelService.isReservable(VoucherModel voucher, String voucherCode, AbstractOrderModel order) booleanVoucherModelService.isReservable(VoucherModel voucher, String voucherCode, UserModel user) booleanVoucherModelService.redeem(VoucherModel voucher, String voucherCode, CartModel cart) WARNING!
If some methods for checking voucher availability are called before this method, all these methods have to be in one synchronize block! Suggested synchronization object is cart.VoucherModelService.redeem(VoucherModel voucher, String voucherCode, OrderModel order) voidVoucherModelService.release(VoucherModel voucher, String voucherCode, CartModel cart) voidVoucherModelService.release(VoucherModel voucher, String voucherCode, OrderModel order) VoucherModelService.reserve(VoucherModel voucher, String voucherCode, OrderModel order) voidVoucherService.save(VoucherModel voucher) -
Uses of VoucherModel in de.hybris.platform.voucher.backoffice.cockpitng.editor.insets
Methods in de.hybris.platform.voucher.backoffice.cockpitng.editor.insets with parameters of type VoucherModelModifier and TypeMethodDescriptionprotected voidVoucherApplierInset.checkOrderAfterRedeem(VoucherModel voucher, String voucherCode, AbstractOrderModel abstractOrder) -
Uses of VoucherModel in de.hybris.platform.voucher.impl
Methods in de.hybris.platform.voucher.impl that return VoucherModelMethods in de.hybris.platform.voucher.impl that return types with arguments of type VoucherModelMethods in de.hybris.platform.voucher.impl with parameters of type VoucherModelModifier and TypeMethodDescriptionbooleanDefaultVoucherModelService.checkVoucherCode(VoucherModel voucher, String voucherCode) DefaultVoucherModelService.createVoucherInvalidation(VoucherModel voucher, String voucherCode, OrderModel order) voidDefaultVoucherService.delete(VoucherModel voucher) DefaultVoucherModelService.generateVoucherCode(VoucherModel voucher) DefaultVoucherModelService.getApplicableEntries(VoucherModel voucher, AbstractOrderModel order) DefaultVoucherModelService.getAppliedValue(VoucherModel voucher, AbstractOrderModel order) DefaultVoucherModelService.getDiscountValue(VoucherModel voucher, AbstractOrderModel order) DefaultVoucherModelService.getViolatedRestrictions(VoucherModel voucher, AbstractOrderModel order) DefaultVoucherModelService.getViolatedRestrictions(VoucherModel voucher, ProductModel product) DefaultVoucherModelService.getViolationMessages(VoucherModel voucher, AbstractOrderModel order) DefaultVoucherModelService.getViolationMessages(VoucherModel voucher, ProductModel product) protected VoucherAbstractVoucherService.getVoucher(VoucherModel voucher) DefaultVoucherModelService.getVoucherValue(VoucherModel voucher, AbstractOrderModel order) booleanDefaultVoucherModelService.isApplicable(VoucherModel voucher, AbstractOrderModel order) booleanDefaultVoucherModelService.isApplicable(VoucherModel voucher, ProductModel product) booleanDefaultVoucherModelService.isReservable(VoucherModel voucher, String voucherCode, AbstractOrderModel order) booleanDefaultVoucherModelService.isReservable(VoucherModel voucher, String voucherCode, UserModel user) booleanDefaultVoucherModelService.redeem(VoucherModel voucher, String voucherCode, CartModel cart) DefaultVoucherModelService.redeem(VoucherModel voucher, String voucherCode, OrderModel order) voidDefaultVoucherModelService.release(VoucherModel voucher, String voucherCode, CartModel cart) voidDefaultVoucherModelService.release(VoucherModel voucher, String voucherCode, OrderModel order) DefaultVoucherModelService.reserve(VoucherModel voucher, String voucherCode, OrderModel order) voidDefaultVoucherService.save(VoucherModel voucher) -
Uses of VoucherModel in de.hybris.platform.voucher.model
Subclasses of VoucherModel in de.hybris.platform.voucher.modelModifier and TypeClassDescriptionclassGenerated model class for type PromotionVoucher first defined at extension voucher.classGenerated model class for type SerialVoucher first defined at extension voucher.Methods in de.hybris.platform.voucher.model that return VoucherModelModifier and TypeMethodDescriptionRestrictionModel.getVoucher()Generated method - Getter of theRestriction.voucherattribute defined at extensionvoucher.VoucherInvalidationModel.getVoucher()Generated method - Getter of theVoucherInvalidation.voucherattribute defined at extensionvoucher.Methods in de.hybris.platform.voucher.model with parameters of type VoucherModelModifier and TypeMethodDescriptionvoidRestrictionModel.setVoucher(VoucherModel value) Generated method - Initial setter ofRestriction.voucherattribute defined at extensionvoucher.voidVoucherInvalidationModel.setVoucher(VoucherModel value) Generated method - Initial setter ofVoucherInvalidation.voucherattribute defined at extensionvoucher.Constructors in de.hybris.platform.voucher.model with parameters of type VoucherModelModifierConstructorDescriptionDateRestrictionModel(Date _endDate, ItemModel _owner, Date _startDate, VoucherModel _voucher) Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersDateRestrictionModel(Date _endDate, Date _startDate, VoucherModel _voucher) Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersNewCustomerRestrictionModel(ItemModel _owner, VoucherModel _voucher) Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersNewCustomerRestrictionModel(VoucherModel _voucher) Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersOrderRestrictionModel(CurrencyModel _currency, ItemModel _owner, Double _total, VoucherModel _voucher) Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersOrderRestrictionModel(CurrencyModel _currency, Double _total, VoucherModel _voucher) Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersProductCategoryRestrictionModel(ItemModel _owner, VoucherModel _voucher) Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersProductCategoryRestrictionModel(VoucherModel _voucher) Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersProductQuantityRestrictionModel(ItemModel _owner, Long _quantity, UnitModel _unit, VoucherModel _voucher) Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersProductQuantityRestrictionModel(Long _quantity, UnitModel _unit, VoucherModel _voucher) Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersProductRestrictionModel(ItemModel _owner, VoucherModel _voucher) Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersProductRestrictionModel(VoucherModel _voucher) Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersRegularCustomerOrderQuantityRestrictionModel(Integer _orderQuantity, ItemModel _owner, VoucherModel _voucher) Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersRegularCustomerOrderQuantityRestrictionModel(Integer _orderQuantity, VoucherModel _voucher) Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersRegularCustomerOrderTotalRestrictionModel(Double _allOrdersTotal, CurrencyModel _currency, ItemModel _owner, VoucherModel _voucher) Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersRegularCustomerOrderTotalRestrictionModel(Double _allOrdersTotal, CurrencyModel _currency, VoucherModel _voucher) Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersRestrictionModel(ItemModel _owner, VoucherModel _voucher) Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersRestrictionModel(VoucherModel _voucher) Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersUserRestrictionModel(ItemModel _owner, Collection<PrincipalModel> _users, VoucherModel _voucher) Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersUserRestrictionModel(Collection<PrincipalModel> _users, VoucherModel _voucher) Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersVoucherInvalidationModel(String _code, OrderModel _order, ItemModel _owner, UserModel _user, VoucherModel _voucher) Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersVoucherInvalidationModel(String _code, OrderModel _order, UserModel _user, VoucherModel _voucher) Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parameters