Udostępnij za pośrednictwem


TaxTotal Property

For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.

Gets or sets the total tax associated with the current OrderForm instance.

Namespace:  Microsoft.CommerceServer.Runtime.Orders
Assembly:  Microsoft.CommerceServer.Runtime (in Microsoft.CommerceServer.Runtime.dll)

Syntax

'Declaration
Public Property TaxTotal As Decimal
'Usage
Dim instance As OrderForm
Dim value As Decimal

value = instance.TaxTotal

instance.TaxTotal = value
public decimal TaxTotal { get; set; }
public:
property Decimal TaxTotal {
    Decimal get ();
    void set (Decimal value);
}
public function get TaxTotal () : decimal
public function set TaxTotal (value : decimal)

Property Value

Type: System..::.Decimal
The total tax associated with the current OrderForm instance.

Exceptions

Exception Condition
ArgumentException

TaxTotal is set to a negative value.

Remarks

Stores the total tax associated with the current OrderForm instance. TaxTotal is calculated during execution of the pipeline. If you add line items and access TaxTotal without executing a pipeline, TaxTotal will still be set to the initial value.

Permissions

See Also

Reference

OrderForm Class

OrderForm Members

Microsoft.CommerceServer.Runtime.Orders Namespace