createCouponInstance(long, Customer, Long) method

Create a coupon instance based on a coupon type and return it.

Syntax

CouponInstance createCouponInstance ( long couponTypeId , Customer customer , Long actorId )

Parameters