| Total Complexity | 3 |
| Total Lines | 77 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 0 | ||
| 1 | <?php |
||
| 21 | class Client { |
||
| 22 | /** |
||
| 23 | * API URL. |
||
| 24 | * |
||
| 25 | * @var string |
||
| 26 | */ |
||
| 27 | public $api_url; |
||
| 28 | |||
| 29 | /** |
||
| 30 | * PSP ID. |
||
| 31 | * |
||
| 32 | * @var string |
||
| 33 | */ |
||
| 34 | public $psp_id; |
||
| 35 | |||
| 36 | /** |
||
| 37 | * SHA IN. |
||
| 38 | * |
||
| 39 | * @var string |
||
| 40 | */ |
||
| 41 | public $sha_in; |
||
| 42 | |||
| 43 | /** |
||
| 44 | * User ID. |
||
| 45 | * |
||
| 46 | * @var string |
||
| 47 | */ |
||
| 48 | public $user_id; |
||
| 49 | |||
| 50 | /** |
||
| 51 | * Password. |
||
| 52 | * |
||
| 53 | * @var string |
||
| 54 | */ |
||
| 55 | public $password; |
||
| 56 | |||
| 57 | /** |
||
| 58 | * Constructs and initializes an Ogone DirectLink client |
||
| 59 | */ |
||
| 60 | public function __construct() { |
||
| 61 | $this->api_url = DirectLink::API_PRODUCTION_URL; |
||
| 62 | } |
||
| 63 | |||
| 64 | /** |
||
| 65 | * Order direct |
||
| 66 | * |
||
| 67 | * @param array $data Data. |
||
| 68 | * |
||
| 69 | * @return bool|OrderResponse |
||
| 70 | */ |
||
| 71 | public function order_direct( array $data = array() ) { |
||
| 98 | } |
||
| 99 | } |
||
| 100 |