PluginProbe
Packeta / 1.4
Packeta v1.4
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 / Request / PacketsLabelsPdf.php

PacketsLabelsPdf.php in Packeta 1.4, at src/Packetery/Core/Api/Soap/Request/PacketsLabelsPdf.php

80 lines 1.2 KB
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\Request
6 */
7
8 declare( strict_types=1 );
9
10 namespace Packetery\Core\Api\Soap\Request;
11
12 /**
13 * Class PacketsLabelsPdf
14 *
15 * @package Packetery\Api\Soap\Request
16 */
17 class PacketsLabelsPdf {
18
19 /**
20 * Packet ids.
21 *
22 * @var string[]
23 */
24 private $packetIds;
25
26 /**
27 * Label format.
28 *
29 * @var string
30 */
31 private $labelFormat;
32
33 /**
34 * Offset.
35 *
36 * @var int
37 */
38 private $offset;
39
40 /**
41 * PacketsLabelsPdf constructor.
42 *
43 * @param string[] $packetIds Packet ids.
44 * @param string $labelFormat Label format.
45 * @param int $offset Offset.
46 */
47 public function __construct( array $packetIds, string $labelFormat, int $offset ) {
48 $this->packetIds = $packetIds;
49 $this->labelFormat = $labelFormat;
50 $this->offset = $offset;
51 }
52
53 /**
54 * Gets packet ids.
55 *
56 * @return array
57 */
58 public function getPacketIds(): array {
59 return $this->packetIds;
60 }
61
62 /**
63 * Gets label format.
64 *
65 * @return string
66 */
67 public function getFormat(): string {
68 return $this->labelFormat;
69 }
70
71 /**
72 * Gets offset.
73 *
74 * @return int
75 */
76 public function getOffset(): int {
77 return $this->offset;
78 }
79 }
80