<?php

namespace SGCIS\Struct;

use \WsdlToPhp\PackageBase\AbstractStructBase;

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