CoolCMS API

ImportStockDto
in package

FinalYes

`<stock>` of a variant. `warehouse` is `Warehouse.code` (null means the only active warehouse), `quantityMode` is `set` (correction to the target state) or `add` (movement by a +/- value).

Table of Contents

Constants

MODE_ADD  : string = 'add'
MODE_SET  : string = 'set'

Properties

$line  : int
$minQuantity  : ImportValue|null
$quantity  : ImportValue|null
$quantityMode  : string
$warehouse  : string|null

Methods

__construct()  : mixed

Constants

Properties

Methods

__construct()

public __construct(string|null $warehouse, ImportValue|null $quantity, string $quantityMode, ImportValue|null $minQuantity, int $line) : mixed
Parameters
$warehouse : string|null
$quantity : ImportValue|null
$quantityMode : string
$minQuantity : ImportValue|null
$line : int
On this page

Search results