Total Complexity | 3 |
Total Lines | 24 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
22 | class InvoiceRepository extends AbstractRepository implements InvoiceRepositoryInterface |
||
23 | { |
||
24 | protected function getBaseUri(): string |
||
27 | } |
||
28 | |||
29 | protected function getSupportedFields(): array |
||
30 | { |
||
31 | return [ |
||
32 | Invoice::FIELD_ID, |
||
33 | Invoice::FIELD_DATE, |
||
34 | Invoice::FIELD_LABEL, |
||
35 | Invoice::FIELD_SUBTOTAL, |
||
36 | Invoice::FIELD_BILLING_SOURCE, |
||
37 | Invoice::FIELD_TAX, |
||
38 | Invoice::FIELD_TOTAL, |
||
39 | Invoice::FIELD_TAX_SUMMARY, |
||
40 | ]; |
||
41 | } |
||
42 | |||
43 | protected function jsonToEntity(array $json): Entity |
||
46 | } |
||
47 | } |
||
48 |