PluginProbe
Packeta / 2.3.1
Packeta v2.3.1
2.3.2 2.3.1 trunk 1.2.2 1.2.3 1.2.4 1.2.5 1.2.6 1.3.0 1.3.1 1.3.2 1.4 1.4.1 1.4.2 1.4.3 1.5.0 1.5.1 1.5.2 1.5.3 1.5.4 1.6.0 1.6.1 1.6.2 1.6.3 1.6.4 All 56 releases
packeta / src / Packetery / Core / Api / Soap / Response / PacketsLabelsPdf.php

PacketsLabelsPdf.php in Packeta 2.3.1, at src/Packetery/Core/Api/Soap/Response/PacketsLabelsPdf.php

49 lines 827 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Class PacketsLabelsPdf.
4 *
5 * @package Packetery\Api\Soap\Response
6 */
7
8 declare( strict_types=1 );
9
10 namespace Packetery\Core\Api\Soap\Response;
11
12 use Packetery\Core\Api\Soap\ILabelResponse;
13 use Packetery\Core\Api\Soap\ResponseTrait;
14
15 /**
16 * Class PacketsLabelsPdf.
17 *
18 * @package Packetery\Api\Soap\Response
19 */
20 class PacketsLabelsPdf extends BaseResponse implements ILabelResponse {
21
22 use ResponseTrait\InvalidPacketIds;
23
24 /**
25 * Pdf contents.
26 *
27 * @var string
28 */
29 private $pdfContents;
30
31 /**
32 * Sets pdf contents.
33 *
34 * @param string $pdfContents Pdf contents.
35 */
36 public function setPdfContents( string $pdfContents ): void {
37 $this->pdfContents = $pdfContents;
38 }
39
40 /**
41 * Gets pdf contents.
42 *
43 * @return string
44 */
45 public function getPdfContents(): string {
46 return $this->pdfContents;
47 }
48 }
49