| Package | Description |
|---|---|
| de.hybris.platform.voucher.impl | |
| de.hybris.platform.voucher.jalo |
| Modifier and Type | Method and Description |
|---|---|
protected Restriction |
AbstractVoucherService.getRestriction(RestrictionModel restriction) |
| Modifier and Type | Class and Description |
|---|---|
class |
DateRestriction
This restriction restricts vouchers to start/end date.
|
class |
GeneratedDateRestriction
Generated class for type
DateRestriction. |
class |
GeneratedNewCustomerRestriction
Generated class for type
NewCustomerRestriction. |
class |
GeneratedOrderRestriction
Generated class for type
OrderRestriction. |
class |
GeneratedProductCategoryRestriction
Generated class for type
ProductCategoryRestriction. |
class |
GeneratedProductQuantityRestriction
Generated class for type
ProductQuantityRestriction. |
class |
GeneratedProductRestriction
Generated class for type
ProductRestriction. |
class |
GeneratedRegularCustomerOrderQuantityRestriction
Generated class for type
RegularCustomerOrderQuantityRestriction. |
class |
GeneratedRegularCustomerOrderTotalRestriction
Generated class for type
RegularCustomerOrderTotalRestriction. |
class |
GeneratedUserRestriction
Generated class for type
UserRestriction. |
class |
NewCustomerRestriction
This restriction restricts vouchers to new customers only
|
class |
OrderRestriction
This restriction restricts vouchers to minimum order amount
|
class |
ProductCategoryRestriction
This restriction restricts vouchers to product categories
|
class |
ProductQuantityRestriction
This restriction restricts vouchers to individual product quantities.
|
class |
ProductRestriction
This restriction restricts vouchers to specified products
|
class |
RegularCustomerOrderQuantityRestriction
This restriction restricts vouchers to customers with a total of X completed orders.
|
class |
RegularCustomerOrderTotalRestriction
This restriction restricts vouchers to customers who ordered a total of X EUR or greater in their lifetime.
|
class |
UserRestriction
This restriction restricts vouchers to specified users.
|
| Modifier and Type | Field and Description |
|---|---|
protected static OneToManyHandler<Restriction> |
GeneratedVoucher.RESTRICTIONSHANDLER
OneToManyHandler for handling 1:n RESTRICTIONS's relation attributes from 'many' side. |
| Modifier and Type | Method and Description |
|---|---|
Restriction |
GeneratedVoucherManager.createRestriction(Map attributeValues) |
Restriction |
GeneratedVoucherManager.createRestriction(SessionContext ctx,
Map attributeValues) |
| Modifier and Type | Method and Description |
|---|---|
Set<Restriction> |
GeneratedVoucher.getRestrictions()
Generated method - Getter of the
Voucher.restrictions attribute. |
Set<Restriction> |
GeneratedVoucher.getRestrictions(SessionContext ctx)
Generated method - Getter of the
Voucher.restrictions attribute. |
List<Restriction> |
Voucher.getViolatedRestrictions(AbstractOrder anOrder)
Returns all restrictions that are not fulfilled by the specified abstract order.
|
List<Restriction> |
Voucher.getViolatedRestrictions(Product aProduct)
Returns all restrictions that are not fulfilled by the specified product.
|
| Modifier and Type | Method and Description |
|---|---|
void |
GeneratedVoucher.addToRestrictions(Restriction value)
Generated method - Adds
value to restrictions. |
void |
GeneratedVoucher.addToRestrictions(SessionContext ctx,
Restriction value)
Generated method - Adds
value to restrictions. |
void |
GeneratedVoucher.removeFromRestrictions(Restriction value)
Generated method - Removes
value from restrictions. |
void |
GeneratedVoucher.removeFromRestrictions(SessionContext ctx,
Restriction value)
Generated method - Removes
value from restrictions. |
| Modifier and Type | Method and Description |
|---|---|
void |
GeneratedVoucher.setRestrictions(SessionContext ctx,
Set<Restriction> value)
Generated method - Setter of the
Voucher.restrictions attribute. |
void |
GeneratedVoucher.setRestrictions(Set<Restriction> value)
Generated method - Setter of the
Voucher.restrictions attribute. |
Copyright © 2017 SAP SE. All Rights Reserved.