<?php

namespace SGCIS\Struct;

use \WsdlToPhp\PackageBase\AbstractStructBase;

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