Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 15 additions & 5 deletions class/paycomet_bankstore.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,22 @@ class Paycomet_Bankstore
private $endpointurl;
private $jetid;

public function __construct($arg1, $arg2, $arg3, $arg4 = NULL)
/**
* Iniciar clase Payment_Bankstore
*
* @param string $merchantCode Código de cliente
* @param int $terminal Número de Terminal
* @param string $password Contraseña
* @param string $jetid JET ID
*
* @return self
*/
public function __construct($merchantCode, $terminal, $password, $jetid = null)
{
$this->merchantCode = $arg1;
$this->terminal = $arg2;
$this->password = $arg3;
$this->jetid = $arg4;
$this->merchantCode = $merchantCode;
$this->terminal = $terminal;
$this->password = $password;
$this->jetid = $jetid;
$this->endpoint = 'https://api.paycomet.com/gateway/xml-bankstore?wsdl';
$this->endpointurl = 'https://api.paycomet.com/gateway/ifr-bankstore?';
}
Expand Down