Skip to content

Latest commit

 

History

History
213 lines (114 loc) · 8.28 KB

File metadata and controls

213 lines (114 loc) · 8.28 KB

LoyaltyProgramBalance

Properties

Name Type Description Notes
CurrentBalance Pointer to float32 Sum of currently active points.
PendingBalance Pointer to float32 Sum of pending points.
NegativeBalance Pointer to float32 Sum of negative points. This implies that `currentBalance` is `0`. [optional]
ExpiredBalance Pointer to float32 DEPRECATED Value is shown as 0.
SpentBalance Pointer to float32 DEPRECATED Value is shown as 0.
TentativeCurrentBalance Pointer to float32 The tentative points balance, reflecting the `currentBalance` and all point additions and deductions within the current open customer session. When the session is closed, the effects are applied and the `currentBalance` is updated to this value. Note: Tentative balances are specific to the current session and do not take into account other open sessions for the given customer.
TentativePendingBalance Pointer to float32 The tentative points balance, reflecting the `pendingBalance` and all point additions with a future activation date within the current open customer session. When the session is closed, the effects are applied and the `pendingBalance` is updated to this value. Note: Tentative balances are specific to the current session and do not take into account other open sessions for the given customer. [optional]
TentativeNegativeBalance Pointer to float32 The tentative negative balance after all additions and deductions from the current customer session are applied to `negativeBalance`. When the session is closed, the tentative effects are applied and `negativeBalance` is updated to this value. Note: Tentative balances are specific to the current session and do not take into account other open sessions for the given customer. [optional]

Methods

NewLoyaltyProgramBalance

func NewLoyaltyProgramBalance(currentBalance float32, pendingBalance float32, expiredBalance float32, spentBalance float32, tentativeCurrentBalance float32, ) *LoyaltyProgramBalance

NewLoyaltyProgramBalance instantiates a new LoyaltyProgramBalance object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

NewLoyaltyProgramBalanceWithDefaults

func NewLoyaltyProgramBalanceWithDefaults() *LoyaltyProgramBalance

NewLoyaltyProgramBalanceWithDefaults instantiates a new LoyaltyProgramBalance object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

GetCurrentBalance

func (o *LoyaltyProgramBalance) GetCurrentBalance() float32

GetCurrentBalance returns the CurrentBalance field if non-nil, zero value otherwise.

GetCurrentBalanceOk

func (o *LoyaltyProgramBalance) GetCurrentBalanceOk() (*float32, bool)

GetCurrentBalanceOk returns a tuple with the CurrentBalance field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetCurrentBalance

func (o *LoyaltyProgramBalance) SetCurrentBalance(v float32)

SetCurrentBalance sets CurrentBalance field to given value.

GetPendingBalance

func (o *LoyaltyProgramBalance) GetPendingBalance() float32

GetPendingBalance returns the PendingBalance field if non-nil, zero value otherwise.

GetPendingBalanceOk

func (o *LoyaltyProgramBalance) GetPendingBalanceOk() (*float32, bool)

GetPendingBalanceOk returns a tuple with the PendingBalance field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetPendingBalance

func (o *LoyaltyProgramBalance) SetPendingBalance(v float32)

SetPendingBalance sets PendingBalance field to given value.

GetNegativeBalance

func (o *LoyaltyProgramBalance) GetNegativeBalance() float32

GetNegativeBalance returns the NegativeBalance field if non-nil, zero value otherwise.

GetNegativeBalanceOk

func (o *LoyaltyProgramBalance) GetNegativeBalanceOk() (*float32, bool)

GetNegativeBalanceOk returns a tuple with the NegativeBalance field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetNegativeBalance

func (o *LoyaltyProgramBalance) SetNegativeBalance(v float32)

SetNegativeBalance sets NegativeBalance field to given value.

HasNegativeBalance

func (o *LoyaltyProgramBalance) HasNegativeBalance() bool

HasNegativeBalance returns a boolean if a field has been set.

GetExpiredBalance

func (o *LoyaltyProgramBalance) GetExpiredBalance() float32

GetExpiredBalance returns the ExpiredBalance field if non-nil, zero value otherwise.

GetExpiredBalanceOk

func (o *LoyaltyProgramBalance) GetExpiredBalanceOk() (*float32, bool)

GetExpiredBalanceOk returns a tuple with the ExpiredBalance field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetExpiredBalance

func (o *LoyaltyProgramBalance) SetExpiredBalance(v float32)

SetExpiredBalance sets ExpiredBalance field to given value.

GetSpentBalance

func (o *LoyaltyProgramBalance) GetSpentBalance() float32

GetSpentBalance returns the SpentBalance field if non-nil, zero value otherwise.

GetSpentBalanceOk

func (o *LoyaltyProgramBalance) GetSpentBalanceOk() (*float32, bool)

GetSpentBalanceOk returns a tuple with the SpentBalance field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetSpentBalance

func (o *LoyaltyProgramBalance) SetSpentBalance(v float32)

SetSpentBalance sets SpentBalance field to given value.

GetTentativeCurrentBalance

func (o *LoyaltyProgramBalance) GetTentativeCurrentBalance() float32

GetTentativeCurrentBalance returns the TentativeCurrentBalance field if non-nil, zero value otherwise.

GetTentativeCurrentBalanceOk

func (o *LoyaltyProgramBalance) GetTentativeCurrentBalanceOk() (*float32, bool)

GetTentativeCurrentBalanceOk returns a tuple with the TentativeCurrentBalance field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetTentativeCurrentBalance

func (o *LoyaltyProgramBalance) SetTentativeCurrentBalance(v float32)

SetTentativeCurrentBalance sets TentativeCurrentBalance field to given value.

GetTentativePendingBalance

func (o *LoyaltyProgramBalance) GetTentativePendingBalance() float32

GetTentativePendingBalance returns the TentativePendingBalance field if non-nil, zero value otherwise.

GetTentativePendingBalanceOk

func (o *LoyaltyProgramBalance) GetTentativePendingBalanceOk() (*float32, bool)

GetTentativePendingBalanceOk returns a tuple with the TentativePendingBalance field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetTentativePendingBalance

func (o *LoyaltyProgramBalance) SetTentativePendingBalance(v float32)

SetTentativePendingBalance sets TentativePendingBalance field to given value.

HasTentativePendingBalance

func (o *LoyaltyProgramBalance) HasTentativePendingBalance() bool

HasTentativePendingBalance returns a boolean if a field has been set.

GetTentativeNegativeBalance

func (o *LoyaltyProgramBalance) GetTentativeNegativeBalance() float32

GetTentativeNegativeBalance returns the TentativeNegativeBalance field if non-nil, zero value otherwise.

GetTentativeNegativeBalanceOk

func (o *LoyaltyProgramBalance) GetTentativeNegativeBalanceOk() (*float32, bool)

GetTentativeNegativeBalanceOk returns a tuple with the TentativeNegativeBalance field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetTentativeNegativeBalance

func (o *LoyaltyProgramBalance) SetTentativeNegativeBalance(v float32)

SetTentativeNegativeBalance sets TentativeNegativeBalance field to given value.

HasTentativeNegativeBalance

func (o *LoyaltyProgramBalance) HasTentativeNegativeBalance() bool

HasTentativeNegativeBalance returns a boolean if a field has been set.

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