xxxxxxxxxx
namespace Sabre\TravelItineraryRead\Structs;
use \WsdlToPhp\PackageBase\AbstractStructBase;
/**
* This class stands for Parent Structs
* @subpackage Structs
*/
class _Parent extends AbstractStructBase
{
/**
* The ref
* Meta informations extracted from the WSDL
* - use: optional
* @var string
*/
public $ref;
/**
* The newRef
* Meta informations extracted from the WSDL
* - use: optional
* @var string
*/
public $newRef;
/**
* Constructor method for Parent
* @uses _Parent::setRef()
* @uses _Parent::setNewRef()
* @param string $ref
* @param string $newRef
*/
public function __construct($ref = null, $newRef = null)
{
$this
->setRef($ref)
->setNewRef($newRef);
}
/**
* Get ref value
* @return string|null
*/
public function getRef()
{
return $this->ref;
}
/**
* Set ref value
* @param string $ref
* @return \Sabre\TravelItineraryRead\Structs\_Parent
*/
public function setRef($ref = null)
{
$this->ref = $ref;
return $this;
}
/**
* Get newRef value
* @return string|null
*/
public function getNewRef()
{
return $this->newRef;
}
/**
* Set newRef value
* @param string $newRef
* @return \Sabre\TravelItineraryRead\Structs\_Parent
*/
public function setNewRef($newRef = null)
{
$this->newRef = $newRef;
return $this;
}
/**
* Method called when an object has been exported with var_export() functions
* It allows to return an object instantiated with the values
* @see AbstractStructBase::__set_state()
* @uses AbstractStructBase::__set_state()
* @param array $array the exported values
* @return \Sabre\TravelItineraryRead\Structs\_Parent
*/
public static function __set_state(array $array)
{
return parent::__set_state($array);
}
/**
* Method returning the class name
* @return string __CLASS__
*/
public function __toString()
{
return __CLASS__;
}
}
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