<?php

namespace Eurostop\Stocks;

class DataRetrievalResultOfPurchaseOrderHeaderF65MdnO4Custom
{

    /**
     * @var PurchaseOrderHeader $DataItem
     */
    protected $DataItem = null;

    /**
     * @var ArrayOfPurchaseOrderHeader $DataItems
     */
    protected $DataItems = null;

    /**
     * @var string $ErrorSource
     */
    protected $ErrorSource = null;

    /**
     * @var string $Message
     */
    protected $Message = null;

    /**
     * @var RetrievalStatus $Status
     */
    protected $Status = null;

    /**
     * @param RetrievalStatus $Status
     */
    public function __construct($Status)
    {
      $this->Status = $Status;
    }

    /**
     * @return PurchaseOrderHeader
     */
    public function getDataItem()
    {
      return $this->DataItem;
    }

    /**
     * @param PurchaseOrderHeader $DataItem
     * @return \Eurostop\Stocks\DataRetrievalResultOfPurchaseOrderHeaderF65MdnO4
     */
    public function setDataItem($DataItem)
    {
      $this->DataItem = $DataItem;
      return $this;
    }

    /**
     * @return ArrayOfPurchaseOrderHeader
     */
    public function getDataItems()
    {
      return $this->DataItems;
    }

    /**
     * @param ArrayOfPurchaseOrderHeader $DataItems
     * @return \Eurostop\Stocks\DataRetrievalResultOfPurchaseOrderHeaderF65MdnO4
     */
    public function setDataItems($DataItems)
    {
      $this->DataItems = $DataItems;
      return $this;
    }

    /**
     * @return string
     */
    public function getErrorSource()
    {
      return $this->ErrorSource;
    }

    /**
     * @param string $ErrorSource
     * @return \Eurostop\Stocks\DataRetrievalResultOfPurchaseOrderHeaderF65MdnO4
     */
    public function setErrorSource($ErrorSource)
    {
      $this->ErrorSource = $ErrorSource;
      return $this;
    }

    /**
     * @return string
     */
    public function getMessage()
    {
      return $this->Message;
    }

    /**
     * @param string $Message
     * @return \Eurostop\Stocks\DataRetrievalResultOfPurchaseOrderHeaderF65MdnO4
     */
    public function setMessage($Message)
    {
      $this->Message = $Message;
      return $this;
    }

    /**
     * @return RetrievalStatus
     */
    public function getStatus()
    {
      return $this->Status;
    }

    /**
     * @param RetrievalStatus $Status
     * @return \Eurostop\Stocks\DataRetrievalResultOfPurchaseOrderHeaderF65MdnO4
     */
    public function setStatus($Status)
    {
      $this->Status = $Status;
      return $this;
    }

}
