<?php
use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for getPlacowkaPocztowa StructType
 * @subpackage Structs
 */
class GetPlacowkaPocztowa extends AbstractStructBase
{
    /**
     * The pni
     * Meta information extracted from the WSDL
     * - maxOccurs: 5000
     * - minOccurs: 1
     * @var int[]
     */
    public $pni;
    /**
     * Constructor method for getPlacowkaPocztowa
     * @uses GetPlacowkaPocztowa::setPni()
     * @param int[] $pni
     */
    public function __construct(array $pni = array())
    {
        $this
            ->setPni($pni);
    }
    /**
     * Get pni value
     * @return int[]
     */
    public function getPni()
    {
        return $this->pni;
    }
    /**
     * Set pni value
     * @param int[] $pni
     * @return GetPlacowkaPocztowa
     */
    public function setPni(array $pni = array())
    {
        $this->pni = $pni;
        return $this;
    }
    /**
     * Add item to pni value
     * @throws \InvalidArgumentException
     * @param int $item
     * @return GetPlacowkaPocztowa
     */
    public function addToPni($item)
    {
        $this->pni[] = $item;
        return $this;
    }
}
