public function __construct(Ess_M2ePro_Model_Processing_Request $processingRequest) { $this->processingRequest = $processingRequest; $this->hash = $this->processingRequest->getHash(); $this->processingHash = $this->processingRequest->getProcessingHash(); $this->params = $this->processingRequest->getDecodedResponserParams(); $this->requestData = $this->processingRequest->getDecodedRequestBody(); $this->performType = $this->processingRequest->getPerformType(); }
/** * @param Ess_M2ePro_Model_Processing_Request $processingRequest * @return $this */ public function setProcessingRequest(Ess_M2ePro_Model_Processing_Request $processingRequest) { $this->responserModelName = $processingRequest->getResponserModel(); $this->responserParams = $processingRequest->getDecodedResponserParams(); $this->processingRequest = $processingRequest; return $this; }