StockItemType
in package
Class representing StockItemType.
XSD Type: stockItemType
Table of Contents
- $code : string|null
- Řetězcový identifikátor skladové položky.
- $count : float|null
- Stav zásoby (jen pro export).
- $id : int|null
- ID položky zásoby (od verze 2.1).
- $name : string|null
- Název skladové položky (jen pro export).
- $quantity : float|null
- Množství.
- $stockInfo : StockInfoType|null
- Informace o použité skladové zásobě (od verze 2.1).
- $stockOrder : int|null
- Pořadí položek (jen pro export).
- $stockPriceItem : array<string|int, mixed>|null
- Úprava cen položky zásob u jednotlivých cenových hladin. Jen u typu Komplet.
- $storage : RefTypeStorageType|null
- Členění.
- $unit : string|null
- Měrná jednotka (jen pro export).
- addToStockPriceItem() : self
- Adds as stockPrice.
- getCode() : string
- Gets as code.
- getCount() : float
- Gets as count.
- getId() : int
- Gets as id.
- getName() : string
- Gets as name.
- getQuantity() : float
- Gets as quantity.
- getStockInfo() : StockInfoType
- Gets as stockInfo.
- getStockOrder() : int
- Gets as stockOrder.
- getStockPriceItem() : array<string|int, StockPriceType>
- Gets as stockPriceItem.
- getStorage() : RefTypeStorageType
- Gets as storage.
- getUnit() : string
- Gets as unit.
- issetStockPriceItem() : bool
- isset stockPriceItem.
- setCode() : self
- Sets a new code.
- setCount() : self
- Sets a new count.
- setId() : self
- Sets a new id.
- setName() : self
- Sets a new name.
- setQuantity() : self
- Sets a new quantity.
- setStockInfo() : self
- Sets a new stockInfo.
- setStockOrder() : self
- Sets a new stockOrder.
- setStockPriceItem() : self
- Sets a new stockPriceItem.
- setStorage() : self
- Sets a new storage.
- setUnit() : self
- Sets a new unit.
- unsetStockPriceItem() : void
- unset stockPriceItem.
Properties
$code
Řetězcový identifikátor skladové položky.
private
string|null
$code
= null
$count
Stav zásoby (jen pro export).
private
float|null
$count
= null
$id
ID položky zásoby (od verze 2.1).
private
int|null
$id
= null
$name
Název skladové položky (jen pro export).
private
string|null
$name
= null
$quantity
Množství.
private
float|null
$quantity
= null
$stockInfo
Informace o použité skladové zásobě (od verze 2.1).
private
StockInfoType|null
$stockInfo
= null
$stockOrder
Pořadí položek (jen pro export).
private
int|null
$stockOrder
= null
$stockPriceItem
Úprava cen položky zásob u jednotlivých cenových hladin. Jen u typu Komplet.
private
array<string|int, mixed>|null
$stockPriceItem
= null
$storage
Členění.
private
RefTypeStorageType|null
$storage
= null
$unit
Měrná jednotka (jen pro export).
private
string|null
$unit
= null
Methods
addToStockPriceItem()
Adds as stockPrice.
public
addToStockPriceItem(StockPriceType $stockPrice) : self
Úprava cen položky zásob u jednotlivých cenových hladin. Jen u typu Komplet.
Parameters
- $stockPrice : StockPriceType
Return values
self —getCode()
Gets as code.
public
getCode() : string
Řetězcový identifikátor skladové položky.
Return values
string —getCount()
Gets as count.
public
getCount() : float
Stav zásoby (jen pro export).
Return values
float —getId()
Gets as id.
public
getId() : int
ID položky zásoby (od verze 2.1).
Return values
int —getName()
Gets as name.
public
getName() : string
Název skladové položky (jen pro export).
Return values
string —getQuantity()
Gets as quantity.
public
getQuantity() : float
Množství.
Return values
float —getStockInfo()
Gets as stockInfo.
public
getStockInfo() : StockInfoType
Informace o použité skladové zásobě (od verze 2.1)
Return values
StockInfoType —getStockOrder()
Gets as stockOrder.
public
getStockOrder() : int
Pořadí položek (jen pro export).
Return values
int —getStockPriceItem()
Gets as stockPriceItem.
public
getStockPriceItem() : array<string|int, StockPriceType>
Úprava cen položky zásob u jednotlivých cenových hladin. Jen u typu Komplet.
Return values
array<string|int, StockPriceType> —getStorage()
Gets as storage.
public
getStorage() : RefTypeStorageType
Členění.
Return values
RefTypeStorageType —getUnit()
Gets as unit.
public
getUnit() : string
Měrná jednotka (jen pro export).
Return values
string —issetStockPriceItem()
isset stockPriceItem.
public
issetStockPriceItem(int|string $index) : bool
Úprava cen položky zásob u jednotlivých cenových hladin. Jen u typu Komplet.
Parameters
- $index : int|string
Return values
bool —setCode()
Sets a new code.
public
setCode(string $code) : self
Řetězcový identifikátor skladové položky.
Parameters
- $code : string
Return values
self —setCount()
Sets a new count.
public
setCount(float $count) : self
Stav zásoby (jen pro export).
Parameters
- $count : float
Return values
self —setId()
Sets a new id.
public
setId(int $id) : self
ID položky zásoby (od verze 2.1).
Parameters
- $id : int
Return values
self —setName()
Sets a new name.
public
setName(string $name) : self
Název skladové položky (jen pro export).
Parameters
- $name : string
Return values
self —setQuantity()
Sets a new quantity.
public
setQuantity(float $quantity) : self
Množství.
Parameters
- $quantity : float
Return values
self —setStockInfo()
Sets a new stockInfo.
public
setStockInfo([StockInfoType|null $stockInfo = null ]) : self
Informace o použité skladové zásobě (od verze 2.1)
Parameters
- $stockInfo : StockInfoType|null = null
Return values
self —setStockOrder()
Sets a new stockOrder.
public
setStockOrder(int $stockOrder) : self
Pořadí položek (jen pro export).
Parameters
- $stockOrder : int
Return values
self —setStockPriceItem()
Sets a new stockPriceItem.
public
setStockPriceItem([array<string|int, StockPriceType> $stockPriceItem = null ]) : self
Úprava cen položky zásob u jednotlivých cenových hladin. Jen u typu Komplet.
Parameters
- $stockPriceItem : array<string|int, StockPriceType> = null
Return values
self —setStorage()
Sets a new storage.
public
setStorage([RefTypeStorageType|null $storage = null ]) : self
Členění.
Parameters
- $storage : RefTypeStorageType|null = null
Return values
self —setUnit()
Sets a new unit.
public
setUnit(string $unit) : self
Měrná jednotka (jen pro export).
Parameters
- $unit : string
Return values
self —unsetStockPriceItem()
unset stockPriceItem.
public
unsetStockPriceItem(int|string $index) : void
Úprava cen položky zásob u jednotlivých cenových hladin. Jen u typu Komplet.
Parameters
- $index : int|string