Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
Класс MoveStoreBatchAction
+ Граф наследования:MoveStoreBatchAction:

Открытые члены

 __construct (int $storeFromId, int $storeToId, int $productId, float $amount, int $documentElementId=null,)
 
 canExecute ()
 
 execute ()
 
- Открытые члены унаследованные от UpsertStoreBatchAction
 __construct (int $storeId, int $productId, float $amount, int $documentElementId=null, float $purchasingPrice=null, string $purchasingCurrency=null)
 

Дополнительные унаследованные члены

- Открытые атрибуты унаследованные от Action
trait ProductAndStoreInfo
 
- Защищенные члены унаследованные от UpsertStoreBatchAction
 getDocumentElementId ()
 
 loadBatch (int $storeId)
 
 addDocumentElementBatchBinding (EO_StoreBatch $batch, float $amount, float $purchasingPrice=null, string $purchasingCurrency=null,)
 
 recalculateBatch (EO_StoreBatch $batch, float $amount, float $purchasingPrice, string $purchasingCurrency=null,)
 
- Защищенные данные унаследованные от UpsertStoreBatchAction
int $productId
 
float $amount
 
int $documentElementId
 
float $purchasingPrice
 
string $purchasingCurrency
 

Подробное описание

Move products from one store to another.

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

Конструктор(ы)

◆ __construct()

__construct ( int $storeFromId,
int $storeToId,
int $productId,
float $amount,
int $documentElementId = null )

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

Методы

◆ canExecute()

canExecute ( )

Checking the possibility of executing an action.

Возвращает
Result

Переопределяет метод предка UpsertStoreBatchAction.

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

◆ execute()

execute ( )

@inheritDoc

Переопределяет метод предка UpsertStoreBatchAction.

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