Bitrix API

TaxCalculator

FinalYes

Table of Contents

Methods

__construct()  : mixed
calculate()  : TaxCalculator
getFinalPrice()  : float
getPriceBeforeTax()  : float
getTaxRate()  : float
getTaxValue()  : float
getVatId()  : int|null
getVatName()  : string|null
isTaxIncluded()  : bool

Methods

calculate()

public calculate(float $basePrice[, int|null $vatId = null ][, bool $vatIncluded = false ]) : TaxCalculator
Parameters
$basePrice : float
$vatId : int|null = null
$vatIncluded : bool = false
Return values
TaxCalculator

getFinalPrice()

public getFinalPrice() : float
Return values
float

getPriceBeforeTax()

public getPriceBeforeTax() : float
Return values
float

getTaxRate()

public getTaxRate() : float
Return values
float

getTaxValue()

public getTaxValue() : float
Return values
float

getVatId()

public getVatId() : int|null
Return values
int|null

getVatName()

public getVatName() : string|null
Return values
string|null

isTaxIncluded()

public isTaxIncluded() : bool
Return values
bool

        
On this page

Search results