public interface CouponCodeGenerationWsFacade
| Modifier and Type | Method and Description |
|---|---|
Optional<MediaModel> |
generateCouponCodes(String couponId,
int batchsize)
Generate
batchsize coupon codes |
Collection<MediaModel> |
getCouponCodeBatches(String couponId)
Get the collection of generated coupon codes for a given multi-code coupon
|
byte[] |
getCouponCodes(String couponId,
String batchCode)
Get the octet bytes array of generated coupon codes for a given multi-code coupon
|
Optional<MediaModel> generateCouponCodes(String couponId, int batchsize)
batchsize coupon codescouponId - Coupon id of the multi-code couponbatchsize - the size of the generated coupon batchCollection<MediaModel> getCouponCodeBatches(String couponId)
couponId - Coupon id of the multi-code couponbyte[] getCouponCodes(String couponId, String batchCode)
couponId - Coupon id of the multi-code couponbatchCode - The string corresponding to media model codeCopyright © 2017 SAP SE. All Rights Reserved.