LocationServiceInterface¶
-
interface
Firstred\PostNL\Service\LocationServiceInterface¶ - Class LocationService.
Summary¶
Methods¶
Methods¶
-
public
Firstred\PostNL\Service\LocationServiceInterface::getNearestLocationsREST($getNearestLocations)¶ - Get the nearest locations via REST.
- Parameters
$getNearestLocations (
Firstred\PostNL\Entity\Request\GetNearestLocations)
- Returns
\Firstred\PostNL\Entity\Response\GetNearestLocationsResponse- Throws
- Throws
- Throws
- Throws
- Throws
- Throws
\Psr\Cache\InvalidArgumentException- Throws
- Throws
- Throws
- Throws
- Throws
- Throws
- Throws
- Throws
\Psr\Cache\InvalidArgumentException- Throws
- Throws
- Throws
- Throws
- Throws
- Throws
- Throws
- Throws
\Psr\Cache\InvalidArgumentException- Throws
- Throws
- Throws
- Throws
- Throws
- Throws
- Throws
- Throws
\Psr\Cache\InvalidArgumentException- Throws
- Throws
- Throws
- Throws
- Throws
- Throws
- Throws
- Throws
\Psr\Cache\InvalidArgumentException- Throws
- Throws
- Throws
- Throws
- Throws
- Throws
- Throws
- Throws
\Psr\Cache\InvalidArgumentException- Throws
- Throws
- Throws
- Throws
- Throws
- Throws
- Throws
- Throws
\Psr\Cache\InvalidArgumentException- Throws
- Throws
- Throws
- Throws
- Throws
- Throws
- Throws
- Throws
\Psr\Cache\InvalidArgumentException- Throws
- Throws
- Since
1.0.0
-
public
Firstred\PostNL\Service\LocationServiceInterface::getNearestLocationsSOAP($getNearestLocations)¶ - Get the nearest locations via SOAP.
- Parameters
$getNearestLocations (
Firstred\PostNL\Entity\Request\GetNearestLocations)
- Returns
\Firstred\PostNL\Entity\Response\GetNearestLocationsResponse- Throws
- Throws
- Throws
\Sabre\Xml\LibXMLException- Throws
- Throws
\Psr\Cache\InvalidArgumentException- Throws
- Throws
- Throws
- Throws
- Throws
\Sabre\Xml\LibXMLException- Throws
- Throws
\Psr\Cache\InvalidArgumentException- Throws
- Throws
- Throws
- Throws
- Throws
\Sabre\Xml\LibXMLException- Throws
- Throws
\Psr\Cache\InvalidArgumentException- Throws
- Throws
- Throws
- Throws
- Throws
\Sabre\Xml\LibXMLException- Throws
- Throws
\Psr\Cache\InvalidArgumentException- Throws
- Throws
- Throws
- Throws
- Throws
\Sabre\Xml\LibXMLException- Throws
- Throws
\Psr\Cache\InvalidArgumentException- Throws
- Throws
- Throws
- Throws
- Throws
\Sabre\Xml\LibXMLException- Throws
- Throws
\Psr\Cache\InvalidArgumentException- Throws
- Throws
- Throws
- Throws
- Throws
\Sabre\Xml\LibXMLException- Throws
- Throws
\Psr\Cache\InvalidArgumentException- Throws
- Throws
- Since
1.0.0
-
public
Firstred\PostNL\Service\LocationServiceInterface::getLocationsInAreaREST($getLocations)¶ - Get the nearest locations via REST.
- Parameters
$getLocations (
Firstred\PostNL\Entity\Request\GetLocationsInArea)
- Returns
- Throws
- Throws
- Throws
- Throws
\Psr\Cache\InvalidArgumentException- Throws
- Throws
- Throws
- Throws
- Throws
- Throws
- Throws
- Throws
\Psr\Cache\InvalidArgumentException- Throws
- Throws
- Throws
- Throws
- Throws
- Throws
- Throws
- Throws
\Psr\Cache\InvalidArgumentException- Throws
- Throws
- Throws
- Throws
- Throws
- Throws
- Throws
- Throws
\Psr\Cache\InvalidArgumentException- Throws
- Throws
- Throws
- Throws
- Throws
- Throws
- Throws
- Throws
\Psr\Cache\InvalidArgumentException- Throws
- Throws
- Throws
- Throws
- Throws
- Throws
- Throws
- Throws
\Psr\Cache\InvalidArgumentException- Throws
- Throws
- Throws
- Throws
- Throws
- Throws
- Throws
- Throws
\Psr\Cache\InvalidArgumentException- Throws
- Throws
- Throws
- Throws
- Throws
- Throws
- Throws
- Throws
\Psr\Cache\InvalidArgumentException- Throws
- Throws
- Throws
- Throws
- Since
1.0.0
-
public
Firstred\PostNL\Service\LocationServiceInterface::getLocationsInAreaSOAP($getNearestLocations)¶ - Get the nearest locations via SOAP.
- Parameters
$getNearestLocations (
Firstred\PostNL\Entity\Request\GetLocationsInArea)
- Returns
- Throws
- Throws
- Throws
\Sabre\Xml\LibXMLException- Throws
- Throws
\Psr\Cache\InvalidArgumentException- Throws
- Throws
- Throws
- Throws
- Throws
\Sabre\Xml\LibXMLException- Throws
- Throws
\Psr\Cache\InvalidArgumentException- Throws
- Throws
- Throws
- Throws
- Throws
\Sabre\Xml\LibXMLException- Throws
- Throws
\Psr\Cache\InvalidArgumentException- Throws
- Throws
- Throws
- Throws
- Throws
\Sabre\Xml\LibXMLException- Throws
- Throws
\Psr\Cache\InvalidArgumentException- Throws
- Throws
- Throws
- Throws
- Throws
\Sabre\Xml\LibXMLException- Throws
- Throws
\Psr\Cache\InvalidArgumentException- Throws
- Throws
- Throws
- Throws
- Throws
\Sabre\Xml\LibXMLException- Throws
- Throws
\Psr\Cache\InvalidArgumentException- Throws
- Throws
- Throws
- Throws
- Throws
\Sabre\Xml\LibXMLException- Throws
- Throws
\Psr\Cache\InvalidArgumentException- Throws
- Throws
- Since
1.0.0
-
public
Firstred\PostNL\Service\LocationServiceInterface::getLocationREST($getLocation)¶ - Get the location via REST.
- Parameters
$getLocation (
Firstred\PostNL\Entity\Request\GetLocation)
- Returns
- Throws
- Throws
- Throws
- Throws
\Psr\Cache\InvalidArgumentException- Throws
- Throws
- Throws
- Throws
- Throws
- Throws
- Throws
- Throws
\Psr\Cache\InvalidArgumentException- Throws
- Throws
- Throws
- Throws
- Throws
- Throws
- Throws
- Throws
\Psr\Cache\InvalidArgumentException- Throws
- Throws
- Throws
- Throws
- Throws
- Throws
- Throws
- Throws
\Psr\Cache\InvalidArgumentException- Throws
- Throws
- Throws
- Throws
- Throws
- Throws
- Throws
- Throws
\Psr\Cache\InvalidArgumentException- Throws
- Throws
- Throws
- Throws
- Throws
- Throws
- Throws
- Throws
\Psr\Cache\InvalidArgumentException- Throws
- Throws
- Throws
- Throws
- Throws
- Throws
- Throws
- Throws
\Psr\Cache\InvalidArgumentException- Throws
- Throws
- Throws
- Throws
- Throws
- Throws
- Throws
- Throws
\Psr\Cache\InvalidArgumentException- Throws
- Throws
- Throws
- Throws
- Since
1.0.0
-
public
Firstred\PostNL\Service\LocationServiceInterface::getLocationSOAP($getLocation)¶ - Get the nearest locations via SOAP.
- Parameters
$getLocation (
Firstred\PostNL\Entity\Request\GetLocation)
- Returns
- Throws
- Throws
- Throws
\Sabre\Xml\LibXMLException- Throws
- Throws
\Psr\Cache\InvalidArgumentException- Throws
- Throws
- Throws
- Throws
- Throws
\Sabre\Xml\LibXMLException- Throws
- Throws
\Psr\Cache\InvalidArgumentException- Throws
- Throws
- Throws
- Throws
- Throws
\Sabre\Xml\LibXMLException- Throws
- Throws
\Psr\Cache\InvalidArgumentException- Throws
- Throws
- Throws
- Throws
- Throws
\Sabre\Xml\LibXMLException- Throws
- Throws
\Psr\Cache\InvalidArgumentException- Throws
- Throws
- Throws
- Throws
- Throws
\Sabre\Xml\LibXMLException- Throws
- Throws
\Psr\Cache\InvalidArgumentException- Throws
- Throws
- Throws
- Throws
- Throws
\Sabre\Xml\LibXMLException- Throws
- Throws
\Psr\Cache\InvalidArgumentException- Throws
- Throws
- Throws
- Throws
- Throws
\Sabre\Xml\LibXMLException- Throws
- Throws
\Psr\Cache\InvalidArgumentException- Throws
- Throws
- Since
1.0.0
-
public
Firstred\PostNL\Service\LocationServiceInterface::buildGetNearestLocationsRequestREST($getNearestLocations)¶ - Build the GenerateLabel request for the REST API.
- Parameters
$getNearestLocations (
Firstred\PostNL\Entity\Request\GetNearestLocations)
- Returns
\Psr\Http\Message\RequestInterface- Since
1.0.0
-
public
Firstred\PostNL\Service\LocationServiceInterface::processGetNearestLocationsResponseREST($response)¶ - Process GetNearestLocations Response REST.
- Parameters
$response (mixed)
- Returns
\Firstred\PostNL\Entity\Response\GetNearestLocationsResponse| null- Throws
- Throws
- Throws
- Throws
- Throws
- Throws
- Throws
- Throws
- Throws
- Throws
- Throws
- Throws
- Throws
- Throws
- Throws
- Throws
- Since
1.0.0
-
public
Firstred\PostNL\Service\LocationServiceInterface::buildGetNearestLocationsRequestSOAP($getLocations)¶ - Build the GenerateLabel request for the SOAP API.
- Parameters
$getLocations (
Firstred\PostNL\Entity\Request\GetNearestLocations)
- Returns
\Psr\Http\Message\RequestInterface- Since
1.0.0
-
public
Firstred\PostNL\Service\LocationServiceInterface::processGetNearestLocationsResponseSOAP($response)¶ - Process GetNearestLocations Response SOAP.
- Parameters
$response (
Psr\Http\Message\ResponseInterface)
- Returns
\Firstred\PostNL\Entity\Response\GetNearestLocationsResponse- Throws
- Throws
- Throws
\Sabre\Xml\LibXMLException- Throws
- Throws
- Throws
- Throws
- Throws
\Sabre\Xml\LibXMLException- Throws
- Throws
- Throws
- Throws
- Throws
\Sabre\Xml\LibXMLException- Throws
- Throws
- Throws
- Throws
- Throws
\Sabre\Xml\LibXMLException- Throws
- Throws
- Throws
- Throws
- Throws
\Sabre\Xml\LibXMLException- Throws
- Throws
- Since
1.0.0
-
public
Firstred\PostNL\Service\LocationServiceInterface::buildGetLocationsInAreaRequestREST($getLocations)¶ - Build the GetLocationsInArea request for the REST API.
- Parameters
$getLocations (
Firstred\PostNL\Entity\Request\GetLocationsInArea)
- Returns
\Psr\Http\Message\RequestInterface- Since
1.0.0
-
public
Firstred\PostNL\Service\LocationServiceInterface::processGetLocationsInAreaResponseREST($response)¶ - Proess GetLocationsInArea Response REST.
- Parameters
$response (mixed)
- Returns
\Firstred\PostNL\Entity\Response\GetLocationsInAreaResponse| null- Throws
- Throws
- Throws
- Throws
- Throws
- Throws
- Throws
- Throws
- Throws
- Throws
- Throws
- Throws
- Throws
- Throws
- Throws
- Throws
- Since
1.0.0
-
public
Firstred\PostNL\Service\LocationServiceInterface::buildGetLocationsInAreaRequestSOAP($getLocations)¶ - Build the GetLocationsInArea request for the SOAP API.
- Parameters
$getLocations (
Firstred\PostNL\Entity\Request\GetLocationsInArea)
- Returns
\Psr\Http\Message\RequestInterface- Since
1.0.0
-
public
Firstred\PostNL\Service\LocationServiceInterface::processGetLocationsInAreaResponseSOAP($response)¶ - Parameters
$response (
Psr\Http\Message\ResponseInterface)
- Returns
- Throws
- Throws
- Throws
\Sabre\Xml\LibXMLException- Throws
- Throws
- Throws
- Throws
- Throws
\Sabre\Xml\LibXMLException- Throws
- Throws
- Throws
- Throws
- Throws
\Sabre\Xml\LibXMLException- Throws
- Throws
- Throws
- Throws
- Throws
\Sabre\Xml\LibXMLException- Throws
- Throws
- Throws
- Throws
- Throws
\Sabre\Xml\LibXMLException- Throws
- Throws
- Since
1.0.0
-
public
Firstred\PostNL\Service\LocationServiceInterface::buildGetLocationRequestREST($getLocation)¶ - Build the GetLocation request for the REST API.
- Parameters
$getLocation (
Firstred\PostNL\Entity\Request\GetLocation)
- Returns
\Psr\Http\Message\RequestInterface- Since
1.0.0
-
public
Firstred\PostNL\Service\LocationServiceInterface::processGetLocationResponseREST($response)¶ - Process GetLocation Response REST.
- Parameters
$response (mixed)
- Returns
\Firstred\PostNL\Entity\Response\GetLocationsInAreaResponse| null- Throws
- Throws
- Throws
- Throws
- Throws
- Throws
- Throws
- Throws
- Throws
- Throws
- Throws
- Throws
- Throws
- Throws
- Throws
- Throws
- Since
1.0.0
-
public
Firstred\PostNL\Service\LocationServiceInterface::buildGetLocationRequestSOAP($getLocations)¶ - Build the GetLocation request for the SOAP API.
- Parameters
$getLocations (
Firstred\PostNL\Entity\Request\GetLocation)
- Returns
\Psr\Http\Message\RequestInterface- Since
1.0.0
-
public
Firstred\PostNL\Service\LocationServiceInterface::processGetLocationResponseSOAP($response)¶ - Process GetLocation Response SOAP.
- Parameters
$response (
Psr\Http\Message\ResponseInterface)
- Returns
- Throws
- Throws
- Throws
\Sabre\Xml\LibXMLException- Throws
- Throws
- Throws
- Throws
- Throws
\Sabre\Xml\LibXMLException- Throws
- Throws
- Throws
- Throws
- Throws
\Sabre\Xml\LibXMLException- Throws
- Throws
- Throws
- Throws
- Throws
\Sabre\Xml\LibXMLException- Throws
- Throws
- Throws
- Throws
- Throws
\Sabre\Xml\LibXMLException- Throws
- Throws
- Since
1.0.0