Total Complexity | 0 |
Total Lines | 50 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
29 | class CourierService |
||
30 | { |
||
31 | /** |
||
32 | * Courier service id. |
||
33 | * |
||
34 | * @Serializer\Type("integer") |
||
35 | */ |
||
36 | private int $id; |
||
|
|||
37 | |||
38 | /** |
||
39 | * Courier service name in local language. |
||
40 | * |
||
41 | * @Serializer\Type("string") |
||
42 | */ |
||
43 | private string $name; |
||
44 | |||
45 | /** |
||
46 | * Courier service name in English. |
||
47 | * |
||
48 | * @Serializer\Type("string") |
||
49 | */ |
||
50 | private string $nameEn; |
||
51 | |||
52 | /** |
||
53 | * Additional services options. |
||
54 | * |
||
55 | * @Serializer\Type("ArrayCollection") |
||
56 | */ |
||
57 | private ArrayCollection $additionalServices; |
||
58 | |||
59 | /** |
||
60 | * Cargo type. |
||
61 | * |
||
62 | * @Serializer\Type("string") |
||
63 | */ |
||
64 | private string $cargoType; |
||
65 | |||
66 | /** |
||
67 | * Require weight for each parcel on create shipment. |
||
68 | * |
||
69 | * @Serializer\Type("bool") |
||
70 | */ |
||
71 | private bool $requireParcelWeight; |
||
72 | |||
73 | /** |
||
74 | * Require size for each parcel on create shipment. |
||
75 | * |
||
76 | * @Serializer\Type("bool") |
||
77 | */ |
||
78 | private bool $requireParcelSize; |
||
79 | } |
||
80 |