Name | Type | Description | Notes |
---|---|---|---|
Total | Pointer to float32 | DEPRECATED Use `totalActivePoints` property instead. Total amount of currently active and available points in the customer's balance. | |
TotalActivePoints | Pointer to float32 | Total amount of currently active and available points in the customer's balance. | |
TotalPendingPoints | Pointer to float32 | Total amount of pending points, which are not active yet but will become active in the future. | |
TotalSpentPoints | Pointer to float32 | Total amount of points already spent by this customer. | |
TotalExpiredPoints | Pointer to float32 | Total amount of points, that expired without ever being spent. | |
Transactions | Pointer to []LoyaltyLedgerEntry | List of all events that have happened such as additions, subtractions and expiries. | [optional] |
ExpiringPoints | Pointer to []LoyaltyLedgerEntry | List of all points that will expire. | [optional] |
ActivePoints | Pointer to []LoyaltyLedgerEntry | List of all currently active points. | [optional] |
PendingPoints | Pointer to []LoyaltyLedgerEntry | List of all points pending activation. | [optional] |
ExpiredPoints | Pointer to []LoyaltyLedgerEntry | List of expired points. | [optional] |
CurrentTier | Pointer to Tier | [optional] |
func (o *LoyaltySubLedger) GetTotal() float32
GetTotal returns the Total field if non-nil, zero value otherwise.
func (o *LoyaltySubLedger) GetTotalOk() (float32, bool)
GetTotalOk returns a tuple with the Total field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *LoyaltySubLedger) HasTotal() bool
HasTotal returns a boolean if a field has been set.
func (o *LoyaltySubLedger) SetTotal(v float32)
SetTotal gets a reference to the given float32 and assigns it to the Total field.
func (o *LoyaltySubLedger) GetTotalActivePoints() float32
GetTotalActivePoints returns the TotalActivePoints field if non-nil, zero value otherwise.
func (o *LoyaltySubLedger) GetTotalActivePointsOk() (float32, bool)
GetTotalActivePointsOk returns a tuple with the TotalActivePoints field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *LoyaltySubLedger) HasTotalActivePoints() bool
HasTotalActivePoints returns a boolean if a field has been set.
func (o *LoyaltySubLedger) SetTotalActivePoints(v float32)
SetTotalActivePoints gets a reference to the given float32 and assigns it to the TotalActivePoints field.
func (o *LoyaltySubLedger) GetTotalPendingPoints() float32
GetTotalPendingPoints returns the TotalPendingPoints field if non-nil, zero value otherwise.
func (o *LoyaltySubLedger) GetTotalPendingPointsOk() (float32, bool)
GetTotalPendingPointsOk returns a tuple with the TotalPendingPoints field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *LoyaltySubLedger) HasTotalPendingPoints() bool
HasTotalPendingPoints returns a boolean if a field has been set.
func (o *LoyaltySubLedger) SetTotalPendingPoints(v float32)
SetTotalPendingPoints gets a reference to the given float32 and assigns it to the TotalPendingPoints field.
func (o *LoyaltySubLedger) GetTotalSpentPoints() float32
GetTotalSpentPoints returns the TotalSpentPoints field if non-nil, zero value otherwise.
func (o *LoyaltySubLedger) GetTotalSpentPointsOk() (float32, bool)
GetTotalSpentPointsOk returns a tuple with the TotalSpentPoints field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *LoyaltySubLedger) HasTotalSpentPoints() bool
HasTotalSpentPoints returns a boolean if a field has been set.
func (o *LoyaltySubLedger) SetTotalSpentPoints(v float32)
SetTotalSpentPoints gets a reference to the given float32 and assigns it to the TotalSpentPoints field.
func (o *LoyaltySubLedger) GetTotalExpiredPoints() float32
GetTotalExpiredPoints returns the TotalExpiredPoints field if non-nil, zero value otherwise.
func (o *LoyaltySubLedger) GetTotalExpiredPointsOk() (float32, bool)
GetTotalExpiredPointsOk returns a tuple with the TotalExpiredPoints field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *LoyaltySubLedger) HasTotalExpiredPoints() bool
HasTotalExpiredPoints returns a boolean if a field has been set.
func (o *LoyaltySubLedger) SetTotalExpiredPoints(v float32)
SetTotalExpiredPoints gets a reference to the given float32 and assigns it to the TotalExpiredPoints field.
func (o *LoyaltySubLedger) GetTransactions() []LoyaltyLedgerEntry
GetTransactions returns the Transactions field if non-nil, zero value otherwise.
func (o *LoyaltySubLedger) GetTransactionsOk() ([]LoyaltyLedgerEntry, bool)
GetTransactionsOk returns a tuple with the Transactions field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *LoyaltySubLedger) HasTransactions() bool
HasTransactions returns a boolean if a field has been set.
func (o *LoyaltySubLedger) SetTransactions(v []LoyaltyLedgerEntry)
SetTransactions gets a reference to the given []LoyaltyLedgerEntry and assigns it to the Transactions field.
func (o *LoyaltySubLedger) GetExpiringPoints() []LoyaltyLedgerEntry
GetExpiringPoints returns the ExpiringPoints field if non-nil, zero value otherwise.
func (o *LoyaltySubLedger) GetExpiringPointsOk() ([]LoyaltyLedgerEntry, bool)
GetExpiringPointsOk returns a tuple with the ExpiringPoints field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *LoyaltySubLedger) HasExpiringPoints() bool
HasExpiringPoints returns a boolean if a field has been set.
func (o *LoyaltySubLedger) SetExpiringPoints(v []LoyaltyLedgerEntry)
SetExpiringPoints gets a reference to the given []LoyaltyLedgerEntry and assigns it to the ExpiringPoints field.
func (o *LoyaltySubLedger) GetActivePoints() []LoyaltyLedgerEntry
GetActivePoints returns the ActivePoints field if non-nil, zero value otherwise.
func (o *LoyaltySubLedger) GetActivePointsOk() ([]LoyaltyLedgerEntry, bool)
GetActivePointsOk returns a tuple with the ActivePoints field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *LoyaltySubLedger) HasActivePoints() bool
HasActivePoints returns a boolean if a field has been set.
func (o *LoyaltySubLedger) SetActivePoints(v []LoyaltyLedgerEntry)
SetActivePoints gets a reference to the given []LoyaltyLedgerEntry and assigns it to the ActivePoints field.
func (o *LoyaltySubLedger) GetPendingPoints() []LoyaltyLedgerEntry
GetPendingPoints returns the PendingPoints field if non-nil, zero value otherwise.
func (o *LoyaltySubLedger) GetPendingPointsOk() ([]LoyaltyLedgerEntry, bool)
GetPendingPointsOk returns a tuple with the PendingPoints field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *LoyaltySubLedger) HasPendingPoints() bool
HasPendingPoints returns a boolean if a field has been set.
func (o *LoyaltySubLedger) SetPendingPoints(v []LoyaltyLedgerEntry)
SetPendingPoints gets a reference to the given []LoyaltyLedgerEntry and assigns it to the PendingPoints field.
func (o *LoyaltySubLedger) GetExpiredPoints() []LoyaltyLedgerEntry
GetExpiredPoints returns the ExpiredPoints field if non-nil, zero value otherwise.
func (o *LoyaltySubLedger) GetExpiredPointsOk() ([]LoyaltyLedgerEntry, bool)
GetExpiredPointsOk returns a tuple with the ExpiredPoints field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *LoyaltySubLedger) HasExpiredPoints() bool
HasExpiredPoints returns a boolean if a field has been set.
func (o *LoyaltySubLedger) SetExpiredPoints(v []LoyaltyLedgerEntry)
SetExpiredPoints gets a reference to the given []LoyaltyLedgerEntry and assigns it to the ExpiredPoints field.
func (o *LoyaltySubLedger) GetCurrentTier() Tier
GetCurrentTier returns the CurrentTier field if non-nil, zero value otherwise.
func (o *LoyaltySubLedger) GetCurrentTierOk() (Tier, bool)
GetCurrentTierOk returns a tuple with the CurrentTier field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *LoyaltySubLedger) HasCurrentTier() bool
HasCurrentTier returns a boolean if a field has been set.
func (o *LoyaltySubLedger) SetCurrentTier(v Tier)
SetCurrentTier gets a reference to the given Tier and assigns it to the CurrentTier field.