WellCommerce\Bundle\AppBundle\Entity\Price::setTaxRate PHP Method

setTaxRate() public method

public setTaxRate ( float $taxRate )
$taxRate float
    public function setTaxRate(float $taxRate)
    {
        $this->taxRate = $taxRate;
    }

Usage Example

Ejemplo n.º 1
0
 public function create() : PriceInterface
 {
     $price = new Price();
     $price->setGrossAmount(0);
     $price->setNetAmount(0);
     $price->setTaxAmount(0);
     $price->setTaxRate(0);
     $price->setCurrency('');
     return $price;
 }
All Usage Examples Of WellCommerce\Bundle\AppBundle\Entity\Price::setTaxRate