b374k
m1n1 1.01
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
Size1.87 kb
Permissionrw-rw-rw-
Ownerroot : root
Create time17-Aug-2025 10:26
Last modified23-Sep-2020 09:46
Last accessed23-Aug-2025 03:56
Actionsedit | rename | delete | download (gzip)
Viewtext | 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);
}