Remove cyrillic symbols (#123)
This commit is contained in:
parent
745d1afd5a
commit
458febab46
@ -238,7 +238,7 @@ class ApiClient
|
|||||||
*
|
*
|
||||||
* @return ApiResponse
|
* @return ApiResponse
|
||||||
*/
|
*/
|
||||||
public function customersСorporateFixExternalIds(array $ids)
|
public function customersCorporateFixExternalIds(array $ids)
|
||||||
{
|
{
|
||||||
if (! count($ids)) {
|
if (! count($ids)) {
|
||||||
throw new \InvalidArgumentException(
|
throw new \InvalidArgumentException(
|
||||||
@ -293,7 +293,7 @@ class ApiClient
|
|||||||
*
|
*
|
||||||
* @return ApiResponse
|
* @return ApiResponse
|
||||||
*/
|
*/
|
||||||
public function customersСorporateGet($id, $by = 'externalId', $site = null)
|
public function customersCorporateGet($id, $by = 'externalId', $site = null)
|
||||||
{
|
{
|
||||||
$this->checkIdParameter($by);
|
$this->checkIdParameter($by);
|
||||||
|
|
||||||
@ -362,7 +362,7 @@ class ApiClient
|
|||||||
*
|
*
|
||||||
* @return ApiResponse
|
* @return ApiResponse
|
||||||
*/
|
*/
|
||||||
public function customersСorporateEdit(array $customer, $by = 'externalId', $site = null)
|
public function customersCorporateEdit(array $customer, $by = 'externalId', $site = null)
|
||||||
{
|
{
|
||||||
if (!count($customer)) {
|
if (!count($customer)) {
|
||||||
throw new \InvalidArgumentException(
|
throw new \InvalidArgumentException(
|
||||||
@ -398,7 +398,7 @@ class ApiClient
|
|||||||
* @return ApiResponse
|
* @return ApiResponse
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public function customersСorporateHistory(array $filter = array(), $page = null, $limit = null)
|
public function customersCorporateHistory(array $filter = array(), $page = null, $limit = null)
|
||||||
{
|
{
|
||||||
$parameters = array();
|
$parameters = array();
|
||||||
|
|
||||||
|
@ -452,10 +452,10 @@ class RCrmActions
|
|||||||
case 'ordersEdit':
|
case 'ordersEdit':
|
||||||
case 'customersGet':
|
case 'customersGet':
|
||||||
case 'customersEdit':
|
case 'customersEdit':
|
||||||
case 'customersСorporateGet':
|
case 'customersCorporateGet':
|
||||||
return self::proxy($api, $methodApi, $method, array($params, 'externalId', $site));
|
return self::proxy($api, $methodApi, $method, array($params, 'externalId', $site));
|
||||||
case 'customersСorporateGetById':
|
case 'customersCorporateGetById':
|
||||||
return self::proxy($api, 'customersСorporateGet', $method, array($params, 'id', $site));
|
return self::proxy($api, 'customersCorporateGet', $method, array($params, 'id', $site));
|
||||||
case 'customersGetById':
|
case 'customersGetById':
|
||||||
return self::proxy($api, 'customersGet', $method, array($params, 'id', $site));
|
return self::proxy($api, 'customersGet', $method, array($params, 'id', $site));
|
||||||
|
|
||||||
@ -492,7 +492,7 @@ class RCrmActions
|
|||||||
if ($result->getStatusCode() !== 200 && $result->getStatusCode() !== 201) {
|
if ($result->getStatusCode() !== 200 && $result->getStatusCode() !== 201) {
|
||||||
if ($methodApi == 'ordersGet'
|
if ($methodApi == 'ordersGet'
|
||||||
|| $methodApi == 'customersGet'
|
|| $methodApi == 'customersGet'
|
||||||
|| $methodApi == 'customersСorporateGet'
|
|| $methodApi == 'customersCorporateGet'
|
||||||
) {
|
) {
|
||||||
Logger::getInstance()->write(array(
|
Logger::getInstance()->write(array(
|
||||||
'api' => $version,
|
'api' => $version,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user