VyrobaItemType
in package
Class representing VyrobaItemType.
XSD Type: vyrobaItemType
Table of Contents
- $expirationDate : DateTime|null
- Datum expirace.
- $note : string|null
- Poznámka.
- $productionList : array<string|int, mixed>|null
- Položky výrobku (Výrobní list). Není-li element uveden, použije se definice výrobku v agendě Zásoby. Export elementu je podmíněn atributem "lst:productionList". Pouze POHODA E1.
- $quantity : float|null
- Množství.
- $stockItem : StockItemType|null
- Údaje potřebné k nalezení skladové zásoby vložené do položky.
- addToProductionList() : self
- Adds as productionListItem.
- getExpirationDate() : DateTime
- Gets as expirationDate.
- getNote() : string
- Gets as note.
- getProductionList() : array<string|int, ProductionListItemType>
- Gets as productionList.
- getQuantity() : float
- Gets as quantity.
- getStockItem() : StockItemType
- Gets as stockItem.
- issetProductionList() : bool
- isset productionList.
- setExpirationDate() : self
- Sets a new expirationDate.
- setNote() : self
- Sets a new note.
- setProductionList() : self
- Sets a new productionList.
- setQuantity() : self
- Sets a new quantity.
- setStockItem() : self
- Sets a new stockItem.
- unsetProductionList() : void
- unset productionList.
Properties
$expirationDate
Datum expirace.
private
DateTime|null
$expirationDate
= null
$note
Poznámka.
private
string|null
$note
= null
$productionList
Položky výrobku (Výrobní list). Není-li element uveden, použije se definice výrobku v agendě Zásoby. Export elementu je podmíněn atributem "lst:productionList". Pouze POHODA E1.
private
array<string|int, mixed>|null
$productionList
= null
$quantity
Množství.
private
float|null
$quantity
= null
$stockItem
Údaje potřebné k nalezení skladové zásoby vložené do položky.
private
StockItemType|null
$stockItem
= null
Methods
addToProductionList()
Adds as productionListItem.
public
addToProductionList(ProductionListItemType $productionListItem) : self
Položky výrobku (Výrobní list). Není-li element uveden, použije se definice výrobku v agendě Zásoby. Export elementu je podmíněn atributem "lst:productionList". Pouze POHODA E1.
Parameters
- $productionListItem : ProductionListItemType
Return values
self —getExpirationDate()
Gets as expirationDate.
public
getExpirationDate() : DateTime
Datum expirace.
Return values
DateTime —getNote()
Gets as note.
public
getNote() : string
Poznámka.
Return values
string —getProductionList()
Gets as productionList.
public
getProductionList() : array<string|int, ProductionListItemType>
Položky výrobku (Výrobní list). Není-li element uveden, použije se definice výrobku v agendě Zásoby. Export elementu je podmíněn atributem "lst:productionList". Pouze POHODA E1.
Return values
array<string|int, ProductionListItemType> —getQuantity()
Gets as quantity.
public
getQuantity() : float
Množství.
Return values
float —getStockItem()
Gets as stockItem.
public
getStockItem() : StockItemType
Údaje potřebné k nalezení skladové zásoby vložené do položky.
Return values
StockItemType —issetProductionList()
isset productionList.
public
issetProductionList(int|string $index) : bool
Položky výrobku (Výrobní list). Není-li element uveden, použije se definice výrobku v agendě Zásoby. Export elementu je podmíněn atributem "lst:productionList". Pouze POHODA E1.
Parameters
- $index : int|string
Return values
bool —setExpirationDate()
Sets a new expirationDate.
public
setExpirationDate([DateTime|null $expirationDate = null ]) : self
Datum expirace.
Parameters
- $expirationDate : DateTime|null = null
Return values
self —setNote()
Sets a new note.
public
setNote(string $note) : self
Poznámka.
Parameters
- $note : string
Return values
self —setProductionList()
Sets a new productionList.
public
setProductionList([array<string|int, ProductionListItemType> $productionList = null ]) : self
Položky výrobku (Výrobní list). Není-li element uveden, použije se definice výrobku v agendě Zásoby. Export elementu je podmíněn atributem "lst:productionList". Pouze POHODA E1.
Parameters
- $productionList : array<string|int, ProductionListItemType> = null
Return values
self —setQuantity()
Sets a new quantity.
public
setQuantity(float $quantity) : self
Množství.
Parameters
- $quantity : float
Return values
self —setStockItem()
Sets a new stockItem.
public
setStockItem([StockItemType|null $stockItem = null ]) : self
Údaje potřebné k nalezení skladové zásoby vložené do položky.
Parameters
- $stockItem : StockItemType|null = null
Return values
self —unsetProductionList()
unset productionList.
public
unsetProductionList(int|string $index) : void
Položky výrobku (Výrobní list). Není-li element uveden, použije se definice výrobku v agendě Zásoby. Export elementu je podmíněn atributem "lst:productionList". Pouze POHODA E1.
Parameters
- $index : int|string