taxPrice.

@method taxPrice

@return float
963967
private function taxPrice()
    {
        if ($this->tax_type == 'percentage') {
            return bcdiv(bcmul($this->tax, $this->subTotalPrice(), $this->decimals), 100, $this->decimals);
        }

        return $this->tax;
    }
1322799
public function getTaxesAmount()
    {
        $taxesAmount = 0;

        /** @var \Argentum\Common\Tax $tax */
        foreach ($this->getTaxes() as $tax) {
            $taxesAmount += $tax->getAmount($tax->getBaseAmount());
        }

        return $taxesAmount;
    }
1325750
public function getUnitTotal()
    {
        $total = $this->UnitPrice + $this->UnitTax;

        $this->extend("updateUnitTotal", $total);

        return $total;
    }
1031949
public function getPrice()
    {
        if (is_null($this->_oPrice)) {
            /** @var \OxidEsales\Eshop\Core\Price $price */
            $price = oxNew(\OxidEsales\Eshop\Core\Price::class);
            $this->setPrice($price);
        }

        return $this->_oPrice;
    }
296958
protected function getTaxPercentAttribute()
    {
        $fTaxPercent = $this->getAttribute('tax_percent');
        if ($fTaxPercent === null) {
            $fTaxPercent = TaxHelper::instance()->getTaxPercent($this->tax_list);
            $this->setAttribute('tax_percent', $fTaxPercent);
        }

        return $fTaxPercent;
    }
1255594
public function getTotalCost()
    {
        $subtotal = $this->SubTotalCost;
        $discount = $this->DiscountAmount;
        $postage = $this->PostageCost;
        $tax = $this->TaxCost;

        return ($subtotal - $discount) + $postage + $tax;
    }
1347553
public function getPrice()
	{
		if( $this->_modified !== false )
		{
			$this->_price->setValue( '0.00' );
			$this->_price->setCosts( '0.00' );
			$this->_price->setRebate( '0.00' );
			$this->_price->setTaxRate( '0.00' );

			foreach( $this->getServices() as $service ) {
				$this->_price->addItem( $service->getPrice() );
			}

			foreach( $this->getProducts() as $product ) {
				$this->_price->addItem( $product->getPrice(), $product->getQuantity() );
			}
		}

		return $this->_price;
	}
488990
protected function getPriceWithoutTaxValueAttribute()
    {
        $fPrice = TaxHelper::instance()->getPriceWithoutTax($this->price_value, $this->tax_percent);

        return $fPrice;
    }
1145416
public function getFPrice()
    {
        $myConfig = \OxidEsales\Eshop\Core\Registry::getConfig();
        // 0002030 No need to return price if it disabled for better performance.
        if (!$myConfig->getConfigParam('bl_perfLoadPrice')) {
            return;
        }

        if ($this->_sFPrice) {
            return $this->_sFPrice;
        }

        $sFromPrefix = '';

        if (!$this->_isFixedPrice()) {
            $sFromPrefix = \OxidEsales\Eshop\Core\Registry::getLang()->translateString('PRICE_FROM') . ' ';
        }

        $dMinPrice = $this->getMinDPrice();
        $sFMinPrice = \OxidEsales\Eshop\Core\Registry::getLang()->formatCurrency($dMinPrice);
        $sCurrency = ' ' . \OxidEsales\Eshop\Core\Registry::getConfig()->getActShopCurrencyObject()->sign;
        $this->_sFPrice = $sFromPrefix . $sFMinPrice . $sCurrency;

        return $this->_sFPrice;
    }
507934
protected function getOldPriceWithTaxValueAttribute()
    {
        $fPrice = TaxHelper::instance()->getPriceWithTax($this->old_price_value, $this->tax_percent);

        return $fPrice;
    }
329444
protected function getDiscountPriceWithTaxValueAttribute()
    {
        $fPrice = TaxHelper::instance()->getPriceWithTax($this->discount_price_value, $this->tax_percent);

        return $fPrice;
    }
741970
public function discount()
    {
        return $this->formatAmount($this->invoice->subtotal + $this->invoice->tax - $this->invoice->total);
    }
438356
public function priceCalculator()
    {
        $return_price = 0;

        $price      = \floatval($this->getRequest()->query->get('price', 0));
        $product_id = \intval($this->getRequest()->query->get('product_id', 0));
        $action     = $this->getRequest()->query->get('action', ''); // With ot without tax
        $convert    = \intval($this->getRequest()->query->get('convert_from_default_currency', 0));

        if (null !== $product = ProductQuery::create()->findPk($product_id)) {
            if ($action == 'to_tax') {
                $return_price = $this->computePrice($price, 'without_tax', $product);
            } elseif ($action == 'from_tax') {
                $return_price = $this->computePrice($price, 'with_tax', $product);
            } else {
                $return_price = $price;
            }

            if ($convert != 0) {
                $return_price = $price * Currency::getDefaultCurrency()->getRate();
            }
        }

        return new JsonResponse(array('result' => $this->formatPrice($return_price)));
    }
422286
public function totalExcludingTax()
    {
        return (float) array_sum(
            array_map(function (CartItem $item) {
                return $item->getTotalPriceExcludingTax();
            }, $this->items)
        );
    }
925825
private function subTotalPrice()
    {
        return $this->items->sum(function ($item) {
            return bcmul($item['price'], $item['ammount'], $this->decimals);
        });
    }
230029
public function getActualValue()
    {
        $val = $this->value + ($this->tax_included ? 0 : $this->tax_value);
        return (float) $val;
    }
122936
public function getTaxRate()
    {
        $rate = 0;
        $obj = $this->getTaxFromCategory();

        if ($obj) {
            $rate = $obj->Rate;
        }

        $this->extend("updateTaxRate", $rate);

        return $rate;
    }