@@ 28-37 (lines=10) @@ | ||
25 | * @param int $application |
|
26 | * @return array |
|
27 | */ |
|
28 | public function getAgreementPdf($token, $installation, $application) |
|
29 | { |
|
30 | $document = $this->fetchDocument( |
|
31 | '/v4/installations/' . $installation . '/applications/' . $application . '/agreement', |
|
32 | $token, |
|
33 | 'Agreement Pdf' |
|
34 | ); |
|
35 | ||
36 | return $document['pdf']; |
|
37 | } |
|
38 | ||
39 | /** |
|
40 | * @author GK |
|
@@ 46-55 (lines=10) @@ | ||
43 | * @param int $application |
|
44 | * @return array |
|
45 | */ |
|
46 | public function getPreAgreementPdf($token, $installation, $application) |
|
47 | { |
|
48 | $document = $this->fetchDocument( |
|
49 | '/v4/installations/' . $installation . '/applications/' . $application . '/pre-agreement', |
|
50 | $token, |
|
51 | 'Pre-agreement Pdf' |
|
52 | ); |
|
53 | ||
54 | return $document['pdf']; |
|
55 | } |
|
56 | } |
|
57 |