Skip to content

Latest commit

 

History

History
19 lines (12 loc) · 691 Bytes

LoyaltyLedger.md

File metadata and controls

19 lines (12 loc) · 691 Bytes

TalonOne::LoyaltyLedger

Properties

Name Type Description Notes
ledger LoyaltySubLedger
sub_ledgers Hash<String, LoyaltySubLedger> A map containing a list of all loyalty subledger balances. [optional]

Code Sample

require 'TalonOne'

instance = TalonOne::LoyaltyLedger.new(ledger: null,
                                 sub_ledgers: {&quot;mysubledger&quot;:{&quot;total&quot;:0,&quot;totalActivePoints&quot;:286,&quot;totalPendingPoints&quot;:50,&quot;totalSpentPoints&quot;:150,&quot;totalExpiredPoints&quot;:25}})