| Total Complexity | 1 |
| Total Lines | 33 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 0 | ||
| 1 | <?php |
||
| 15 | class DirectLink { |
||
| 16 | /** |
||
| 17 | * Ogone DirectLink test API endpoint URL |
||
| 18 | * |
||
| 19 | * @var string |
||
| 20 | */ |
||
| 21 | const API_TEST_URL = 'https://secure.ogone.com/ncol/test/orderdirect.asp'; |
||
| 22 | |||
| 23 | /** |
||
| 24 | * Ogone DirectLink test API endpoint URL |
||
| 25 | * |
||
| 26 | * @var string |
||
| 27 | */ |
||
| 28 | const API_TEST_UTF8_URL = 'https://secure.ogone.com/ncol/test/orderdirect_utf8.asp'; |
||
| 29 | |||
| 30 | /** |
||
| 31 | * Ogone DirectLink production API endpoint URL |
||
| 32 | * |
||
| 33 | * @var string |
||
| 34 | */ |
||
| 35 | const API_PRODUCTION_URL = 'https://secure.ogone.com/ncol/prod/orderdirect.asp'; |
||
| 36 | |||
| 37 | /** |
||
| 38 | * Ogone DirectLink production API endpoint URL |
||
| 39 | * |
||
| 40 | * @var string |
||
| 41 | */ |
||
| 42 | const API_PRODUCTION_UTF8_URL = 'https://secure.ogone.com/ncol/prod/orderdirect_utf8.asp'; |
||
| 43 | |||
| 44 | /** |
||
| 45 | * Constructs and initializes an Ogone DirectLink object |
||
| 46 | */ |
||
| 47 | public function __construct() { |
||
| 51 |