| @@ 44-53 (lines=10) @@ | ||
| 41 | * @param int $application |
|
| 42 | * @return array |
|
| 43 | */ |
|
| 44 | public function getAgreementPdf($token, $installation, $application) |
|
| 45 | { |
|
| 46 | $document = $this->fetchDocument( |
|
| 47 | '/v4/installations/' . $installation . '/applications/' . $application . '/agreement', |
|
| 48 | $token, |
|
| 49 | 'Agreement Pdf' |
|
| 50 | ); |
|
| 51 | ||
| 52 | return $document['pdf']; |
|
| 53 | } |
|
| 54 | ||
| 55 | /** |
|
| 56 | * @author GK |
|
| @@ 62-71 (lines=10) @@ | ||
| 59 | * @param int $application |
|
| 60 | * @return array |
|
| 61 | */ |
|
| 62 | public function getPreAgreementPdf($token, $installation, $application) |
|
| 63 | { |
|
| 64 | $document = $this->fetchDocument( |
|
| 65 | '/v4/installations/' . $installation . '/applications/' . $application . '/pre-agreement', |
|
| 66 | $token, |
|
| 67 | 'Pre-agreement Pdf' |
|
| 68 | ); |
|
| 69 | ||
| 70 | return $document['pdf']; |
|
| 71 | } |
|
| 72 | ||
| 73 | /** |
|
| 74 | * @author GK |
|
| @@ 80-89 (lines=10) @@ | ||
| 77 | * @param int $application |
|
| 78 | * @return array |
|
| 79 | */ |
|
| 80 | public function getAdequateExplanation($token, $installation, $application) |
|
| 81 | { |
|
| 82 | $document = $this->fetchDocument( |
|
| 83 | '/v4/installations/' . $installation . '/applications/' . $application . '/adequate-explanation', |
|
| 84 | $token, |
|
| 85 | 'Adequate Explanation Pdf' |
|
| 86 | ); |
|
| 87 | ||
| 88 | return $document['pdf']; |
|
| 89 | } |
|
| 90 | } |
|
| 91 | ||