<?php

namespace ebay\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
 * @date 2017-04-07 16
 */
class GetStoreCustomPageResponseType extends AbstractResponseType
{
    /**
     * The CustomPageArray
     * Meta informations extracted from the WSDL
     * - documentation: The custom page or custom pages.
     * - minOccurs: 0
     * @var \ebay\ArrayType\StoreCustomPageArrayType
     */
    public $CustomPageArray;
    /**
     * Constructor method for GetStoreCustomPageResponseType
     * @uses GetStoreCustomPageResponseType::setCustomPageArray()
     * @param \ebay\ArrayType\StoreCustomPageArrayType $customPageArray
     */
    public function __construct(\ebay\ArrayType\StoreCustomPageArrayType $customPageArray = null)
    {
        $this
            ->setCustomPageArray($customPageArray);
    }
    /**
     * Get CustomPageArray value
     * @return \ebay\ArrayType\StoreCustomPageArrayType|null
     */
    public function getCustomPageArray()
    {
        return $this->CustomPageArray;
    }
    /**
     * Set CustomPageArray value
     * @param \ebay\ArrayType\StoreCustomPageArrayType $customPageArray
     * @return \ebay\StructType\GetStoreCustomPageResponseType
     */
    public function setCustomPageArray(\ebay\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 \ebay\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__;
    }
}
