WellCommerce\Bundle\OrderBundle\Entity\OrderTotal::setTaxRate PHP Method

setTaxRate() public method

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

Usage Example

コード例 #1
0
 /**
  * @return OrderTotal
  */
 public function create()
 {
     $orderTotal = new OrderTotal();
     $orderTotal->setGrossAmount(0);
     $orderTotal->setTaxRate(0);
     return $orderTotal;
 }
All Usage Examples Of WellCommerce\Bundle\OrderBundle\Entity\OrderTotal::setTaxRate