Skip to content

Commit

Permalink
Update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
shalvah committed Jan 28, 2017
1 parent 419e1f2 commit 176ae1c
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,15 @@ $tran = new WalletToAccountTransaction($mw);
//set details
$tran->amount = 25000;
$tran->bankcode = Bank::STERLING;
$tran->bankcode = Bank::$STERLING;
$tran->accountNumber = "000056050";
$tran->senderName = "Johnson";
$tran->ref = 40;
//or you could do this in a batch
$tran->setDetails(array(
"lock" => "hgot6574kik",
"amount" => 25000,
"bankcode" => Bank::STERLING,
"bankcode" => Bank::$STERLING,
"accountNumber" => "000056050",
"senderName" => "Johnson",
"ref" => 40
Expand All @@ -44,7 +43,7 @@ print_r($tran->getStatus();
}
//you can access the complete response
print_r($trans->getResponse());
print_r($tran->getResponse());
//check your wallet balance
$bal=new GetWalletBalance($mw);
Expand Down

0 comments on commit 176ae1c

Please sign in to comment.