Bitrix API

BatchManager

Class Batch

Table of Contents

Methods

__construct()  : mixed
calculateCostPrice()  : float
Calculate product cost price by quantity.
getAvailableStoreCollection()  : EO_StoreBatch_Collection
Get current available store product batches collection.
getProductId()  : int
getStoreCollection()  : EO_StoreBatch_Collection
Get store product batches collection.

Methods

__construct()

public __construct(int $productId) : mixed
Parameters
$productId : int

calculateCostPrice()

Calculate product cost price by quantity.

public calculateCostPrice(float $quantity, int $storeId[, string|null $currency = null ]) : float
Parameters
$quantity : float
$storeId : int
$currency : string|null = null
Tags
throws
LoaderException
Return values
float

getAvailableStoreCollection()

Get current available store product batches collection.

public getAvailableStoreCollection(int $storeId) : EO_StoreBatch_Collection
Parameters
$storeId : int
Tags
throws
ArgumentException
throws
ObjectPropertyException
throws
SystemException
Return values
EO_StoreBatch_Collection

getProductId()

public getProductId() : int
Return values
int

getStoreCollection()

Get store product batches collection.

public getStoreCollection([array<string|int, mixed>|null $filter = null ]) : EO_StoreBatch_Collection
Parameters
$filter : array<string|int, mixed>|null = null
Tags
throws
ArgumentException
throws
ObjectPropertyException
throws
SystemException
Return values
EO_StoreBatch_Collection

        
On this page

Search results