|
Apache/2.4.41 (Ubuntu) Linux vmi616275.contaboserver.net 5.4.0-84-generic #94-Ubuntu SMP Thu Aug 26 20:27:37 UTC 2021 x86_64 uid=33(www-data) gid=33(www-data) groups=33(www-data) server ip : 62.171.164.128 | your ip : 127.0.0.1 safemode OFF > / home / dev2.destoffenstraat.com / vendor / vertex / sdk / src / Mapper / |
Filename | /home/dev2.destoffenstraat.com/vendor/vertex/sdk/src/Mapper/TaxRegistrationMapperInterface.php |
Size | 1.87 kb |
Permission | rw-rw-rw- |
Owner | root : root |
Create time | 17-Aug-2025 10:26 |
Last modified | 23-Sep-2020 09:46 |
Last accessed | 23-Aug-2025 03:56 |
Actions | edit | rename | delete | download (gzip) |
View | text | code | image |
<?php
/**
* @copyright Vertex. All rights reserved. https://www.vertexinc.com/
* @author Mediotype https://www.mediotype.com/
*/
namespace Vertex\Mapper;
use Vertex\Data\TaxRegistrationInterface;
use Vertex\Exception\ValidationException;
/**
* SOAP mapping methods for {@see TaxRegistrationInterface}
*
* @api
*/
interface TaxRegistrationMapperInterface
{
/**
* Turn a SOAP response object into an instance of {@see TaxRegistrationInterface}
*
* @param \stdClass $map
* @return TaxRegistrationInterface
*/
public function build(\stdClass $map);
/**
* Turn an instance of {@see TaxRegistrationInterface} into a SOAP compatible format
*
* @param TaxRegistrationInterface $object
* @return \stdClass
* @throws ValidationException
*/
public function map(TaxRegistrationInterface $object);
/**
* Returns maximum length for the registration number
*
* @return int
*/
public function getRegistrationNumberMaxLength();
/**
* Returns minimum length for the registration number
*
* @return int
*/
public function getRegistrationNumberMinLength();
/**
* Validates the registration number value
*
* @param string $fieldValue
* @return true
* @throws ValidationException
*/
public function validateRegistrationNumber($fieldValue);
/**
* Returns maximum length for the country code
*
* @return int
*/
public function getCountryCodeMaxLength();
/**
* Returns minimum length for the country code
*
* @return int
*/
public function getCountryCodeMinLength();
/**
* Validates the country code value
*
* @param string $fieldValue
* @return true
* @throws ValidationException
*/
public function validateCountryCode($fieldValue);
}
/**
* @copyright Vertex. All rights reserved. https://www.vertexinc.com/
* @author Mediotype https://www.mediotype.com/
*/
namespace Vertex\Mapper;
use Vertex\Data\TaxRegistrationInterface;
use Vertex\Exception\ValidationException;
/**
* SOAP mapping methods for {@see TaxRegistrationInterface}
*
* @api
*/
interface TaxRegistrationMapperInterface
{
/**
* Turn a SOAP response object into an instance of {@see TaxRegistrationInterface}
*
* @param \stdClass $map
* @return TaxRegistrationInterface
*/
public function build(\stdClass $map);
/**
* Turn an instance of {@see TaxRegistrationInterface} into a SOAP compatible format
*
* @param TaxRegistrationInterface $object
* @return \stdClass
* @throws ValidationException
*/
public function map(TaxRegistrationInterface $object);
/**
* Returns maximum length for the registration number
*
* @return int
*/
public function getRegistrationNumberMaxLength();
/**
* Returns minimum length for the registration number
*
* @return int
*/
public function getRegistrationNumberMinLength();
/**
* Validates the registration number value
*
* @param string $fieldValue
* @return true
* @throws ValidationException
*/
public function validateRegistrationNumber($fieldValue);
/**
* Returns maximum length for the country code
*
* @return int
*/
public function getCountryCodeMaxLength();
/**
* Returns minimum length for the country code
*
* @return int
*/
public function getCountryCodeMinLength();
/**
* Validates the country code value
*
* @param string $fieldValue
* @return true
* @throws ValidationException
*/
public function validateCountryCode($fieldValue);
}