You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
928 B
PHTML
35 lines
928 B
PHTML
7 years ago
|
<?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);
|
||
|
}
|
||
|
}
|