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

Классы

class  DecreaseStoreQuantityAction
 
class  IncreaseStoreQuantityAction
 

Функции

 __construct (int $storeId, int $productId, float $amount)
 
 updateProductQuantity ()
 
 getProductAmountNew ()
 
 execute ()
 

Переменные

trait BaseStoreQuantityAction
 
 $storeId
 
 $productId
 
 $amount
 

Функции

◆ __construct()

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

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

◆ execute()

execute ( )

@inheritDoc

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

◆ 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