new appraoch

This commit is contained in:
Tim Bendt
2025-11-26 13:22:58 -05:00
parent de3d100844
commit c520b7df89
6760 changed files with 1009780 additions and 0 deletions

View File

@@ -0,0 +1,99 @@
<?php
class Payeezy_Client
{
/**
* @var string The Payeezy API key to be used for requests.
*/
public static $apiKey;
/**
* @var string The Payeezy API Secret to be used for requests.
*/
public static $apiSecret;
/**
* @var string The Payeezy Merchant Token to be used for requests.
*/
public static $merchantToken;
/**
* @var string The Payeezy URL to be used for requests.
*/
public static $url;
const VERSION = '1.0.0';
/**
* @return string The API key used for requests.
*/
public static function getApiKey()
{
return self::$apiKey;
}
/**
* Sets the API key to be used for requests.
*
* @param string $apiKey
*/
public static function setApiKey($apiKey)
{
self::$apiKey = $apiKey;
}
/**
* @return string The API key used for requests.
*/
public static function getApiSecret()
{
return self::$apiSecret;
}
/**
* Sets the API key to be used for requests.
*
* @param string $apiKey
*/
public static function setApiSecret($apiSecret)
{
self::$apiSecret = $apiSecret;
}
/**
* @return string The API key used for requests.
*/
public static function getMerchantToken()
{
return self::$merchantToken;
}
/**
* Sets the API key to be used for requests.
*
* @param string $apiKey
*/
public static function setMerchantToken($merchantToken)
{
self::$merchantToken = $merchantToken;
}
/**
* @return string The API key used for requests.
*/
public static function getUrl()
{
return self::$url;
}
/**
* Sets the API key to be used for requests.
*
* @param string $apiKey
*/
public static function setUrl($url)
{
self::$url = $url;
}
}