Skip to content

Latest commit

 

History

History
13 lines (10 loc) · 1.09 KB

CodeConfig.md

File metadata and controls

13 lines (10 loc) · 1.09 KB

VoucherifySdk::CodeConfig

Properties

Name Type Description Notes
length Float Number of characters in a generated code (excluding prefix and postfix). [optional]
charset String Characters that can appear in the code. Examples: - Alphanumeric: `0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ` - Alphabetic: `abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ` - Alphabetic Lowercase: `abcdefghijklmnopqrstuvwxyz` - Alphabetic Uppercase: `ABCDEFGHIJKLMNOPQRSTUVWXYZ` - Numbers: `0123456789` - Custom: a custom character set [optional]
prefix String A text appended before the code. [optional]
postfix String A text appended after the code. [optional]
pattern String A pattern for codes where hashes (#) will be replaced with random characters. Overrides `length`. [optional]
initial_count Integer Internal value, does not change anything if provided. [optional]