Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
Пространство имен Bitrix\Catalog\Document\Action\Reserve

Классы

class  ReserveStoreProductAction
 
class  UnReserveStoreProductAction
 

Функции

 __construct (int $storeId, int $productId, float $amount)
 
 getNewProductQuantity ()
 
 getNewProductReservedQuantity ()
 
 getNewStoreReservedQuantity ()
 
 execute ()
 

Переменные

trait BaseReserveStoreProductAction
 
 $storeId
 
 $productId
 
 $amount
 

Функции

◆ __construct()

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

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

◆ execute()

execute ( )

@inheritDoc

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

◆ getNewProductQuantity()

getNewProductQuantity ( )
abstractprotected

Product quantity after action.

Возвращает
float

◆ getNewProductReservedQuantity()

getNewProductReservedQuantity ( )
abstractprotected

Reserved quantity total after action.

Возвращает
float

◆ getNewStoreReservedQuantity()

getNewStoreReservedQuantity ( )
abstractprotected

Reserved quantity on store after action.

Возвращает
float

Переменные

◆ $amount

$amount
protected

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

◆ $productId

$productId
protected

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

◆ $storeId

$storeId
protected

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

◆ BaseReserveStoreProductAction

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

Base functions for reserve working.

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