1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
exportonecpackagecrm.php
См. документацию.
1<?php
2
3namespace Bitrix\Sale\Exchange;
4
5
6use Bitrix\Sale\Exchange\Entity\Invoice;
7use Bitrix\Sale\Exchange\Entity\PaymentInvoiceBase;
8use Bitrix\Sale\Exchange\Entity\ShipmentInvoice;
9use Bitrix\Sale\Order;
10use Bitrix\Sale\Payment;
11use Bitrix\Sale\Shipment;
12
14{
15
17 {
18 $typeId = EntityType::UNDEFINED;
19
20 if($entity instanceof Order)
22 elseif ($entity instanceof Payment)
24 elseif ($entity instanceof Shipment)
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)
Определения entityimport.php:312
static resolveEntityTypeId(Entity $order)
Определения invoice.php:62
static resolveEntityTypeId(Entity $shipment)
Определения shipmentinvoice.php:53
const INVOICE_PAYMENT_CASH
Определения entitytype.php:18
const INVOICE_PAYMENT_CASH_LESS
Определения entitytype.php:19
const INVOICE_PAYMENT_CARD_TRANSACTION
Определения entitytype.php:20
const UNDEFINED
Определения entitytype.php:7
const INVOICE_SHIPMENT
Определения entitytype.php:17
resolveEntityTypeId(\Bitrix\Sale\Internals\Entity $entity)
Определения exportonecpackagecrm.php:16
Определения payment.php:19
$entity
Определения ufield.php:9
if( $daysToExpire >=0 &&$daysToExpire< 60 elseif)( $daysToExpire< 0)
Определения prolog_main_admin.php:393