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