mirror of
https://github.com/retailcrm/prestashop-module.git
synced 2025-03-03 19:53:19 +03:00
64 lines
887 B
PHP
64 lines
887 B
PHP
|
<?php
|
||
|
|
||
|
class RetailcrmApiRequest
|
||
|
{
|
||
|
private $api;
|
||
|
|
||
|
private $data;
|
||
|
|
||
|
private $method;
|
||
|
|
||
|
/**
|
||
|
* @return mixed
|
||
|
*/
|
||
|
public function getApi()
|
||
|
{
|
||
|
return $this->api;
|
||
|
}
|
||
|
|
||
|
/**
|
||
|
* @param mixed $api
|
||
|
* @return RetailcrmApiRequest
|
||
|
*/
|
||
|
public function setApi($api)
|
||
|
{
|
||
|
$this->api = $api;
|
||
|
return $this;
|
||
|
}
|
||
|
|
||
|
/**
|
||
|
* @return mixed
|
||
|
*/
|
||
|
public function getData()
|
||
|
{
|
||
|
return $this->data;
|
||
|
}
|
||
|
|
||
|
/**
|
||
|
* @param mixed $data
|
||
|
*/
|
||
|
public function setData($data)
|
||
|
{
|
||
|
$this->data = $data;
|
||
|
return $this;
|
||
|
}
|
||
|
|
||
|
/**
|
||
|
* @return mixed
|
||
|
*/
|
||
|
public function getMethod()
|
||
|
{
|
||
|
return $this->method;
|
||
|
}
|
||
|
|
||
|
/**
|
||
|
* @param mixed $method
|
||
|
*/
|
||
|
public function setMethod($method)
|
||
|
{
|
||
|
$this->method = $method;
|
||
|
return $this;
|
||
|
}
|
||
|
|
||
|
|
||
|
}
|