PluginProbe
Packeta / 1.5.0
Packeta v1.5.0
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 / PickupPointProvider / VendorCollectionFactory.php

VendorCollectionFactory.php in Packeta 1.5.0, at src/Packetery/Core/PickupPointProvider/VendorCollectionFactory.php

125 lines 1.7 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Class VendorCollectionFactory
4 *
5 * @package Packetery
6 */
7
8 declare( strict_types=1 );
9
10 namespace Packetery\Core\PickupPointProvider;
11
12 use Packetery\Core\Entity;
13
14 /**
15 * Class VendorCollectionFactory
16 *
17 * @package Packetery
18 */
19 class VendorCollectionFactory {
20
21 /**
22 * Creates collection.
23 *
24 * @return VendorProvider[]
25 */
26 public function create() {
27 return [
28 // CZ Packeta internal pickup points.
29 new VendorProvider(
30 'czzpoint',
31 'cz',
32 true,
33 true,
34 'CZK',
35 true,
36 Entity\Carrier::VENDOR_GROUP_ZPOINT
37 ),
38 // CZ Packeta Z-BOX.
39 new VendorProvider(
40 'czzbox',
41 'cz',
42 true,
43 true,
44 'CZK',
45 true,
46 'zbox'
47 ),
48 // CZ AlzaBox.
49 new VendorProvider(
50 'czalzabox',
51 'cz',
52 true,
53 true,
54 'CZK',
55 true,
56 'alzabox'
57 ),
58
59 // SK Packeta internal pickup points.
60 new VendorProvider(
61 'skzpoint',
62 'sk',
63 true,
64 true,
65 'EUR',
66 true,
67 Entity\Carrier::VENDOR_GROUP_ZPOINT
68 ),
69 // SK Packeta Z-BOX.
70 new VendorProvider(
71 'skzbox',
72 'sk',
73 true,
74 true,
75 'EUR',
76 true,
77 'zbox'
78 ),
79
80 // HU Packeta internal pickup points.
81 new VendorProvider(
82 'huzpoint',
83 'hu',
84 true,
85 true,
86 'HUF',
87 true,
88 Entity\Carrier::VENDOR_GROUP_ZPOINT
89 ),
90 // HU Packeta Z-BOX.
91 new VendorProvider(
92 'huzbox',
93 'hu',
94 true,
95 true,
96 'HUF',
97 true,
98 'zbox'
99 ),
100
101 // RO Packeta internal pickup points.
102 new VendorProvider(
103 'rozpoint',
104 'ro',
105 true,
106 true,
107 'RON',
108 true,
109 Entity\Carrier::VENDOR_GROUP_ZPOINT
110 ),
111 // RO Packeta Z-BOX.
112 new VendorProvider(
113 'rozbox',
114 'ro',
115 true,
116 true,
117 'RON',
118 true,
119 'zbox'
120 ),
121 ];
122 }
123
124 }
125