src/PortaText/Command/Api/Settings.php
public function enableAutoRecharges($whenCredit, $total)
    {
        $this->setArgument("autorecharge_enabled", true);
        $this->setArgument("autorecharge_total", $total);
        return $this->setArgument("autorecharge_when_credit", $whenCredit);
    }
public function enableAutoRecharges($whenCredit, $total)
    {
        $this->setArgument("autorecharge_enabled", true);
        $this->setArgument("autorecharge_total", $total);
        return $this->setArgument("autorecharge_when_credit", $whenCredit);
    }
public function enableAutoRecharges ( $ whenCredit , $ total ) { $ this -> setArgument ( "autorecharge_enabled" , true ) ; $ this -> setArgument ( "autorecharge_total" , $ total ) ; return $ this -> setArgument ( "autorecharge_when_credit" , $ whenCredit ) ; }
Enables auto recharges.

@param integer $whenCredit Autorecharge when credit reaches this amount.
@param float $total Total credits to autorecharge.

@return PortaText\Command\ICommand
Enables auto recharges .