Skip to content

Latest commit

 

History

History
65 lines (34 loc) · 2.16 KB

CodeGeneratorSettings.md

File metadata and controls

65 lines (34 loc) · 2.16 KB

CodeGeneratorSettings

Properties

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.

Methods

GetValidCharacters

func (o *CodeGeneratorSettings) GetValidCharacters() []string

GetValidCharacters returns the ValidCharacters field if non-nil, zero value otherwise.

GetValidCharactersOk

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.

HasValidCharacters

func (o *CodeGeneratorSettings) HasValidCharacters() bool

HasValidCharacters returns a boolean if a field has been set.

SetValidCharacters

func (o *CodeGeneratorSettings) SetValidCharacters(v []string)

SetValidCharacters gets a reference to the given []string and assigns it to the ValidCharacters field.

GetCouponPattern

func (o *CodeGeneratorSettings) GetCouponPattern() string

GetCouponPattern returns the CouponPattern field if non-nil, zero value otherwise.

GetCouponPatternOk

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.

HasCouponPattern

func (o *CodeGeneratorSettings) HasCouponPattern() bool

HasCouponPattern returns a boolean if a field has been set.

SetCouponPattern

func (o *CodeGeneratorSettings) SetCouponPattern(v string)

SetCouponPattern gets a reference to the given string and assigns it to the CouponPattern field.

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