InventoryListsItemType
in package
Class representing InventoryListsItemType.
XSD Type: inventoryListsItemType
Table of Contents
- $code : string|null
- Kód položky.
- $isDelivered : string|null
- Dodáno. Používá se jen při exportu dokladu.
- $name : string|null
- Název položky.
- $quantity : float|null
- Množství.
- $stockItem : StockItemType|null
- Údaje potřebné k nalezení skladové zásoby vložené do položky. Pokud zde tento element není, jedná se o textovou položku.
- $text : string|null
- Text položky.
- $unit : string|null
- Měrná jednotka.
- getCode() : string
- Gets as code.
- getIsDelivered() : string
- Gets as isDelivered.
- getName() : string
- Gets as name.
- getQuantity() : float
- Gets as quantity.
- getStockItem() : StockItemType
- Gets as stockItem.
- getText() : string
- Gets as text.
- getUnit() : string
- Gets as unit.
- setCode() : self
- Sets a new code.
- setIsDelivered() : self
- Sets a new isDelivered.
- setName() : self
- Sets a new name.
- setQuantity() : self
- Sets a new quantity.
- setStockItem() : self
- Sets a new stockItem.
- setText() : self
- Sets a new text.
- setUnit() : self
- Sets a new unit.
Properties
$code
Kód položky.
private
string|null
$code
= null
$isDelivered
Dodáno. Používá se jen při exportu dokladu.
private
string|null
$isDelivered
= null
$name
Název položky.
private
string|null
$name
= null
$quantity
Množství.
private
float|null
$quantity
= null
$stockItem
Údaje potřebné k nalezení skladové zásoby vložené do položky. Pokud zde tento element není, jedná se o textovou položku.
private
StockItemType|null
$stockItem
= null
$text
Text položky.
private
string|null
$text
= null
$unit
Měrná jednotka.
private
string|null
$unit
= null
Methods
getCode()
Gets as code.
public
getCode() : string
Kód položky.
Return values
string —getIsDelivered()
Gets as isDelivered.
public
getIsDelivered() : string
Dodáno. Používá se jen při exportu dokladu.
Return values
string —getName()
Gets as name.
public
getName() : string
Název položky.
Return values
string —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. Pokud zde tento element není, jedná se o textovou položku.
Return values
StockItemType —getText()
Gets as text.
public
getText() : string
Text položky.
Return values
string —getUnit()
Gets as unit.
public
getUnit() : string
Měrná jednotka.
Return values
string —setCode()
Sets a new code.
public
setCode(string $code) : self
Kód položky.
Parameters
- $code : string
Return values
self —setIsDelivered()
Sets a new isDelivered.
public
setIsDelivered(string $isDelivered) : self
Dodáno. Používá se jen při exportu dokladu.
Parameters
- $isDelivered : string
Return values
self —setName()
Sets a new name.
public
setName(string $name) : self
Název položky.
Parameters
- $name : string
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. Pokud zde tento element není, jedná se o textovou položku.
Parameters
- $stockItem : StockItemType|null = null
Return values
self —setText()
Sets a new text.
public
setText(string $text) : self
Text položky.
Parameters
- $text : string
Return values
self —setUnit()
Sets a new unit.
public
setUnit(string $unit) : self
Měrná jednotka.
Parameters
- $unit : string