<?php

namespace CustomerManagement\StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for GenerateLoginTokenResponse StructType
 * @subpackage Structs
 */
class GenerateLoginTokenResponse extends AbstractStructBase
{
    /**
     * The GenerateLoginTokenResult
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var \CustomerManagement\StructType\GenerateCustomerLoginTokenOutput
     */
    public $GenerateLoginTokenResult;
    /**
     * Constructor method for GenerateLoginTokenResponse
     * @uses GenerateLoginTokenResponse::setGenerateLoginTokenResult()
     * @param \CustomerManagement\StructType\GenerateCustomerLoginTokenOutput $generateLoginTokenResult
     */
    public function __construct(\CustomerManagement\StructType\GenerateCustomerLoginTokenOutput $generateLoginTokenResult = null)
    {
        $this
            ->setGenerateLoginTokenResult($generateLoginTokenResult);
    }
    /**
     * Get GenerateLoginTokenResult value
     * @return \CustomerManagement\StructType\GenerateCustomerLoginTokenOutput|null
     */
    public function getGenerateLoginTokenResult()
    {
        return $this->GenerateLoginTokenResult;
    }
    /**
     * Set GenerateLoginTokenResult value
     * @param \CustomerManagement\StructType\GenerateCustomerLoginTokenOutput $generateLoginTokenResult
     * @return \CustomerManagement\StructType\GenerateLoginTokenResponse
     */
    public function setGenerateLoginTokenResult(\CustomerManagement\StructType\GenerateCustomerLoginTokenOutput $generateLoginTokenResult = null)
    {
        $this->GenerateLoginTokenResult = $generateLoginTokenResult;
        return $this;
    }
    /**
     * Method called when an object has been exported with var_export() functions
     * It allows to return an object instantiated with the values
     * @see AbstractStructBase::__set_state()
     * @uses AbstractStructBase::__set_state()
     * @param array $array the exported values
     * @return \CustomerManagement\StructType\GenerateLoginTokenResponse
     */
    public static function __set_state(array $array)
    {
        return parent::__set_state($array);
    }
    /**
     * Method returning the class name
     * @return string __CLASS__
     */
    public function __toString()
    {
        return __CLASS__;
    }
}
