<?php

namespace SGCIS\Struct;

use \WsdlToPhp\PackageBase\AbstractStructBase;

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