Skip to content

Latest commit

 

History

History
18 lines (12 loc) · 1.35 KB

CodeConfig.md

File metadata and controls

18 lines (12 loc) · 1.35 KB

CodeConfig

Contains information about the config used for the voucher code. Defines the code's pattern (prefix, postfix, length, charset, etc).

Properties

Name Type Description Notes
length float Number of characters in a generated code (excluding prefix and postfix). [optional]
charset str 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 str A text appended before the code. [optional]
postfix str A text appended after the code. [optional]
pattern str A pattern for codes where hashes (#) will be replaced with random characters. Overrides `length`. [optional]
initial_count int Internal value, does not change anything if provided. [optional]

[Back to Model list] [Back to API list] [Back to README]