Sha256: 65fe4724a063ce543cacab2444633d61eb96e5312c683cd23c21e1d956bc82b0

Contents?: true

Size: 811 Bytes

Versions: 2

Compression:

Stored size: 811 Bytes

Contents

# TalonOne::CodeGeneratorSettings

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**valid_characters** | **Array<String>** | List of characters used to generate the random parts of a code.  | 
**coupon_pattern** | **String** | The pattern used to generate codes, such as coupon codes, referral codes, and loyalty cards. The character `#` is a placeholder and is replaced by a random character from the `validCharacters` set.  | 

## Code Sample

```ruby
require 'TalonOne'

instance = TalonOne::CodeGeneratorSettings.new(valid_characters: [A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
                                 coupon_pattern: SUMMER-####-####)
```


Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
talon_one-7.0.0 docs/CodeGeneratorSettings.md
talon_one-6.0.0 docs/CodeGeneratorSettings.md