StocksType
in package
Class representing StocksType.
XSD Type: stocksType
Table of Contents
- $stockItem : array<string|int, mixed>
- Individuální cena zásoby.
- addToStockItem() : self
- Adds as stockItem.
- getStockItem() : array<string|int, StockItemType>
- Gets as stockItem.
- issetStockItem() : bool
- isset stockItem.
- setStockItem() : self
- Sets a new stockItem.
- unsetStockItem() : void
- unset stockItem.
Properties
$stockItem
Individuální cena zásoby.
private
array<string|int, mixed>
$stockItem
= []
Methods
addToStockItem()
Adds as stockItem.
public
addToStockItem(StockItemType $stockItem) : self
Individuální cena zásoby
Parameters
- $stockItem : StockItemType
Return values
self —getStockItem()
Gets as stockItem.
public
getStockItem() : array<string|int, StockItemType>
Individuální cena zásoby
Return values
array<string|int, StockItemType> —issetStockItem()
isset stockItem.
public
issetStockItem(int|string $index) : bool
Individuální cena zásoby
Parameters
- $index : int|string
Return values
bool —setStockItem()
Sets a new stockItem.
public
setStockItem([array<string|int, StockItemType> $stockItem = null ]) : self
Individuální cena zásoby
Parameters
- $stockItem : array<string|int, StockItemType> = null
Return values
self —unsetStockItem()
unset stockItem.
public
unsetStockItem(int|string $index) : void
Individuální cena zásoby
Parameters
- $index : int|string