Completed
Push — master ( bdd285...d3b32b )
by Tomáš
32:01
created

ServiceType::zasilkovna()   B

Complexity

Conditions 1
Paths 1

Size

Total Lines 88

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 88
rs 8.2617
c 0
b 0
f 0
cc 1
nc 1
nop 0

How to fix   Long Method   

Long Method

Small methods make your code easier to understand, in particular if combined with a good name. Besides, if your method is small, finding a good name is usually much easier.

For example, if you find yourself adding comments to a method's body, this is usually a good sign to extract the commented part to a new method, and use the comment as a starting point when coming up with a good name for this new method.

Commonly applied refactorings include:

1
<?php
2
3
namespace Inspirum\Balikobot\Definitions;
4
5
final class ServiceType
6
{
7
    /**
8
     * Balík do ruky
9
     *
10
     * @var string
11
     */
12
    public const CP_DR = 'DR';
13
14
    /**
15
     * Doporučená zásilka Ekonomická
16
     *
17
     * @var string
18
     */
19
    public const CP_RR = 'RR';
20
21
    /**
22
     * Balík Na poštu
23
     *
24
     * @var string
25
     */
26
    public const CP_NP = 'NP';
27
28
    /**
29
     * Balík do ruky pro vybrané podavatele
30
     *
31
     * @var string
32
     */
33
    public const CP_DV = 'DV';
34
35
    /**
36
     * Cenné psaní
37
     *
38
     * @var string
39
     */
40
    public const CP_VL = 'VL';
41
42
    /**
43
     * Doporučená zásilka Ekonomická - standard
44
     *
45
     * @var string
46
     */
47
    public const CP_SR = 'SR';
48
49
    /**
50
     * Doporučená zásilka Prioritní
51
     *
52
     * @var string
53
     */
54
    public const CP_RRP = 'RRP';
55
56
    /**
57
     * Doporučená zásilka Prioritní - standard
58
     *
59
     * @var string
60
     */
61
    public const CP_SRP = 'SRP';
62
63
    /**
64
     * Doporučený balíček
65
     *
66
     * @var string
67
     */
68
    public const CP_BA = 'BA';
69
70
    /**
71
     * Cenný balík
72
     *
73
     * @var string
74
     */
75
    public const CP_BB = 'BB';
76
77
    /**
78
     * Balík nadrozměr
79
     *
80
     * @var string
81
     */
82
    public const CP_BN = 'BN';
83
84
    /**
85
     * Balík do balíkovny
86
     *
87
     * @var string
88
     */
89
    public const CP_NB = 'NB';
90
91
    /**
92
     * DE balík Do ruky s garantovaným časem dodání
93
     *
94
     * @var string
95
     */
96
    public const CP_DT = 'DT';
97
98
    /**
99
     * Balík Do ruky s garantovaným časem dodání v neděli nebo svátek
100
     *
101
     * @var string
102
     */
103
    public const CP_DS = 'DS';
104
105
    /**
106
     * EMS expresní přeprava po ČR
107
     *
108
     * @var string
109
     */
110
    public const CP_EE = 'EE';
111
112
    /**
113
     * Balík Expres
114
     *
115
     * @var string
116
     */
117
    public const CP_BE = 'BE';
118
119
    /**
120
     * RR Doporučená zásilka do zahraničí Prioritní
121
     *
122
     * @var string
123
     */
124
    public const CP_RZP = 'RZP';
125
126
    /**
127
     * VL Cenné psaní do zahraničí Prioritní
128
     *
129
     * @var string
130
     */
131
    public const CP_VZP = 'VZP';
132
133
    /**
134
     * EMS Expresní přeprava do zahraničí
135
     *
136
     * @var string
137
     */
138
    public const CP_EM = 'EM';
139
140
    /**
141
     * CS Standardní balík do zahraničí Prioritní
142
     *
143
     * @var string
144
     */
145
    public const CP_CSP = 'CSP';
146
147
    /**
148
     * CS Standardní balík do zahraničí Ekonomický
149
     *
150
     * @var string
151
     */
152
    public const CP_CSE = 'CSE';
153
154
    /**
155
     * CV Cenný balík do zahraničí Prioritní
156
     *
157
     * @var string
158
     */
159
    public const CP_CVP = 'CVP';
160
161
    /**
162
     * CV Cenný balík do zahraničí Ekonomický
163
     *
164
     * @var string
165
     */
166
    public const CP_CVE = 'CVE';
167
168
    /**
169
     * Obchodní balík do zahraničí
170
     *
171
     * @var string
172
     */
173
    public const CP_CE = 'CE';
174
175
    /**
176
     * Obyčejná listovní zásilka mezinárodní
177
     *
178
     * @var string
179
     */
180
    public const CP_OLZ = 'OLZ';
181
182
    /**
183
     * PPL Parcel Business CZ
184
     *
185
     * @var string
186
     */
187
    public const PPL_PARCEL_BUSSINESS_CZ = '1';
188
189
    /**
190
     * PPL Parcel Connect (exportní balík)
191
     *
192
     * @var string
193
     */
194
    public const PPL_CONNECT = '2';
195
196
    /**
197
     * PPL Parcel CZ Dopolední balík
198
     *
199
     * @var string
200
     */
201
    public const PPL_AFTERNOON = '3';
202
203
    /**
204
     * PPL Parcel CZ Private (soukromý balík)
205
     *
206
     * @var string
207
     */
208
    public const PPL_PRIVATE = '4';
209
210
    /**
211
     * PPL Parcel CZ Business (firemní balík)
212
     *
213
     * @var string
214
     */
215
    public const PPL_BUSINESS = '8';
216
217
    /**
218
     * PPL Parcel CZ Private - Večerní doručení
219
     *
220
     * @var string
221
     */
222
    public const PPL_PRIVATE_EVENING = '9';
223
224
    /**
225
     * PPl Parcel Import
226
     *
227
     * @var string
228
     */
229
    public const PPL_PARCEL_IMPORT = '11';
230
231
    /**
232
     * PPL Firemní paleta
233
     *
234
     * @var string
235
     */
236
    public const PPL_BUSINESS_PALETTE = '15';
237
238
    /**
239
     *
240
     * PPL Soukromá paleta
241
     *
242
     * @var string
243
     */
244
    public const PPL_PRIVATE_PALETTE = '19';
245
246
    /**
247
     * DPD Classic
248
     *
249
     * @var string
250
     */
251
    public const DPD_CLASSIC = '1';
252
253
    /**
254
     * DPD Private
255
     *
256
     * @var string
257
     */
258
    public const DPD_PRIVATE = '2';
259
260
    /**
261
     * DPD Pickup
262
     *
263
     * @var string
264
     */
265
    public const DPD_PICKUP = '3';
266
267
    /**
268
     * DPD Expresní doručení do 10:00
269
     *
270
     * @var string
271
     */
272
    public const DPD_EXPRESS_10 = '4';
273
274
    /**
275
     * DPD Expresní doručení do 12:00
276
     *
277
     * @var string
278
     */
279
    public const DPD_EXPRESS_12 = '5';
280
281
    /**
282
     * DPD Expresní doručení do 18:00
283
     *
284
     * @var string
285
     */
286
    public const DPD_EXPRESS_18 = '6';
287
288
    /**
289
     * DPD Private večerní doručení
290
     *
291
     * @var string
292
     */
293
    public const DPD_PRIVATE_EVENING = '7';
294
295
    /**
296
     * DPD Private sobotní doručení
297
     *
298
     * @var string
299
     */
300
    public const DPD_PRIVATE_SATURDAY = '8';
301
302
    /**
303
     * Soukromá zásilka (B2C)
304
     * // TODO: rename to B2C
305
     *
306
     * @var string
307
     */
308
    public const GEIS_PARCEL_PRIVATE = '1';
309
310
    /**
311
     * Firemní zásilka
312
     * // TODO: rename to B2B
313
     *
314
     * @var string
315
     */
316
    public const GEIS_PARCEL_BUSINESS = '2';
317
318
    /**
319
     * Mezinárodní zásilka (B2B)
320
     *
321
     * @var string
322
     */
323
    public const GEIS_PARCEL_BUSINESS_INTERNATIONAL = '3';
324
325
    /**
326
     * Vnitrostátní paletová zásilka B2B
327
     *
328
     * @var string
329
     */
330
    public const GEIS_CARGO_BUSINESS_NATIONAL = '4';
331
332
    /**
333
     * Mezinárodní paletová zásilka B2B
334
     *
335
     * @var string
336
     */
337
    public const GEIS_CARGO_BUSINESS_INTERNATIONAL = '5';
338
339
    /**
340
     * Geis Point
341
     *
342
     * @var string
343
     */
344
    public const GEIS_PARCEL_GEIS_POINT = '6';
345
346
    /**
347
     * Garantované doručení (GAR)
348
     *
349
     * @var string
350
     */
351
    public const GEIS_PARCEL_GARANTED = '7';
352
353
    /**
354
     * Doručení do 12. hodin (D12)
355
     *
356
     * @var string
357
     */
358
    public const GEIS_PARCEL_12 = '8';
359
360
    /**
361
     * Mezinárodní zásilka (B2C)
362
     *
363
     * @var string
364
     */
365
    public const GEIS_PARCEL_PRIVATE_INTERNATIONAL = '9';
366
367
    /**
368
     * Vnitrostátní paletová zásilka B2C
369
     *
370
     * @var string
371
     */
372
    public const GEIS_CARGO_PRIVATE_NATIONAL = '10';
373
374
    /**
375
     * Mezinárodní paletová zásilka B2C
376
     *
377
     * @var string
378
     */
379
    public const GEIS_CARGO_PRIVATE_INTERNATIONAL = '11';
380
381
    /**
382
     * Business Parcel (doručení do ruky)
383
     *
384
     * @var string
385
     */
386
    public const GLS_BUSINESS = '1';
387
388
    /**
389
     * ShopDelivery Service (doručení na výdejní místo)
390
     *
391
     * @var string
392
     */
393
    public const GLS_SHOP = '2';
394
395
    /**
396
     * Express Parcel (expresní zásilka)
397
     *
398
     * @var string
399
     */
400
    public const GLS_EXPRESS = '3';
401
402
    /**
403
     * Guaranteed 24 Service Business Parcel
404
     *
405
     * @var string
406
     */
407
    public const GLS_GUARANTEED24 = '4';
408
409
    /**
410
     * "Guaranteed 24 Service Express Parcel
411
     *
412
     * @var string
413
     */
414
    public const GLS_GUARANTEED24_EXPRESS = '5';
415
416
    /**
417
     * Guaranteed 24 Service ShopDelivery
418
     *
419
     * @var string
420
     */
421
    public const GLS_GUARANTEED24_SHOP = '6';
422
423
    /**
424
     * Small Colli 24-CZ
425
     *
426
     * @var string
427
     */
428
    public const INTIME_SMALL_CZ = '1';
429
430
    /**
431
     * Medium Colli 24-CZ
432
     *
433
     * @var string
434
     */
435
    public const INTIME_MEDIUM_CZ = '2';
436
437
    /**
438
     * Large Colli 24-CZ
439
     *
440
     * @var string
441
     */
442
    public const INTIME_LARGE_CZ = '3';
443
444
    /**
445
     * Poštomat CZ
446
     *
447
     * @var string
448
     */
449
    public const INTIME_POSTOMAT_CZ = '4';
450
451
    /**
452
     * Poštomat SK
453
     *
454
     * @var string
455
     */
456
    public const INTIME_POSTOMAT_SK = '5';
457
458
    /**
459
     * Large Colli 48-SK
460
     *
461
     * @var string
462
     */
463
    public const INTIME_LARGE_SK = '6';
464
465
    /**
466
     * Extra Large Colli 24-CZ
467
     *
468
     * @var string
469
     */
470
    public const INTIME_EXTRA_CZ = '7';
471
472
    /**
473
     * Parcel EU
474
     *
475
     * @var string
476
     */
477
    public const INTIME_PARCEL_EU = '8';
478
479
    /**
480
     * Parcel EU+
481
     *
482
     * @var string
483
     */
484
    public const INTIME_PARCEL_EU_PLUS = '9';
485
486
    /**
487
     * 24 hodin (Standard)
488
     *
489
     * @var string
490
     */
491
    public const TOPTRANS_STANDARD = '1';
492
493
    /**
494
     * Toptime
495
     *
496
     * @var string
497
     */
498
    public const TOPTRANS_TOPTIME = '2';
499
500
    /**
501
     * Privat
502
     *
503
     * @var string
504
     */
505
    public const TOPTRANS_PRIVATE = '3';
506
507
    /**
508
     * Weekend
509
     *
510
     * @var string
511
     */
512
    public const TOPTRANS_WEEKEND = '4';
513
514
    /**
515
     * Osobní odběr
516
     *
517
     * @var string
518
     */
519
    public const TOPTRANS_PERSONAL = '5';
520
521
    /**
522
     * Po avizaci
523
     *
524
     * @var string
525
     */
526
    public const TOPTRANS_NOTICE = '6';
527
528
    /**
529
     * Balík na adresu – zmluvní zákazníci
530
     *
531
     * @var string
532
     */
533
    public const SP_BZA = 'BZA';
534
535
    /**
536
     * Balík na poštu – zmluvní zákazníci
537
     *
538
     * @var string
539
     */
540
    public const SP_BZP = 'BZP';
541
542
    /**
543
     * Balík do BalíkoBOXu
544
     *
545
     * @var string
546
     */
547
    public const SP_BZB = 'BZB';
548
549
    /**
550
     * Expres kuriér na adresu
551
     *
552
     * @var string
553
     */
554
    public const SP_EXA = 'EXA';
555
556
    /**
557
     * Expres kuriér na poštu
558
     *
559
     * @var string
560
     */
561
    public const SP_EXP = 'EXP';
562
563
    /**
564
     * Expres kuriér do BalíkoBOXu
565
     *
566
     * @var string
567
     */
568
    public const SP_EXB = 'EXB';
569
570
    /**
571
     * Balík na adresu
572
     *
573
     * @var string
574
     */
575
    public const SP_BNA = 'BNA';
576
577
    /**
578
     * Balík na poštu
579
     *
580
     * @var string
581
     */
582
    public const SP_BNP = 'BNP';
583
584
    /**
585
     * Balík do BalíkoBOXu
586
     *
587
     * @var string
588
     */
589
    public const SP_BNB = 'BNB';
590
591
    /**
592
     * Doporučený list
593
     *
594
     * @var string
595
     */
596
    public const SP_RRA = 'RRA';
597
598
    /**
599
     * Expres (vnitrostátní zásilky)
600
     *
601
     * @var string
602
     */
603
    public const SPS_EXPRESS = '1';
604
605
    /**
606
     * Expres do 12:00 (vnitrostátní zásilky)
607
     *
608
     * @var string
609
     */
610
    public const SPS_EXPRESS_12 = '2';
611
612
    /**
613
     * Expres do 09:00 (vnitrostátní zásilky)
614
     *
615
     * @var string
616
     */
617
    public const SPS_EXPRESS_9 = '3';
618
619
    /**
620
     * Export (mezinárodní zásilky)
621
     *
622
     * @var string
623
     */
624
    public const SPS_INTERNATIONAL = '4';
625
626
    /**
627
     * Uloženka
628
     *
629
     * @var string
630
     */
631
    public const ULOZENKA_ULOZENKA = '1';
632
633
    /**
634
     * Slovenská pošta
635
     *
636
     * @var string
637
     */
638
    public const ULOZENKA_SP = '2';
639
640
    /**
641
     * DPD Classic na Slovensko
642
     *
643
     * @var string
644
     */
645
    public const ULOZENKA_DPD_CLASSIC_SK = '3';
646
647
    /**
648
     * DPD Private pro ČR a SK
649
     *
650
     * @var string
651
     */
652
    public const ULOZENKA_DPD_PRIVATE = '4';
653
654
    /**
655
     * DPD ParcelShop
656
     *
657
     * @var string
658
     */
659
    public const ULOZENKA_DPD_PARCEL = '5';
660
661
    /**
662
     * Balík do ruky – Česká pošta,
663
     *
664
     * @var string
665
     */
666
    public const ULOZENKA_CP_DR = '6';
667
668
    /**
669
     * Balík na poštu – Česká pošta
670
     *
671
     * @var string
672
     */
673
    public const ULOZENKA_CP_NP = '7';
674
675
    /**
676
     * Partner
677
     *
678
     * @var string
679
     */
680
    public const ULOZENKA_PARTNER = '11';
681
682
    /**
683
     * Doručení na adresu D+1
684
     *
685
     * @var string
686
     */
687
    public const ULOZENKA_D1 = '17';
688
689
    /**
690
     * Expres Kurýr SK
691
     *
692
     * @var string
693
     */
694
    public const ULOZENKA_EXPRESS_COURRIER = '19';
695
696
    /**
697
     * Expres na poštu SK
698
     *
699
     * @var string
700
     */
701
    public const ULOZENKA_EXPRESS_SK = '20';
702
703
    /**
704
     * BalíkoBOX SK
705
     *
706
     * @var string
707
     */
708
    public const ULOZENKA_BALIKOBOX_SK = '21';
709
710
    /**
711
     * Depo SK
712
     *
713
     * @var string
714
     */
715
    public const ULOZENKA_DEPO_SK = '22';
716
717
    /**
718
     * Výdejní místa Česká republika
719
     *
720
     * @var string
721
     */
722
    public const ZASILKOVNA_VMCZ = 'VMCZ';
723
724
    /**
725
     * Výdejní místa Slovenská republika
726
     *
727
     * @var string
728
     */
729
    public const ZASILKOVNA_VMSK = 'VMSK';
730
731
    /**
732
     * Výdejní místa Maďarsko
733
     *
734
     * @var string
735
     */
736
    public const ZASILKOVNA_VMHU = 'VMHU';
737
738
    /**
739
     * Výdejní místa Polsko
740
     *
741
     * @var string
742
     */
743
    public const ZASILKOVNA_VMPL = 'VMPL';
744
745
    /**
746
     * Výdejní místa Rumunsko
747
     *
748
     * @var string
749
     */
750
    public const ZASILKOVNA_VMRO = 'VMRO';
751
752
    /**
753
     * AT Rakouská pošta HD
754
     *
755
     * @var string
756
     */
757
    public const ZASILKOVNA_AT_POST_HD = '80';
758
759
    /**
760
     * AT DPD HD
761
     *
762
     * @var string
763
     */
764
    public const ZASILKOVNA_AT_DPD_HD = '6830';
765
766
    /**
767
     * BE Belgická pošta PP
768
     *
769
     * @var string
770
     */
771
    public const ZASILKOVNA_BE_POST_PP = '7910';
772
773
    /**
774
     * BE Belgická pošta HD
775
     *
776
     * @deprecated Will be removed in v5.0
777
     * @see        \Inspirum\Balikobot\Definitions\ServiceType::ZASILKOVNA_BE_POST_HD
778
     *
779
     * @var string
780
     */
781
    public const ZASILKOVNA_BE_BE_POST_HD = '7909';
782
783
    /**
784
     * BE Nizozemská pošta HD
785
     *
786
     * @deprecated Will be removed in v5.0 (change value)
787
     * @see        \Inspirum\Balikobot\Definitions\ServiceType::ZASILKOVNA_BE_NL_POST_HD
788
     *
789
     * @var string
790
     */
791
    public const ZASILKOVNA_BE_POST_HD = '4832';
792
793
    /**
794
     * BE Nizozemská pošta HD
795
     *
796
     * @var string
797
     */
798
    public const ZASILKOVNA_BE_NL_POST_HD = '4832';
799
800
    /**
801
     * BG Econt HD
802
     *
803
     * @var string
804
     */
805
    public const ZASILKOVNA_BG_ECONT_HD = '6006';
806
807
    /**
808
     * BG Econt PP
809
     *
810
     * @var string
811
     */
812
    public const ZASILKOVNA_BG_ECONT_PP = '7377';
813
814
    /**
815
     * BG Speedy PP
816
     *
817
     * @var string
818
     */
819
    public const ZASILKOVNA_BG_SPEEDY_PP = '4017';
820
821
    /**
822
     * BG Speedy HD
823
     *
824
     * @var string
825
     */
826
    public const ZASILKOVNA_BG_SPEEDY_HD = '4015';
827
828
    /**
829
     * BG Econt Box
830
     *
831
     * @var string
832
     */
833
    public const ZASILKOVNA_BG_ECONT_BOX = '7378';
834
835
    /**
836
     * CZ Česká pošta HD
837
     *
838
     * @var string
839
     */
840
    public const ZASILKOVNA_CZ_POST_HD = '13';
841
842
    /**
843
     * CZ - Nejvýhodnější doručení na adresu
844
     *
845
     * @var string
846
     */
847
    public const ZASILKOVNA_CZ_COURIER_HD = '106';
848
849
    /**
850
     * Expresní doručení Praha
851
     *
852
     * @var string
853
     */
854
    public const ZASILKOVNA_CZ_EXPRESS_PRAHA_HD = '257';
855
856
    /**
857
     * Expresní doručení Brno
858
     *
859
     * @var string
860
     */
861
    public const ZASILKOVNA_CZ_EXPRESS_BRNO_HD = '136';
862
863
    /**
864
     * Expresní doručení Ostrava
865
     *
866
     * @var string
867
     */
868
    public const ZASILKOVNA_CZ_EXPRESS_OSTRAVA_HD = '134';
869
870
    /**
871
     * DE Německá pošta DHL HD
872
     *
873
     * @var string
874
     */
875
    public const ZASILKOVNA_DE_POST_HD = '111';
876
877
    /**
878
     * Německo Hermes PP
879
     *
880
     * @var string
881
     */
882
    public const ZASILKOVNA_DE_HERMES_PP = '6828';
883
884
    /**
885
     * DE Hermes Home
886
     *
887
     * @var string
888
     */
889
    public const ZASILKOVNA_DE_HERMES_HD = '6373';
890
891
    /**
892
     * DK Post Nord Home
893
     *
894
     * @var string
895
     */
896
    public const ZASILKOVNA_DK_POST_NORD_HD = '4993';
897
    /**
898
     * DK Post Nord PP
899
     *
900
     * @var string
901
     */
902
    public const ZASILKOVNA_DK_POST_NORD_PP = '4994';
903
904
    /**
905
     * EE Omniva Home
906
     *
907
     * @var string
908
     */
909
    public const ZASILKOVNA_EE_OMNIVA_HD = '5060';
910
911
    /**
912
     * EE Omniva pickup
913
     *
914
     * @var string
915
     */
916
    public const ZASILKOVNA_EE_OMNIVA_PP = '5061';
917
918
    /**
919
     * EE Omniva Box
920
     *
921
     * @var string
922
     */
923
    public const ZASILKOVNA_EE_OMNIVA_BOX = '5062';
924
925
    /**
926
     * ES Correos HD
927
     *
928
     * @var string
929
     */
930
    public const ZASILKOVNA_ES_CORREOS_HD = '4638';
931
932
    /**
933
     * ES MRW Home
934
     *
935
     * @var string
936
     */
937
    public const ZASILKOVNA_ES_MRW_HD = '4653';
938
939
    /**
940
     * FI Post Nord Home
941
     *
942
     * @var string
943
     */
944
    public const ZASILKOVNA_FI_POST_NORD_HP = '4830';
945
946
    /**
947
     * FI Post Nord Pickup Point
948
     *
949
     * @var string
950
     */
951
    public const ZASILKOVNA_FI_POST_NORD_PP = '4828';
952
953
    /**
954
     * FR Mondial PP
955
     *
956
     * @var string
957
     */
958
    public const ZASILKOVNA_FR_MONDIAL_PP = '4876';
959
960
    /**
961
     * Francie Colissimo Home
962
     *
963
     * @var string
964
     */
965
    public const ZASILKOVNA_FR_COLISSIMO_HD = '4309';
966
967
    /**
968
     * Spojené království Hermes
969
     *
970
     * @var string
971
     */
972
    public const ZASILKOVNA_GB_HERMES_HD = '3885';
973
974
    /**
975
     * Spojené království Royal Mail 24
976
     *
977
     * @var string
978
     */
979
    public const ZASILKOVNA_GB_ROYAL_MAIL_24_HD = '4856';
980
981
    /**
982
     * Spojené království Royal Mail 48
983
     *
984
     * @var string
985
     */
986
    public const ZASILKOVNA_GB_ROYAL_MAIL_48_HD = '4857';
987
988
    /**
989
     * GR ACS HD
990
     *
991
     * @var string
992
     */
993
    public const ZASILKOVNA_GR_ACS_HD = '7770';
994
995
    /**
996
     * GR ACS PP
997
     *
998
     * @var string
999
     */
1000
    public const ZASILKOVNA_GR_ACS_PP = '7788';
1001
1002
    /**
1003
     * Recko Speedy Home
1004
     *
1005
     * @var string
1006
     */
1007
    public const ZASILKOVNA_GR_SPEEDY_HD = '4738';
1008
1009
    /**
1010
     * Chorvatsko DPD Home
1011
     *
1012
     * @var string
1013
     */
1014
    public const ZASILKOVNA_HR_DPD_HD = '4646';
1015
1016
    /**
1017
     * Chorvatská Pošta - Výdejní místo
1018
     *
1019
     * @var string
1020
     */
1021
    public const ZASILKOVNA_HR_POST_PP = '4635';
1022
1023
    /**
1024
     * Chorvatská Pošta - doručení na adresu
1025
     *
1026
     * @var string
1027
     */
1028
    public const ZASILKOVNA_HR_POST_HD = '4634';
1029
1030
    /**
1031
     * Maďarsko Express One (Transoflex)
1032
     *
1033
     * @var string
1034
     */
1035
    public const ZASILKOVNA_HU_EXPRESS_ONE_HD = '151';
1036
1037
    /**
1038
     * Maďarsko DPD
1039
     *
1040
     * @var string
1041
     */
1042
    public const ZASILKOVNA_HU_DPD_HD = '805';
1043
1044
    /**
1045
     * HU - best delivery solution
1046
     *
1047
     * @var string
1048
     */
1049
    public const ZASILKOVNA_HU_COURIER_HD = '4159';
1050
1051
    /**
1052
     * Maďarská pošta
1053
     *
1054
     * @var string
1055
     */
1056
    public const ZASILKOVNA_HU_POST_HD = '763';
1057
1058
    /**
1059
     * Švýcarsko-Lichtenštejnská Pošta - prioritní
1060
     *
1061
     * @var string
1062
     */
1063
    public const ZASILKOVNA_CH_POST_PRIORITY_HD = '3870';
1064
1065
    /**
1066
     * Švýcarsko-Lichtejnštejnská Pošta
1067
     *
1068
     * @var string
1069
     */
1070
    public const ZASILKOVNA_CH_POST_HD = '3294';
1071
1072
    /**
1073
     * Irsko Hermes
1074
     *
1075
     * @var string
1076
     */
1077
    public const ZASILKOVNA_IE_HERMES_HD = '4524';
1078
1079
    /**
1080
     * Itálie GLS
1081
     *
1082
     * @var string
1083
     */
1084
    public const ZASILKOVNA_IT_GLS_HD = '2726';
1085
1086
    /**
1087
     * LT Omniva Box
1088
     *
1089
     * @var string
1090
     */
1091
    public const ZASILKOVNA_LT_OMNIVA_BOX = '5066';
1092
1093
    /**
1094
     * LT Omniva Home
1095
     *
1096
     * @var string
1097
     */
1098
    public const ZASILKOVNA_LT_OMNIVA_HD = '5065';
1099
1100
    /**
1101
     * LU Lucemburská pošta HD
1102
     *
1103
     * @var string
1104
     */
1105
    public const ZASILKOVNA_LU_POST_HD = '8125';
1106
1107
    /**
1108
     * LU DPD
1109
     *
1110
     * @var string
1111
     */
1112
    public const ZASILKOVNA_LU_DPD_HD = '4834';
1113
1114
    /**
1115
     * LV Omniva Box
1116
     *
1117
     * @var string
1118
     */
1119
    public const ZASILKOVNA_LV_OMNIVA_BOX = '5064';
1120
1121
    /**
1122
     * LV Omniva Home
1123
     *
1124
     * @var string
1125
     */
1126
    public const ZASILKOVNA_LV_OMNIVA_HD = '5063';
1127
1128
    /**
1129
     * NL DHL HD
1130
     *
1131
     * @var string
1132
     */
1133
    public const ZASILKOVNA_NL_DHL_HD = '8000';
1134
1135
    /**
1136
     * NL Post
1137
     *
1138
     * @var string
1139
     */
1140
    public const ZASILKOVNA_NL_POST_HD = '4329';
1141
1142
    /**
1143
     * NL DHL PP
1144
     *
1145
     * @var string
1146
     */
1147
    public const ZASILKOVNA_NL_DHL_PP = '8001';
1148
1149
    /**
1150
     * Polská pošta 24h
1151
     *
1152
     * @var string
1153
     */
1154
    public const ZASILKOVNA_PL_POST_24_HD = '1438';
1155
1156
    /**
1157
     * Polská pošta
1158
     *
1159
     * @var string
1160
     */
1161
    public const ZASILKOVNA_PL_POST_48_HD = '272';
1162
1163
    /**
1164
     * Polsko DPD
1165
     *
1166
     * @var string
1167
     */
1168
    public const ZASILKOVNA_PL_DPD_HD = '1406';
1169
1170
    /**
1171
     * PL - best delivery solution
1172
     *
1173
     * @var string
1174
     */
1175
    public const ZASILKOVNA_PL_COURIER_HD = '4162';
1176
1177
    /**
1178
     * Polsko Paczkomaty
1179
     *
1180
     * @var string
1181
     */
1182
    public const ZASILKOVNA_PL_INPOST_PACZKOMATY_BOX = '3060';
1183
1184
    /**
1185
     * Polsko InPost
1186
     *
1187
     * @var string
1188
     */
1189
    public const ZASILKOVNA_PL_INPOST_HD = '3603';
1190
1191
    /**
1192
     * PT MRW Home
1193
     *
1194
     * @var string
1195
     */
1196
    public const ZASILKOVNA_PT_MRW_HD = '4655';
1197
1198
    /**
1199
     * RO - best delivery solution
1200
     *
1201
     * @var string
1202
     */
1203
    public const ZASILKOVNA_RO_COURIER_HD = '4161';
1204
1205
    /**
1206
     * Rumunsko Cargus
1207
     *
1208
     * @var string
1209
     */
1210
    public const ZASILKOVNA_RO_URGENT_CARGUS_HD = '590';
1211
1212
    /**
1213
     * Rumunsko DPD
1214
     *
1215
     * @var string
1216
     */
1217
    public const ZASILKOVNA_RO_DPD_HD = '836';
1218
1219
    /**
1220
     * Rumunsko FAN
1221
     *
1222
     * @var string
1223
     */
1224
    public const ZASILKOVNA_RO_FAN_COURIER_HD = '762';
1225
1226
    /**
1227
     * Ruská pošta
1228
     *
1229
     * @var string
1230
     */
1231
    public const ZASILKOVNA_RU_POST_PP = '4559';
1232
1233
    /**
1234
     * RU Post Registered Packet
1235
     *
1236
     * @var string
1237
     */
1238
    public const ZASILKOVNA_RU_POST_RECOMMENDED_PP = '5102';
1239
1240
    /**
1241
     * RU Post EMS
1242
     *
1243
     * @var string
1244
     */
1245
    public const ZASILKOVNA_RU_EMS_HD = '5101';
1246
1247
    /**
1248
     * SE Post Nord pp
1249
     *
1250
     * @var string
1251
     */
1252
    public const ZASILKOVNA_SE_POST_NORD_PP = '4826';
1253
1254
    /**
1255
     * SE Post Nord Home
1256
     *
1257
     * @var string
1258
     */
1259
    public const ZASILKOVNA_SE_POST_NORD_HD = '4827';
1260
1261
    /**
1262
     * SI DPD Home
1263
     *
1264
     * @var string
1265
     */
1266
    public const ZASILKOVNA_SI_DPD_HD = '4949';
1267
1268
    /**
1269
     * SI DPD Pickup
1270
     *
1271
     * @var string
1272
     */
1273
    public const ZASILKOVNA_SI_DPD_PP = '4950';
1274
1275
    /**
1276
     * Expresné doručenie Bratislava
1277
     *
1278
     * @var string
1279
     */
1280
    public const ZASILKOVNA_SK_EXPRESS_BRATISLAVA_HD = '132';
1281
1282
    /**
1283
     * SK - Best delivery solution
1284
     *
1285
     * @var string
1286
     */
1287
    public const ZASILKOVNA_SK_COURIER_HD = '131';
1288
1289
    /**
1290
     * Slovenská pošta
1291
     *
1292
     * @var string
1293
     */
1294
    public const ZASILKOVNA_SK_POST_HD = '16';
1295
1296
    /**
1297
     * Ukrajina Nova Poshta
1298
     *
1299
     * @var string
1300
     */
1301
    public const ZASILKOVNA_UA_NOVA_POSHTA_PP = '3616';
1302
1303
    /**
1304
     * Ukrajina Rosan
1305
     *
1306
     * @var string
1307
     */
1308
    public const ZASILKOVNA_UA_ROSAN_HD = '1160';
1309
1310
    /**
1311
     * DHL
1312
     *
1313
     * @var string
1314
     */
1315
    public const PBH_DHL = '1';
1316
1317
    /**
1318
     * GLS
1319
     *
1320
     * @var string
1321
     */
1322
    public const PBH_GLS = '2';
1323
1324
    /**
1325
     * UPS
1326
     *
1327
     * @var string
1328
     */
1329
    public const PBH_UPS = '3';
1330
1331
    /**
1332
     * Slovenská pošta
1333
     *
1334
     * @var string
1335
     */
1336
    public const PBH_SP = '4';
1337
1338
    /**
1339
     * Transoflex
1340
     *
1341
     * @var string
1342
     */
1343
    public const PBH_TRANSOFLEX = '5';
1344
1345
    /**
1346
     * Maďarská pošta
1347
     *
1348
     * @var string
1349
     */
1350
    public const PBH_MP = '6';
1351
1352
    /**
1353
     * Cargus
1354
     *
1355
     * @var string
1356
     */
1357
    public const PBH_CARGUS = '7';
1358
1359
    /**
1360
     * Rakouská pošta
1361
     *
1362
     * @var string
1363
     */
1364
    public const PBH_RP = '8';
1365
1366
    /**
1367
     * Česká pošta – Balík do ruky
1368
     *
1369
     * @var string
1370
     */
1371
    public const PBH_CP_DR = '9';
1372
1373
    /**
1374
     * Česká pošta – Balík na poštu
1375
     *
1376
     * @var string
1377
     */
1378
    public const PBH_CP_NP = '10';
1379
1380
    /**
1381
     * PPL
1382
     *
1383
     * @var string
1384
     */
1385
    public const PBH_PPL = '11';
1386
1387
    /**
1388
     * DPD
1389
     *
1390
     * @var string
1391
     */
1392
    public const PBH_DPD = '12';
1393
1394
    /**
1395
     * Polská pošta
1396
     *
1397
     * @var string
1398
     */
1399
    public const PBH_PP = '13';
1400
1401
    /**
1402
     * polský Inpost Kurier
1403
     *
1404
     * @var string
1405
     */
1406
    public const PBH_INPOST_KURIER = '14';
1407
1408
    /**
1409
     * FAN Courier
1410
     *
1411
     * @var string
1412
     */
1413
    public const PBH_FAN_KURIER = '15';
1414
1415
    /**
1416
     * Hermes
1417
     *
1418
     * @var string
1419
     */
1420
    public const PBH_HERMES = '16';
1421
1422
    /**
1423
     * Speedy
1424
     *
1425
     * @var string
1426
     */
1427
    public const PBH_SPEEDY = '17';
1428
1429
    /**
1430
     * Colissimo
1431
     *
1432
     * @var string
1433
     */
1434
    public const PBH_COLISSIMO = '18';
1435
1436
    /**
1437
     * Meest
1438
     *
1439
     * @var string
1440
     */
1441
    public const PBH_MEEST = '19';
1442
1443
    /**
1444
     * Nova Poshta
1445
     *
1446
     * @var string
1447
     */
1448
    public const PBH_NOBA_POSHTA = '20';
1449
1450
    /**
1451
     * Econt
1452
     *
1453
     * @var string
1454
     */
1455
    public const PBH_ECONT = '21';
1456
1457
    /**
1458
     * ACS
1459
     *
1460
     * @var string
1461
     */
1462
    public const PBH_ACS = '22';
1463
1464
    /**
1465
     * Correos
1466
     *
1467
     * @var string
1468
     */
1469
    public const PBH_CORREOS = '23';
1470
1471
    /**
1472
     * 123 Kuriér
1473
     *
1474
     * @var string
1475
     */
1476
    public const PBH_123_KURIER = '24';
1477
1478
    /**
1479
     * Worlwide zásilky
1480
     *
1481
     * @var string
1482
     */
1483
    public const DHL_WORLDWIDE = '1';
1484
1485
    /**
1486
     * Express Worldwide dokumenty
1487
     *
1488
     * @var string
1489
     */
1490
    public const DHL_EXPRESS_DOCUMENTS = '2';
1491
1492
    /**
1493
     * Express Worldwide 9:00
1494
     *
1495
     * @var string
1496
     */
1497
    public const DHL_EXPRESS_WORLDWIDE_9 = '3';
1498
1499
    /**
1500
     * Express Worldwide 12:00
1501
     *
1502
     * @var string
1503
     */
1504
    public const DHL_EXPRESS_WORLDWIDE_12 = '4';
1505
1506
    /**
1507
     * Economy Select
1508
     *
1509
     * @var string
1510
     */
1511
    public const DHL_ECONOMY = '5';
1512
1513
    /**
1514
     * Domestic Express 12:00
1515
     *
1516
     * @var string
1517
     */
1518
    public const DHL_DOMESTIC_12 = '6';
1519
1520
    /**
1521
     * Domestic Express
1522
     *
1523
     * @var string
1524
     */
1525
    public const DHL_DOMESTIC_EXPRESS = '7';
1526
1527
    /**
1528
     * Express
1529
     *
1530
     * @var string
1531
     */
1532
    public const UPS_EXPRESS = '1';
1533
1534
    /**
1535
     * Express Saver
1536
     *
1537
     * @var string
1538
     */
1539
    public const UPS_EXPRESS_SAVER = '2';
1540
1541
    /**
1542
     * Standard
1543
     *
1544
     * @var string
1545
     */
1546
    public const UPS_STANDARD = '3';
1547
1548
    /**
1549
     * Expedited
1550
     *
1551
     * @var string
1552
     */
1553
    public const UPS_EXPEDITED = '4';
1554
1555
    /**
1556
     * Express
1557
     *
1558
     * @var string
1559
     */
1560
    public const TNT_EXPRESS = '1';
1561
1562
    /**
1563
     * Express 9:00
1564
     *
1565
     * @var string
1566
     */
1567
    public const TNT_EXPRESS_9 = '2';
1568
1569
    /**
1570
     * Express 12:00
1571
     *
1572
     * @var string
1573
     */
1574
    public const TNT_EXPRESS_12 = '3';
1575
1576
    /**
1577
     * Economy Express
1578
     *
1579
     * @var string
1580
     */
1581
    public const TNT_ECONOMY_EXPRESS = '4';
1582
1583
    /**
1584
     * Night Express 8:00
1585
     *
1586
     * @var string
1587
     */
1588
    public const TNT_NIGHT_EXPRESS_8 = '5';
1589
1590
    /**
1591
     * Economy Express 12:00
1592
     *
1593
     * @var string
1594
     */
1595
    public const TNT_ECONOMY_EXPRESS_12 = '6';
1596
1597
    /**
1598
     * Express 10:00
1599
     *
1600
     * @var string
1601
     */
1602
    public const TNT_EXPRESS_10 = '7';
1603
1604
    /**
1605
     * Express (Documents)
1606
     *
1607
     * @var string
1608
     */
1609
    public const TNT_EXPRESS_DOCUMENTS = '8';
1610
1611
    /**
1612
     * Express 9:00 (Documents)
1613
     *
1614
     * @var string
1615
     */
1616
    public const TNT_EXPRESS_DOCUMENTS_9 = '9';
1617
1618
    /**
1619
     * Express 10:00 (Documents)
1620
     *
1621
     * @var string
1622
     */
1623
    public const TNT_EXPRESS_DOCUMENTS_10 = '10';
1624
1625
    /**
1626
     * Express 12:00 (Documents)
1627
     *
1628
     * @var string
1629
     */
1630
    public const TNT_EXPRESS_DOCUMENTS_12 = '11';
1631
1632
    /**
1633
     * Night Express 12:00
1634
     *
1635
     * @var string
1636
     */
1637
    public const TNT_NIGHT_EXPRESS_12 = '12';
1638
1639
    /**
1640
     * Night Express 06:00
1641
     *
1642
     * @var string
1643
     */
1644
    public const TNT_NIGHT_EXPRESS_6 = '13';
1645
1646
    /**
1647
     * Night Express 07:00
1648
     *
1649
     * @var string
1650
     */
1651
    public const TNT_NIGHT_EXPRESS_7 = '14';
1652
1653
    /**
1654
     * Night Express 14:00
1655
     *
1656
     * @var string
1657
     */
1658
    public const TNT_NIGHT_EXPRESS_14 = '15';
1659
1660
    /**
1661
     * Special economy express
1662
     *
1663
     * @var string
1664
     */
1665
    public const TNT_SPECIAL_ECONOMY_EXPRESS = '16';
1666
1667
    /**
1668
     * Priority Goods 9:00
1669
     *
1670
     * @var string
1671
     */
1672
    public const GW_PRIORITY_9 = 'P9';
1673
1674
    /**
1675
     * Priority Goods 12:00
1676
     *
1677
     * @var string
1678
     */
1679
    public const GW_PRIORITY_12 = 'P12';
1680
1681
    /**
1682
     * Priority Goods 16:00
1683
     *
1684
     * @var string
1685
     */
1686
    public const GW_PRIORITY_16 = 'P16';
1687
1688
    /**
1689
     * Direct Goods
1690
     *
1691
     * @var string
1692
     */
1693
    public const GW_DIRECT_GOODS = 'WDG';
1694
1695
    /**
1696
     * Pick Up
1697
     *
1698
     * @var string
1699
     */
1700
    public const GW_PICKUP = 'BES';
1701
1702
    /**
1703
     * Pickup by Consignee
1704
     *
1705
     * @var string
1706
     */
1707
    public const GW_PICKUP_BY_CONSIGNEE = 'SA';
1708
1709
    /**
1710
     * Domestic PRON
1711
     *
1712
     * @var string
1713
     */
1714
    public const GW_DOMESTIC = 'W24';
1715
1716
    /**
1717
     * HDS - Home Delivery Services
1718
     *
1719
     * @var string
1720
     */
1721
    public const GW_HOME_DELIVERY = 'HDS';
1722
1723
    /**
1724
     * Export PROI
1725
     *
1726
     * @var string
1727
     */
1728
    public const GW_EXPORT = 'EUR';
1729
1730
    /**
1731
     * Domestic PRON
1732
     *
1733
     * @var string
1734
     */
1735
    public const GW_W24 = 'W24';
1736
1737
    /**
1738
     * Domestic 8:00 - 12:00
1739
     *
1740
     * @var string
1741
     */
1742
    public const GW_D8 = 'D8';
1743
1744
    /**
1745
     * Domestic 12:00 - 14:00
1746
     *
1747
     * @var string
1748
     */
1749
    public const GW_D12 = 'D12';
1750
1751
    /**
1752
     * Domestic 14:00 - 18:00
1753
     *
1754
     * @var string
1755
     */
1756
    public const GW_D14 = 'D14';
1757
1758
    /**
1759
     * Export PROI
1760
     *
1761
     * @var string
1762
     */
1763
    public const GW_EUR = 'EUR';
1764
1765
    /**
1766
     * Standard
1767
     *
1768
     * @var string
1769
     */
1770
    public const MESSENGER_STANDARD = '100';
1771
1772
    /**
1773
     * Extreme
1774
     *
1775
     * @var string
1776
     */
1777
    public const MESSENGER_EXTREME = '102';
1778
1779
    /**
1780
     * Express
1781
     *
1782
     * @var string
1783
     */
1784
    public const MESSENGER_EXPRESS = '103';
1785
1786
    /**
1787
     * Same day
1788
     *
1789
     * @var string
1790
     */
1791
    public const MESSENGER_SAME_DAY = '104';
1792
1793
    /**
1794
     * Overnight Economy
1795
     *
1796
     * @var string
1797
     */
1798
    public const MESSENGER_OVERNIGHT_ECONOMY = '106';
1799
1800
    /**
1801
     * Overnight Express
1802
     *
1803
     * @var string
1804
     */
1805
    public const MESSENGER_OVERNIGHT_EXPRESS = '107';
1806
1807
    /**
1808
     * Direct
1809
     *
1810
     * @var string
1811
     */
1812
    public const MESSENGER_DIRECT = '108';
1813
1814
    /**
1815
     * DHL Paket
1816
     *
1817
     * @var string
1818
     */
1819
    public const DHLDE_PAKET = '1';
1820
1821
    /**
1822
     * DHL Paket Taggleich
1823
     *
1824
     * @var string
1825
     */
1826
    public const DHLDE_PAKET_TAGGLEICH = '2';
1827
1828
    /**
1829
     * DHL Paket International
1830
     *
1831
     * @var string
1832
     */
1833
    public const DHLDE_PAKET_INTERNATIONAL = '3';
1834
1835
    /**
1836
     * DHL Europaket
1837
     *
1838
     * @var string
1839
     */
1840
    public const DHLDE_EUROPAKET = '4';
1841
1842
    /**
1843
     * DHL Paket Connect
1844
     *
1845
     * @var string
1846
     */
1847
    public const DHLDE_PAKET_CONNECT = '5';
1848
1849
    /**
1850
     * FedEx International Priority
1851
     *
1852
     * @var string
1853
     */
1854
    public const FEDEX_INTERNATIONAL = '1';
1855
1856
    /**
1857
     * FedEx International Economy
1858
     *
1859
     * @var string
1860
     */
1861
    public const FEDEX_ECONOMY = '2';
1862
1863
    /**
1864
     * @return array<string>
1865
     */
1866
    public static function cp(): array
1867
    {
1868
        return [
1869
            self::CP_DR,
1870
            self::CP_RR,
1871
            self::CP_SR,
1872
            self::CP_RRP,
1873
            self::CP_SRP,
1874
            self::CP_NP,
1875
            self::CP_VL,
1876
            self::CP_DV,
1877
            self::CP_BA,
1878
            self::CP_BB,
1879
            self::CP_BN,
1880
            self::CP_NB,
1881
            self::CP_DT,
1882
            self::CP_DS,
1883
            self::CP_EE,
1884
            self::CP_BE,
1885
            self::CP_RZP,
1886
            self::CP_VZP,
1887
            self::CP_EM,
1888
            self::CP_CSP,
1889
            self::CP_CSE,
1890
            self::CP_CVP,
1891
            self::CP_CVE,
1892
            self::CP_CE,
1893
            self::CP_OLZ,
1894
        ];
1895
    }
1896
1897
    /**
1898
     * @return array<string>
1899
     */
1900
    public static function dpd(): array
1901
    {
1902
        return [
1903
            self::DPD_CLASSIC,
1904
            self::DPD_PRIVATE,
1905
            self::DPD_PICKUP,
1906
            self::DPD_EXPRESS_10,
1907
            self::DPD_EXPRESS_12,
1908
            self::DPD_EXPRESS_18,
1909
            self::DPD_PRIVATE_EVENING,
1910
            self::DPD_PRIVATE_SATURDAY,
1911
        ];
1912
    }
1913
1914
    /**
1915
     * @return array<string>
1916
     */
1917
    public static function dhl(): array
1918
    {
1919
        return [
1920
            self::DHL_WORLDWIDE,
1921
            self::DHL_EXPRESS_DOCUMENTS,
1922
            self::DHL_EXPRESS_WORLDWIDE_9,
1923
            self::DHL_EXPRESS_WORLDWIDE_12,
1924
            self::DHL_ECONOMY,
1925
            self::DHL_DOMESTIC_12,
1926
            self::DHL_DOMESTIC_EXPRESS,
1927
        ];
1928
    }
1929
1930
    /**
1931
     * @return array<string>
1932
     */
1933
    public static function geis(): array
1934
    {
1935
        return [
1936
            self::GEIS_PARCEL_PRIVATE,
1937
            self::GEIS_PARCEL_BUSINESS,
1938
            self::GEIS_PARCEL_BUSINESS_INTERNATIONAL,
1939
            self::GEIS_CARGO_BUSINESS_NATIONAL,
1940
            self::GEIS_CARGO_BUSINESS_INTERNATIONAL,
1941
            self::GEIS_PARCEL_GEIS_POINT,
1942
            self::GEIS_PARCEL_GARANTED,
1943
            self::GEIS_PARCEL_12,
1944
            self::GEIS_PARCEL_PRIVATE_INTERNATIONAL,
1945
            self::GEIS_CARGO_PRIVATE_NATIONAL,
1946
            self::GEIS_CARGO_PRIVATE_INTERNATIONAL,
1947
        ];
1948
    }
1949
1950
    /**
1951
     * @return array<string>
1952
     */
1953
    public static function gls(): array
1954
    {
1955
        return [
1956
            self::GLS_BUSINESS,
1957
            self::GLS_SHOP,
1958
            self::GLS_EXPRESS,
1959
            self::GLS_GUARANTEED24,
1960
            self::GLS_GUARANTEED24_EXPRESS,
1961
            self::GLS_GUARANTEED24_SHOP,
1962
        ];
1963
    }
1964
1965
    /**
1966
     * @return array<string>
1967
     */
1968
    public static function intime(): array
1969
    {
1970
        return [
1971
            self::INTIME_SMALL_CZ,
1972
            self::INTIME_MEDIUM_CZ,
1973
            self::INTIME_LARGE_CZ,
1974
            self::INTIME_POSTOMAT_CZ,
1975
            // self::INTIME_POSTOMAT_SK,
1976
            self::INTIME_LARGE_SK,
1977
            self::INTIME_EXTRA_CZ,
1978
            self::INTIME_PARCEL_EU,
1979
            self::INTIME_PARCEL_EU_PLUS,
1980
        ];
1981
    }
1982
1983
    /**
1984
     * @return array<string>
1985
     */
1986
    public static function pbh(): array
1987
    {
1988
        return [
1989
            self::PBH_DHL,
1990
            self::PBH_GLS,
1991
            self::PBH_UPS,
1992
            self::PBH_SP,
1993
            self::PBH_TRANSOFLEX,
1994
            self::PBH_MP,
1995
            self::PBH_CARGUS,
1996
            self::PBH_RP,
1997
            self::PBH_CP_DR,
1998
            self::PBH_CP_NP,
1999
            self::PBH_PPL,
2000
            self::PBH_DPD,
2001
            self::PBH_PP,
2002
            self::PBH_INPOST_KURIER,
2003
            self::PBH_FAN_KURIER,
2004
            self::PBH_HERMES,
2005
            self::PBH_SPEEDY,
2006
            self::PBH_COLISSIMO,
2007
            self::PBH_MEEST,
2008
            self::PBH_NOBA_POSHTA,
2009
            self::PBH_ECONT,
2010
            self::PBH_ACS,
2011
            self::PBH_CORREOS,
2012
            self::PBH_123_KURIER,
2013
        ];
2014
    }
2015
2016
    /**
2017
     * @return array<string>
2018
     */
2019
    public static function ppl(): array
2020
    {
2021
        return [
2022
            self::PPL_CONNECT,
2023
            self::PPL_AFTERNOON,
2024
            self::PPL_PRIVATE,
2025
            self::PPL_BUSINESS,
2026
            self::PPL_PRIVATE_EVENING,
2027
            self::PPL_BUSINESS_PALETTE,
2028
            self::PPL_PRIVATE_PALETTE,
2029
        ];
2030
    }
2031
2032
    /**
2033
     * @return array<string>
2034
     */
2035
    public static function sp(): array
2036
    {
2037
        return [
2038
            self::SP_BZA,
2039
            self::SP_BZP,
2040
            self::SP_BZB,
2041
            self::SP_EXA,
2042
            self::SP_EXP,
2043
            self::SP_EXB,
2044
            self::SP_BNA,
2045
            self::SP_BNP,
2046
            self::SP_BNB,
2047
            self::SP_RRA,
2048
        ];
2049
    }
2050
2051
    /**
2052
     * @return array<string>
2053
     */
2054
    public static function sps(): array
2055
    {
2056
        return [
2057
            self::SPS_EXPRESS,
2058
            self::SPS_EXPRESS_12,
2059
            self::SPS_EXPRESS_9,
2060
            self::SPS_INTERNATIONAL,
2061
        ];
2062
    }
2063
2064
    /**
2065
     * @return array<string>
2066
     */
2067
    public static function topTrans(): array
2068
    {
2069
        return [
2070
            self::TOPTRANS_STANDARD,
2071
            self::TOPTRANS_TOPTIME,
2072
            self::TOPTRANS_PRIVATE,
2073
            self::TOPTRANS_WEEKEND,
2074
            self::TOPTRANS_PERSONAL,
2075
            self::TOPTRANS_NOTICE,
2076
        ];
2077
    }
2078
2079
    /**
2080
     * @return array<string>
2081
     */
2082
    public static function ulozenka(): array
2083
    {
2084
        return [
2085
            self::ULOZENKA_ULOZENKA,
2086
            self::ULOZENKA_SP,
2087
            self::ULOZENKA_DPD_CLASSIC_SK,
2088
            self::ULOZENKA_DPD_PRIVATE,
2089
            self::ULOZENKA_DPD_PARCEL,
2090
            self::ULOZENKA_CP_DR,
2091
            self::ULOZENKA_CP_NP,
2092
            self::ULOZENKA_PARTNER,
2093
            self::ULOZENKA_D1,
2094
            self::ULOZENKA_EXPRESS_COURRIER,
2095
            self::ULOZENKA_EXPRESS_SK,
2096
            self::ULOZENKA_BALIKOBOX_SK,
2097
            self::ULOZENKA_DEPO_SK,
2098
        ];
2099
    }
2100
2101
    /**
2102
     * @return array<string>
2103
     */
2104
    public static function ups(): array
2105
    {
2106
        return [
2107
            self::UPS_EXPRESS,
2108
            self::UPS_EXPRESS_SAVER,
2109
            self::UPS_STANDARD,
2110
            self::UPS_EXPEDITED,
2111
        ];
2112
    }
2113
2114
    /**
2115
     * @return array<mixed>
2116
     */
2117
    public static function zasilkovna(): array
2118
    {
2119
        return [
2120
            self::ZASILKOVNA_VMCZ,
2121
            self::ZASILKOVNA_VMSK,
2122
            self::ZASILKOVNA_VMHU,
2123
            self::ZASILKOVNA_VMPL,
2124
            self::ZASILKOVNA_VMRO,
2125
            self::ZASILKOVNA_AT_DPD_HD,
2126
            self::ZASILKOVNA_AT_POST_HD,
2127
            self::ZASILKOVNA_BE_POST_PP,
2128
            self::ZASILKOVNA_BE_BE_POST_HD,
0 ignored issues
show
Deprecated Code introduced by
The constant Inspirum\Balikobot\Defin...ASILKOVNA_BE_BE_POST_HD has been deprecated with message: Will be removed in v5.0

This class constant has been deprecated. The supplier of the class has supplied an explanatory message.

The explanatory message should give you some clue as to whether and when the constant will be removed from the class and what other constant to use instead.

Loading history...
2129
            self::ZASILKOVNA_BE_NL_POST_HD,
2130
            self::ZASILKOVNA_BG_ECONT_HD,
2131
            self::ZASILKOVNA_BG_ECONT_PP,
2132
            self::ZASILKOVNA_BG_SPEEDY_PP,
2133
            self::ZASILKOVNA_BG_SPEEDY_HD,
2134
            self::ZASILKOVNA_BG_ECONT_BOX,
2135
            self::ZASILKOVNA_CZ_POST_HD,
2136
            self::ZASILKOVNA_CZ_EXPRESS_PRAHA_HD,
2137
            self::ZASILKOVNA_CZ_EXPRESS_BRNO_HD,
2138
            self::ZASILKOVNA_CZ_EXPRESS_OSTRAVA_HD,
2139
            self::ZASILKOVNA_CZ_COURIER_HD,
2140
            self::ZASILKOVNA_DE_POST_HD,
2141
            self::ZASILKOVNA_DE_HERMES_PP,
2142
            self::ZASILKOVNA_DE_HERMES_HD,
2143
            self::ZASILKOVNA_DK_POST_NORD_HD,
2144
            self::ZASILKOVNA_DK_POST_NORD_PP,
2145
            self::ZASILKOVNA_EE_OMNIVA_HD,
2146
            self::ZASILKOVNA_EE_OMNIVA_PP,
2147
            self::ZASILKOVNA_EE_OMNIVA_BOX,
2148
            self::ZASILKOVNA_ES_CORREOS_HD,
2149
            self::ZASILKOVNA_ES_MRW_HD,
2150
            self::ZASILKOVNA_FI_POST_NORD_HP,
2151
            self::ZASILKOVNA_FI_POST_NORD_PP,
2152
            self::ZASILKOVNA_FR_MONDIAL_PP,
2153
            self::ZASILKOVNA_FR_COLISSIMO_HD,
2154
            self::ZASILKOVNA_GB_HERMES_HD,
2155
            self::ZASILKOVNA_GB_ROYAL_MAIL_24_HD,
2156
            self::ZASILKOVNA_GB_ROYAL_MAIL_48_HD,
2157
            self::ZASILKOVNA_GR_ACS_HD,
2158
            self::ZASILKOVNA_GR_ACS_PP,
2159
            self::ZASILKOVNA_GR_SPEEDY_HD,
2160
            self::ZASILKOVNA_HR_DPD_HD,
2161
            self::ZASILKOVNA_HR_POST_PP,
2162
            self::ZASILKOVNA_HR_POST_HD,
2163
            self::ZASILKOVNA_HU_EXPRESS_ONE_HD,
2164
            self::ZASILKOVNA_HU_DPD_HD,
2165
            self::ZASILKOVNA_HU_COURIER_HD,
2166
            self::ZASILKOVNA_HU_POST_HD,
2167
            self::ZASILKOVNA_CH_POST_PRIORITY_HD,
2168
            self::ZASILKOVNA_CH_POST_HD,
2169
            self::ZASILKOVNA_IE_HERMES_HD,
2170
            self::ZASILKOVNA_IT_GLS_HD,
2171
            self::ZASILKOVNA_LT_OMNIVA_BOX,
2172
            self::ZASILKOVNA_LT_OMNIVA_HD,
2173
            self::ZASILKOVNA_LU_POST_HD,
2174
            self::ZASILKOVNA_LU_DPD_HD,
2175
            self::ZASILKOVNA_LV_OMNIVA_BOX,
2176
            self::ZASILKOVNA_LV_OMNIVA_HD,
2177
            self::ZASILKOVNA_NL_DHL_HD,
2178
            self::ZASILKOVNA_NL_POST_HD,
2179
            self::ZASILKOVNA_NL_DHL_PP,
2180
            self::ZASILKOVNA_PL_POST_24_HD,
2181
            self::ZASILKOVNA_PL_POST_48_HD,
2182
            self::ZASILKOVNA_PL_DPD_HD,
2183
            self::ZASILKOVNA_PL_COURIER_HD,
2184
            self::ZASILKOVNA_PL_INPOST_PACZKOMATY_BOX,
2185
            self::ZASILKOVNA_PL_INPOST_HD,
2186
            self::ZASILKOVNA_PT_MRW_HD,
2187
            self::ZASILKOVNA_RO_COURIER_HD,
2188
            self::ZASILKOVNA_RO_URGENT_CARGUS_HD,
2189
            self::ZASILKOVNA_RO_DPD_HD,
2190
            self::ZASILKOVNA_RO_FAN_COURIER_HD,
2191
            self::ZASILKOVNA_RU_POST_PP,
2192
            self::ZASILKOVNA_RU_POST_RECOMMENDED_PP,
2193
            self::ZASILKOVNA_RU_EMS_HD,
2194
            self::ZASILKOVNA_SE_POST_NORD_PP,
2195
            self::ZASILKOVNA_SE_POST_NORD_HD,
2196
            self::ZASILKOVNA_SI_DPD_HD,
2197
            self::ZASILKOVNA_SI_DPD_PP,
2198
            self::ZASILKOVNA_SK_EXPRESS_BRATISLAVA_HD,
2199
            self::ZASILKOVNA_SK_COURIER_HD,
2200
            self::ZASILKOVNA_SK_POST_HD,
2201
            self::ZASILKOVNA_UA_NOVA_POSHTA_PP,
2202
            self::ZASILKOVNA_UA_ROSAN_HD,
2203
        ];
2204
    }
2205
2206
    /**
2207
     * @return array<string>
2208
     */
2209
    public static function tnt(): array
2210
    {
2211
        return [
2212
            self::TNT_EXPRESS,
2213
            self::TNT_EXPRESS_9,
2214
            self::TNT_EXPRESS_12,
2215
            self::TNT_ECONOMY_EXPRESS,
2216
            self::TNT_NIGHT_EXPRESS_8,
2217
            self::TNT_ECONOMY_EXPRESS_12,
2218
            self::TNT_EXPRESS_10,
2219
            self::TNT_EXPRESS_DOCUMENTS,
2220
            self::TNT_EXPRESS_DOCUMENTS_9,
2221
            self::TNT_EXPRESS_DOCUMENTS_10,
2222
            self::TNT_EXPRESS_DOCUMENTS_12,
2223
            self::TNT_NIGHT_EXPRESS_12,
2224
            self::TNT_NIGHT_EXPRESS_6,
2225
            self::TNT_NIGHT_EXPRESS_7,
2226
            self::TNT_NIGHT_EXPRESS_14,
2227
            self::TNT_SPECIAL_ECONOMY_EXPRESS,
2228
        ];
2229
    }
2230
2231
    /**
2232
     * @return array<string>
2233
     */
2234
    public static function gw(): array
2235
    {
2236
        return [
2237
            self::GW_DOMESTIC,
2238
            self::GW_HOME_DELIVERY,
2239
            self::GW_PRIORITY_9,
2240
            self::GW_PRIORITY_12,
2241
            self::GW_PRIORITY_16,
2242
            self::GW_DIRECT_GOODS,
2243
            self::GW_EXPORT,
2244
            self::GW_PICKUP,
2245
            self::GW_PICKUP_BY_CONSIGNEE,
2246
        ];
2247
    }
2248
2249
    /**
2250
     * @return array<string>
2251
     */
2252
    public static function gwcz(): array
2253
    {
2254
        return [
2255
            self::GW_W24,
2256
            self::GW_D8,
2257
            self::GW_D12,
2258
            self::GW_D14,
2259
            self::GW_EUR,
2260
        ];
2261
    }
2262
2263
    /**
2264
     * @return array<string>
2265
     */
2266
    public static function messenger(): array
2267
    {
2268
        return [
2269
            self::MESSENGER_STANDARD,
2270
            self::MESSENGER_EXTREME,
2271
            self::MESSENGER_EXPRESS,
2272
            self::MESSENGER_SAME_DAY,
2273
            self::MESSENGER_OVERNIGHT_ECONOMY,
2274
            self::MESSENGER_OVERNIGHT_EXPRESS,
2275
            self::MESSENGER_DIRECT,
2276
        ];
2277
    }
2278
2279
    /**
2280
     * @return array<string>
2281
     */
2282
    public static function dhlde(): array
2283
    {
2284
        return [
2285
            self::DHLDE_PAKET,
2286
            self::DHLDE_PAKET_TAGGLEICH,
2287
            self::DHLDE_PAKET_INTERNATIONAL,
2288
            self::DHLDE_EUROPAKET,
2289
            self::DHLDE_PAKET_CONNECT,
2290
        ];
2291
    }
2292
2293
    /**
2294
     * @return array<string>
2295
     */
2296
    public static function fedex(): array
2297
    {
2298
        return [
2299
            self::FEDEX_INTERNATIONAL,
2300
            self::FEDEX_ECONOMY,
2301
        ];
2302
    }
2303
2304
    /**
2305
     * All supported shipper services
2306
     *
2307
     * @return array<string,array<string>>
2308
     */
2309
    public static function all(): array
2310
    {
2311
        return [
2312
            Shipper::CP         => self::cp(),
2313
            Shipper::DPD        => self::dpd(),
2314
            Shipper::DHL        => self::dhl(),
2315
            Shipper::GEIS       => self::geis(),
2316
            Shipper::GLS        => self::gls(),
2317
            Shipper::INTIME     => self::intime(),
2318
            Shipper::PBH        => self::pbh(),
2319
            Shipper::PPL        => self::ppl(),
2320
            Shipper::SP         => self::sp(),
2321
            Shipper::SPS        => self::sps(),
2322
            Shipper::TOPTRANS   => self::topTrans(),
2323
            Shipper::ULOZENKA   => self::ulozenka(),
2324
            Shipper::UPS        => self::ups(),
2325
            Shipper::ZASILKOVNA => self::zasilkovna(),
2326
            Shipper::TNT        => self::tnt(),
2327
            Shipper::GW         => self::gw(),
2328
            Shipper::GWCZ       => self::gwcz(),
2329
            Shipper::MESSENGER  => self::messenger(),
2330
            Shipper::DHLDE      => self::dhlde(),
2331
            Shipper::FEDEX      => self::fedex(),
2332
        ];
2333
    }
2334
}
2335