Name | Type | Description | Notes |
---|---|---|---|
Id | Pointer to int32 | Internal ID of this entity. | |
Created | Pointer to time.Time | The time this entity was created. | |
ProgramID | Pointer to int32 | The ID of the loyalty program that owns this entity. | |
Name | Pointer to string | The name of the tier | |
MinPoints | Pointer to float32 | The minimum amount of points required to be eligible for the tier. |
func (o *LoyaltyTier) GetId() int32
GetId returns the Id field if non-nil, zero value otherwise.
func (o *LoyaltyTier) GetIdOk() (int32, bool)
GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *LoyaltyTier) HasId() bool
HasId returns a boolean if a field has been set.
func (o *LoyaltyTier) SetId(v int32)
SetId gets a reference to the given int32 and assigns it to the Id field.
func (o *LoyaltyTier) GetCreated() time.Time
GetCreated returns the Created field if non-nil, zero value otherwise.
func (o *LoyaltyTier) GetCreatedOk() (time.Time, bool)
GetCreatedOk returns a tuple with the Created field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *LoyaltyTier) HasCreated() bool
HasCreated returns a boolean if a field has been set.
func (o *LoyaltyTier) SetCreated(v time.Time)
SetCreated gets a reference to the given time.Time and assigns it to the Created field.
func (o *LoyaltyTier) GetProgramID() int32
GetProgramID returns the ProgramID field if non-nil, zero value otherwise.
func (o *LoyaltyTier) GetProgramIDOk() (int32, bool)
GetProgramIDOk returns a tuple with the ProgramID field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *LoyaltyTier) HasProgramID() bool
HasProgramID returns a boolean if a field has been set.
func (o *LoyaltyTier) SetProgramID(v int32)
SetProgramID gets a reference to the given int32 and assigns it to the ProgramID field.
func (o *LoyaltyTier) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *LoyaltyTier) GetNameOk() (string, bool)
GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *LoyaltyTier) HasName() bool
HasName returns a boolean if a field has been set.
func (o *LoyaltyTier) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (o *LoyaltyTier) GetMinPoints() float32
GetMinPoints returns the MinPoints field if non-nil, zero value otherwise.
func (o *LoyaltyTier) GetMinPointsOk() (float32, bool)
GetMinPointsOk returns a tuple with the MinPoints field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *LoyaltyTier) HasMinPoints() bool
HasMinPoints returns a boolean if a field has been set.
func (o *LoyaltyTier) SetMinPoints(v float32)
SetMinPoints gets a reference to the given float32 and assigns it to the MinPoints field.