<?php

namespace GlsApi;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for GLSUserCredentials Tracking
 * Meta information extracted from the WSDL
 * - documentation: Login information to YourGLS
 * @subpackage Structs
 */
class GLSUserCredentials extends AbstractStructBase
{
    /**
     * The UserName
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 1
     * @var string
     */
    public $UserName;
    /**
     * The Password
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 1
     * @var string
     */
    public $Password;
    /**
     * Constructor method for GLSUserCredentials
     * @uses GLSUserCredentials::setUserName()
     * @uses GLSUserCredentials::setPassword()
     * @param string $userName
     * @param string $password
     */
    public function __construct($userName = null, $password = null)
    {
        $this
            ->setUserName($userName)
            ->setPassword($password);
    }
    /**
     * Get UserName value
     * @return string
     */
    public function getUserName()
    {
        return $this->UserName;
    }
    /**
     * Set UserName value
     * @param string $userName
     * @return \GlsApi\GLSUserCredentials
     */
    public function setUserName($userName = null)
    {
        $this->UserName = $userName;
        return $this;
    }
    /**
     * Get Password value
     * @return string
     */
    public function getPassword()
    {
        return $this->Password;
    }
    /**
     * Set Password value
     * @param string $password
     * @return \GlsApi\GLSUserCredentials
     */
    public function setPassword($password = null)
    {
        $this->Password = $password;
        return $this;
    }
}
