GetBases Method
Get the bases for tax calculations
Namespace: Microsoft.Dynamics.Commerce.Runtime.Services
Assembly: Microsoft.Dynamics.Commerce.Runtime.Services (in Microsoft.Dynamics.Commerce.Runtime.Services.dll)
Syntax
'Declaration
Protected Overridable Sub GetBases ( _
codes As ReadOnlyCollection(Of TaxCode), _
taxInStoreCurrency As Boolean, _
calculateBasePrice As Boolean, _
<OutAttribute> ByRef calculationBase As Decimal, _
<OutAttribute> ByRef limitBase As Decimal _
)
'Usage
Dim codes As ReadOnlyCollection(Of TaxCode)
Dim taxInStoreCurrency As Boolean
Dim calculateBasePrice As Boolean
Dim calculationBase As Decimal
Dim limitBase As Decimal
Me.GetBases(codes, taxInStoreCurrency, _
calculateBasePrice, calculationBase, _
limitBase)
protected virtual void GetBases(
ReadOnlyCollection<TaxCode> codes,
bool taxInStoreCurrency,
bool calculateBasePrice,
out decimal calculationBase,
out decimal limitBase
)
protected:
virtual void GetBases(
ReadOnlyCollection<TaxCode^>^ codes,
bool taxInStoreCurrency,
bool calculateBasePrice,
[OutAttribute] Decimal% calculationBase,
[OutAttribute] Decimal% limitBase
)
Parameters
- codes
Type: System.Collections.ObjectModel.ReadOnlyCollection<TaxCode>
- taxInStoreCurrency
Type: System.Boolean
- calculateBasePrice
Type: System.Boolean
- calculationBase
Type: System.Decimal
- limitBase
Type: System.Decimal