<?php

namespace StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

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