src/Auth/Connect.php
public function setReceiveFunds($receive_funds)
    {
        if (!is_bool($receive_funds)) {
            throw new InvalidArgumentException('$receive_funds deve ser boolean, foi passado '.gettype($receive_funds));
        }

        if ($receive_funds === true) {
            $this->setScope(self::RECEIVE_FUNDS);
        }

        return $this;
    }
public function setReceiveFunds($receive_funds)
    {
        if (!is_bool($receive_funds)) {
            throw new InvalidArgumentException('$receive_funds deve ser boolean, foi passado '.gettype($receive_funds));
        }

        if ($receive_funds === true) {
            $this->setScope(self::RECEIVE_FUNDS);
        }

        return $this;
    }
public function setReceiveFunds ( $ receive_funds ) { if ( ! is_bool ( $ receive_funds ) ) { throw new InvalidArgumentException ( '$receive_funds deve ser boolean, foi passado ' . gettype ( $ receive_funds ) ) ; } if ( $ receive_funds === true ) { $ this -> setScope ( self :: RECEIVE_FUNDS ) ; } return $ this ; }
Permission for creation and consultation of ORDERS, PAYMENTS, MULTI ORDERS, MULTI PAYMENTS, CUSTOMERS and consultation of LAUNCHES.

@param bool $receive_funds

@throws \Moip\Exceptions\InvalidArgumentException

@return \Moip\Auth\Connect $this
Permission for creation and consultation of ORDERS PAYMENTS MULTI ORDERS MULTI PAYMENTS CUSTOMERS and consultation of LAUNCHES .