Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Payments Namespace / PaymentCollection Class / Total Method / Total(IList<Payment>,Boolean) Method
List of Payment entities.
If true pending payments are also included in calculation
In This Topic
    Total(IList<Payment>,Boolean) Method
    In This Topic
    Get the total of all payments in this collection
    Syntax

    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.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also