public function setAmount($amount)
    {
        $effects = $this->unserializeEffects($this->getSerializedEffects());
        $effects['amount'] = \floatval($amount);
        $this->setEffects($effects);

        return $this;
    }
public function setAmount($amount)
    {
        $effects = $this->unserializeEffects($this->getSerializedEffects());
        $effects['amount'] = \floatval($amount);
        $this->setEffects($effects);

        return $this;
    }
public function setAmount ( $ amount ) { $ effects = $ this -> unserializeEffects ( $ this -> getSerializedEffects ( ) ) ; $ effects [ 'amount' ] = \ floatval ( $ amount ) ; $ this -> setEffects ( $ effects ) ; return $ this ; }
Set Coupon amount

@param float $amount Amount deduced from the Cart

@return $this
Set Coupon amount