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