xxxxxxxxxx
namespace Sabre\EnhancedAirBook\Structs;
use \WsdlToPhp\PackageBase\AbstractStructBase;
/**
* This class stands for ItineraryOptions Structs
* @subpackage Structs
*/
class ItineraryOptions extends AbstractStructBase
{
/**
* The BreakFare
* Meta informations extracted from the WSDL
* - maxOccurs: unbounded
* - minOccurs: 0
* @var \Sabre\EnhancedAirBook\Structs\BreakFare[]
*/
public $BreakFare;
/**
* The ForceConnection
* Meta informations extracted from the WSDL
* - maxOccurs: unbounded
* - minOccurs: 0
* @var \Sabre\EnhancedAirBook\Structs\ForceConnection[]
*/
public $ForceConnection;
/**
* The ForceStopOver
* Meta informations extracted from the WSDL
* - maxOccurs: unbounded
* - minOccurs: 0
* @var \Sabre\EnhancedAirBook\Structs\ForceStopOver[]
*/
public $ForceStopOver;
/**
* The OverrideBreak
* Meta informations extracted from the WSDL
* - maxOccurs: unbounded
* - minOccurs: 0
* @var \Sabre\EnhancedAirBook\Structs\OverrideBreak[]
*/
public $OverrideBreak;
/**
* The SegmentSelect
* Meta informations extracted from the WSDL
* - maxOccurs: unbounded
* - minOccurs: 0
* @var \Sabre\EnhancedAirBook\Structs\SegmentSelect[]
*/
public $SegmentSelect;
/**
* The SideTrip
* Meta informations extracted from the WSDL
* - minOccurs: 0
* @var \Sabre\EnhancedAirBook\Structs\SideTrip
*/
public $SideTrip;
/**
* Constructor method for ItineraryOptions
* @uses ItineraryOptions::setBreakFare()
* @uses ItineraryOptions::setForceConnection()
* @uses ItineraryOptions::setForceStopOver()
* @uses ItineraryOptions::setOverrideBreak()
* @uses ItineraryOptions::setSegmentSelect()
* @uses ItineraryOptions::setSideTrip()
* @param \Sabre\EnhancedAirBook\Structs\BreakFare[] $breakFare
* @param \Sabre\EnhancedAirBook\Structs\ForceConnection[] $forceConnection
* @param \Sabre\EnhancedAirBook\Structs\ForceStopOver[] $forceStopOver
* @param \Sabre\EnhancedAirBook\Structs\OverrideBreak[] $overrideBreak
* @param \Sabre\EnhancedAirBook\Structs\SegmentSelect[] $segmentSelect
* @param \Sabre\EnhancedAirBook\Structs\SideTrip $sideTrip
*/
public function __construct(array $breakFare = array(), array $forceConnection = array(), array $forceStopOver = array(), array $overrideBreak = array(), array $segmentSelect = array(), \Sabre\EnhancedAirBook\Structs\SideTrip $sideTrip = null)
{
$this
->setBreakFare($breakFare)
->setForceConnection($forceConnection)
->setForceStopOver($forceStopOver)
->setOverrideBreak($overrideBreak)
->setSegmentSelect($segmentSelect)
->setSideTrip($sideTrip);
}
/**
* Get BreakFare value
* @return \Sabre\EnhancedAirBook\Structs\BreakFare[]|null
*/
public function getBreakFare()
{
return $this->BreakFare;
}
/**
* Set BreakFare value
* @throws \InvalidArgumentException
* @param \Sabre\EnhancedAirBook\Structs\BreakFare[] $breakFare
* @return \Sabre\EnhancedAirBook\Structs\ItineraryOptions
*/
public function setBreakFare(array $breakFare = array())
{
$this->BreakFare = $breakFare;
return $this;
}
/**
* Add item to BreakFare value
* @throws \InvalidArgumentException
* @param \Sabre\EnhancedAirBook\Structs\BreakFare $item
* @return \Sabre\EnhancedAirBook\Structs\ItineraryOptions
*/
public function addToBreakFare(\Sabre\EnhancedAirBook\Structs\BreakFare $item)
{
$this->BreakFare[] = $item;
return $this;
}
/**
* Get ForceConnection value
* @return \Sabre\EnhancedAirBook\Structs\ForceConnection[]|null
*/
public function getForceConnection()
{
return $this->ForceConnection;
}
/**
* Set ForceConnection value
* @throws \InvalidArgumentException
* @param \Sabre\EnhancedAirBook\Structs\ForceConnection[] $forceConnection
* @return \Sabre\EnhancedAirBook\Structs\ItineraryOptions
*/
public function setForceConnection(array $forceConnection = array())
{
$this->ForceConnection = $forceConnection;
return $this;
}
/**
* Add item to ForceConnection value
* @throws \InvalidArgumentException
* @param \Sabre\EnhancedAirBook\Structs\ForceConnection $item
* @return \Sabre\EnhancedAirBook\Structs\ItineraryOptions
*/
public function addToForceConnection(\Sabre\EnhancedAirBook\Structs\ForceConnection $item)
{
$this->ForceConnection[] = $item;
return $this;
}
/**
* Get ForceStopOver value
* @return \Sabre\EnhancedAirBook\Structs\ForceStopOver[]|null
*/
public function getForceStopOver()
{
return $this->ForceStopOver;
}
/**
* Set ForceStopOver value
* @throws \InvalidArgumentException
* @param \Sabre\EnhancedAirBook\Structs\ForceStopOver[] $forceStopOver
* @return \Sabre\EnhancedAirBook\Structs\ItineraryOptions
*/
public function setForceStopOver(array $forceStopOver = array())
{
$this->ForceStopOver = $forceStopOver;
return $this;
}
/**
* Add item to ForceStopOver value
* @throws \InvalidArgumentException
* @param \Sabre\EnhancedAirBook\Structs\ForceStopOver $item
* @return \Sabre\EnhancedAirBook\Structs\ItineraryOptions
*/
public function addToForceStopOver(\Sabre\EnhancedAirBook\Structs\ForceStopOver $item)
{
$this->ForceStopOver[] = $item;
return $this;
}
/**
* Get OverrideBreak value
* @return \Sabre\EnhancedAirBook\Structs\OverrideBreak[]|null
*/
public function getOverrideBreak()
{
return $this->OverrideBreak;
}
/**
* Set OverrideBreak value
* @throws \InvalidArgumentException
* @param \Sabre\EnhancedAirBook\Structs\OverrideBreak[] $overrideBreak
* @return \Sabre\EnhancedAirBook\Structs\ItineraryOptions
*/
public function setOverrideBreak(array $overrideBreak = array())
{
$this->OverrideBreak = $overrideBreak;
return $this;
}
/**
* Add item to OverrideBreak value
* @throws \InvalidArgumentException
* @param \Sabre\EnhancedAirBook\Structs\OverrideBreak $item
* @return \Sabre\EnhancedAirBook\Structs\ItineraryOptions
*/
public function addToOverrideBreak(\Sabre\EnhancedAirBook\Structs\OverrideBreak $item)
{
$this->OverrideBreak[] = $item;
return $this;
}
/**
* Get SegmentSelect value
* @return \Sabre\EnhancedAirBook\Structs\SegmentSelect[]|null
*/
public function getSegmentSelect()
{
return $this->SegmentSelect;
}
/**
* Set SegmentSelect value
* @throws \InvalidArgumentException
* @param \Sabre\EnhancedAirBook\Structs\SegmentSelect[] $segmentSelect
* @return \Sabre\EnhancedAirBook\Structs\ItineraryOptions
*/
public function setSegmentSelect(array $segmentSelect = array())
{
$this->SegmentSelect = $segmentSelect;
return $this;
}
/**
* Add item to SegmentSelect value
* @throws \InvalidArgumentException
* @param \Sabre\EnhancedAirBook\Structs\SegmentSelect $item
* @return \Sabre\EnhancedAirBook\Structs\ItineraryOptions
*/
public function addToSegmentSelect(\Sabre\EnhancedAirBook\Structs\SegmentSelect $item)
{
$this->SegmentSelect[] = $item;
return $this;
}
/**
* Get SideTrip value
* @return \Sabre\EnhancedAirBook\Structs\SideTrip|null
*/
public function getSideTrip()
{
return $this->SideTrip;
}
/**
* Set SideTrip value
* @param \Sabre\EnhancedAirBook\Structs\SideTrip $sideTrip
* @return \Sabre\EnhancedAirBook\Structs\ItineraryOptions
*/
public function setSideTrip(\Sabre\EnhancedAirBook\Structs\SideTrip $sideTrip = null)
{
$this->SideTrip = $sideTrip;
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\EnhancedAirBook\Structs\ItineraryOptions
*/
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