PluginProbe
Packeta / 2.0.9
Packeta v2.0.9
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
← All changes | src/Packetery/Module/Order/Attribute.php +8 -13 2.3.22.0.9 View file →
@@ -23,9 +23,8 @@
23 23 public const POINT_STREET = 'packetery_point_street';
24 24 public const POINT_PLACE = 'packetery_point_place'; // Business name of pickup point.
25 25 public const CARRIER_ID = 'packetery_carrier_id';
26 26 public const POINT_URL = 'packetery_point_url';
27 - public const POINT_TYPE = 'packetery_point_type';
28 27
29 28 public const ADDRESS_IS_VALIDATED = 'packetery_address_isValidated';
30 29 public const ADDRESS_HOUSE_NUMBER = 'packetery_address_houseNumber';
31 30 public const ADDRESS_STREET = 'packetery_address_street';
@@ -45,42 +44,38 @@
45 44 *
46 45 * @var array<string, array<string, string|bool>>
47 46 */
48 47 public static $pickupPointAttributes = [
49 - 'id' => [
48 + 'id' => [
50 49 'name' => self::POINT_ID,
51 50 'required' => true,
52 51 ],
53 - 'name' => [
52 + 'name' => [
54 53 'name' => self::POINT_NAME,
55 54 'required' => false,
56 55 ],
57 - 'city' => [
56 + 'city' => [
58 57 'name' => self::POINT_CITY,
59 58 'required' => false,
60 59 ],
61 - 'zip' => [
60 + 'zip' => [
62 61 'name' => self::POINT_ZIP,
63 62 'required' => false,
64 63 ],
65 - 'street' => [
64 + 'street' => [
66 65 'name' => self::POINT_STREET,
67 66 'required' => false,
68 67 ],
69 - 'place' => [
68 + 'place' => [
70 69 'name' => self::POINT_PLACE,
71 70 'required' => false,
72 71 ],
73 - 'carrierId' => [
72 + 'carrierId' => [
74 73 'name' => self::CARRIER_ID,
75 74 'required' => false,
76 75 ],
77 - 'url' => [
76 + 'url' => [
78 77 'name' => self::POINT_URL,
79 - 'required' => false,
80 - ],
81 - 'pickupPointType' => [
82 - 'name' => self::POINT_TYPE,
83 78 'required' => false,
84 79 ],
85 80 ];
86 81