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