StocksType
in package
Class representing StocksType.
XSD Type: stocksType
Table of Contents
Properties
- $stockItem : array<string|int, StockItemType>
- Individuální cena zásoby.
Methods
- 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, StockItemType>
$stockItem
= []
Methods
addToStockItem()
Adds as stockItem.
public
addToStockItem(StockItemType $stockItem) : self
Individuální cena zásoby
Parameters
- $stockItem : StockItemType
Return values
selfgetStockItem()
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
boolsetStockItem()
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
selfunsetStockItem()
unset stockItem.
public
unsetStockItem(int|string $index) : void
Individuální cena zásoby
Parameters
- $index : int|string