src/Resource/Transfers.php
public function setTransfers(
        $amount,
        $bankNumber,
        $agencyNumber,
        $agencyCheckNumber,
        $accountNumber,
        $accountCheckNumber
    ) {
        $this->data->amount = $amount;
        $this->data->transferInstrument->method = self::METHOD;
        $this->data->transferInstrument->bankAccount->type = self::TYPE;
        $this->data->transferInstrument->bankAccount->bankNumber = $bankNumber;
        $this->data->transferInstrument->bankAccount->agencyNumber = $agencyNumber;
        $this->data->transferInstrument->bankAccount->agencyCheckNumber = $agencyCheckNumber;
        $this->data->transferInstrument->bankAccount->accountNumber = $accountNumber;
        $this->data->transferInstrument->bankAccount->accountCheckNumber = $accountCheckNumber;

        return $this;
    }
public function setTransfers(
        $amount,
        $bankNumber,
        $agencyNumber,
        $agencyCheckNumber,
        $accountNumber,
        $accountCheckNumber
    ) {
        $this->data->amount = $amount;
        $this->data->transferInstrument->method = self::METHOD;
        $this->data->transferInstrument->bankAccount->type = self::TYPE;
        $this->data->transferInstrument->bankAccount->bankNumber = $bankNumber;
        $this->data->transferInstrument->bankAccount->agencyNumber = $agencyNumber;
        $this->data->transferInstrument->bankAccount->agencyCheckNumber = $agencyCheckNumber;
        $this->data->transferInstrument->bankAccount->accountNumber = $accountNumber;
        $this->data->transferInstrument->bankAccount->accountCheckNumber = $accountCheckNumber;

        return $this;
    }
public function setTransfers ( $ amount , $ bankNumber , $ agencyNumber , $ agencyCheckNumber , $ accountNumber , $ accountCheckNumber ) { $ this -> data -> amount = $ amount ; $ this -> data -> transferInstrument -> method = self :: METHOD ; $ this -> data -> transferInstrument -> bankAccount -> type = self :: TYPE ; $ this -> data -> transferInstrument -> bankAccount -> bankNumber = $ bankNumber ; $ this -> data -> transferInstrument -> bankAccount -> agencyNumber = $ agencyNumber ; $ this -> data -> transferInstrument -> bankAccount -> agencyCheckNumber = $ agencyCheckNumber ; $ this -> data -> transferInstrument -> bankAccount -> accountNumber = $ accountNumber ; $ this -> data -> transferInstrument -> bankAccount -> accountCheckNumber = $ accountCheckNumber ; return $ this ; }
Set info of transfers.

@param int    $amount
@param string $bankNumber         Bank number. possible values: 001, 237, 341, 041.
@param int    $agencyNumber
@param int    $agencyCheckNumber
@param int    $accountNumber
@param int    $accountCheckNumber

@return $this
Set info of transfers .