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