Метод | Описание | |
---|---|---|
__construct ( null $name = null, null $code = null, null $quantity = null, null $info = null, null $price = null, null $version = null, null $vat = null, null $priceType = null ) | If you set vat value, the price should calculate without vat | |
getCode ( ) : string | ||
getInfo ( ) : string | ||
getName ( ) : string | ||
getPrice ( ) : float | ||
getPriceType ( ) : string | ||
getQuantity ( ) : integer | ||
getVat ( ) : integer | Gets the value of vat. | |
getVersion ( ) : string | ||
setCode ( string $code ) | ||
setInfo ( string $info ) | ||
setName ( string $name ) | ||
setPrice ( float $price ) | ||
setPriceType ( string $priceType ) | ||
setQuantity ( integer $quantity ) | ||
setVat ( integer $vat ) : self | Sets the value of vat. | |
setVersion ( string $version ) |