Skip to content
This repository has been archived by the owner on Sep 8, 2020. It is now read-only.

Commit

Permalink
Included the item agencyNumber referring to BRANCHID node in the meth…
Browse files Browse the repository at this point in the history
…od buildBankAccount
  • Loading branch information
Ricardo Vicente committed Jan 10, 2015
1 parent 3e31a92 commit ca84ac7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/OfxParser/Ofx.php
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ private function buildBankAccount($xml)
{
$Bank = new BankAccount();
$Bank->transactionUid = $xml->TRNUID;
$Bank->agencyNumber = $xml->STMTRS->BANKACCTFROM->BRANCHID;
$Bank->accountNumber = $xml->STMTRS->BANKACCTFROM->ACCTID;
$Bank->routingNumber = $xml->STMTRS->BANKACCTFROM->BANKID;
$Bank->accountType = $xml->STMTRS->BANKACCTFROM->ACCTTYPE;
Expand Down

0 comments on commit ca84ac7

Please sign in to comment.