| Modifier and Type | Method and Description |
|---|---|
VoucherData |
VoucherFacade.getVoucher(java.lang.String voucherCode)
Get voucher base on its code
|
| Modifier and Type | Method and Description |
|---|---|
java.util.List<VoucherData> |
VoucherFacade.getVouchersForCart()
Get vouchers applied for current session cart
|
| Modifier and Type | Method and Description |
|---|---|
protected VoucherModel |
VoucherAppliedValuePopulator.findVoucherModel(VoucherData voucherData) |
void |
VoucherAppliedValuePopulator.populate(AbstractOrderModel source,
VoucherData target) |
void |
VoucherPopulator.populate(VoucherModel source,
VoucherData target) |
| Modifier and Type | Method and Description |
|---|---|
protected VoucherData |
DefaultVoucherFacade.getSingleVouchersByCode(java.lang.String voucherCode)
Voucher cannot be redeemed Getting single voucher
|
VoucherData |
DefaultVoucherFacade.getVoucher(java.lang.String voucherCode) |
| Modifier and Type | Method and Description |
|---|---|
Converter<VoucherModel,VoucherData> |
DefaultVoucherFacade.getVoucherConverter() |
java.util.List<VoucherData> |
DefaultVoucherFacade.getVouchersForCart() |
| Modifier and Type | Method and Description |
|---|---|
void |
DefaultVoucherFacade.setVoucherConverter(Converter<VoucherModel,VoucherData> voucherConverter) |
| Modifier and Type | Method and Description |
|---|---|
void |
CouponModelToVoucherDataPopulator.populate(AbstractCouponModel source,
VoucherData target) |
void |
CouponCodeToVoucherDataPopulator.populate(java.lang.String source,
VoucherData target) |
| Modifier and Type | Method and Description |
|---|---|
VoucherData |
DefaultCouponFacade.getVoucher(java.lang.String voucherCode) |
| Modifier and Type | Method and Description |
|---|---|
protected AbstractPopulatingConverter<java.lang.String,VoucherData> |
DefaultCouponFacade.getCouponCodeModelConverter() |
protected Converter<AbstractCouponModel,VoucherData> |
DefaultCouponFacade.getCouponModelConverter() |
protected java.util.List<VoucherData> |
DefaultCouponFacade.getCouponsForOrder(AbstractOrderModel order) |
java.util.List<VoucherData> |
DefaultCouponFacade.getVouchersForCart() |
| Modifier and Type | Method and Description |
|---|---|
void |
DefaultCouponFacade.setCouponCodeModelConverter(AbstractPopulatingConverter<java.lang.String,VoucherData> couponCodeModelConverter) |
void |
DefaultCouponFacade.setCouponModelConverter(Converter<AbstractCouponModel,VoucherData> couponModelConverter) |
| Modifier and Type | Method and Description |
|---|---|
VoucherData |
VouchersController.getVoucherByCode(java.lang.String code)
Web service for getting voucher information by voucher code.
Sample call: https://localhost:9002/rest/v1/mysite/vouchers/abc-9PSW-EDH2-RXKA This method requires authentication. Method type : GET.Method is restricted for HTTPS channel. |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<VoucherData> |
VoucherDataList.getVouchers() |
| Modifier and Type | Method and Description |
|---|---|
void |
VoucherDataList.setVouchers(java.util.List<VoucherData> vouchers) |
Copyright © 2018 SAP SE. All Rights Reserved.