1 | <?php |
||
7 | class ContractTier extends Base |
||
8 | { |
||
9 | /** |
||
10 | * @param string $accountCode |
||
11 | * @param string $contract |
||
12 | * @return array|null |
||
13 | * @throws \Fenerum\API\Exceptions\FenerumApiException |
||
14 | */ |
||
15 | public function listContractTiers(string $accountCode, string $contract): ?array |
||
19 | |||
20 | /** |
||
21 | * @param string $accountCode |
||
22 | * @param string $contract |
||
23 | * @param string $id |
||
24 | * @return array|null |
||
25 | * @throws \Fenerum\API\Exceptions\FenerumApiException |
||
26 | */ |
||
27 | public function getContract(string $accountCode, string $contract, string $id): ?array |
||
31 | |||
32 | /** |
||
33 | * @param array $data |
||
34 | * @param string $accountCode |
||
35 | * @param string $contract |
||
36 | * @return array|null |
||
37 | * @throws \Fenerum\API\Exceptions\FenerumApiException |
||
38 | * @throws \Fenerum\API\Exceptions\FenerumValidationException |
||
39 | */ |
||
40 | public function createContractTier(array $data, string $accountCode, string $contract): ?array |
||
53 | |||
54 | /** |
||
55 | * @param array $data |
||
56 | * @param string $accountCode |
||
57 | * @param string $contract |
||
58 | * @param string $id |
||
59 | * @return array|null |
||
60 | * @throws \Fenerum\API\Exceptions\FenerumApiException |
||
61 | * @throws \Fenerum\API\Exceptions\FenerumValidationException |
||
62 | */ |
||
63 | public function updateContractTier(array $data, string $accountCode, string $contract, string $id): ?array |
||
76 | |||
77 | /** |
||
78 | * @param string $accountCode |
||
79 | * @param string $contract |
||
80 | * @param string $id |
||
81 | * @return array|null |
||
82 | * @throws \Fenerum\API\Exceptions\FenerumApiException |
||
83 | */ |
||
84 | public function deleteContractTier(string $accountCode, string $contract, string $id): ?array |
||
88 | } |
||
89 |