<?php

namespace Eurostop\Stocks;

class CancelPurchaseOrderResponse
{

    /**
     * @var DataSubmissionResult $CancelPurchaseOrderResult
     */
    protected $CancelPurchaseOrderResult = null;

    /**
     * @param DataSubmissionResult $CancelPurchaseOrderResult
     */
    public function __construct($CancelPurchaseOrderResult = null)
    {
      $this->CancelPurchaseOrderResult = $CancelPurchaseOrderResult;
    }

    /**
     * @return DataSubmissionResult
     */
    public function getCancelPurchaseOrderResult()
    {
      return $this->CancelPurchaseOrderResult;
    }

    /**
     * @param DataSubmissionResult $CancelPurchaseOrderResult
     * @return \Eurostop\Stocks\CancelPurchaseOrderResponse
     */
    public function setCancelPurchaseOrderResult($CancelPurchaseOrderResult)
    {
      $this->CancelPurchaseOrderResult = $CancelPurchaseOrderResult;
      return $this;
    }

}
