StockDetailType
in package
Class representing StockDetailType.
XSD Type: stockDetailType
Table of Contents
Properties
- $stockItem : array<string|int, StockItemType>
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
private
array<string|int, StockItemType>
$stockItem
= []
Methods
addToStockItem()
Adds as stockItem.
public
addToStockItem(StockItemType $stockItem) : self
Parameters
- $stockItem : StockItemType
Return values
selfgetStockItem()
Gets as stockItem.
public
getStockItem() : array<string|int, StockItemType>
Return values
array<string|int, StockItemType>issetStockItem()
isset stockItem.
public
issetStockItem(int|string $index) : bool
Parameters
- $index : int|string
Return values
boolsetStockItem()
Sets a new stockItem.
public
setStockItem(array<string|int, StockItemType> $stockItem) : self
Parameters
- $stockItem : array<string|int, StockItemType>
Return values
selfunsetStockItem()
unset stockItem.
public
unsetStockItem(int|string $index) : void
Parameters
- $index : int|string