<?php

namespace StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

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