Открытые статические члены | |
static | getRegistryType () |
static | getUfId () |
static | lock ($id) |
static | unlock ($id) |
static | getLockedStatus ($id) |
static | getList (array $parameters=array()) |
Открытые статические члены унаследованные от OrderBase | |
static | getAvailableFields () |
static | getRegistryEntity () |
static | create ($siteId, $userId=null, $currency=null) |
static | load ($id) |
static | loadByAccountNumber ($value) |
static | getSettableFields () |
static | getEntityEventName () |
Открытые статические члены унаследованные от Entity | |
static | getEntity () |
static | getRow (array $parameters) |
static | clearCache () |
static | add (array $data) |
static | update ($id, array $data) |
static | delete ($id) |
static | setCacheItem ($id, array $row) |
static | getCacheItem ($id, bool $load=false) |
static | clearCacheItem ($id) |
static | getTabletClassName () |
static | getTabletFieldNames (int $fields=self::FIELDS_MAIN) |
static | getCachedFieldList () |
static | getCallbackRestEvent () |
static | clearSettings () |
Открытые атрибуты | |
const | SALE_ORDER_LOCK_STATUS_RED = 'red' |
const | SALE_ORDER_LOCK_STATUS_GREEN = 'green' |
const | SALE_ORDER_LOCK_STATUS_YELLOW = 'yellow' |
Открытые атрибуты унаследованные от OrderBase | |
const | SALE_ORDER_CALC_TYPE_NEW = 'N' |
const | SALE_ORDER_CALC_TYPE_CHANGE = 'C' |
const | SALE_ORDER_CALC_TYPE_REFRESH = 'R' |
Открытые атрибуты унаследованные от Entity | |
const | PREFIX_OLD = 'OLD_' |
const | EVENT_ON_BUILD_CACHED_FIELD_LIST = 'OnBuildCachedFieldList' |
const | FIELDS_MAIN = 0x0001 |
const | FIELDS_UF = 0x0002 |
const | FIELDS_ALL = self::FIELDS_MAIN|self::FIELDS_UF |
Защищенные члены | |
loadPrintedChecks () | |
onFieldModify ($name, $oldValue, $value) | |
onOrderModify ($name, $oldValue, $value) | |
getStatusOnPaid () | |
getStatusOnPartialPaid () | |
refreshInternal () | |
calculatePrice () | |
onAfterSave () | |
addInternal (array $data) | |
Защищенные члены унаследованные от OrderBase | |
__construct (array $fields=array()) | |
checkValueBeforeSet ($name, $value) | |
normalizeValue ($name, $value) | |
isPriceField (string $name) | |
resetVat () | |
calculateVat () | |
isCalculatedField ($field) | |
callDelayedEvents () | |
completeSaving ($needUpdateDateInsert) | |
add () | |
update () | |
callEventOnSaleOrderSaved () | |
saveEntities () | |
setAccountNumber () | |
onBeforeSave () | |
Защищенные члены унаследованные от Entity | |
getTablet () | |
Защищенные статические члены | |
static | getFieldsMap () |
static | updateInternal ($primary, array $data) |
static | deleteInternal ($primary) |
Защищенные статические члены унаследованные от OrderBase | |
static | getCalculatedFields () |
static | getMeaningfulFields () |
static | generateXmlId () |
static | loadFromDb (array $parameters) |
static | isExists ($id) |
static | deleteExternalEntities ($orderId) |
Защищенные статические члены унаследованные от Entity | |
static | prepareForAdd (ORM\Data\AddResult $result, $id, array &$data) |
static | prepareForUpdate (ORM\Data\UpdateResult $result, $id, array &$data) |
static | deleteNoDemands ($id) |
static | normalize (array &$data) |
static | runAddExternalActions ($id, array $data) |
static | runUpdateExternalActions ($id, array $data) |
static | runDeleteExternalActions ($id) |
static | getDefaultCachedFieldList () |
static | prepareFloatValue ($value) |
static | prepareIntValue ($value) |
static | prepareStringValue ($value) |
Защищенные данные | |
$shipmentCollection | |
$paymentCollection | |
$tradeBindingCollection | |
$printedChecks = array() | |
Защищенные данные унаследованные от OrderBase | |
$calculatedFields = null | |
$basketCollection | |
$propertyCollection | |
$discount = null | |
$tax = null | |
$internalId = 0 | |
$isNew = true | |
$isSaveExecuting = false | |
$isClone = false | |
$isOnlyMathAction = null | |
$isMeaningfulField = false | |
$isStartField = null | |
$calculateType = null | |
|
protected |
addPrintedCheck | ( | $check | ) |
|
protected |
clearChanged | ( | ) |
|
staticprotected |
getBasePrice | ( | ) |
getBusinessValueProviderInstance | ( | $mapping | ) |
getDeliverySystemId | ( | ) |
|
static |
|
static |
getPaymentCollection | ( | ) |
getPaymentSystemId | ( | ) |
getPrintedChecks | ( | ) |
getShipmentCollection | ( | ) |
Return shipment collection
Main |
ArgumentException
Main |
ArgumentNullException
Замещает IShipmentOrder.
|
protected |
|
protected |
getTradeBindingCollection | ( | ) |
|
static |
isShipped | ( | ) |
|
protected |
|
static |
|
protected |
onBasketModify | ( | $action, | |
BasketItemBase | $basketItem, | ||
$name = null, | |||
$oldValue = null, | |||
$value = null ) |
Modify basket.
string | $action | |
BasketItemBase | $basketItem | |
null | $name | |
null | $oldValue | |
null | $value |
Main |
ArgumentException
Main |
ArgumentNullException
Main |
ArgumentOutOfRangeException
Main |
NotImplementedException
Main |
NotSupportedException
Main |
ObjectNotFoundException
Main |
SystemException
onBeforeBasketItemDelete | ( | BasketItem | $basketItem | ) |
onBeforeBasketRefresh | ( | ) |
|
protected |
string | $name | |
float | int | mixed | string | $oldValue | |
float | int | mixed | string | $value |
Main |
ArgumentException
Main |
ArgumentNullException
Main |
ArgumentOutOfRangeException
Main |
NotImplementedException
Main |
NotSupportedException
Main |
ObjectNotFoundException
|
protected |
onTradeBindingCollectionModify | ( | $action, | |
TradeBindingEntity | $entity, | ||
$name = null, | |||
$oldValue = null, | |||
$value = null ) |
|
protected |
resetData | ( | $select = array('PRICE') | ) |
setBasket | ( | BasketBase | $basket | ) |
toArray | ( | ) |
|
static |
|
staticprotected |
verify | ( | ) |