public function setAmount(\Elcodi\Component\Currency\Entity\Interfaces\MoneyInterface $amount)
    {
        $this->amount = $amount->getAmount();
        $this->currency = $amount->getCurrency();

        return $this;
    }
public function setAmount(\Elcodi\Component\Currency\Entity\Interfaces\MoneyInterface $amount)
    {
        $this->amount = $amount->getAmount();
        $this->currency = $amount->getCurrency();

        return $this;
    }
public function setAmount ( \ Elcodi \ Component \ Currency \ Entity \ Interfaces \ MoneyInterface $ amount ) { $ this -> amount = $ amount -> getAmount ( ) ; $ this -> currency = $ amount -> getCurrency ( ) ; return $ this ; }
Sets the total amount with tax.

@param \Elcodi\Component\Currency\Entity\Interfaces\MoneyInterface $amount amount without tax

@return $this Self object
Sets the total amount with tax .