<?php

namespace Eurostop\Loyalty;

class DataRetrievalResultOfCustomerAccountTypee5gmbhXd
{

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

    /**
     * @var ArrayOfCustomerAccountType $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 CustomerAccountType
     */
    public function getDataItem()
    {
      return $this->DataItem;
    }

    /**
     * @param CustomerAccountType $DataItem
     * @return \Eurostop\Loyalty\DataRetrievalResultOfCustomerAccountTypee5gmbhXd
     */
    public function setDataItem($DataItem)
    {
      $this->DataItem = $DataItem;
      return $this;
    }

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

    /**
     * @param ArrayOfCustomerAccountType $DataItems
     * @return \Eurostop\Loyalty\DataRetrievalResultOfCustomerAccountTypee5gmbhXd
     */
    public function setDataItems($DataItems)
    {
      $this->DataItems = $DataItems;
      return $this;
    }

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

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

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

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

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

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

}
