<?php
use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for OdczytDokumentuAnulowaniaReceptyResponse StructType
 * Meta information extracted from the WSDL
 * - type: ns:OdczytDokumentuAnulowaniaReceptyResponse
 * @subpackage Structs
 */
class OdczytDokumentuAnulowaniaReceptyResponse extends AbstractStructBase
{
    /**
     * The wynik
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 1
     * @var WynikMT
     */
    public $wynik;
    /**
     * The dokumentAnulowaniaRecepty
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var DokumentAnulowaniaReceptyMT
     */
    public $dokumentAnulowaniaRecepty;
    /**
     * Constructor method for OdczytDokumentuAnulowaniaReceptyResponse
     * @uses OdczytDokumentuAnulowaniaReceptyResponse::setWynik()
     * @uses OdczytDokumentuAnulowaniaReceptyResponse::setDokumentAnulowaniaRecepty()
     * @param WynikMT $wynik
     * @param DokumentAnulowaniaReceptyMT $dokumentAnulowaniaRecepty
     */
    public function __construct(WynikMT $wynik = null, DokumentAnulowaniaReceptyMT $dokumentAnulowaniaRecepty = null)
    {
        $this
            ->setWynik($wynik)
            ->setDokumentAnulowaniaRecepty($dokumentAnulowaniaRecepty);
    }
    /**
     * Get wynik value
     * @return WynikMT
     */
    public function getWynik()
    {
        return $this->wynik;
    }
    /**
     * Set wynik value
     * @param WynikMT $wynik
     * @return OdczytDokumentuAnulowaniaReceptyResponse
     */
    public function setWynik(WynikMT $wynik = null)
    {
        $this->wynik = $wynik;
        return $this;
    }
    /**
     * Get dokumentAnulowaniaRecepty value
     * @return DokumentAnulowaniaReceptyMT|null
     */
    public function getDokumentAnulowaniaRecepty()
    {
        return $this->dokumentAnulowaniaRecepty;
    }
    /**
     * Set dokumentAnulowaniaRecepty value
     * @param DokumentAnulowaniaReceptyMT $dokumentAnulowaniaRecepty
     * @return OdczytDokumentuAnulowaniaReceptyResponse
     */
    public function setDokumentAnulowaniaRecepty(DokumentAnulowaniaReceptyMT $dokumentAnulowaniaRecepty = null)
    {
        $this->dokumentAnulowaniaRecepty = $dokumentAnulowaniaRecepty;
        return $this;
    }
}
