Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
exportonecpackagecrm.php
1<?php
2
4
5
12
14{
15
16 protected function resolveEntityTypeId(\Bitrix\Sale\Internals\Entity $entity)
17 {
18 $typeId = EntityType::UNDEFINED;
19
20 if($entity instanceof Order)
21 $typeId = Invoice::resolveEntityTypeId($entity);
22 elseif ($entity instanceof Payment)
24 elseif ($entity instanceof Shipment)
25 $typeId = ShipmentInvoice::resolveEntityTypeId($entity);
26
27 return $typeId;
28 }
29
30 static protected function getParentEntityTypeId()
31 {
33 }
34
35 static protected function getShipmentEntityTypeId()
36 {
38 }
39
40 static protected function getPaymentCardEntityTypeId()
41 {
43 }
44
45 static protected function getPaymentCashEntityTypeId()
46 {
48 }
49
50 static protected function getPaymentCashLessEntityTypeId()
51 {
53 }
54
58 protected function getShemVersion()
59 {
60 return static::SHEM_VERSION_3_1;
61 }
62}
static resolveEntityTypeId(Sale\Internals\Entity $entity)
resolveEntityTypeId(\Bitrix\Sale\Internals\Entity $entity)