<?php

namespace StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for GetStoreCustomPageResponseType StructType
 * Meta informations extracted from the WSDL
 * - documentation: Contains the custom page or pages for the user's Store.
 * @subpackage Structs
 */
class GetStoreCustomPageResponseType extends AbstractResponseType
{
    /**
     * The CustomPageArray
     * Meta informations extracted from the WSDL
     * - documentation: The custom page or custom pages.
     * - minOccurs: 0
     * @var \ArrayType\StoreCustomPageArrayType
     */
    public $CustomPageArray;
    /**
     * Constructor method for GetStoreCustomPageResponseType
     * @uses GetStoreCustomPageResponseType::setCustomPageArray()
     * @param \ArrayType\StoreCustomPageArrayType $customPageArray
     */
    public function __construct(\ArrayType\StoreCustomPageArrayType $customPageArray = null)
    {
        $this
            ->setCustomPageArray($customPageArray);
    }
    /**
     * Get CustomPageArray value
     * @return \ArrayType\StoreCustomPageArrayType|null
     */
    public function getCustomPageArray()
    {
        return $this->CustomPageArray;
    }
    /**
     * Set CustomPageArray value
     * @param \ArrayType\StoreCustomPageArrayType $customPageArray
     * @return \StructType\GetStoreCustomPageResponseType
     */
    public function setCustomPageArray(\ArrayType\StoreCustomPageArrayType $customPageArray = null)
    {
        $this->CustomPageArray = $customPageArray;
        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 \StructType\GetStoreCustomPageResponseType
     */
    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__;
    }
}
