Skip to content

Latest commit

 

History

History
37 lines (30 loc) · 2.17 KB

LoyaltySubLedger.md

File metadata and controls

37 lines (30 loc) · 2.17 KB

TalonOne::LoyaltySubLedger

Properties

Name Type Description Notes
total Float DEPRECATED Use `totalActivePoints` property instead. Total amount of currently active and available points in the customer's balance.
total_active_points Float Total amount of currently active and available points in the customer's balance.
total_pending_points Float Total amount of pending points, which are not active yet but will become active in the future.
total_spent_points Float Total amount of points already spent by this customer.
total_expired_points Float Total amount of points, that expired without ever being spent.
transactions Array<LoyaltyLedgerEntry> List of all events that have happened such as additions, subtractions and expiries. [optional]
expiring_points Array<LoyaltyLedgerEntry> List of all points that will expire. [optional]
active_points Array<LoyaltyLedgerEntry> List of all currently active points. [optional]
pending_points Array<LoyaltyLedgerEntry> List of all points pending activation. [optional]
expired_points Array<LoyaltyLedgerEntry> List of expired points. [optional]
current_tier Tier [optional]

Code Sample

require 'TalonOne'

instance = TalonOne::LoyaltySubLedger.new(total: null,
                                 total_active_points: null,
                                 total_pending_points: null,
                                 total_spent_points: null,
                                 total_expired_points: null,
                                 transactions: null,
                                 expiring_points: null,
                                 active_points: null,
                                 pending_points: null,
                                 expired_points: null,
                                 current_tier: null)