<?php

namespace StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for PlanningSelection StructType
 * @subpackage Structs
 */
class PlanningSelection extends AbstractStructBase
{
    /**
     * The Item
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var \StructType\PlanningItemSelection
     */
    public $Item;
    /**
     * The Historical
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var \StructType\PlanningHistoricalSelection
     */
    public $Historical;
    /**
     * The Options
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var \StructType\PlanningOptionsSelection
     */
    public $Options;
    /**
     * Constructor method for PlanningSelection
     * @uses PlanningSelection::setItem()
     * @uses PlanningSelection::setHistorical()
     * @uses PlanningSelection::setOptions()
     * @param \StructType\PlanningItemSelection $item
     * @param \StructType\PlanningHistoricalSelection $historical
     * @param \StructType\PlanningOptionsSelection $options
     */
    public function __construct(\StructType\PlanningItemSelection $item = null, \StructType\PlanningHistoricalSelection $historical = null, \StructType\PlanningOptionsSelection $options = null)
    {
        $this
            ->setItem($item)
            ->setHistorical($historical)
            ->setOptions($options);
    }
    /**
     * Get Item value
     * @return \StructType\PlanningItemSelection|null
     */
    public function getItem()
    {
        return $this->Item;
    }
    /**
     * Set Item value
     * @param \StructType\PlanningItemSelection $item
     * @return \StructType\PlanningSelection
     */
    public function setItem(\StructType\PlanningItemSelection $item = null)
    {
        $this->Item = $item;
        return $this;
    }
    /**
     * Get Historical value
     * @return \StructType\PlanningHistoricalSelection|null
     */
    public function getHistorical()
    {
        return $this->Historical;
    }
    /**
     * Set Historical value
     * @param \StructType\PlanningHistoricalSelection $historical
     * @return \StructType\PlanningSelection
     */
    public function setHistorical(\StructType\PlanningHistoricalSelection $historical = null)
    {
        $this->Historical = $historical;
        return $this;
    }
    /**
     * Get Options value
     * @return \StructType\PlanningOptionsSelection|null
     */
    public function getOptions()
    {
        return $this->Options;
    }
    /**
     * Set Options value
     * @param \StructType\PlanningOptionsSelection $options
     * @return \StructType\PlanningSelection
     */
    public function setOptions(\StructType\PlanningOptionsSelection $options = null)
    {
        $this->Options = $options;
        return $this;
    }
}
