xxxxxxxxxx
namespace Sabre\PassengerDetailsRQ\Structs;
use \WsdlToPhp\PackageBase\AbstractStructBase;
/**
* This class stands for Seats Structs
* @subpackage Structs
*/
class Seats extends AbstractStructBase
{
/**
* The Seat
* Meta informations extracted from the WSDL
* - maxOccurs: unbounded
* - minOccurs: 0
* @var \Sabre\PassengerDetailsRQ\Structs\Seat[]
*/
public $Seat;
/**
* Constructor method for Seats
* @uses Seats::setSeat()
* @param \Sabre\PassengerDetailsRQ\Structs\Seat[] $seat
*/
public function __construct(array $seat = array())
{
$this
->setSeat($seat);
}
/**
* Get Seat value
* @return \Sabre\PassengerDetailsRQ\Structs\Seat[]|null
*/
public function getSeat()
{
return $this->Seat;
}
/**
* Set Seat value
* @throws \InvalidArgumentException
* @param \Sabre\PassengerDetailsRQ\Structs\Seat[] $seat
* @return \Sabre\PassengerDetailsRQ\Structs\Seats
*/
public function setSeat(array $seat = array())
{
$this->Seat = $seat;
return $this;
}
/**
* Add item to Seat value
* @throws \InvalidArgumentException
* @param \Sabre\PassengerDetailsRQ\Structs\Seat $item
* @return \Sabre\PassengerDetailsRQ\Structs\Seats
*/
public function addToSeat(\Sabre\PassengerDetailsRQ\Structs\Seat $item)
{
$this->Seat[] = $item;
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\PassengerDetailsRQ\Structs\Seats
*/
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