| Package | Description |
|---|---|
| de.hybris.platform.voucher.jalo |
| Modifier and Type | Field and Description |
|---|---|
protected static OneToManyHandler<VoucherInvalidation> |
GeneratedVoucher.INVALIDATIONSHANDLER
OneToManyHandler for handling 1:n INVALIDATIONS's relation attributes from 'many' side. |
| Modifier and Type | Method and Description |
|---|---|
VoucherInvalidation |
GeneratedVoucherManager.createVoucherInvalidation(Map attributeValues) |
VoucherInvalidation |
GeneratedVoucherManager.createVoucherInvalidation(SessionContext ctx,
Map attributeValues) |
VoucherInvalidation |
Voucher.createVoucherInvalidation(String aVoucherCode,
Order anOrder) |
protected VoucherInvalidation |
Voucher.getInvalidation(String aVoucherCode,
Order anOrder)
Returns a voucher invalidation object if the specified voucher code was used in the specified order or
null else.
|
VoucherInvalidation |
Voucher.redeem(String aVoucherCode,
Order anOrder) |
VoucherInvalidation |
VoucherManager.redeemVoucher(String aVoucherCode,
Order anOrder) |
VoucherInvalidation |
Voucher.reserve(String aVoucherCode,
Order anOrder) |
VoucherInvalidation |
VoucherManager.reserveVoucher(String aVoucherCode,
Order anOrder) |
| Modifier and Type | Method and Description |
|---|---|
Collection<VoucherInvalidation> |
GeneratedVoucher.getInvalidations()
Generated method - Getter of the
Voucher.invalidations attribute. |
Collection<VoucherInvalidation> |
GeneratedVoucher.getInvalidations(SessionContext ctx)
Generated method - Getter of the
Voucher.invalidations attribute. |
protected Collection<VoucherInvalidation> |
Voucher.getInvalidations(String aVoucherCode)
Returns all voucher invalidations representing the usage of the specified voucher code.
|
protected Collection<VoucherInvalidation> |
Voucher.getInvalidations(String aVoucherCode,
User anUser)
Returns all voucher invalidations representing the usage of the specified voucher code by the specified user.
|
| Modifier and Type | Method and Description |
|---|---|
void |
GeneratedVoucher.addToInvalidations(SessionContext ctx,
VoucherInvalidation value)
Generated method - Adds
value to invalidations. |
void |
GeneratedVoucher.addToInvalidations(VoucherInvalidation value)
Generated method - Adds
value to invalidations. |
void |
GeneratedVoucher.removeFromInvalidations(SessionContext ctx,
VoucherInvalidation value)
Generated method - Removes
value from invalidations. |
void |
GeneratedVoucher.removeFromInvalidations(VoucherInvalidation value)
Generated method - Removes
value from invalidations. |
| Modifier and Type | Method and Description |
|---|---|
void |
GeneratedVoucher.setInvalidations(Collection<VoucherInvalidation> value)
Generated method - Setter of the
Voucher.invalidations attribute. |
void |
GeneratedVoucher.setInvalidations(SessionContext ctx,
Collection<VoucherInvalidation> value)
Generated method - Setter of the
Voucher.invalidations attribute. |
Copyright © 2017 SAP SE. All Rights Reserved.