4
4
5
5
This bundle provides services to access and consume the Colissimo WS.
6
6
7
- ### Services
7
+ ### Services
8
8
9
9
- [ Shipping] ( https://www.colissimo.entreprise.laposte.fr/sites/default/files/2022-04/DT_Flexibilite_Expedition_Web_Service_Affranchissement_202204_FR.pdf )
10
10
- [ Pickup points] ( https://www.colissimo.entreprise.laposte.fr/sites/default/files/2021-10/WebService-points-retrait_FR.pdf )
@@ -13,7 +13,7 @@ This bundle provides services to access and consume the Colissimo WS.
13
13
### Requirements
14
14
15
15
- Php >= 7.4
16
- - Symfony 4, 5
16
+ - Symfony 4, 5 or 6
17
17
18
18
## Installation
19
19
@@ -72,7 +72,7 @@ class PickupPointsController extends AbstractController
72
72
public function index()
73
73
{
74
74
$searchModel = new PickupPointsSearchModel(
75
- ' 33300' ,
75
+ ' 33300' ,
76
76
' Bordeaux' ,
77
77
' FR' ,
78
78
' 18/07/2022' ,
@@ -87,7 +87,7 @@ class PickupPointsController extends AbstractController
87
87
echo $pickupPoint->get('id'); // 987178
88
88
echo $pickupPoint->get('name'); // ALEX TISSUS
89
89
}
90
-
90
+
91
91
// ....
92
92
}
93
93
}
@@ -114,7 +114,7 @@ class PickupPointByIdController extends AbstractController
114
114
if (null !== $pickupPoint) {
115
115
echo $pickupPoint->get('name'); // ALEX TISSUS
116
116
}
117
-
117
+
118
118
// ....
119
119
}
120
120
}
@@ -168,7 +168,7 @@ class ShippingController extends AbstractController
168
168
public function index()
169
169
{
170
170
$label = new Label();
171
-
171
+
172
172
$outputFormat = new OutputFormat();
173
173
$outputFormat->setOutputPrintingType(OutputPrintingType::ZPL_10x10_300dpi);
174
174
@@ -209,7 +209,7 @@ class ShippingController extends AbstractController
209
209
echo $shipping->getPdfUrl(); // null or the pdf url.
210
210
echo $shipping->getParcelNumberPartner(); // null or the parcel number partner.
211
211
echo $shipping->getFields(); // Array of custom fields.
212
-
212
+
213
213
// ...
214
214
}
215
215
}
@@ -242,7 +242,7 @@ class ProductInterController extends AbstractController
242
242
243
243
$response->getProduct(); // Array of product codes.
244
244
$response->getReturnTypeChoice(); // Array of return choice types.
245
-
245
+
246
246
// ...
247
247
}
248
248
}
0 commit comments