<?php

namespace StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

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