<?php

namespace StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for PlanningInterfaceResult_v4 StructType
 * @subpackage Structs
 */
class PlanningInterfaceResult_v4 extends AbstractStructBase
{
    /**
     * The Driver
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var \StructType\IdentifierPerson
     */
    public $Driver;
    /**
     * The Vehicle
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var \StructType\IdentifierVehicleResult
     */
    public $Vehicle;
    /**
     * The Trips
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var \ArrayType\ArrayOfTripInterfaceResult_v4
     */
    public $Trips;
    /**
     * The Places
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var \ArrayType\ArrayOfPlaceInterfaceResult_v3
     */
    public $Places;
    /**
     * Constructor method for PlanningInterfaceResult_v4
     * @uses PlanningInterfaceResult_v4::setDriver()
     * @uses PlanningInterfaceResult_v4::setVehicle()
     * @uses PlanningInterfaceResult_v4::setTrips()
     * @uses PlanningInterfaceResult_v4::setPlaces()
     * @param \StructType\IdentifierPerson $driver
     * @param \StructType\IdentifierVehicleResult $vehicle
     * @param \ArrayType\ArrayOfTripInterfaceResult_v4 $trips
     * @param \ArrayType\ArrayOfPlaceInterfaceResult_v3 $places
     */
    public function __construct(\StructType\IdentifierPerson $driver = null, \StructType\IdentifierVehicleResult $vehicle = null, \ArrayType\ArrayOfTripInterfaceResult_v4 $trips = null, \ArrayType\ArrayOfPlaceInterfaceResult_v3 $places = null)
    {
        $this
            ->setDriver($driver)
            ->setVehicle($vehicle)
            ->setTrips($trips)
            ->setPlaces($places);
    }
    /**
     * Get Driver value
     * @return \StructType\IdentifierPerson|null
     */
    public function getDriver()
    {
        return $this->Driver;
    }
    /**
     * Set Driver value
     * @param \StructType\IdentifierPerson $driver
     * @return \StructType\PlanningInterfaceResult_v4
     */
    public function setDriver(\StructType\IdentifierPerson $driver = null)
    {
        $this->Driver = $driver;
        return $this;
    }
    /**
     * Get Vehicle value
     * @return \StructType\IdentifierVehicleResult|null
     */
    public function getVehicle()
    {
        return $this->Vehicle;
    }
    /**
     * Set Vehicle value
     * @param \StructType\IdentifierVehicleResult $vehicle
     * @return \StructType\PlanningInterfaceResult_v4
     */
    public function setVehicle(\StructType\IdentifierVehicleResult $vehicle = null)
    {
        $this->Vehicle = $vehicle;
        return $this;
    }
    /**
     * Get Trips value
     * @return \ArrayType\ArrayOfTripInterfaceResult_v4|null
     */
    public function getTrips()
    {
        return $this->Trips;
    }
    /**
     * Set Trips value
     * @param \ArrayType\ArrayOfTripInterfaceResult_v4 $trips
     * @return \StructType\PlanningInterfaceResult_v4
     */
    public function setTrips(\ArrayType\ArrayOfTripInterfaceResult_v4 $trips = null)
    {
        $this->Trips = $trips;
        return $this;
    }
    /**
     * Get Places value
     * @return \ArrayType\ArrayOfPlaceInterfaceResult_v3|null
     */
    public function getPlaces()
    {
        return $this->Places;
    }
    /**
     * Set Places value
     * @param \ArrayType\ArrayOfPlaceInterfaceResult_v3 $places
     * @return \StructType\PlanningInterfaceResult_v4
     */
    public function setPlaces(\ArrayType\ArrayOfPlaceInterfaceResult_v3 $places = null)
    {
        $this->Places = $places;
        return $this;
    }
}
