<?php
use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for setStatusZgodyNaEZwrot StructType
 * @subpackage Structs
 */
class SetStatusZgodyNaEZwrot extends AbstractStructBase
{
    /**
     * The statusZgody
     * Meta information extracted from the WSDL
     * - maxOccurs: unbounded
     * - minOccurs: 1
     * @var StatusZgodyEZwrotType[]
     */
    public $statusZgody;
    /**
     * Constructor method for setStatusZgodyNaEZwrot
     * @uses SetStatusZgodyNaEZwrot::setStatusZgody()
     * @param StatusZgodyEZwrotType[] $statusZgody
     */
    public function __construct(array $statusZgody = array())
    {
        $this
            ->setStatusZgody($statusZgody);
    }
    /**
     * Get statusZgody value
     * @return StatusZgodyEZwrotType[]
     */
    public function getStatusZgody()
    {
        return $this->statusZgody;
    }
    /**
     * Set statusZgody value
     * @param StatusZgodyEZwrotType[] $statusZgody
     * @return SetStatusZgodyNaEZwrot
     */
    public function setStatusZgody(array $statusZgody = array())
    {
        $this->statusZgody = $statusZgody;
        return $this;
    }
    /**
     * Add item to statusZgody value
     * @throws \InvalidArgumentException
     * @param StatusZgodyEZwrotType $item
     * @return SetStatusZgodyNaEZwrot
     */
    public function addToStatusZgody(StatusZgodyEZwrotType $item)
    {
        $this->statusZgody[] = $item;
        return $this;
    }
}
