<?php

namespace CustomerManagement\StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for CheckAvailableLoginNameResponse StructType
 * @subpackage Structs
 */
class CheckAvailableLoginNameResponse extends AbstractStructBase
{
    /**
     * The CheckAvailableLoginNameResult
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var \CustomerManagement\StructType\CheckCustomerLoginOutput
     */
    public $CheckAvailableLoginNameResult;
    /**
     * Constructor method for CheckAvailableLoginNameResponse
     * @uses CheckAvailableLoginNameResponse::setCheckAvailableLoginNameResult()
     * @param \CustomerManagement\StructType\CheckCustomerLoginOutput $checkAvailableLoginNameResult
     */
    public function __construct(\CustomerManagement\StructType\CheckCustomerLoginOutput $checkAvailableLoginNameResult = null)
    {
        $this
            ->setCheckAvailableLoginNameResult($checkAvailableLoginNameResult);
    }
    /**
     * Get CheckAvailableLoginNameResult value
     * @return \CustomerManagement\StructType\CheckCustomerLoginOutput|null
     */
    public function getCheckAvailableLoginNameResult()
    {
        return $this->CheckAvailableLoginNameResult;
    }
    /**
     * Set CheckAvailableLoginNameResult value
     * @param \CustomerManagement\StructType\CheckCustomerLoginOutput $checkAvailableLoginNameResult
     * @return \CustomerManagement\StructType\CheckAvailableLoginNameResponse
     */
    public function setCheckAvailableLoginNameResult(\CustomerManagement\StructType\CheckCustomerLoginOutput $checkAvailableLoginNameResult = null)
    {
        $this->CheckAvailableLoginNameResult = $checkAvailableLoginNameResult;
        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\CheckAvailableLoginNameResponse
     */
    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__;
    }
}
