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