Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Orders Namespace / Order Class / GetBalance Method / GetBalance(Boolean) Method
Indicates whether to include pending payments in the balance.
Version
GetBalance(Boolean) Method
Gets the remaining balance for this order.
Syntax
public virtual decimal GetBalance( 
   bool includePendingPayments
)

Parameters

includePendingPayments
Indicates whether to include pending payments in the balance.

Return Value

The remaining balance for the order.
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