Name | Type | Description | Notes |
---|---|---|---|
ValidCharacters | Pointer to []string | List of characters used to generate the random parts of a code. | |
CouponPattern | Pointer to 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. |
func (o *CodeGeneratorSettings) GetValidCharacters() []string
GetValidCharacters returns the ValidCharacters field if non-nil, zero value otherwise.
func (o *CodeGeneratorSettings) GetValidCharactersOk() ([]string, bool)
GetValidCharactersOk returns a tuple with the ValidCharacters field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CodeGeneratorSettings) HasValidCharacters() bool
HasValidCharacters returns a boolean if a field has been set.
func (o *CodeGeneratorSettings) SetValidCharacters(v []string)
SetValidCharacters gets a reference to the given []string and assigns it to the ValidCharacters field.
func (o *CodeGeneratorSettings) GetCouponPattern() string
GetCouponPattern returns the CouponPattern field if non-nil, zero value otherwise.
func (o *CodeGeneratorSettings) GetCouponPatternOk() (string, bool)
GetCouponPatternOk returns a tuple with the CouponPattern field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CodeGeneratorSettings) HasCouponPattern() bool
HasCouponPattern returns a boolean if a field has been set.
func (o *CodeGeneratorSettings) SetCouponPattern(v string)
SetCouponPattern gets a reference to the given string and assigns it to the CouponPattern field.