Name | Type | Description | Notes |
---|---|---|---|
validCharacters | [String] | Set of characters to be used when generating random part of code. Defaults to [A-Z, 0-9] (in terms of RegExp). | |
couponPattern | String | The pattern that will be used to generate coupon codes. The character `#` acts as a placeholder and will be replaced by a random character from the `validCharacters` set. |