protected function populate(stdClass $response)
    {
        $bank_account = clone $this;
        $bank_account->data->id = $this->getIfSet('id', $response);
        $bank_account->data->agencyNumber = $this->getIfSet('agencyNumber', $response);
        $bank_account->data->accountNumber = $this->getIfSet('accountNumber', $response);
        $bank_account->data->status = $this->getIfSet('status', $response);
        $bank_account->data->accountCheckNumber = $this->getIfSet('accountCheckNumber', $response);
        $bank_account->data->bankName = $this->getIfSet('bankName', $response);
        $bank_account->data->type = $this->getIfSet('type', $response);
        $bank_account->data->agencyCheckNumber = $this->getIfSet('agencyCheckNumber', $response);
        $bank_account->data->bankNumber = $this->getIfSet('bankNumber', $response);

        $holder = $this->getIfSet('holder', $response);
        $bank_account->data->holder = new stdClass();
        $bank_account->data->holder->fullname = $this->getIfSet('fullname', $holder);

        $tax_document = $this->getIfSet('taxDocument', $holder);
        $bank_account->data->holder->taxDocument = new stdClass();
        $bank_account->data->holder->taxDocument->number = $this->getIfSet('number', $tax_document);
        $bank_account->data->holder->taxDocument->type = $this->getIfSet('type', $tax_document);

        $bank_account->data->_links = $this->getIfSet('_links', $response);
        $bank_account->data->createdAt = $this->getIfSet('createdAt', $response);

        return $bank_account;
    }