NeedQuantity
DTO for the need quantity.
Table of Contents
Properties
- $id : int|null
- $productId : int
Methods
- __construct() : mixed
- getStores() : array<string|int, mixed>
- Stores
Properties
$id
public
int|null
$id
$productId
public
int
$productId
Methods
__construct()
public
__construct(int|null $id, int $productId, array<string|int, mixed> $stores) : mixed
Parameters
- $id : int|null
- $productId : int
- $stores : array<string|int, mixed>
getStores()
Stores
public
getStores() : array<string|int, mixed>
Return values
array<string|int, mixed> —in format [storeId => quantity]