1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
Пространство имен Bitrix\Catalog\Document\Action\Store

Структуры данных

class  DecreaseStoreQuantityAction
class  IncreaseStoreQuantityAction
class  MoveStoreBatchAction
class  ReduceStoreBatchAmountAction
class  ReturnStoreBatchAction
class  UpsertStoreBatchAction
class  WriteOffStoreBatchAction

Функции

 __construct (int $storeId, int $productId, float $amount)
 updateProductQuantity ()
 getProductAmountNew ()
 execute ()
 checkStoreAmount (EO_StoreDocumentElement $storeDocumentElement=null)

Переменные

trait BaseStoreQuantityAction
 $storeId
 $productId
 $amount
trait WriteOffAmountValidator

Функции

◆ __construct()

__construct ( int $storeId,
int $productId,
float $amount )
Аргументы
int$storeId
int$productId
float$amount

См. определение в файле basestorequantityaction.php строка 46

◆ checkStoreAmount()

checkStoreAmount ( EO_StoreDocumentElement $storeDocumentElement = null)
protected

См. определение в файле writeoffamountvalidator.php строка 18

◆ execute()

execute ( )

@inheritDoc

См. определение в файле basestorequantityaction.php строка 99

◆ getProductAmountNew()

getProductAmountNew ( )
abstractprotected

The amount of the product that should become after execute action.

Возвращает
float

◆ updateProductQuantity()

updateProductQuantity ( )
protected

Update product quantity by real quantity from store.

Возвращает
bool

См. определение в файле basestorequantityaction.php строка 58

Переменные

◆ $amount

$amount
protected

См. определение в файле basestorequantityaction.php строка 39

◆ $productId

$productId
protected

См. определение в файле basestorequantityaction.php строка 34

◆ $storeId

$storeId
protected

См. определение в файле basestorequantityaction.php строка 29

◆ BaseStoreQuantityAction

trait BaseStoreQuantityAction
Инициализатор
{
use ProductAndStoreInfo

Base action for increase and decrease actions.

См. определение в файле basestorequantityaction.php строка 22

◆ WriteOffAmountValidator

trait WriteOffAmountValidator
Инициализатор
{
use ProductAndStoreInfo

Base action for increase and decrease actions.

См. определение в файле writeoffamountvalidator.php строка 14