<?php

namespace StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

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