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 / Module / Carrier / CountryListingTemplateParams.php

CountryListingTemplateParams.php in Packeta 2.3.1, at src/Packetery/Module/Carrier/CountryListingTemplateParams.php

114 lines 1.9 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Class CountryListingTemplateParams
4 *
5 * @package Packetery\Carrier
6 */
7
8 declare( strict_types=1 );
9
10 namespace Packetery\Module\Carrier;
11
12 use Packetery\Nette\Forms\Form;
13
14 /**
15 * Class CountryListingTemplateParams
16 *
17 * @package Packetery\Carrier
18 */
19 class CountryListingTemplateParams {
20
21 /**
22 * Carriers Update params.
23 *
24 * @var array<string, string|array<string, string>>
25 */
26 public $carriersUpdate;
27
28 /**
29 * Countries.
30 *
31 * @var mixed[]
32 */
33 public $countries;
34
35 /**
36 * Tells whether API password is set, or not.
37 *
38 * @var bool
39 */
40 public $isApiPasswordSet;
41
42 /**
43 * Next update run.
44 *
45 * @var string|null
46 */
47 public $nextScheduledRun;
48
49 /**
50 * Settings changed message.
51 *
52 * @var string|null
53 */
54 public $settingsChangedMessage;
55
56 /**
57 * Translations.
58 *
59 * @var array<string, string>
60 */
61 public $translations;
62
63 /**
64 * @var bool
65 */
66 public $isCzechLocale;
67
68 /**
69 * @var string|null
70 */
71 public $logoZasilkovna;
72
73 /**
74 * @var string|null
75 */
76 public $logoPacketa;
77
78 /**
79 * @var bool
80 */
81 public $hasCarriers;
82
83 /**
84 * @var Form
85 */
86 public $form;
87
88 public function __construct(
89 array $carriersUpdate,
90 array $countries,
91 bool $isApiPasswordSet,
92 ?string $nextScheduledRun,
93 ?string $settingsChangedMessage,
94 bool $isCzechLocale,
95 ?string $logoZasilkovna,
96 ?string $logoPacketa,
97 array $translations,
98 bool $hasCarriers,
99 Form $form
100 ) {
101 $this->carriersUpdate = $carriersUpdate;
102 $this->countries = $countries;
103 $this->isApiPasswordSet = $isApiPasswordSet;
104 $this->nextScheduledRun = $nextScheduledRun;
105 $this->settingsChangedMessage = $settingsChangedMessage;
106 $this->isCzechLocale = $isCzechLocale;
107 $this->logoZasilkovna = $logoZasilkovna;
108 $this->logoPacketa = $logoPacketa;
109 $this->translations = $translations;
110 $this->hasCarriers = $hasCarriers;
111 $this->form = $form;
112 }
113 }
114