Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
Класс BatchManager

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

 __construct (int $productId)
 
 getProductId ()
 
 getStoreCollection (array $filter=null)
 
 getAvailableStoreCollection (int $storeId)
 
 calculateCostPrice (float $quantity, int $storeId, string $currency=null)
 

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

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

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

◆ __construct()

__construct ( int $productId)

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

Методы

◆ calculateCostPrice()

calculateCostPrice ( float $quantity,
int $storeId,
string $currency = null )

Calculate product cost price by quantity.

Аргументы
float$quantity
int$storeId
string | null$currency
Возвращает
float
Исключения

Bitrix\Main\LoaderException

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

◆ getAvailableStoreCollection()

getAvailableStoreCollection ( int $storeId)

Get current available store product batches collection.

Аргументы
int$storeId
Возвращает
EO_StoreBatch_Collection
Исключения
ArgumentException
ObjectPropertyException
SystemException

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

◆ getProductId()

getProductId ( )
Возвращает
int

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

◆ getStoreCollection()

getStoreCollection ( array $filter = null)

Get store product batches collection.

Аргументы
array | null$filter
Возвращает
EO_StoreBatch_Collection
Исключения
ArgumentException
ObjectPropertyException
SystemException

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