1C-Bitrix
25.700.0
Загрузка...
Поиск...
Не найдено
order.php
См. документацию.
1
<?php
2
namespace
Bitrix\Sale\Exchange\Integration\Service\Statistic\Entity
;
3
4
use
Bitrix\Sale\Exchange\Integration\Service\Container\Entity
;
5
use
Bitrix\Sale\Exchange\Integration\EntityType
;
6
7
class
Order
extends
Entity
8
{
9
public
function
getEntityTypeId
()
10
{
11
return
$this->fields->get(
'entityTypeId'
);
12
}
13
14
public
function
setEntityTypeId
($value)
15
{
16
$this->fields->set(
'entityTypeId'
, $value);
17
return
$this;
18
}
19
20
public
function
getEntityId
()
21
{
22
return
$this->fields->get(
'entityId'
);
23
}
24
25
public
function
setEntityId
($value)
26
{
27
$this->fields->set(
'entityId'
, $value);
28
return
$this;
29
}
30
31
public
function
getDateUpdate
()
32
{
33
return
$this->fields->get(
'dateUpdate'
);
34
}
35
36
public
function
setDateUpdate
($value)
37
{
38
$this->fields->set(
'dateUpdate'
, $value);
39
return
$this;
40
}
41
42
public
function
getProviderId
()
43
{
44
return
$this->fields->get(
'providerId'
);
45
}
46
47
public
function
setProviderId
($value)
48
{
49
$this->fields->set(
'providerId'
, $value);
50
return
$this;
51
}
52
53
public
function
getCurrency
()
54
{
55
return
$this->fields->get(
'currency'
);
56
}
57
58
public
function
setCurrency
($value)
59
{
60
$this->fields->set(
'currency'
, $value);
61
return
$this;
62
}
63
64
public
function
getStatus
()
65
{
66
return
$this->fields->get(
'status'
);
67
}
68
69
public
function
setStatus
($value)
70
{
71
$this->fields->set(
'status'
, $value);
72
return
$this;
73
}
74
75
public
function
getXmlId
()
76
{
77
return
$this->fields->get(
'xmlId'
);
78
}
79
80
public
function
setXmlId
($value)
81
{
82
$this->fields->set(
'xmlId'
, $value);
83
return
$this;
84
}
85
86
public
function
getAmount
()
87
{
88
return
$this->fields->get(
'amount'
);
89
}
90
91
public
function
setAmount
($value)
92
{
93
$this->fields->set(
'amount'
, $value);
94
return
$this;
95
}
96
97
static
public
function
createFromArray
(
array
$fields
)
98
{
99
return
new
static
([
100
'entityTypeId'
=>
EntityType::ORDER
,
101
'entityId'
=>
$fields
[
'ENTITY_ID'
],
102
'dateUpdate'
=>
$fields
[
'DATE_UPDATE'
]->format(
'c'
),
103
'providerId'
=>
$fields
[
'PROVIDER_ID'
],
104
'currency'
=>
$fields
[
'CURRENCY'
],
105
'status'
=>
$fields
[
'STATUS'
],
106
'xmlId'
=>
$fields
[
'XML_ID'
],
107
'amount'
=>
$fields
[
'AMOUNT'
],
108
]);
109
}
110
111
public
function
getType
()
112
{
113
return
EntityType::ORDER
;
114
}
115
}
Bitrix\Sale\Exchange\Integration\CRM\EntityType
Определения
entitytype.php:5
Bitrix\Sale\Exchange\Integration\EntityType\ORDER
const ORDER
Определения
entitytype.php:12
Bitrix\Sale\Exchange\Integration\Service\Container\Entity
Определения
entity.php:10
Bitrix\Sale\Exchange\Integration\Service\Container\Entity\$fields
$fields
Определения
entity.php:11
Bitrix\Sale\Exchange\Integration\Service\Statistic\Entity\Order
Определения
order.php:8
Bitrix\Sale\Exchange\Integration\Service\Statistic\Entity\Order\getEntityId
getEntityId()
Определения
order.php:20
Bitrix\Sale\Exchange\Integration\Service\Statistic\Entity\Order\setXmlId
setXmlId($value)
Определения
order.php:80
Bitrix\Sale\Exchange\Integration\Service\Statistic\Entity\Order\getDateUpdate
getDateUpdate()
Определения
order.php:31
Bitrix\Sale\Exchange\Integration\Service\Statistic\Entity\Order\setAmount
setAmount($value)
Определения
order.php:91
Bitrix\Sale\Exchange\Integration\Service\Statistic\Entity\Order\getProviderId
getProviderId()
Определения
order.php:42
Bitrix\Sale\Exchange\Integration\Service\Statistic\Entity\Order\createFromArray
static createFromArray(array $fields)
Определения
order.php:97
Bitrix\Sale\Exchange\Integration\Service\Statistic\Entity\Order\getAmount
getAmount()
Определения
order.php:86
Bitrix\Sale\Exchange\Integration\Service\Statistic\Entity\Order\getCurrency
getCurrency()
Определения
order.php:53
Bitrix\Sale\Exchange\Integration\Service\Statistic\Entity\Order\setProviderId
setProviderId($value)
Определения
order.php:47
Bitrix\Sale\Exchange\Integration\Service\Statistic\Entity\Order\setStatus
setStatus($value)
Определения
order.php:69
Bitrix\Sale\Exchange\Integration\Service\Statistic\Entity\Order\setEntityTypeId
setEntityTypeId($value)
Определения
order.php:14
Bitrix\Sale\Exchange\Integration\Service\Statistic\Entity\Order\getType
getType()
Определения
order.php:111
Bitrix\Sale\Exchange\Integration\Service\Statistic\Entity\Order\getStatus
getStatus()
Определения
order.php:64
Bitrix\Sale\Exchange\Integration\Service\Statistic\Entity\Order\getEntityTypeId
getEntityTypeId()
Определения
order.php:9
Bitrix\Sale\Exchange\Integration\Service\Statistic\Entity\Order\setCurrency
setCurrency($value)
Определения
order.php:58
Bitrix\Sale\Exchange\Integration\Service\Statistic\Entity\Order\getXmlId
getXmlId()
Определения
order.php:75
Bitrix\Sale\Exchange\Integration\Service\Statistic\Entity\Order\setEntityId
setEntityId($value)
Определения
order.php:25
Bitrix\Sale\Exchange\Integration\Service\Statistic\Entity\Order\setDateUpdate
setDateUpdate($value)
Определения
order.php:36
array
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)
Определения
file_new.php:804
Bitrix\Sale\Exchange\Integration\Service\Statistic\Entity
Определения
order.php:2
bitrix
modules
sale
lib
exchange
integration
service
statistic
entity
order.php
Создано системой
1.14.0