Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
deal.php
1
<?php
2
3
4
namespace
Bitrix\Sale\Exchange\Integration\Rest\RemoteProxies\CRM
;
5
6
7
use
Bitrix\Sale\Exchange\Integration\Rest
;
8
9
class
Deal
extends
Rest\RemoteProxies\Base
10
implements
IDeal
11
{
12
public
function
adds
($list)
13
{
14
return
$this
15
->batch(Rest\Cmd\
Registry::CRM_DEAL_ADD_NAME
, $list)
16
->call();
17
}
18
19
public
function
contactItemsGet
($id)
20
{
21
return
$this
22
->cmd( Rest\Cmd\
Registry::CRM_DEAL_CONTACT_ITEMS_GET_NAME
, [
23
'id'
=> $id])
24
->call();
25
}
26
27
public
function
contactItemsSet
($id, $items)
28
{
29
return
$this
30
->cmd( Rest\Cmd\
Registry::CRM_DEAL_CONTACT_ITEMS_SET_NAME
, [
31
'id'
=> $id,
32
'items'
=> $items])
33
->call();
34
}
35
}
Bitrix\Sale\Exchange\Integration\Rest\Cmd\Registry\CRM_DEAL_CONTACT_ITEMS_SET_NAME
const CRM_DEAL_CONTACT_ITEMS_SET_NAME
Definition
registry.php:11
Bitrix\Sale\Exchange\Integration\Rest\Cmd\Registry\CRM_DEAL_ADD_NAME
const CRM_DEAL_ADD_NAME
Definition
registry.php:10
Bitrix\Sale\Exchange\Integration\Rest\Cmd\Registry\CRM_DEAL_CONTACT_ITEMS_GET_NAME
const CRM_DEAL_CONTACT_ITEMS_GET_NAME
Definition
registry.php:12
Bitrix\Sale\Exchange\Integration\Rest\RemoteProxies\Base
Definition
base.php:8
Bitrix\Sale\Exchange\Integration\Rest\RemoteProxies\CRM\Deal
Definition
deal.php:11
Bitrix\Sale\Exchange\Integration\Rest\RemoteProxies\CRM\Deal\contactItemsSet
contactItemsSet($id, $items)
Definition
deal.php:27
Bitrix\Sale\Exchange\Integration\Rest\RemoteProxies\CRM\Deal\adds
adds($list)
Definition
deal.php:12
Bitrix\Sale\Exchange\Integration\Rest\RemoteProxies\CRM\Deal\contactItemsGet
contactItemsGet($id)
Definition
deal.php:19
Bitrix\Sale\Exchange\Integration\Rest\RemoteProxies\CRM\IDeal
Definition
ideal.php:10
Bitrix\Sale\Exchange\Integration\Rest\RemoteProxies\CRM
Definition
activity.php:4
Bitrix\Sale\Exchange\Integration\Rest
modules
sale
lib
exchange
integration
rest
remoteproxies
crm
deal.php
Создано системой
1.10.0