Documentation

Supplier extends SupplierType
in package

Class representing Supplier.

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

Methods

getVersion()

Gets as version.

public getVersion() : string
Return values
string

issetSuppliers()

isset suppliers.

public issetSuppliers(int|string $index) : bool
Parameters
$index : int|string
Return values
bool

setVersion()

Sets a new version.

public setVersion(string $version) : self
Parameters
$version : string
Return values
self

unsetSuppliers()

unset suppliers.

public unsetSuppliers(int|string $index) : void
Parameters
$index : int|string

        
On this page

Search results