2018-04-27 11:19:02 +03:00
|
|
|
<?php
|
2022-09-30 17:50:15 +03:00
|
|
|
|
|
|
|
if (!class_exists('WC_Retailcrm_Response')) {
|
|
|
|
require_once dirname(__FILE__) . '/../../src/include/api/class-wc-retailcrm-response.php';
|
|
|
|
}
|
|
|
|
|
2022-01-10 12:53:00 +03:00
|
|
|
/**
|
2022-09-30 17:50:15 +03:00
|
|
|
* PHP version 7.0
|
2022-01-10 12:53:00 +03:00
|
|
|
*
|
|
|
|
* Class WC_Retailcrm_Response_Helper - Set response for mock object.
|
|
|
|
*
|
|
|
|
* @category Integration
|
|
|
|
* @author RetailCRM <integration@retailcrm.ru>
|
|
|
|
* @license http://retailcrm.ru Proprietary
|
|
|
|
* @link http://retailcrm.ru
|
|
|
|
* @see http://help.retailcrm.ru
|
|
|
|
*/
|
2018-04-27 11:19:02 +03:00
|
|
|
class WC_Retailcrm_Response_Helper extends WC_Retailcrm_Response
|
|
|
|
{
|
|
|
|
public function setResponse($response)
|
|
|
|
{
|
|
|
|
$this->response = $response;
|
|
|
|
}
|
|
|
|
}
|