-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathApicilContractClientInterface.php
118 lines (107 loc) · 2.67 KB
/
ApicilContractClientInterface.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
<?php
namespace Mpp\ApicilClientBundle\Client;
use Mpp\ApicilClientBundle\Model\ClauseBeneficiareDto;
use Mpp\ApicilClientBundle\Model\ContratDto;
use Mpp\ApicilClientBundle\Model\DocumentList;
use Mpp\ApicilClientBundle\Model\IndicateursContratDto;
use Mpp\ApicilClientBundle\Model\ListContratDto;
use Mpp\ApicilClientBundle\Model\OperationDto;
use Mpp\ApicilClientBundle\Model\SituationCompteDto;
use Symfony\Component\HttpFoundation\File\File;
interface ApicilContractClientInterface
{
/**
* Retrieve a contract.
*
* @method get
*
* @param int $id
*
* @return ContratDto
*/
public function get(int $id): ContratDto;
/**
* Retrieve all contracts according to search criteria.
*
* @method getAll
*
* @param array $options
*
* @return ListContratDto
*/
public function getAll(array $options = []): ListContratDto;
/**
* Retrieve the beneficiary clause of a contract.
*
* @method getBeneficiaryClause
*
* @param int $id
*
* @return ClauseBeneficiareDto
*/
public function getBeneficiaryClause(int $id): ClauseBeneficiareDto;
/**
* Retrive a document.
*
* @method getDocument
*
* @param int $id
*
* @return File
*/
public function getDocument(string $id): File;
/**
* Retrieve all documents from a contract.
*
* @method getDocuments
*
* @param array $id
* @param array $options
*
* @return DocumentList
*/
public function getDocuments(int $id, array $options = []): DocumentList;
/**
* Retrieve indicators of a contract.
*
* @method getIndicators
*
* @param int $id
*
* @return IndicateursContratDto
*/
public function getIndicators(int $id): IndicateursContratDto;
/**
* Retrieve movements of a contract.
*
* @method getMovements
*
* @param int $id
* @param array $options
*
* @return OperationDto
*/
public function getMovements(int $id, array $options = []): OperationDto;
/**
* Retrieve the situation report of a contract.
*
* @method getSituationReport
*
* @param int $id
* @param array $options
*
* @return SituationCompteDto
*/
public function getSituationReport(int $id, array $options): SituationCompteDto;
/**
* Retrieve the situation report PDF of a contract.
*
* @method getSituationReportPDF
*
* @param int $id
* @param array $options
*
* @return SituationCompteDto
*/
public function getSituationReportPDF(int $id, array $options): SituationCompteDto;
}