SupplierType
in package
Class representing SupplierType.
XSD Type: supplierType
Table of Contents
Properties
- $stockItem : StockItemType|null
- $suppliers : array<string|int, SupplierItemType>
- $version : string|null
Methods
- addToSuppliers() : self
- Adds as supplierItem.
- getStockItem() : StockItemType
- Gets as stockItem.
- getSuppliers() : array<string|int, SupplierItemType>
- Gets as suppliers.
- getVersion() : string
- Gets as version.
- issetSuppliers() : bool
- isset suppliers.
- setStockItem() : self
- Sets a new stockItem.
- setSuppliers() : self
- Sets a new suppliers.
- setVersion() : self
- Sets a new version.
- unsetSuppliers() : void
- unset suppliers.
Properties
$stockItem
private
StockItemType|null
$stockItem
= null
$suppliers
private
array<string|int, SupplierItemType>
$suppliers
= null
$version
private
string|null
$version
= null
Methods
addToSuppliers()
Adds as supplierItem.
public
addToSuppliers(SupplierItemType $supplierItem) : self
Parameters
- $supplierItem : SupplierItemType
Return values
selfgetStockItem()
Gets as stockItem.
public
getStockItem() : StockItemType
Return values
StockItemTypegetSuppliers()
Gets as suppliers.
public
getSuppliers() : array<string|int, SupplierItemType>
Return values
array<string|int, SupplierItemType>getVersion()
Gets as version.
public
getVersion() : string
Return values
stringissetSuppliers()
isset suppliers.
public
issetSuppliers(int|string $index) : bool
Parameters
- $index : int|string
Return values
boolsetStockItem()
Sets a new stockItem.
public
setStockItem(StockItemType $stockItem) : self
Parameters
- $stockItem : StockItemType
Return values
selfsetSuppliers()
Sets a new suppliers.
public
setSuppliers(array<string|int, SupplierItemType> $suppliers) : self
Parameters
- $suppliers : array<string|int, SupplierItemType>
Return values
selfsetVersion()
Sets a new version.
public
setVersion(string $version) : self
Parameters
- $version : string
Return values
selfunsetSuppliers()
unset suppliers.
public
unsetSuppliers(int|string $index) : void
Parameters
- $index : int|string