44
55This bundle provides services to access and consume the Colissimo WS.
66
7- ### Services
7+ ### Services
88
99- [ Shipping] ( https://www.colissimo.entreprise.laposte.fr/sites/default/files/2022-04/DT_Flexibilite_Expedition_Web_Service_Affranchissement_202204_FR.pdf )
1010- [ 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.
1313### Requirements
1414
1515- Php >= 7.4
16- - Symfony 4, 5
16+ - Symfony 4, 5 or 6
1717
1818## Installation
1919
@@ -72,7 +72,7 @@ class PickupPointsController extends AbstractController
7272 public function index()
7373 {
7474 $searchModel = new PickupPointsSearchModel(
75- ' 33300' ,
75+ ' 33300' ,
7676 ' Bordeaux' ,
7777 ' FR' ,
7878 ' 18/07/2022' ,
@@ -87,7 +87,7 @@ class PickupPointsController extends AbstractController
8787 echo $pickupPoint->get('id'); // 987178
8888 echo $pickupPoint->get('name'); // ALEX TISSUS
8989 }
90-
90+
9191 // ....
9292 }
9393}
@@ -114,7 +114,7 @@ class PickupPointByIdController extends AbstractController
114114 if (null !== $pickupPoint) {
115115 echo $pickupPoint->get('name'); // ALEX TISSUS
116116 }
117-
117+
118118 // ....
119119 }
120120}
@@ -168,7 +168,7 @@ class ShippingController extends AbstractController
168168 public function index()
169169 {
170170 $label = new Label();
171-
171+
172172 $outputFormat = new OutputFormat();
173173 $outputFormat->setOutputPrintingType(OutputPrintingType::ZPL_10x10_300dpi);
174174
@@ -209,7 +209,7 @@ class ShippingController extends AbstractController
209209 echo $shipping->getPdfUrl(); // null or the pdf url.
210210 echo $shipping->getParcelNumberPartner(); // null or the parcel number partner.
211211 echo $shipping->getFields(); // Array of custom fields.
212-
212+
213213 // ...
214214 }
215215}
@@ -242,7 +242,7 @@ class ProductInterController extends AbstractController
242242
243243 $response->getProduct(); // Array of product codes.
244244 $response->getReturnTypeChoice(); // Array of return choice types.
245-
245+
246246 // ...
247247 }
248248}
0 commit comments