[Extension()] public static decimal Total( IList<Payment> items, bool includePending )
Parameters
- items
- List of Payment entities.
- includePending
- If true pending payments are also included in calculation
Return Value
The total of all payments in this collection.