*/ namespace Vertex\Mapper; use Vertex\Exception\ValidationException; use Vertex\Services\Invoice\RequestInterface; /** * SOAP mapping methods for {@see RequestInterface} * * @api */ interface InvoiceRequestMapperInterface { /** * Turn a SOAP response object into an instance of {@see RequestInterface} * * @param \stdClass $map * @return RequestInterface */ public function build(\stdClass $map); /** * Turn an instance of {@see RequestInterface} into a SOAP compatible object * * @param RequestInterface $object * @return \stdClass * @throws ValidationException */ public function map(RequestInterface $object); }