|
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/FlexibleCodeFieldMapperInterface.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 stdClass;
use Vertex\Data\FlexibleCodeFieldInterface;
use Vertex\Exception\ValidationException;
/**
* SOAP mapping methods for {@see FlexibleCodeFieldInterface}
*
* @api
*/
interface FlexibleCodeFieldMapperInterface
{
/**
* Turn a SOAP response object into an instance of {@see FlexibleCodeFieldInterface}
*
* @param stdClass $map
* @return FlexibleCodeFieldInterface
*/
public function build(stdClass $map);
/**
* Retrieve the maximum value allowed for the ID Field
*
* @return int
*/
public function getIdValueMaximum();
/**
* Retrieve the minimum value allowed for the ID Field
*
* @return int
*/
public function getIdValueMinimum();
/**
* Retrieve the maximum character length for the Value Field
*
* @return int
*/
public function getValueMaximumLength();
/**
* Retrieve the minimum length allowed for the Value Field
*
* @return mixed
*/
public function getValueMinimumLength();
/**
* Validate the content of the Value field
*
* @param string $fieldValue
* @return true
* @throws ValidationException
*/
public function validateValue($fieldValue);
/**
* Validate the content of the ID field
*
* @param int $fieldId
* @return true
* @throws ValidationException
*/
public function validateId($fieldId);
/**
* Turn an instance of {@see FlexibleCodeFieldInterface} into a SOAP compatible object
*
* @param FlexibleCodeFieldInterface $object
* @return stdClass
* @throws ValidationException
*/
public function map(FlexibleCodeFieldInterface $object);
}
/**
* @copyright Vertex. All rights reserved. https://www.vertexinc.com/
* @author Mediotype https://www.mediotype.com/
*/
namespace Vertex\Mapper;
use stdClass;
use Vertex\Data\FlexibleCodeFieldInterface;
use Vertex\Exception\ValidationException;
/**
* SOAP mapping methods for {@see FlexibleCodeFieldInterface}
*
* @api
*/
interface FlexibleCodeFieldMapperInterface
{
/**
* Turn a SOAP response object into an instance of {@see FlexibleCodeFieldInterface}
*
* @param stdClass $map
* @return FlexibleCodeFieldInterface
*/
public function build(stdClass $map);
/**
* Retrieve the maximum value allowed for the ID Field
*
* @return int
*/
public function getIdValueMaximum();
/**
* Retrieve the minimum value allowed for the ID Field
*
* @return int
*/
public function getIdValueMinimum();
/**
* Retrieve the maximum character length for the Value Field
*
* @return int
*/
public function getValueMaximumLength();
/**
* Retrieve the minimum length allowed for the Value Field
*
* @return mixed
*/
public function getValueMinimumLength();
/**
* Validate the content of the Value field
*
* @param string $fieldValue
* @return true
* @throws ValidationException
*/
public function validateValue($fieldValue);
/**
* Validate the content of the ID field
*
* @param int $fieldId
* @return true
* @throws ValidationException
*/
public function validateId($fieldId);
/**
* Turn an instance of {@see FlexibleCodeFieldInterface} into a SOAP compatible object
*
* @param FlexibleCodeFieldInterface $object
* @return stdClass
* @throws ValidationException
*/
public function map(FlexibleCodeFieldInterface $object);
}