| Total Complexity | 3 |
| Total Lines | 41 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 21 | class PmtApiClient |
||
| 22 | { |
||
| 23 | /** |
||
| 24 | * @var ChargeService |
||
| 25 | */ |
||
| 26 | protected $charge; |
||
| 27 | |||
| 28 | /** |
||
| 29 | * Private key for API calls |
||
| 30 | * |
||
| 31 | * @var string |
||
| 32 | */ |
||
| 33 | protected $privateKey; |
||
| 34 | |||
| 35 | /** |
||
| 36 | * @var string |
||
| 37 | */ |
||
| 38 | protected $baseUri; |
||
| 39 | |||
| 40 | /** |
||
| 41 | * PmtApiClient constructor. |
||
| 42 | * |
||
| 43 | * @param string $privateKey |
||
| 44 | * @param null $baseUri |
||
|
|
|||
| 45 | */ |
||
| 46 | public function __construct($privateKey, $baseUri = null) |
||
| 50 | } |
||
| 51 | |||
| 52 | /** |
||
| 53 | * @return ChargeService |
||
| 54 | */ |
||
| 55 | public function charge() |
||
| 64 |