Dwolla\Account::enableAutoWithdrawal PHP Method

enableAutoWithdrawal() public method

Enables auto-withdrawal status of the account associated with the current OAuth token under the specified funding ID.
public enableAutoWithdrawal ( string $fundingId, string $alternate_token = false ) : string
$fundingId string Funding ID of target account.
$alternate_token string OAuth token value to be used instead of the current setting in the Settings class.
return string Either "Enabled" or "Disabled"
    public function enableAutoWithdrawal($fundingId, $alternate_token = false)
    {
        return self::toggleAutoWithdrawalStatus(true, $fundingId, $alternate_token);
    }