Uses of Class
de.hybris.platform.voucher.model.VoucherModel
-
Packages that use VoucherModel Package Description de.hybris.platform.commercefacades.voucher.converters.populator de.hybris.platform.commercefacades.voucher.impl de.hybris.platform.promotions.impl de.hybris.platform.promotions.model Contains generated models for each type of de.hybris.platform.promotions.jalo package.de.hybris.platform.voucher de.hybris.platform.voucher.backoffice.cockpitng.editor.insets de.hybris.platform.voucher.impl de.hybris.platform.voucher.model 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 VoucherModel Modifier and Type Method Description protected VoucherModelVoucherAppliedValuePopulator. findVoucherModel(VoucherData voucherData)Methods in de.hybris.platform.commercefacades.voucher.converters.populator with parameters of type VoucherModel Modifier and Type Method Description voidVoucherPopulator. 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 VoucherModel Modifier and Type Method Description protected VoucherModelDefaultVoucherFacade. getVoucherModel(java.lang.String voucherCode)Methods in de.hybris.platform.commercefacades.voucher.impl that return types with arguments of type VoucherModel Modifier and Type Method Description Converter<VoucherModel,VoucherData>DefaultVoucherFacade. getVoucherConverter()Methods in de.hybris.platform.commercefacades.voucher.impl with parameters of type VoucherModel Modifier and Type Method Description protected voidDefaultVoucherFacade. checkCartAfterApply(java.lang.String lastVoucherCode, VoucherModel lastVoucher)Checking state of cart after redeem last voucherprotected booleanDefaultVoucherFacade. checkVoucherCanBeRedeemed(VoucherModel voucher, java.lang.String voucherCode)Method parameters in de.hybris.platform.commercefacades.voucher.impl with type arguments of type VoucherModel Modifier and Type Method Description voidDefaultVoucherFacade. 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 VoucherModel Modifier and Type Method Description protected java.util.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 VoucherModel Modifier and Type Method Description protected voidDefaultPromotionsService. fixupVouchersReapplyVouchers(AbstractOrderModel order, java.util.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 VoucherModel Modifier and Type Method Description VoucherModelOrderThresholdFreeVoucherPromotionModel. getFreeVoucher()Generated method - Getter of theOrderThresholdFreeVoucherPromotion.freeVoucherattribute defined at extensionpromotions.Methods in de.hybris.platform.promotions.model with parameters of type VoucherModel Modifier and Type Method Description voidOrderThresholdFreeVoucherPromotionModel. 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 VoucherModel Modifier and Type Method Description VoucherModelVoucherService. getVoucher(java.lang.String voucherCode)Get a voucher for a given voucher codeMethods in de.hybris.platform.voucher that return types with arguments of type VoucherModel Modifier and Type Method Description java.util.Collection<VoucherModel>VoucherService. getAllVouchers()Methods in de.hybris.platform.voucher with parameters of type VoucherModel Modifier and Type Method Description booleanVoucherModelService. checkVoucherCode(VoucherModel voucher, java.lang.String voucherCode)Returns true if the specified voucher code is valid for this voucher.VoucherInvalidationModelVoucherModelService. createVoucherInvalidation(VoucherModel voucher, java.lang.String voucherCode, OrderModel order)voidVoucherService. delete(VoucherModel voucher)java.lang.StringVoucherModelService. generateVoucherCode(VoucherModel voucher)VoucherEntrySetVoucherModelService. getApplicableEntries(VoucherModel voucher, AbstractOrderModel order)Returns all positions or parts of positions of the specified abstract order that are eligible for this voucher.VoucherValueVoucherModelService. getAppliedValue(VoucherModel voucher, AbstractOrderModel order)Returns a VoucherValue object representing the discount value of this voucher.DiscountValueVoucherModelService. getDiscountValue(VoucherModel voucher, AbstractOrderModel order)java.util.List<RestrictionModel>VoucherModelService. getViolatedRestrictions(VoucherModel voucher, AbstractOrderModel order)Returns all restrictions that are not fulfilled by the specified abstract order.java.util.List<RestrictionModel>VoucherModelService. getViolatedRestrictions(VoucherModel voucher, ProductModel product)Returns all restrictions that are not fulfilled by the specified product.java.util.List<java.lang.String>VoucherModelService. getViolationMessages(VoucherModel voucher, AbstractOrderModel order)java.util.List<java.lang.String>VoucherModelService. getViolationMessages(VoucherModel voucher, ProductModel product)VoucherValueVoucherModelService. 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, java.lang.String voucherCode, AbstractOrderModel order)booleanVoucherModelService. isReservable(VoucherModel voucher, java.lang.String voucherCode, UserModel user)booleanVoucherModelService. redeem(VoucherModel voucher, java.lang.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.VoucherInvalidationModelVoucherModelService. redeem(VoucherModel voucher, java.lang.String voucherCode, OrderModel order)voidVoucherModelService. release(VoucherModel voucher, java.lang.String voucherCode, CartModel cart)voidVoucherModelService. release(VoucherModel voucher, java.lang.String voucherCode, OrderModel order)VoucherInvalidationModelVoucherModelService. reserve(VoucherModel voucher, java.lang.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 VoucherModel Modifier and Type Method Description protected voidVoucherApplierInset. checkOrderAfterRedeem(VoucherModel voucher, java.lang.String voucherCode, AbstractOrderModel abstractOrder) -
Uses of VoucherModel in de.hybris.platform.voucher.impl
Methods in de.hybris.platform.voucher.impl that return VoucherModel Modifier and Type Method Description VoucherModelDefaultVoucherService. getVoucher(java.lang.String voucherCode)Methods in de.hybris.platform.voucher.impl that return types with arguments of type VoucherModel Modifier and Type Method Description java.util.Collection<VoucherModel>DefaultVoucherService. getAllVouchers()Methods in de.hybris.platform.voucher.impl with parameters of type VoucherModel Modifier and Type Method Description booleanDefaultVoucherModelService. checkVoucherCode(VoucherModel voucher, java.lang.String voucherCode)VoucherInvalidationModelDefaultVoucherModelService. createVoucherInvalidation(VoucherModel voucher, java.lang.String voucherCode, OrderModel order)voidDefaultVoucherService. delete(VoucherModel voucher)java.lang.StringDefaultVoucherModelService. generateVoucherCode(VoucherModel voucher)VoucherEntrySetDefaultVoucherModelService. getApplicableEntries(VoucherModel voucher, AbstractOrderModel order)VoucherValueDefaultVoucherModelService. getAppliedValue(VoucherModel voucher, AbstractOrderModel order)DiscountValueDefaultVoucherModelService. getDiscountValue(VoucherModel voucher, AbstractOrderModel order)java.util.List<RestrictionModel>DefaultVoucherModelService. getViolatedRestrictions(VoucherModel voucher, AbstractOrderModel order)java.util.List<RestrictionModel>DefaultVoucherModelService. getViolatedRestrictions(VoucherModel voucher, ProductModel product)java.util.List<java.lang.String>DefaultVoucherModelService. getViolationMessages(VoucherModel voucher, AbstractOrderModel order)java.util.List<java.lang.String>DefaultVoucherModelService. getViolationMessages(VoucherModel voucher, ProductModel product)protected VoucherAbstractVoucherService. getVoucher(VoucherModel voucher)VoucherValueDefaultVoucherModelService. getVoucherValue(VoucherModel voucher, AbstractOrderModel order)booleanDefaultVoucherModelService. isApplicable(VoucherModel voucher, AbstractOrderModel order)booleanDefaultVoucherModelService. isApplicable(VoucherModel voucher, ProductModel product)booleanDefaultVoucherModelService. isReservable(VoucherModel voucher, java.lang.String voucherCode, AbstractOrderModel order)booleanDefaultVoucherModelService. isReservable(VoucherModel voucher, java.lang.String voucherCode, UserModel user)booleanDefaultVoucherModelService. redeem(VoucherModel voucher, java.lang.String voucherCode, CartModel cart)VoucherInvalidationModelDefaultVoucherModelService. redeem(VoucherModel voucher, java.lang.String voucherCode, OrderModel order)voidDefaultVoucherModelService. release(VoucherModel voucher, java.lang.String voucherCode, CartModel cart)voidDefaultVoucherModelService. release(VoucherModel voucher, java.lang.String voucherCode, OrderModel order)VoucherInvalidationModelDefaultVoucherModelService. reserve(VoucherModel voucher, java.lang.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.model Modifier and Type Class Description classPromotionVoucherModelGenerated model class for type PromotionVoucher first defined at extension voucher.classSerialVoucherModelGenerated model class for type SerialVoucher first defined at extension voucher.Methods in de.hybris.platform.voucher.model that return VoucherModel Modifier and Type Method Description VoucherModelRestrictionModel. getVoucher()Generated method - Getter of theRestriction.voucherattribute defined at extensionvoucher.VoucherModelVoucherInvalidationModel. getVoucher()Generated method - Getter of theVoucherInvalidation.voucherattribute defined at extensionvoucher.Methods in de.hybris.platform.voucher.model with parameters of type VoucherModel Modifier and Type Method Description voidRestrictionModel. 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 VoucherModel Constructor Description DateRestrictionModel(java.util.Date _endDate, ItemModel _owner, java.util.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(java.util.Date _endDate, java.util.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, java.lang.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, java.lang.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, java.lang.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(java.lang.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(java.lang.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(java.lang.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(java.lang.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(java.lang.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, java.util.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(java.util.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(java.lang.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(java.lang.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
-