Skip to content

Commit

Permalink
Banka sınıfları için NAME isminde bir sabit eklendi.
Browse files Browse the repository at this point in the history
  • Loading branch information
mewebstudio committed Sep 27, 2019
1 parent 99286b4 commit f4b316c
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/EstPos.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@ class EstPos implements PosInterface
{
use PosHelpersTrait;

/**
* @const string
*/
public const NAME = 'EstPos';

/**
* API URL
*
Expand Down
5 changes: 5 additions & 0 deletions src/GarantiPos.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@ class GarantiPos implements PosInterface
{
use PosHelpersTrait;

/**
* @const string
*/
public const NAME = 'GarantiPos';

/**
* API URL
*
Expand Down
14 changes: 14 additions & 0 deletions src/PosHelpersTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,20 @@
*/
trait PosHelpersTrait
{
/**
* API URL
*
* @var string
*/
public $url;

/**
* 3D Pay Gateway URL
*
* @var string
*/
public $gateway;

/**
* Create XML DOM Document
*
Expand Down
5 changes: 5 additions & 0 deletions src/PosNet.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@ class PosNet implements PosInterface
{
use PosHelpersTrait;

/**
* @const string
*/
public const NAME = 'PosNet';

/**
* API URL
*
Expand Down

0 comments on commit f4b316c

Please sign in to comment.