Example: Retrieve nearest locations based on address information
useAvido\PostNLCifClient\Request\DeliveryOptions\Locations\NearestLocationsRequest;
// get nearest locations based on address information$request = newNearestLocationsRequest();
$request->setCountryCode('NL')
->setPostalcode('2132WT')
->setCity('Hoofddorp')
->setStreet('Siriusdreef')
->setHouseNumber(42)
->setDeliveryDate('01-01-2999')
->setOpeningTime('09:00:00')
->addDeliveryOptions('PG');
// load api "getAPI" based on required services.$response = $client->getAPI('location')->getNearestLocations($request);