Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Payments Namespace / PaymentCollection Class / Total Method / Total(IList<Payment>) Method
List of Payment entities.
In This Topic
    Total(IList<Payment>) Method
    In This Topic
    Get the total of all payments in this collection
    Syntax
    [Extension()]
    public static decimal Total( 
       IList<Payment> items
    )

    Parameters

    items
    List of Payment entities.

    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