public interface VoucherRestrictionService
| Modifier and Type | Method and Description |
|---|---|
VoucherEntrySet |
getApplicableEntries(RestrictionModel restriction,
AbstractOrderModel order) |
boolean |
isFulfilled(RestrictionModel restriction,
AbstractOrderModel order)
Returns true if the specified abstract order is not null and fulfills this restriction.
|
boolean |
isFulfilled(RestrictionModel restriction,
ProductModel product)
Returns true if the specified product is not null and fulfills this restriction.
|
boolean isFulfilled(RestrictionModel restriction, AbstractOrderModel order)
restriction - the restrictionorder - the abstract order to check whether it fullfills this restriction.VoucherEntrySet getApplicableEntries(RestrictionModel restriction, AbstractOrderModel order)
boolean isFulfilled(RestrictionModel restriction, ProductModel product)
restriction - the restrictionproduct - the product to check whether it fullfills this restriction.Copyright © 2018 SAP SE. All Rights Reserved.