| Total Complexity | 2 |
| Total Lines | 28 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 8 | class Transactions |
||
| 9 | { |
||
| 10 | const ENDPOINT = 'transactions'; |
||
| 11 | |||
| 12 | /** |
||
| 13 | * @var Client |
||
| 14 | */ |
||
| 15 | private $client; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * Payments constructor. |
||
| 19 | * @param Client $client |
||
| 20 | */ |
||
| 21 | public function __construct(Client $client) |
||
| 22 | { |
||
| 23 | $this->client = $client; |
||
| 24 | } |
||
| 25 | |||
| 26 | /** |
||
| 27 | * @param array $json |
||
| 28 | * @return mixed |
||
| 29 | * @throws \GuzzleHttp\Exception\GuzzleException |
||
| 30 | */ |
||
| 31 | public function create(array $json) |
||
| 36 | } |
||
| 37 | } |
||
| 38 |