Skip to content

Latest commit

 

History

History
37 lines (28 loc) · 2.74 KB

File metadata and controls

37 lines (28 loc) · 2.74 KB

LoyaltyProgramBalance

The balance in a Loyalty Program for some Customer.

Properties

Name Type Description Notes
current_balance float Sum of currently active points.
pending_balance float Sum of pending points.
negative_balance float Sum of negative points. This implies that `currentBalance` is `0`. [optional]
expired_balance float DEPRECATED Value is shown as 0.
spent_balance float DEPRECATED Value is shown as 0.
tentative_current_balance float 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.
tentative_pending_balance float 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]
tentative_negative_balance float 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]

Example

from talon_one.models.loyalty_program_balance import LoyaltyProgramBalance

# TODO update the JSON string below
json = "{}"
# create an instance of LoyaltyProgramBalance from a JSON string
loyalty_program_balance_instance = LoyaltyProgramBalance.from_json(json)
# print the JSON string representation of the object
print(LoyaltyProgramBalance.to_json())

# convert the object into a dict
loyalty_program_balance_dict = loyalty_program_balance_instance.to_dict()
# create an instance of LoyaltyProgramBalance from a dict
loyalty_program_balance_from_dict = LoyaltyProgramBalance.from_dict(loyalty_program_balance_dict)

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