PriceableTrait.php
public function getTaxesAmounts()
    {
        $amounts = new TaxesAmounts();
        $amounts->addTaxAmount(new TaxAmount($this->tax, $this->getTaxAmount()));
        return $amounts;
    }
public function getTaxesAmounts()
    {
        $amounts = new TaxesAmounts();
        $amounts->addTaxAmount(new TaxAmount($this->tax, $this->getTaxAmount()));
        return $amounts;
    }
public function getTaxesAmounts ( ) { $ amounts = new TaxesAmounts ( ) ; $ amounts -> addTaxAmount ( new TaxAmount ( $ this -> tax , $ this -> getTaxAmount ( ) ) ) ; return $ amounts ; }
Returns the taxes amounts.

@return TaxesAmounts
Returns the taxes amounts .