LabellingServiceRequestBuilderInterface

interface Firstred\PostNL\Service\RequestBuilder\LabellingServiceRequestBuilderInterface

Summary

Methods

Methods

public Firstred\PostNL\Service\RequestBuilder\LabellingServiceRequestBuilderInterface::buildGenerateLabelRequest($generateLabel, $confirm=true)
Build the 'generate label' HTTP request.
Parameters:
Returns:

\Psr\Http\Message\RequestInterface

Throws:

\Firstred\PostNL\Exception\InvalidArgumentException

Throws:

\Firstred\PostNL\Exception\InvalidConfigurationException

Throws:

\Firstred\PostNL\Exception\InvalidArgumentException

Throws:

\Firstred\PostNL\Exception\InvalidConfigurationException

Since:

2.0.0