<?php

namespace ebay\StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for GetSellingManagerTemplatesResponseType StructType
 * Meta informations extracted from the WSDL
 * - documentation: Contains the templates requested on input. Each SellingManagerTemplateType object in the response contains the data for one Selling Manager template.
 * @subpackage Structs
 * @date 2017-04-07 16
 */
class GetSellingManagerTemplatesResponseType extends AbstractResponseType
{
    /**
     * The SellingManagerTemplateDetailsArray
     * Meta informations extracted from the WSDL
     * - documentation: Contains the data of the templates requested on input. A Selling Manager template contains the data needed to list an item. Empty if no items are available that match the request.
     * - minOccurs: 0
     * @var \ebay\ArrayType\SellingManagerTemplateDetailsArrayType
     */
    public $SellingManagerTemplateDetailsArray;
    /**
     * Constructor method for GetSellingManagerTemplatesResponseType
     * @uses GetSellingManagerTemplatesResponseType::setSellingManagerTemplateDetailsArray()
     * @param \ebay\ArrayType\SellingManagerTemplateDetailsArrayType $sellingManagerTemplateDetailsArray
     */
    public function __construct(\ebay\ArrayType\SellingManagerTemplateDetailsArrayType $sellingManagerTemplateDetailsArray = null)
    {
        $this
            ->setSellingManagerTemplateDetailsArray($sellingManagerTemplateDetailsArray);
    }
    /**
     * Get SellingManagerTemplateDetailsArray value
     * @return \ebay\ArrayType\SellingManagerTemplateDetailsArrayType|null
     */
    public function getSellingManagerTemplateDetailsArray()
    {
        return $this->SellingManagerTemplateDetailsArray;
    }
    /**
     * Set SellingManagerTemplateDetailsArray value
     * @param \ebay\ArrayType\SellingManagerTemplateDetailsArrayType $sellingManagerTemplateDetailsArray
     * @return \ebay\StructType\GetSellingManagerTemplatesResponseType
     */
    public function setSellingManagerTemplateDetailsArray(\ebay\ArrayType\SellingManagerTemplateDetailsArrayType $sellingManagerTemplateDetailsArray = null)
    {
        $this->SellingManagerTemplateDetailsArray = $sellingManagerTemplateDetailsArray;
        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\GetSellingManagerTemplatesResponseType
     */
    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__;
    }
}
