xxxxxxxxxx
namespace Structs;
use \WsdlToPhp\PackageBase\AbstractStructBase;
/**
* This class stands for importPackagesCV1Response Structs
* Meta information extracted from the WSDL
* - type: tns:importPackagesCV1Response
* @subpackage Structs
*/
class ImportPackagesCV1Response extends AbstractStructBase
{
/**
* The return
* Meta information extracted from the WSDL
* - minOccurs: 0
* - nillable: true
* @var string
*/
public $return;
/**
* Constructor method for importPackagesCV1Response
* @uses ImportPackagesCV1Response::setReturn()
* @param string $return
*/
public function __construct($return = null)
{
$this
->setReturn($return);
}
/**
* Get return 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 string|null
*/
public function getReturn()
{
return isset($this->return) ? $this->return : null;
}
/**
* Set return 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 string $return
* @return \Structs\ImportPackagesCV1Response
*/
public function setReturn($return = null)
{
// validation for constraint: string
if (!is_null($return) && !is_string($return)) {
throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($return, true), gettype($return)), __LINE__);
}
if (is_null($return) || (is_array($return) && empty($return))) {
unset($this->return);
} else {
$this->return = $return;
}
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