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