-
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
MSmedal
authored and
MSmedal
committed
Oct 15, 2020
1 parent
f15c764
commit 56e09b4
Showing
132 changed files
with
10,873 additions
and
5,437 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,98 @@ | ||
<?php | ||
|
||
namespace GlobalPayments\Api; | ||
|
||
use GlobalPayments\Api\Entities\Enums\CardHolderAuthenticationEntity; | ||
use GlobalPayments\Api\Entities\Enums\CardDataInputCapability; | ||
use GlobalPayments\Api\Entities\Enums\CardDataOutputCapability; | ||
use GlobalPayments\Api\Entities\Enums\CardHolderAuthenticationCapability; | ||
use GlobalPayments\Api\Entities\Enums\OperatingEnvironment; | ||
use GlobalPayments\Api\Entities\Enums\PinCaptureCapability; | ||
use GlobalPayments\Api\Entities\Enums\TerminalOutputCapability; | ||
|
||
class AcceptorConfig | ||
{ | ||
|
||
/** | ||
* Used w/TransIT | ||
* | ||
* @var bool | ||
*/ | ||
public $cardCaptureCapability; | ||
|
||
/** | ||
* Used w/TransIT | ||
* | ||
* @var CardDataInputCapability | ||
*/ | ||
public $cardDataInputCapability; | ||
|
||
/** | ||
* Used w/TransIT | ||
* | ||
* @var CardDataOutputCapability | ||
*/ | ||
public $cardDataOutputCapability; | ||
|
||
/** | ||
* Used w/TransIT; corresponding tag will default to eComm or Manual if this isn't used | ||
* | ||
* @var CardDataSource | ||
*/ | ||
public $cardDataSource; | ||
|
||
/** | ||
* Used w/TransIT | ||
* | ||
* @var CardHolderAuthenticationCapability | ||
*/ | ||
public $cardHolderAuthenticationCapability; | ||
|
||
/** | ||
* Used w/TransIT | ||
* | ||
* @var CardHolderAuthenticationEntity | ||
*/ | ||
public $cardHolderAuthenticationEntity; | ||
|
||
/** | ||
* Used w/TransIT | ||
* | ||
* @var OperatingEnvironment | ||
*/ | ||
public $operatingEnvironment; | ||
|
||
/** | ||
* Used w/TransIT | ||
* | ||
* @var PinCaptureCapability | ||
*/ | ||
public $pinCaptureCapability; | ||
|
||
/** | ||
* Used w/TransIT | ||
* | ||
* @var TerminalOutputCapability | ||
*/ | ||
public $terminalOutputCapability; | ||
|
||
public function __construct( | ||
$cardCaptureCapability = false, | ||
$cardDataInputCapability = CardDataInputCapability::KEYED_ENTRY_ONLY, | ||
$cardDataOutputCapability = CardDataOutputCapability::NONE, | ||
$cardHolderAuthenticationCapability = CardHolderAuthenticationCapability::NO_CAPABILITY, | ||
$cardHolderAuthenticationEntity = CardHolderAuthenticationEntity::NOT_AUTHENTICATED, | ||
$operatingEnvironment = OperatingEnvironment::OFF_MERCHANT_PREMISES_UNATTENDED, | ||
$pinCaptureCapability = PinCaptureCapability::NONE, | ||
$terminalOutputCapability = TerminalOutputCapability::DISPLAY_ONLY | ||
) { | ||
$this->cardCaptureCapability = $cardCaptureCapability; | ||
$this->cardDataInputCapability = $cardDataInputCapability; | ||
$this->cardDataOutputCapability = $cardDataOutputCapability; | ||
$this->cardHolderAuthenticationCapability = $cardHolderAuthenticationCapability; | ||
$this->cardHolderAuthenticationEntity = $cardHolderAuthenticationEntity; | ||
$this->operatingEnvironment = $operatingEnvironment; | ||
$this->pinCaptureCapability = $pinCaptureCapability; | ||
$this->terminalOutputCapability = $terminalOutputCapability; | ||
} | ||
} |
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,41 @@ | ||
<?php | ||
|
||
namespace GlobalPayments\Api\Entities; | ||
|
||
class AdditionalTaxDetails | ||
{ | ||
|
||
/** | ||
* Tax amount | ||
* | ||
* @var string|float | ||
*/ | ||
public $taxAmount; | ||
|
||
/** | ||
* The type of tax. | ||
* | ||
* @var TaxCategory | ||
*/ | ||
public $taxCategory; | ||
|
||
/** | ||
* @var float | ||
*/ | ||
public $taxRate; | ||
|
||
/** | ||
* The type of tax. For example, VAT, NATIONAL, SALESTAX | ||
* | ||
* @var TaxType|string | ||
*/ | ||
public $taxType; | ||
|
||
public function __construct($taxAmount = null, $taxCategory = null, $taxRate = null, $taxType = null) | ||
{ | ||
$this->taxAmount = $taxAmount; | ||
$this->taxCategory = $taxCategory; | ||
$this->taxRate = $taxRate; | ||
$this->taxType = $taxType; | ||
} | ||
} |
Oops, something went wrong.