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