Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
Sonata
InvoiceBundle
Entity
BaseInvoiceElement
getVatAmount
Sonata\InvoiceBundle\Entity\BaseInvoiceElement::getVatAmount PHP Method
BaseInvoiceElement Class Documentation
Show file
Open project: sonata-project/ecommerce
getVatAmount()
public
method
Returns VAT element amount.
public
getVatAmount
( ) :
float
return
float
public function getVatAmount() { return bcsub($this->getTotal(true), $this->getTotal(false)); }
BaseInvoiceElement
getDescription
getDesignation
getInvoice
getOrderElement
getPrice
getQuantity
getTotal
getUnitPrice
getUnitPriceExcl
getUnitPriceInc
getVatAmount
getVatRate
setDescription
setDesignation
setInvoice
setOrderElement
setPrice
setQuantity
setTotal
setUnitPriceExcl
setUnitPriceInc
setVatRate