<?php

namespace StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for Cancel_Planning_V2 StructType
 * @subpackage Structs
 */
class Cancel_Planning_V2 extends AbstractStructBase
{
    /**
     * The Login
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var \StructType\Login
     */
    public $Login;
    /**
     * The PlanningItemSelection
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var \StructType\PlanningItemSelection_V2
     */
    public $PlanningItemSelection;
    /**
     * Constructor method for Cancel_Planning_V2
     * @uses Cancel_Planning_V2::setLogin()
     * @uses Cancel_Planning_V2::setPlanningItemSelection()
     * @param \StructType\Login $login
     * @param \StructType\PlanningItemSelection_V2 $planningItemSelection
     */
    public function __construct(\StructType\Login $login = null, \StructType\PlanningItemSelection_V2 $planningItemSelection = null)
    {
        $this
            ->setLogin($login)
            ->setPlanningItemSelection($planningItemSelection);
    }
    /**
     * Get Login value
     * @return \StructType\Login|null
     */
    public function getLogin()
    {
        return $this->Login;
    }
    /**
     * Set Login value
     * @param \StructType\Login $login
     * @return \StructType\Cancel_Planning_V2
     */
    public function setLogin(\StructType\Login $login = null)
    {
        $this->Login = $login;
        return $this;
    }
    /**
     * Get PlanningItemSelection value
     * @return \StructType\PlanningItemSelection_V2|null
     */
    public function getPlanningItemSelection()
    {
        return $this->PlanningItemSelection;
    }
    /**
     * Set PlanningItemSelection value
     * @param \StructType\PlanningItemSelection_V2 $planningItemSelection
     * @return \StructType\Cancel_Planning_V2
     */
    public function setPlanningItemSelection(\StructType\PlanningItemSelection_V2 $planningItemSelection = null)
    {
        $this->PlanningItemSelection = $planningItemSelection;
        return $this;
    }
}
