PHP code example of answear / inpost-pickup-point-bundle
1. Go to this page and download the library: Download answear/inpost-pickup-point-bundle library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
answear / inpost-pickup-point-bundle example snippets
use Answear\InpostBundle\Command\FindPoints;
use Answear\InpostBundle\Request\FindPointsRequestBuilder;
$findPointsRequest = (new FindPointsRequestBuilder())->build();
/** @var FindPoints $findPointsCommand */
$findOfficeResponse = $findPointsCommand->findPoints($findPointsRequest);
use Answear\InpostBundle\Request\FindPointsRequestBuilder;
$findPointsRequest = (new FindPointsRequestBuilder())
->setName('AK1001')
->build();