xxxxxxxxxx
namespace GLS;
use \WsdlToPhp\PackageBase\AbstractStructBase;
/**
* This class stands for cStatus Struct
* @subpackage Structs
*/
class CStatus extends AbstractStructBase
{
/**
* The status
* Meta information extracted from the WSDL
* - maxOccurs: 1
* - minOccurs: 1
* @var int
*/
public $status;
/**
* Constructor method for cStatus
* @uses CStatus::setStatus()
* @param int $status
*/
public function __construct($status = null)
{
$this
->setStatus($status);
}
/**
* Get status value
* @return int
*/
public function getStatus()
{
return $this->status;
}
/**
* Set status value
* @param int $status
* @return \GLS\CStatus
*/
public function setStatus($status = null)
{
// validation for constraint: int
if (!is_null($status) && !(is_int($status) || ctype_digit($status))) {
throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide an integer value, %s given', var_export($status, true), gettype($status)), __LINE__);
}
$this->status = $status;
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