<?php
use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for getShopEZwrotyListResponse StructType
 * @subpackage Structs
 */
class GetShopEZwrotyListResponse extends AbstractStructBase
{
    /**
     * The shops
     * Meta information extracted from the WSDL
     * - maxOccurs: unbounded
     * - minOccurs: 0
     * @var ShopEZwrotyInfoType[]
     */
    public $shops;
    /**
     * Constructor method for getShopEZwrotyListResponse
     * @uses GetShopEZwrotyListResponse::setShops()
     * @param ShopEZwrotyInfoType[] $shops
     */
    public function __construct(array $shops = array())
    {
        $this
            ->setShops($shops);
    }
    /**
     * Get shops value
     * @return ShopEZwrotyInfoType[]|null
     */
    public function getShops()
    {
        return $this->shops;
    }
    /**
     * Set shops value
     * @param ShopEZwrotyInfoType[] $shops
     * @return GetShopEZwrotyListResponse
     */
    public function setShops(array $shops = array())
    {
        $this->shops = $shops;
        return $this;
    }
    /**
     * Add item to shops value
     * @throws \InvalidArgumentException
     * @param ShopEZwrotyInfoType $item
     * @return GetShopEZwrotyListResponse
     */
    public function addToShops(ShopEZwrotyInfoType $item)
    {
        $this->shops[] = $item;
        return $this;
    }
}
