xxxxxxxxxx
use \WsdlToPhp\PackageBase\AbstractStructBase;
/**
* This class stands for GetDocumentListResponse StructType
* @subpackage Structs
*/
class GetDocumentListResponse extends AbstractStructBase
{
/**
* The GetDocumentListResult
* Meta information extracted from the WSDL
* - minOccurs: 0
* - nillable: true
* @var EFaturaWebService_ResultType
*/
public $GetDocumentListResult;
/**
* The docList
* Meta information extracted from the WSDL
* - minOccurs: 0
* - nillable: true
* @var ArrayOfDocument
*/
public $docList;
/**
* Constructor method for GetDocumentListResponse
* @uses GetDocumentListResponse::setGetDocumentListResult()
* @uses GetDocumentListResponse::setDocList()
* @param EFaturaWebService_ResultType $getDocumentListResult
* @param ArrayOfDocument $docList
*/
public function __construct(EFaturaWebService_ResultType $getDocumentListResult = null, ArrayOfDocument $docList = null)
{
$this
->setGetDocumentListResult($getDocumentListResult)
->setDocList($docList);
}
/**
* Get GetDocumentListResult value
* An additional test has been added (isset) before returning the property value as
* this property may have been unset before, due to the fact that this property is
* removable from the request (nillable=true+minOccurs=0)
* @return EFaturaWebService_ResultType|null
*/
public function getGetDocumentListResult()
{
return isset($this->GetDocumentListResult) ? $this->GetDocumentListResult : null;
}
/**
* Set GetDocumentListResult value
* This property is removable from request (nillable=true+minOccurs=0), therefore
* if the value assigned to this property is null, it is removed from this object
* @param EFaturaWebService_ResultType $getDocumentListResult
* @return GetDocumentListResponse
*/
public function setGetDocumentListResult(EFaturaWebService_ResultType $getDocumentListResult = null)
{
if (is_null($getDocumentListResult) || (is_array($getDocumentListResult) && empty($getDocumentListResult))) {
unset($this->GetDocumentListResult);
} else {
$this->GetDocumentListResult = $getDocumentListResult;
}
return $this;
}
/**
* Get docList value
* An additional test has been added (isset) before returning the property value as
* this property may have been unset before, due to the fact that this property is
* removable from the request (nillable=true+minOccurs=0)
* @return ArrayOfDocument|null
*/
public function getDocList()
{
return isset($this->docList) ? $this->docList : null;
}
/**
* Set docList value
* This property is removable from request (nillable=true+minOccurs=0), therefore
* if the value assigned to this property is null, it is removed from this object
* @param ArrayOfDocument $docList
* @return GetDocumentListResponse
*/
public function setDocList(ArrayOfDocument $docList = null)
{
if (is_null($docList) || (is_array($docList) && empty($docList))) {
unset($this->docList);
} else {
$this->docList = $docList;
}
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