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