См. определение в файле shipment.php строка 20
◆ addInternal()
addInternal |
( |
array |
$data | ) |
|
|
protected |
- Аргументы
-
- Возвращает
- Entity\AddResult
- Исключения
-
Exception
См. определение в файле shipment.php строка 2746
◆ allowDelivery()
- Возвращает
- Result
- Исключения
-
ArgumentOutOfRangeException
- Исключения
-
NotSupportedException
См. определение в файле shipment.php строка 1577
◆ calculateDelivery()
- Возвращает
- Delivery\CalculationResult
- Исключения
-
NotSupportedException
См. определение в файле shipment.php строка 2163
◆ canMarked()
◆ checkValueBeforeSet()
checkValueBeforeSet |
( |
|
$name, |
|
|
|
$value |
|
) |
| |
|
protected |
- Аргументы
-
- Возвращает
- Result
- Исключения
-
ArgumentException
- Исключения
-
SystemException
См. определение в файле shipment.php строка 818
◆ createSystem()
◆ delete()
Deletes shipment
- Возвращает
- Result
- Исключения
-
ArgumentException
- Исключения
-
ArgumentNullException
- Исключения
-
ArgumentOutOfRangeException
- Исключения
-
NotSupportedException
- Исключения
-
ObjectNotFoundException
- Исключения
-
Exception
См. определение в файле shipment.php строка 720
◆ deleteDeliveryRequest()
deleteDeliveryRequest |
( |
| ) |
|
|
protected |
◆ deleteInternal()
static deleteInternal |
( |
|
$primary | ) |
|
|
staticprotected |
- Аргументы
-
- Возвращает
- Entity\DeleteResult
- Исключения
-
ArgumentException
- Исключения
-
ArgumentNullException
См. определение в файле shipment.php строка 2768
◆ deleteNoDemand()
static deleteNoDemand |
( |
|
$orderId | ) |
|
|
static |
- Аргументы
-
- Возвращает
- Result
- Исключения
-
ArgumentException
См. определение в файле shipment.php строка 681
◆ deliver()
- Возвращает
- Result
- Исключения
-
ObjectNotFoundException
См. определение в файле shipment.php строка 1561
◆ disallowDelivery()
- Возвращает
- Result
- Исключения
-
ArgumentOutOfRangeException
- Исключения
-
NotSupportedException
См. определение в файле shipment.php строка 1587
◆ fixReserveErrors()
static fixReserveErrors |
( |
Shipment |
$entity | ) |
|
|
static |
- Аргументы
-
- Возвращает
- Result
- Исключения
-
ObjectNotFoundException
См. определение в файле shipment.php строка 2575
◆ fixShipErrors()
static fixShipErrors |
( |
Shipment |
$entity | ) |
|
|
static |
- Аргументы
-
- Возвращает
- Result
- Исключения
-
ObjectNotFoundException
См. определение в файле shipment.php строка 2598
◆ generateXmlId()
◆ getAllowDeliveryDate()
◆ getAllowDeliveryUserId()
getAllowDeliveryUserId |
( |
| ) |
|
◆ getAutoFixErrorsList()
◆ getAutoFixRules()
static getAutoFixRules |
( |
| ) |
|
|
staticprotected |
◆ getAvailableFields()
static getAvailableFields |
( |
| ) |
|
|
static |
◆ getBusinessValueProviderInstance()
getBusinessValueProviderInstance |
( |
|
$mapping | ) |
|
◆ getCompanyId()
◆ getCurrency()
◆ getCustomizableFields()
static getCustomizableFields |
( |
| ) |
|
|
static |
◆ getDelivery()
- Возвращает
- Delivery\Services\Base
- Исключения
-
ArgumentNullException
- Исключения
-
SystemException
См. определение в файле shipment.php строка 1327
◆ getDeliveryId()
◆ getDeliveryName()
◆ getEntityEventName()
static getEntityEventName |
( |
| ) |
|
|
static |
◆ getExtraServices()
◆ getExtraServicesObjects()
getExtraServicesObjects |
( |
| ) |
|
- Возвращает
- Delivery\ExtraServices\Base[]
См. определение в файле shipment.php строка 2092
◆ getFieldsMap()
◆ getFixMethod()
static getFixMethod |
( |
|
$code | ) |
|
|
staticprotected |
◆ getList()
static getList |
( |
array |
$parameters | ) |
|
|
static |
- Аргументы
-
- Возвращает
- Main\ORM\Query\Result
- Исключения
-
ArgumentException
- Исключения
-
ObjectPropertyException
- Исключения
-
SystemException
Переопределяет метод предка Entity.
См. определение в файле shipment.php строка 2376
◆ getMarkField()
◆ getMeaningfulFields()
static getMeaningfulFields |
( |
| ) |
|
|
staticprotected |
◆ getOrder()
◆ getParametersForLoad()
static getParametersForLoad |
( |
|
$id | ) |
|
|
staticprotected |
◆ getParentOrder()
◆ getParentOrderId()
◆ getPersonTypeId()
◆ getPrice()
◆ getPropertyCollection()
getPropertyCollection |
( |
| ) |
|
◆ getRegistryEntity()
static getRegistryEntity |
( |
| ) |
|
|
static |
◆ getRegistryType()
static getRegistryType |
( |
| ) |
|
|
static |
◆ getServiceParams()
◆ getShipmentCode()
◆ getShippedDate()
◆ getShippedUserId()
◆ getStoreId()
◆ getUfId()
◆ getUnshipReason()
◆ getVatRate()
- Возвращает
- float|int
- Исключения
-
ArgumentException
- Исключения
-
ArgumentNullException
- Исключения
-
LoaderException
- Исключения
-
ObjectPropertyException
- Исключения
-
SystemException
См. определение в файле shipment.php строка 2699
◆ getVatSum()
- Возвращает
- float
- Исключения
-
ArgumentNullException
- Исключения
-
LoaderException
См. определение в файле shipment.php строка 2733
◆ getWeight()
◆ isAllowDelivery()
◆ isCanceled()
◆ isChanged()
- Возвращает
- bool
- Исключения
-
ArgumentException
- Исключения
-
ArgumentNullException
- Исключения
-
ObjectNotFoundException
См. определение в файле shipment.php строка 2664
◆ isCustomPrice()
- Возвращает
- bool
- Исключения
-
ArgumentOutOfRangeException
См. определение в файле shipment.php строка 1276
◆ isEmpty()
◆ isMarked()
◆ isPriceField()
isPriceField |
( |
string |
$name | ) |
|
|
protected |
◆ isShipped()
◆ isSystem()
◆ loadDeliveryService()
- Возвращает
- Delivery\Services\Base
- Исключения
-
ArgumentNullException
- Исключения
-
SystemException
См. определение в файле shipment.php строка 1342
◆ loadForOrder()
static loadForOrder |
( |
|
$id | ) |
|
|
static |
- Аргументы
-
- Возвращает
- array
- Исключения
-
ArgumentException
- Исключения
-
ArgumentNullException
См. определение в файле shipment.php строка 886
◆ markSystem()
- Исключения
-
ArgumentNullException
- Исключения
-
ArgumentOutOfRangeException
См. определение в файле shipment.php строка 1237
◆ needReservation()
◆ needShip()
◆ normalizeValue()
normalizeValue |
( |
|
$name, |
|
|
|
$value |
|
) |
| |
|
protected |
◆ onAfterSave()
◆ onBeforeBasketItemDelete()
onBeforeBasketItemDelete |
( |
BasketItem |
$basketItem | ) |
|
- Аргументы
-
- Возвращает
- Result
- Исключения
-
ArgumentException
- Исключения
-
ArgumentNullException
- Исключения
-
ArgumentOutOfRangeException
- Исключения
-
NotSupportedException
- Исключения
-
ObjectNotFoundException
- Исключения
-
SystemException
См. определение в файле shipment.php строка 1602
◆ onBeforeSetFields()
onBeforeSetFields |
( |
array |
$values | ) |
|
|
protected |
◆ onShipmentItemCollectionModify()
onShipmentItemCollectionModify |
( |
|
$action, |
|
|
ShipmentItem |
$shipmentItem, |
|
|
|
$name = null , |
|
|
|
$oldValue = null , |
|
|
|
$value = null |
|
) |
| |
- Аргументы
-
| $action | |
ShipmentItem | $shipmentItem | |
null | $name | |
null | $oldValue | |
null | $value | |
- Возвращает
- Result
- Исключения
-
NotSupportedException
- Исключения
-
SystemException
См. определение в файле shipment.php строка 620
◆ resetData()
- Исключения
-
ArgumentOutOfRangeException
- Исключения
-
NotSupportedException
См. определение в файле shipment.php строка 2182
◆ saveExtraServices()
◆ saveStoreId()
◆ setBasePriceDelivery()
setBasePriceDelivery |
( |
|
$value, |
|
|
|
$custom = false |
|
) |
| |
- Аргументы
-
- Возвращает
- Result
- Исключения
-
ArgumentOutOfRangeException
- Исключения
-
NotSupportedException
- Исключения
-
Exception
См. определение в файле shipment.php строка 2798
◆ setDeliveryRequestMarker()
setDeliveryRequestMarker |
( |
| ) |
|
|
protected |
◆ setDeliveryService()
- Аргументы
-
Delivery\Services\Base | $service | |
- Исключения
-
ArgumentOutOfRangeException
- Исключения
-
NotSupportedException
- Исключения
-
Exception
См. определение в файле shipment.php строка 171
◆ setExtraServices()
setExtraServices |
( |
array |
$extraServices | ) |
|
◆ setField()
setField |
( |
|
$name, |
|
|
|
$value |
|
) |
| |
Sets new value to specified field of shipment item
- Аргументы
-
- Возвращает
- Result
- Исключения
-
ArgumentOutOfRangeException
- Исключения
-
NotSupportedException
- Исключения
-
Exception
См. определение в файле shipment.php строка 789
◆ setFieldNoDemand()
setFieldNoDemand |
( |
|
$name, |
|
|
|
$value |
|
) |
| |
◆ setOrderId()
◆ setServiceParams()
setServiceParams |
( |
array |
$serviceParams | ) |
|
- Аргументы
-
- Исключения
-
NotSupportedException
См. определение в файле shipment.php строка 2056
◆ setStoreId()
◆ setWeight()
setWeight |
( |
float |
$weight | ) |
|
- Аргументы
-
- Возвращает
- string|null
См. определение в файле shipment.php строка 2154
◆ toArray()
- Возвращает
- array
- Исключения
-
ArgumentException
- Исключения
-
SystemException
См. определение в файле shipment.php строка 2831
◆ tryFixError()
◆ tryReserve()
- Исключения
-
ArgumentException
- Исключения
-
ArgumentOutOfRangeException
- Исключения
-
NotSupportedException
- Исключения
-
Exception
См. определение в файле shipment.php строка 1473
◆ tryUnreserve()
- Исключения
-
ArgumentOutOfRangeException
- Исключения
-
NotSupportedException
- Исключения
-
Exception
См. определение в файле shipment.php строка 1483
◆ tryUnship()
- Возвращает
- Result
- Исключения
-
NotSupportedException
- Исключения
-
ObjectNotFoundException
См. определение в файле shipment.php строка 1532
◆ updateInternal()
updateInternal |
( |
|
$primary, |
|
|
array |
$data |
|
) |
| |
|
protected |
- Аргументы
-
- Возвращает
- Entity\UpdateResult
- Исключения
-
Exception
См. определение в файле shipment.php строка 2757
◆ $extraServices
◆ $idShipment
◆ $internalId
◆ $isNew
◆ $propertyCollection
◆ $service
◆ $shipmentItemCollection
◆ $storeId