1
0

Initial commit

This commit is contained in:
2017-02-19 10:37:21 +01:00
commit 64d7fa13d7
6 changed files with 550 additions and 0 deletions

34
src/Gateway.php Normal file
View File

@ -0,0 +1,34 @@
<?php
namespace Omnipay\Inforbank;
use Omnipay\Common\AbstractGateway;
class Gateway extends AbstractGateway {
public function getName() {
return 'Inforbank';
}
public function getDefaultParameters() {
return array();
}
/**
* Start a purchase request.
* @param array $parameters An array of options
* @return \Omnipay\Inforbank\Message\PurchaseRequest
*/
public function purchase(array $parameters = array())
{
return $this->createRequest('\Omnipay\Inforbank\Message\PurchaseRequest', $parameters);
}
/**
* Complete a purchase.
* @param array $parameters An array of options
* @return \Omnipay\Inforbank\Message\CompletePurchaseRequest
*/
public function completePurchase(array $parameters = array())
{
return $this->createRequest('\Omnipay\Inforbank\Message\CompletePurchaseRequest', $parameters);
}
}