<?php

namespace SGCIS\Struct;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for GetAutoPayMetaDataResponse Struct
 * @subpackage Structs
 */
class GetAutoPayMetaDataResponse extends AbstractStructBase
{
    /**
     * The GetAutoPayMetaDataResult
     * Meta informations extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var \SGCIS\Struct\AutoPayMetaDataResponse
     */
    public $GetAutoPayMetaDataResult;
    /**
     * Constructor method for GetAutoPayMetaDataResponse
     * @uses GetAutoPayMetaDataResponse::setGetAutoPayMetaDataResult()
     * @param \SGCIS\Struct\AutoPayMetaDataResponse $getAutoPayMetaDataResult
     */
    public function __construct(\SGCIS\Struct\AutoPayMetaDataResponse $getAutoPayMetaDataResult = null)
    {
        $this
            ->setGetAutoPayMetaDataResult($getAutoPayMetaDataResult);
    }
    /**
     * Get GetAutoPayMetaDataResult value
     * @return \SGCIS\Struct\AutoPayMetaDataResponse|null
     */
    public function getGetAutoPayMetaDataResult()
    {
        return $this->GetAutoPayMetaDataResult;
    }
    /**
     * Set GetAutoPayMetaDataResult value
     * @param \SGCIS\Struct\AutoPayMetaDataResponse $getAutoPayMetaDataResult
     * @return \SGCIS\Struct\GetAutoPayMetaDataResponse
     */
    public function setGetAutoPayMetaDataResult(\SGCIS\Struct\AutoPayMetaDataResponse $getAutoPayMetaDataResult = null)
    {
        $this->GetAutoPayMetaDataResult = $getAutoPayMetaDataResult;
        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 \SGCIS\Struct\GetAutoPayMetaDataResponse
     */
    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__;
    }
}
