Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Orders Namespace / OrderTotalsSummary Class / AddPayment Method
The amount of payment to add
If true payment is considered processed, otherwise payment is considered unprocessed.
In This Topic
    AddPayment Method
    In This Topic
    Adds a payment of given amount to this total summary and recalculates.
    Syntax
    public void AddPayment( 
       decimal amount,
       bool processed
    )

    Parameters

    amount
    The amount of payment to add
    processed
    If true payment is considered processed, otherwise payment is considered unprocessed.
    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