Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
deal.php
1<?php
2
3
5
6
8
9class Deal extends Base
10{
11 function getType()
12 {
13 return EntityType::DEAL;
14 }
15
16 public function getTitle()
17 {
18 return $this->fields->get('TITLE');
19 }
20
21 public function setTitle($value)
22 {
23 $this->fields->set('TITLE', $value);
24 return $this;
25 }
26
27 public function getContactId()
28 {
29 return $this->fields->get('CONTACT_ID');
30 }
31
32 public function setContactId($value)
33 {
34 $this->fields->set('CONTACT_ID', $value);
35 return $this;
36 }
37
38 public function getCompanyId()
39 {
40 return $this->fields->get('COMPANY_ID');
41 }
42
43 public function setCompanyId($value)
44 {
45 $this->fields->set('COMPANY_ID', $value);
46 return $this;
47 }
48
49 public function setOpportunity($value)
50 {
51 $this->fields->set('OPPORTUNITY', $value);
52 return $this;
53 }
54
55 public function setCurrency($value)
56 {
57 $this->fields->set('CURRENCY_ID', $value);
58 return $this;
59 }
60}