<?php

namespace StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

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