Documentation

Entity

\Bitrix\Sale\Internals\Entity base class for order entities.


Class methods

MethodDescription Available from version
doFinalActionAbstract method for implementing "Final" calculation logic.
getAvailableFieldsReturns array with fields set using methods setField() and setFields().
getAvailableFieldsMap Returns array with fields set using methods setField() and setFields(). Array keys are values getAvailableFields.
getFieldReturns values for the field $name.
getFieldValuesReturns array with fields with values.
getIdReturns entity ID.
initFieldInitializes field by value. The object is not deemed as updated.
initFieldsItinializes fields by values. The object is not deemed as updated.
isChangedChecks if entity is updated. When updated, returns true, otherwise false.
isMathActionOnlyChecks if current data calculations are performed (provider data is not requested). If yes, returns true, otherwise false.
setFieldSets value for the field $name.
setFieldsInitilizes fields by values. The object is not deemed as updated.
setMathActionOnlyDisables request to provider when executing calculations.
verifyVerifies if object is correct. Returns object \Bitrix\Sale\Result.


© «Bitrix24», 2001-2024
Up