메소드 | 설명 | |
---|---|---|
getPrice ( boolean $vat = false ) : float | Returns price of the element (including quantity). | |
getQuantity ( ) : integer | Gets quantity. | |
getUnitPrice ( boolean $vat = false ) : float | Returns the unit price. | |
getVatRate ( ) : float | Gets VAT rate. | |
setPrice ( float $price ) | Sets price. | |
setQuantity ( integer $quantity ) | Sets quantity. | |
setVatRate ( float $vatRate ) | Sets VAT rate. |
public getUnitPrice ( boolean $vat = false ) : float | ||
$vat | boolean | |
리턴 | float |