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 / a / home / dev2.destoffenstraat.com / vendor / vertex / sdk / src / Mapper /
Filename/home/a/home/dev2.destoffenstraat.com/vendor/vertex/sdk/src/Mapper/LineItemMapperInterface.php
Size1.87 kb
Permissionrw-rw-rw-
Ownerroot : root
Create time21-Aug-2025 12:26
Last modified23-Sep-2020 09:46
Last accessed11-Aug-2025 04:26
Actionsedit | rename | delete | download (gzip)
Viewtext | code | image
<?php

/**
* @copyright Vertex. All rights reserved. https://www.vertexinc.com/
* @author Mediotype Development <diveinto@mediotype.com>
*/

namespace Vertex\Mapper;

use Vertex\Data\LineItemInterface;
use Vertex\Exception\ValidationException;

/**
* SOAP mapping methods for {@see LineItemInterface}
*
* @api
*/
interface LineItemMapperInterface
{
/**
* Turn a SOAP response object into an instance of {@see LineItemInterface}
*
* @param \stdClass $map
* @return LineItemInterface
*/
public function build(\stdClass $map);

/**
* Turn an instance of {@see LineItemInterface} into a SOAP compatible object
*
* @param LineItemInterface $object
* @return \stdClass
* @throws ValidationException
*/
public function map(LineItemInterface $object);

/**
* Retrieve the maximum length allowed for the Value Field
*
* @return int
*/
public function getProductCodeMaxLength();

/**
* Retrieve the minimum length allowed for the Value Field
*
* @return int
*/
public function getProductCodeMinLength();

/**
* Validate the content of the value field
*
* @param string $fieldValue
* @return true
* @throws ValidationException
*/
public function validateProductCode($fieldValue);

/**
* Retrieve maximum length allowed for the product tax class name
*
* @return int
*/
public function getProductTaxClassNameMaxLength();

/**
* Retrieve minimum length allowed for the product tax class name
*
* @return int
*/
public function getProductTaxClassNameMinLength();

/**
* Validate product tax class name value
*
* @param string $fieldValue
* @return true
* @throws ValidationException
*/
public function validateProductTaxClassName($fieldValue);
}