-
Notifications
You must be signed in to change notification settings - Fork 67
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9240077
commit 168139f
Showing
104 changed files
with
5,073 additions
and
371 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
<xml> | ||
<releaseNumber>12.0.9</releaseNumber> | ||
<releaseNumber>13.0.0</releaseNumber> | ||
</xml> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<?php | ||
|
||
namespace GlobalPayments\Api\Entities\Enums; | ||
|
||
use GlobalPayments\Api\Entities\Enum; | ||
|
||
class ExtraChargeType extends Enum | ||
{ | ||
const RESTAURANT = 1; | ||
const GIFT_SHOP = 2; | ||
const MINI_BAR = 3; | ||
const TELEPHONE = 4; | ||
const LAUNDRY = 5; | ||
const OTHER = 10; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<?php | ||
|
||
namespace GlobalPayments\Api\Entities\Exceptions; | ||
|
||
class MessageException extends ApiException | ||
{ | ||
/** | ||
* A message to/from the device caused an error. | ||
* | ||
* @param string $message The exception message to throw. | ||
* @param \Exception|null $innerException The previous exception used for the exception chaining. | ||
*/ | ||
public function __construct(string $message, \Exception $innerException = null) | ||
{ | ||
parent::__construct($message, $innerException); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<?php | ||
|
||
namespace GlobalPayments\Api\Entities\Reporting; | ||
|
||
final class TransactionList | ||
{ | ||
private array $list; | ||
|
||
public function __construct(TransactionSummary ...$transaction) | ||
{ | ||
$this->list = $transaction; | ||
} | ||
|
||
public function add(TransactionSummary $transactionSummary) : void | ||
{ | ||
$this->list[] = $transactionSummary; | ||
} | ||
|
||
public function all() : array | ||
{ | ||
return $this->list; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<?php | ||
|
||
namespace GlobalPayments\Api\Terminals\Abstractions; | ||
|
||
interface IDeviceScreen extends IDeviceResponse | ||
{ | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,5 @@ | |
|
||
interface IRequestSubGroup | ||
{ | ||
|
||
|
||
public function getElementString(); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<?php | ||
|
||
namespace GlobalPayments\Api\Terminals\Abstractions; | ||
|
||
interface ISAFResponse extends IDeviceResponse | ||
{ | ||
public function getApproved(); | ||
public function getPending(); | ||
public function getDeclined(); | ||
} |
Oops, something went wrong.