src/Resource/Transfers.php
public function setTransfersToBankAccount($amount, $bankAccountId)
    {
        $this->data->amount = $amount;
        $this->data->transferInstrument->method = self::METHOD;
        $this->data->transferInstrument->bankAccount->id = $bankAccountId;

        return $this;
    }
public function setTransfersToBankAccount($amount, $bankAccountId)
    {
        $this->data->amount = $amount;
        $this->data->transferInstrument->method = self::METHOD;
        $this->data->transferInstrument->bankAccount->id = $bankAccountId;

        return $this;
    }
public function setTransfersToBankAccount ( $ amount , $ bankAccountId ) { $ this -> data -> amount = $ amount ; $ this -> data -> transferInstrument -> method = self :: METHOD ; $ this -> data -> transferInstrument -> bankAccount -> id = $ bankAccountId ; return $ this ; }
Set info of transfers to a saved bank account.

@param int    $amount        Amount
@param string $bankAccountId Saved bank account id.

@return $this
Set info of transfers to a saved bank account .