xxxxxxxxxx
namespace GLS;
use \WsdlToPhp\PackageBase\AbstractStructBase;
/**
* This class stands for cBulkCustomsClearanceAttachedFile Struct
* @subpackage Structs
*/
class CBulkCustomsClearanceAttachedFile extends AbstractStructBase
{
/**
* The documentType
* Meta information extracted from the WSDL
* - maxOccurs: 1
* - minOccurs: 1
* @var string
*/
public $documentType;
/**
* The documentFormat
* Meta information extracted from the WSDL
* - maxOccurs: 1
* - minOccurs: 1
* @var string
*/
public $documentFormat;
/**
* The displayFileName
* Meta information extracted from the WSDL
* - maxOccurs: 1
* - minOccurs: 1
* @var string
*/
public $displayFileName;
/**
* The bin
* Meta information extracted from the WSDL
* - maxOccurs: 1
* - minOccurs: 1
* @var string
*/
public $bin;
/**
* Constructor method for cBulkCustomsClearanceAttachedFile
* @uses CBulkCustomsClearanceAttachedFile::setDocumentType()
* @uses CBulkCustomsClearanceAttachedFile::setDocumentFormat()
* @uses CBulkCustomsClearanceAttachedFile::setDisplayFileName()
* @uses CBulkCustomsClearanceAttachedFile::setBin()
* @param string $documentType
* @param string $documentFormat
* @param string $displayFileName
* @param string $bin
*/
public function __construct($documentType = null, $documentFormat = null, $displayFileName = null, $bin = null)
{
$this
->setDocumentType($documentType)
->setDocumentFormat($documentFormat)
->setDisplayFileName($displayFileName)
->setBin($bin);
}
/**
* Get documentType value
* @return string
*/
public function getDocumentType()
{
return $this->documentType;
}
/**
* Set documentType value
* @param string $documentType
* @return \GLS\CBulkCustomsClearanceAttachedFile
*/
public function setDocumentType($documentType = null)
{
// validation for constraint: string
if (!is_null($documentType) && !is_string($documentType)) {
throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($documentType, true), gettype($documentType)), __LINE__);
}
$this->documentType = $documentType;
return $this;
}
/**
* Get documentFormat value
* @return string
*/
public function getDocumentFormat()
{
return $this->documentFormat;
}
/**
* Set documentFormat value
* @param string $documentFormat
* @return \GLS\CBulkCustomsClearanceAttachedFile
*/
public function setDocumentFormat($documentFormat = null)
{
// validation for constraint: string
if (!is_null($documentFormat) && !is_string($documentFormat)) {
throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($documentFormat, true), gettype($documentFormat)), __LINE__);
}
$this->documentFormat = $documentFormat;
return $this;
}
/**
* Get displayFileName value
* @return string
*/
public function getDisplayFileName()
{
return $this->displayFileName;
}
/**
* Set displayFileName value
* @param string $displayFileName
* @return \GLS\CBulkCustomsClearanceAttachedFile
*/
public function setDisplayFileName($displayFileName = null)
{
// validation for constraint: string
if (!is_null($displayFileName) && !is_string($displayFileName)) {
throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($displayFileName, true), gettype($displayFileName)), __LINE__);
}
$this->displayFileName = $displayFileName;
return $this;
}
/**
* Get bin value
* @return string
*/
public function getBin()
{
return $this->bin;
}
/**
* Set bin value
* @param string $bin
* @return \GLS\CBulkCustomsClearanceAttachedFile
*/
public function setBin($bin = null)
{
// validation for constraint: string
if (!is_null($bin) && !is_string($bin)) {
throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($bin, true), gettype($bin)), __LINE__);
}
$this->bin = $bin;
return $this;
}
}
Don't be shy, don't hesitate to contact us for any subject, we'll be glad to help.
This platform is provided to give developpers and non developpers a way to easily consume SOAP Web Services or share their own SOAP Web Services with extra features powered by the platform.
© 2025 Providr.IO