Elcodi\Plugin\CustomShippingBundle\Entity\ShippingRange::setPrice PHP Method

setPrice() public method

Set price
public setPrice ( Elcodi\Component\Currency\Entity\Interfaces\MoneyInterface $amount )
$amount Elcodi\Component\Currency\Entity\Interfaces\MoneyInterface Price
    public function setPrice(MoneyInterface $amount)
    {
        $this->priceAmount = $amount->getAmount();
        $this->priceCurrency = $amount->getCurrency();
        return $this;
    }