| Package | Description |
|---|---|
| de.hybris.platform.commercefacades.voucher.converters.populator | |
| de.hybris.platform.commercefacades.voucher.impl | |
| de.hybris.platform.mobileoptionals.model.text |
Contains generated models for each type of de.hybris.platform.mobileoptionals.jalo.text package.
|
| de.hybris.platform.mobileservices.text.actions | |
| 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.
|
| de.hybris.platform.voucher.resource |
| Modifier and Type | Method and Description |
|---|---|
protected VoucherModel |
VoucherAppliedValuePopulator.findVoucherModel(VoucherData voucherData) |
| Modifier and Type | Method and Description |
|---|---|
void |
VoucherPopulator.populate(VoucherModel source,
VoucherData target) |
| Modifier and Type | Method and Description |
|---|---|
protected VoucherModel |
DefaultVoucherFacade.getVoucherModel(java.lang.String voucherCode) |
| Modifier and Type | Method and Description |
|---|---|
Converter<VoucherModel,VoucherData> |
DefaultVoucherFacade.getVoucherConverter() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
DefaultVoucherFacade.checkCartAfterApply(java.lang.String lastVoucherCode,
VoucherModel lastVoucher)
Checking state of cart after redeem last voucher
|
protected boolean |
DefaultVoucherFacade.checkVoucherCanBeRedeemed(VoucherModel voucher,
java.lang.String voucherCode) |
| Modifier and Type | Method and Description |
|---|---|
void |
DefaultVoucherFacade.setVoucherConverter(Converter<VoucherModel,VoucherData> voucherConverter) |
| Modifier and Type | Method and Description |
|---|---|
VoucherModel |
MobileReceiveAndSendVoucherActionModel.getVoucher()
Generated method - Getter of the
MobileReceiveAndSendVoucherAction.voucher attribute defined at extension mobileoptionals. |
| Modifier and Type | Method and Description |
|---|---|
void |
MobileReceiveAndSendVoucherActionModel.setVoucher(VoucherModel value)
Generated method - Setter of
MobileReceiveAndSendVoucherAction.voucher attribute defined at extension mobileoptionals. |
| Constructor and Description |
|---|
MobileReceiveAndSendVoucherActionModel(java.lang.String _code,
java.lang.String _message,
ItemModel _owner,
java.lang.String _target,
ActionType _type,
VoucherModel _voucher)
Deprecated.
since 4.1.1 Please use the default constructor without parameters
|
MobileReceiveAndSendVoucherActionModel(java.lang.String _code,
java.lang.String _message,
java.lang.String _target,
ActionType _type,
VoucherModel _voucher)
Deprecated.
since 4.1.1 Please use the default constructor without parameters
|
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.String |
MobileReceiveAndSendVoucherActionPerformable.getVoucherCode(VoucherModel voucher) |
| Modifier and Type | Method and Description |
|---|---|
VoucherModel |
OrderThresholdFreeVoucherPromotionModel.getFreeVoucher()
Generated method - Getter of the
OrderThresholdFreeVoucherPromotion.freeVoucher attribute defined at extension promotions. |
| Modifier and Type | Method and Description |
|---|---|
void |
OrderThresholdFreeVoucherPromotionModel.setFreeVoucher(VoucherModel value)
Generated method - Setter of
OrderThresholdFreeVoucherPromotion.freeVoucher attribute defined at extension promotions. |
| Modifier and Type | Method and Description |
|---|---|
VoucherModel |
VoucherService.getVoucher(java.lang.String voucherCode)
Get a voucher for a given voucher code
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Collection<VoucherModel> |
VoucherService.getAllVouchers() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
VoucherModelService.checkVoucherCode(VoucherModel voucher,
java.lang.String voucherCode)
Returns true if the specified voucher code is valid for this voucher.
|
VoucherInvalidationModel |
VoucherModelService.createVoucherInvalidation(VoucherModel voucher,
java.lang.String voucherCode,
OrderModel order) |
void |
VoucherService.delete(VoucherModel voucher) |
java.lang.String |
VoucherModelService.generateVoucherCode(VoucherModel voucher) |
VoucherEntrySet |
VoucherModelService.getApplicableEntries(VoucherModel voucher,
AbstractOrderModel order)
Returns all positions or parts of positions of the specified abstract order that are eligible for this voucher.
|
VoucherValue |
VoucherModelService.getAppliedValue(VoucherModel voucher,
AbstractOrderModel order)
Returns a VoucherValue object representing the discount value of this voucher.
|
DiscountValue |
VoucherModelService.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) |
VoucherValue |
VoucherModelService.getVoucherValue(VoucherModel voucher,
AbstractOrderModel order) |
boolean |
VoucherModelService.isApplicable(VoucherModel voucher,
AbstractOrderModel order)
Returns true if the specified abstract order is eligible for this voucher.
|
boolean |
VoucherModelService.isApplicable(VoucherModel voucher,
ProductModel product)
Returns true if the specified product is eligible for this voucher.
|
boolean |
VoucherModelService.isReservable(VoucherModel voucher,
java.lang.String voucherCode,
AbstractOrderModel order) |
boolean |
VoucherModelService.isReservable(VoucherModel voucher,
java.lang.String voucherCode,
UserModel user) |
boolean |
VoucherModelService.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. |
VoucherInvalidationModel |
VoucherModelService.redeem(VoucherModel voucher,
java.lang.String voucherCode,
OrderModel order) |
void |
VoucherModelService.release(VoucherModel voucher,
java.lang.String voucherCode,
CartModel cart) |
void |
VoucherModelService.release(VoucherModel voucher,
java.lang.String voucherCode,
OrderModel order) |
VoucherInvalidationModel |
VoucherModelService.reserve(VoucherModel voucher,
java.lang.String voucherCode,
OrderModel order) |
void |
VoucherService.save(VoucherModel voucher) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
VoucherApplierInset.checkOrderAfterRedeem(VoucherModel voucher,
java.lang.String voucherCode,
AbstractOrderModel abstractOrder) |
| Modifier and Type | Method and Description |
|---|---|
VoucherModel |
DefaultVoucherService.getVoucher(java.lang.String voucherCode) |
| Modifier and Type | Method and Description |
|---|---|
java.util.Collection<VoucherModel> |
DefaultVoucherService.getAllVouchers() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
DefaultVoucherModelService.checkVoucherCode(VoucherModel voucher,
java.lang.String voucherCode) |
VoucherInvalidationModel |
DefaultVoucherModelService.createVoucherInvalidation(VoucherModel voucher,
java.lang.String voucherCode,
OrderModel order) |
void |
DefaultVoucherService.delete(VoucherModel voucher) |
java.lang.String |
DefaultVoucherModelService.generateVoucherCode(VoucherModel voucher) |
VoucherEntrySet |
DefaultVoucherModelService.getApplicableEntries(VoucherModel voucher,
AbstractOrderModel order) |
VoucherValue |
DefaultVoucherModelService.getAppliedValue(VoucherModel voucher,
AbstractOrderModel order) |
DiscountValue |
DefaultVoucherModelService.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 Voucher |
AbstractVoucherService.getVoucher(VoucherModel voucher) |
VoucherValue |
DefaultVoucherModelService.getVoucherValue(VoucherModel voucher,
AbstractOrderModel order) |
boolean |
DefaultVoucherModelService.isApplicable(VoucherModel voucher,
AbstractOrderModel order) |
boolean |
DefaultVoucherModelService.isApplicable(VoucherModel voucher,
ProductModel product) |
boolean |
DefaultVoucherModelService.isReservable(VoucherModel voucher,
java.lang.String voucherCode,
AbstractOrderModel order) |
boolean |
DefaultVoucherModelService.isReservable(VoucherModel voucher,
java.lang.String voucherCode,
UserModel user) |
boolean |
DefaultVoucherModelService.redeem(VoucherModel voucher,
java.lang.String voucherCode,
CartModel cart) |
VoucherInvalidationModel |
DefaultVoucherModelService.redeem(VoucherModel voucher,
java.lang.String voucherCode,
OrderModel order) |
void |
DefaultVoucherModelService.release(VoucherModel voucher,
java.lang.String voucherCode,
CartModel cart) |
void |
DefaultVoucherModelService.release(VoucherModel voucher,
java.lang.String voucherCode,
OrderModel order) |
VoucherInvalidationModel |
DefaultVoucherModelService.reserve(VoucherModel voucher,
java.lang.String voucherCode,
OrderModel order) |
void |
DefaultVoucherService.save(VoucherModel voucher) |
| Modifier and Type | Class and Description |
|---|---|
class |
PromotionVoucherModel
Generated model class for type PromotionVoucher first defined at extension voucher.
|
class |
SerialVoucherModel
Generated model class for type SerialVoucher first defined at extension voucher.
|
| Modifier and Type | Method and Description |
|---|---|
VoucherModel |
VoucherInvalidationModel.getVoucher()
Generated method - Getter of the
VoucherInvalidation.voucher attribute defined at extension voucher. |
VoucherModel |
RestrictionModel.getVoucher()
Generated method - Getter of the
Restriction.voucher attribute defined at extension voucher. |
| Modifier and Type | Method and Description |
|---|---|
void |
VoucherInvalidationModel.setVoucher(VoucherModel value)
Generated method - Initial setter of
VoucherInvalidation.voucher attribute defined at extension voucher. |
void |
RestrictionModel.setVoucher(VoucherModel value)
Generated method - Initial setter of
Restriction.voucher attribute defined at extension voucher. |
| Constructor and Description |
|---|
DateRestrictionModel(java.util.Date _endDate,
java.util.Date _startDate,
VoucherModel _voucher)
Deprecated.
since 4.1.1 Please use the default constructor without parameters
|
DateRestrictionModel(java.util.Date _endDate,
ItemModel _owner,
java.util.Date _startDate,
VoucherModel _voucher)
Deprecated.
since 4.1.1 Please use the default constructor without parameters
|
NewCustomerRestrictionModel(ItemModel _owner,
VoucherModel _voucher)
Deprecated.
since 4.1.1 Please use the default constructor without parameters
|
NewCustomerRestrictionModel(VoucherModel _voucher)
Deprecated.
since 4.1.1 Please use the default constructor without parameters
|
OrderRestrictionModel(CurrencyModel _currency,
java.lang.Double _total,
VoucherModel _voucher)
Deprecated.
since 4.1.1 Please use the default constructor without parameters
|
OrderRestrictionModel(CurrencyModel _currency,
ItemModel _owner,
java.lang.Double _total,
VoucherModel _voucher)
Deprecated.
since 4.1.1 Please use the default constructor without parameters
|
ProductCategoryRestrictionModel(ItemModel _owner,
VoucherModel _voucher)
Deprecated.
since 4.1.1 Please use the default constructor without parameters
|
ProductCategoryRestrictionModel(VoucherModel _voucher)
Deprecated.
since 4.1.1 Please use the default constructor without parameters
|
ProductQuantityRestrictionModel(ItemModel _owner,
java.lang.Long _quantity,
UnitModel _unit,
VoucherModel _voucher)
Deprecated.
since 4.1.1 Please use the default constructor without parameters
|
ProductQuantityRestrictionModel(java.lang.Long _quantity,
UnitModel _unit,
VoucherModel _voucher)
Deprecated.
since 4.1.1 Please use the default constructor without parameters
|
ProductRestrictionModel(ItemModel _owner,
VoucherModel _voucher)
Deprecated.
since 4.1.1 Please use the default constructor without parameters
|
ProductRestrictionModel(VoucherModel _voucher)
Deprecated.
since 4.1.1 Please use the default constructor without parameters
|
RegularCustomerOrderQuantityRestrictionModel(java.lang.Integer _orderQuantity,
ItemModel _owner,
VoucherModel _voucher)
Deprecated.
since 4.1.1 Please use the default constructor without parameters
|
RegularCustomerOrderQuantityRestrictionModel(java.lang.Integer _orderQuantity,
VoucherModel _voucher)
Deprecated.
since 4.1.1 Please use the default constructor without parameters
|
RegularCustomerOrderTotalRestrictionModel(java.lang.Double _allOrdersTotal,
CurrencyModel _currency,
ItemModel _owner,
VoucherModel _voucher)
Deprecated.
since 4.1.1 Please use the default constructor without parameters
|
RegularCustomerOrderTotalRestrictionModel(java.lang.Double _allOrdersTotal,
CurrencyModel _currency,
VoucherModel _voucher)
Deprecated.
since 4.1.1 Please use the default constructor without parameters
|
RestrictionModel(ItemModel _owner,
VoucherModel _voucher)
Deprecated.
since 4.1.1 Please use the default constructor without parameters
|
RestrictionModel(VoucherModel _voucher)
Deprecated.
since 4.1.1 Please use the default constructor without parameters
|
UserRestrictionModel(java.util.Collection<PrincipalModel> _users,
VoucherModel _voucher)
Deprecated.
since 4.1.1 Please use the default constructor without parameters
|
UserRestrictionModel(ItemModel _owner,
java.util.Collection<PrincipalModel> _users,
VoucherModel _voucher)
Deprecated.
since 4.1.1 Please use the default constructor without parameters
|
VoucherInvalidationModel(java.lang.String _code,
OrderModel _order,
ItemModel _owner,
UserModel _user,
VoucherModel _voucher)
Deprecated.
since 4.1.1 Please use the default constructor without parameters
|
VoucherInvalidationModel(java.lang.String _code,
OrderModel _order,
UserModel _user,
VoucherModel _voucher)
Deprecated.
since 4.1.1 Please use the default constructor without parameters
|
| Modifier and Type | Method and Description |
|---|---|
VoucherModel |
VoucherResource.getVoucherModel()
Convenience method which just delegates to
AbstractResource.getResourceValue() |
protected VoucherModel |
VoucherResource.readResource(java.lang.String resourceId)
Gets the
VoucherModel resource which is addressed by current resource request. |
| Modifier and Type | Method and Description |
|---|---|
java.util.Collection<VoucherModel> |
VouchersResource.getVouchersCollection()
Convenience method which just delegates to
AbstractResource.getResourceValue() |
| Modifier and Type | Method and Description |
|---|---|
void |
VoucherResource.setVoucherModel(VoucherModel value)
Convenience method which just delegates to
#setResourceValue(VoucherModel) |
| Modifier and Type | Method and Description |
|---|---|
void |
VouchersResource.setVouchersCollection(java.util.Collection<VoucherModel> value)
Convenience method which just delegates to
#setResourceValue(Collection) |
Copyright © 2018 SAP SE. All Rights Reserved.