docs/LoyaltySubLedger.md in talon_one-2.1.1 vs docs/LoyaltySubLedger.md in talon_one-2.2.0
- old
+ new
@@ -2,20 +2,34 @@
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**total** | **Float** | |
-**transactions** | [**Array<LoyaltyLedgerEntry>**](LoyaltyLedgerEntry.md) | Transactions contains a list of all events that have happened such as additions, subtractions and expiries | [optional]
-**expiring_points** | [**Array<LoyaltyLedgerEntry>**](LoyaltyLedgerEntry.md) | ExpiringPoints contains a list of all points that will expiry and when | [optional]
+**total** | **Float** | ⚠️ Deprecated: Please 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>**](LoyaltyLedgerEntry.md) | List of all events that have happened such as additions, subtractions and expiries | [optional]
+**expiring_points** | [**Array<LoyaltyLedgerEntry>**](LoyaltyLedgerEntry.md) | List of all points that will expire | [optional]
+**active_points** | [**Array<LoyaltyLedgerEntry>**](LoyaltyLedgerEntry.md) | List of all currently active points | [optional]
+**pending_points** | [**Array<LoyaltyLedgerEntry>**](LoyaltyLedgerEntry.md) | List of all points pending activation | [optional]
+**expired_points** | [**Array<LoyaltyLedgerEntry>**](LoyaltyLedgerEntry.md) | List of expired points | [optional]
## Code Sample
```ruby
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)
+ expiring_points: null,
+ active_points: null,
+ pending_points: null,
+ expired_points: null)
```