1C-Bitrix
25.700.0
Загрузка...
Поиск...
Не найдено
contact.php
См. документацию.
1
<?php
2
namespace
Bitrix\Sale\Exchange\Integration\Service\Internal\Entity;
3
4
5
use Bitrix\Sale\Exchange\Integration\CRM;
6
7
class
Contact
extends
Base
8
{
9
function
getType
()
10
{
11
return
CRM\EntityType::CONTACT
;
12
}
13
14
public
function
getName
()
15
{
16
return
$this->fields->get(
'NAME'
);
17
}
18
19
public
function
setName
($value)
20
{
21
$this->fields->set(
'NAME'
, $value);
22
return
$this;
23
}
24
25
public
function
getLastName
()
26
{
27
return
$this->fields->get(
'LAST_NAME'
);
28
}
29
30
public
function
setLastName
($value)
31
{
32
$this->fields->set(
'LAST_NAME'
, $value);
33
return
$this;
34
}
35
36
public
function
getEmail
()
37
{
38
return
$this->fields->get(
'EMAIL'
);
39
}
40
41
public
function
setEmail
($value)
42
{
43
$this->fields->set(
'EMAIL'
, $value);
44
return
$this;
45
}
46
47
public
function
getPhone
()
48
{
49
return
$this->fields->get(
'PHONE'
);
50
}
51
52
public
function
setPhone
($value)
53
{
54
$this->fields->set(
'PHONE'
, $value);
55
return
$this;
56
}
57
58
public
function
getAddressPostalCode
()
59
{
60
return
$this->fields->get(
'ADDRESS_POSTAL_CODE'
);
61
}
62
63
public
function
setAddressPostalCode
($value)
64
{
65
$this->fields->set(
'ADDRESS_POSTAL_CODE'
, $value);
66
return
$this;
67
}
68
69
public
function
getAddressCity
()
70
{
71
return
$this->fields->get(
'ADDRESS_CITY'
);
72
}
73
74
public
function
setAddressCity
($value)
75
{
76
$this->fields->set(
'ADDRESS_CITY'
, $value);
77
return
$this;
78
}
79
80
public
function
getAddress
()
81
{
82
return
$this->fields->get(
'ADDRESS'
);
83
}
84
85
public
function
setAddress
($value)
86
{
87
$this->fields->set(
'ADDRESS'
, $value);
88
return
$this;
89
}
90
}
Bitrix\Sale\Exchange\Integration\CRM\EntityType\CONTACT
const CONTACT
Определения
entitytype.php:8
Bitrix\Sale\Exchange\Integration\CRM\Placement\Base
Определения
base.php:11
Bitrix\Sale\Exchange\Integration\Service\Internal\Entity\Contact
Определения
contact.php:8
Bitrix\Sale\Exchange\Integration\Service\Internal\Entity\Contact\getEmail
getEmail()
Определения
contact.php:36
Bitrix\Sale\Exchange\Integration\Service\Internal\Entity\Contact\setName
setName($value)
Определения
contact.php:19
Bitrix\Sale\Exchange\Integration\Service\Internal\Entity\Contact\setEmail
setEmail($value)
Определения
contact.php:41
Bitrix\Sale\Exchange\Integration\Service\Internal\Entity\Contact\getName
getName()
Определения
contact.php:14
Bitrix\Sale\Exchange\Integration\Service\Internal\Entity\Contact\setAddressPostalCode
setAddressPostalCode($value)
Определения
contact.php:63
Bitrix\Sale\Exchange\Integration\Service\Internal\Entity\Contact\getAddress
getAddress()
Определения
contact.php:80
Bitrix\Sale\Exchange\Integration\Service\Internal\Entity\Contact\getPhone
getPhone()
Определения
contact.php:47
Bitrix\Sale\Exchange\Integration\Service\Internal\Entity\Contact\getLastName
getLastName()
Определения
contact.php:25
Bitrix\Sale\Exchange\Integration\Service\Internal\Entity\Contact\getType
getType()
Определения
contact.php:9
Bitrix\Sale\Exchange\Integration\Service\Internal\Entity\Contact\getAddressCity
getAddressCity()
Определения
contact.php:69
Bitrix\Sale\Exchange\Integration\Service\Internal\Entity\Contact\setLastName
setLastName($value)
Определения
contact.php:30
Bitrix\Sale\Exchange\Integration\Service\Internal\Entity\Contact\setPhone
setPhone($value)
Определения
contact.php:52
Bitrix\Sale\Exchange\Integration\Service\Internal\Entity\Contact\setAddressCity
setAddressCity($value)
Определения
contact.php:74
Bitrix\Sale\Exchange\Integration\Service\Internal\Entity\Contact\setAddress
setAddress($value)
Определения
contact.php:85
Bitrix\Sale\Exchange\Integration\Service\Internal\Entity\Contact\getAddressPostalCode
getAddressPostalCode()
Определения
contact.php:58
bitrix
modules
sale
lib
exchange
integration
service
internal
entity
contact.php
Создано системой
1.14.0