createCouponBatchFromCoupon(long, String, byte[], String, Date, Date, Date, long, long) method

Create a new coupon batch and segments for a coupon type.

Syntax

long createCouponBatchFromCoupon ( long couponType , String code , byte[] binaryCode , String serialNumber , Date issueFrom , Date issueTo , Date validUntil , long quantity , long callerId )

Parameters