Total Complexity | 2 |
Total Lines | 26 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
12 | class Counterparty implements ModelInterface |
||
13 | { |
||
14 | private const MODEL_NAME = 'Counterparty'; |
||
15 | private Connection $connection; |
||
16 | |||
17 | /** |
||
18 | * @param Connection $connection |
||
19 | */ |
||
20 | public function __construct(Connection $connection) |
||
21 | { |
||
22 | $this->connection = $connection; |
||
23 | } |
||
24 | |||
25 | /** |
||
26 | * @param string $counterpartyRef |
||
27 | * @param string $counterpartyProperty |
||
28 | * @return array |
||
29 | * @throws NovaPoshtaApiException |
||
30 | */ |
||
31 | public function getCounterpartyAddresses(string $counterpartyRef, string $counterpartyProperty): array |
||
38 | } |
||
39 | } |
||
40 |