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

        if ($retrieve_financial_info === true) {
            $this->setScope(self::RETRIEVE_FINANCIAL_INFO);
        }

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

        if ($retrieve_financial_info === true) {
            $this->setScope(self::RETRIEVE_FINANCIAL_INFO);
        }

        return $this;
    }
public function setRetrieveFinancialInfo ( $ retrieve_financial_info ) { if ( ! is_bool ( $ retrieve_financial_info ) ) { throw new InvalidArgumentException ( '$retrieve_financial_info deve ser boolean, foi passado ' . gettype ( $ retrieve_financial_info ) ) ; } if ( $ retrieve_financial_info === true ) { $ this -> setScope ( self :: RETRIEVE_FINANCIAL_INFO ) ; } return $ this ; }
Permission to query balance through the ACCOUNTS endpoint.

@param bool $retrieve_financial_info

@throws \Moip\Exceptions\InvalidArgumentException

@return \Moip\Auth\Connect $this
Permission to query balance through the ACCOUNTS endpoint .