parse(long, byte[], long) method

This is the main method used to parse the input.

Syntax

long parse ( long couponType , byte[] batch , long actor )

Parameters

Returns

created batchID

Usage

It parses the binary array and creates the batch, batch segments based on the preference configuration and coupons. The implementation should use its own session management due to the number of coupons created can be very high.

created batchID