<?php

namespace StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for GetPlanningItemSelectionResult StructType
 * @subpackage Structs
 */
class GetPlanningItemSelectionResult extends AbstractStructBase
{
    /**
     * The Trips
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var \ArrayType\ArrayOfTripItemResult
     */
    public $Trips;
    /**
     * The Places
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var \ArrayType\ArrayOfPlaceItemResult
     */
    public $Places;
    /**
     * The Jobs
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var \ArrayType\ArrayOfJobItemResult
     */
    public $Jobs;
    /**
     * The Products
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var \ArrayType\ArrayOfProductItemResult
     */
    public $Products;
    /**
     * Constructor method for GetPlanningItemSelectionResult
     * @uses GetPlanningItemSelectionResult::setTrips()
     * @uses GetPlanningItemSelectionResult::setPlaces()
     * @uses GetPlanningItemSelectionResult::setJobs()
     * @uses GetPlanningItemSelectionResult::setProducts()
     * @param \ArrayType\ArrayOfTripItemResult $trips
     * @param \ArrayType\ArrayOfPlaceItemResult $places
     * @param \ArrayType\ArrayOfJobItemResult $jobs
     * @param \ArrayType\ArrayOfProductItemResult $products
     */
    public function __construct(\ArrayType\ArrayOfTripItemResult $trips = null, \ArrayType\ArrayOfPlaceItemResult $places = null, \ArrayType\ArrayOfJobItemResult $jobs = null, \ArrayType\ArrayOfProductItemResult $products = null)
    {
        $this
            ->setTrips($trips)
            ->setPlaces($places)
            ->setJobs($jobs)
            ->setProducts($products);
    }
    /**
     * Get Trips value
     * @return \ArrayType\ArrayOfTripItemResult|null
     */
    public function getTrips()
    {
        return $this->Trips;
    }
    /**
     * Set Trips value
     * @param \ArrayType\ArrayOfTripItemResult $trips
     * @return \StructType\GetPlanningItemSelectionResult
     */
    public function setTrips(\ArrayType\ArrayOfTripItemResult $trips = null)
    {
        $this->Trips = $trips;
        return $this;
    }
    /**
     * Get Places value
     * @return \ArrayType\ArrayOfPlaceItemResult|null
     */
    public function getPlaces()
    {
        return $this->Places;
    }
    /**
     * Set Places value
     * @param \ArrayType\ArrayOfPlaceItemResult $places
     * @return \StructType\GetPlanningItemSelectionResult
     */
    public function setPlaces(\ArrayType\ArrayOfPlaceItemResult $places = null)
    {
        $this->Places = $places;
        return $this;
    }
    /**
     * Get Jobs value
     * @return \ArrayType\ArrayOfJobItemResult|null
     */
    public function getJobs()
    {
        return $this->Jobs;
    }
    /**
     * Set Jobs value
     * @param \ArrayType\ArrayOfJobItemResult $jobs
     * @return \StructType\GetPlanningItemSelectionResult
     */
    public function setJobs(\ArrayType\ArrayOfJobItemResult $jobs = null)
    {
        $this->Jobs = $jobs;
        return $this;
    }
    /**
     * Get Products value
     * @return \ArrayType\ArrayOfProductItemResult|null
     */
    public function getProducts()
    {
        return $this->Products;
    }
    /**
     * Set Products value
     * @param \ArrayType\ArrayOfProductItemResult $products
     * @return \StructType\GetPlanningItemSelectionResult
     */
    public function setProducts(\ArrayType\ArrayOfProductItemResult $products = null)
    {
        $this->Products = $products;
        return $this;
    }
}
