public function setAmount(MoneyInterface $amount)
    {
        $this->amount = $amount->getAmount();
        $this->amountCurrency = $amount->getCurrency();

        return $this;
    }
public function setAmount(MoneyInterface $amount)
    {
        $this->amount = $amount->getAmount();
        $this->amountCurrency = $amount->getCurrency();

        return $this;
    }
public function setAmount ( MoneyInterface $ amount ) { $ this -> amount = $ amount -> getAmount ( ) ; $ this -> amountCurrency = $ amount -> getCurrency ( ) ; return $ this ; }
Set amount.

@param MoneyInterface $amount Price

@return $this Self object
Set amount .