Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Reporting Namespace / ReportDataSource Class / CalculatePurchaseHistoryTotals Method
List of PurchaseSummary items returned by Commercebuilder.Reporting.ReportDataSource.GetUserPurchaseHistory method.
In This Topic
    CalculatePurchaseHistoryTotals Method
    In This Topic
    Calculates the different purchase totals against user's purchase history data.
    Syntax
    public static PurchaseTotalSummary CalculatePurchaseHistoryTotals( 
       IList<PurchaseSummary> purchaseSummaries
    )

    Parameters

    purchaseSummaries
    List of PurchaseSummary items returned by Commercebuilder.Reporting.ReportDataSource.GetUserPurchaseHistory method.

    Return Value

    Returns summary of totlas for user's purchase history
    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