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

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

 __construct (int $storeId, int $productId, float $amount, int $documentElementId=null, float $purchasingPrice=null, string $purchasingCurrency=null)
 
 canExecute ()
 
 execute ()
 

Защищенные члены

 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,)
 

Защищенные данные

int $productId
 
float $amount
 
int $documentElementId
 
float $purchasingPrice
 
string $purchasingCurrency
 

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

- Открытые атрибуты унаследованные от Action
trait ProductAndStoreInfo
 

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

Update price and quantity for inventory method by average or create new batch of products.

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

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

◆ __construct()

__construct ( int $storeId,
int $productId,
float $amount,
int $documentElementId = null,
float $purchasingPrice = null,
string $purchasingCurrency = null )

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

Методы

◆ addDocumentElementBatchBinding()

addDocumentElementBatchBinding ( EO_StoreBatch $batch,
float $amount,
float $purchasingPrice = null,
string $purchasingCurrency = null )
protected

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

◆ canExecute()

canExecute ( )

Checking the possibility of executing an action.

Возвращает
Result

Замещает Action.

Переопределяется в MoveStoreBatchAction.

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

◆ execute()

execute ( )

@inheritDoc

Замещает Action.

Переопределяется в MoveStoreBatchAction.

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

◆ getDocumentElementId()

getDocumentElementId ( )
protected

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

◆ loadBatch()

loadBatch ( int $storeId)
protected

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

◆ recalculateBatch()

recalculateBatch ( EO_StoreBatch $batch,
float $amount,
float $purchasingPrice,
string $purchasingCurrency = null )
protected

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

Данные класса

◆ $amount

float $amount
protected

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

◆ $documentElementId

int $documentElementId
protected

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

◆ $productId

int $productId
protected

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

◆ $purchasingCurrency

string $purchasingCurrency
protected

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

◆ $purchasingPrice

float $purchasingPrice
protected

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