2017 © Pedro Peláez
 

package uhack_api

image

gpetrache-at-ca/uhack_api

  • Sunday, July 16, 2017
  • by gpetrache-at-ca
  • Repository
  • 1 Watchers
  • 0 Stars
  • 6 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

uhack_api

Sample Usage, (*1)

<?php

require_once './vendor/autoload.php';

$info_api = new UnionBank\Api\Info();

$info_api->getAtms();
$info_api->getBranches();

$consumer_api = new UnionBank\Api\Consumer();

$term = 72;
$price = 500000;
$dp = 10;

$consumer_api->computeAutoLoan($term, $price, $dp);
$consumer_api->computeHousingLoan($term, $price, $dp);

$financial_api = new UnionBank\Api\Financial();

$account1 = $financial_api->createTestAccount("Mark Macaso");
$account2 = $financial_api->createTestAccount("Leonel Tomes");
$account3 = $financial_api->createTestAccount('Giovanni Petrache');

$financial_api->fundsTransfer('001', $account1->account_no, "PHP", $account2->account_no, "PHP", 50000);

$account_info = $financial_api->getAccountInfo($account1->account_no);

The Versions

16/07 2017

dev-master

9999999-dev

  Sources   Download

by Giovanni Petrache