Documentation

SetPricesType
in package

Class representing SetPricesType.

XSD Type: setPricesType

Table of Contents

$allStocks  : AllStocksType|null
Sleva na všechny zásoby.
$priceGroups  : array<string|int, mixed>|null
Individuální ceny cenových skupin.
$stocks  : array<string|int, mixed>|null
Individuální ceny zásob.
addToPriceGroups()  : self
Adds as priceGroupItem.
addToStocks()  : self
Adds as stockItem.
getAllStocks()  : AllStocksType
Gets as allStocks.
getPriceGroups()  : array<string|int, PriceGroupItemType>
Gets as priceGroups.
getStocks()  : array<string|int, StockItemType>
Gets as stocks.
issetPriceGroups()  : bool
isset priceGroups.
issetStocks()  : bool
isset stocks.
setAllStocks()  : self
Sets a new allStocks.
setPriceGroups()  : self
Sets a new priceGroups.
setStocks()  : self
Sets a new stocks.
unsetPriceGroups()  : void
unset priceGroups.
unsetStocks()  : void
unset stocks.

Properties

$priceGroups

Individuální ceny cenových skupin.

private array<string|int, mixed>|null $priceGroups = null

$stocks

Individuální ceny zásob.

private array<string|int, mixed>|null $stocks = null

Methods

issetPriceGroups()

isset priceGroups.

public issetPriceGroups(int|string $index) : bool

Individuální ceny cenových skupin.

Parameters
$index : int|string
Return values
bool

issetStocks()

isset stocks.

public issetStocks(int|string $index) : bool

Individuální ceny zásob.

Parameters
$index : int|string
Return values
bool

setAllStocks()

Sets a new allStocks.

public setAllStocks([AllStocksType|null $allStocks = null ]) : self

Sleva na všechny zásoby.

Parameters
$allStocks : AllStocksType|null = null
Return values
self

setPriceGroups()

Sets a new priceGroups.

public setPriceGroups([array<string|int, PriceGroupItemType$priceGroups = null ]) : self

Individuální ceny cenových skupin.

Parameters
$priceGroups : array<string|int, PriceGroupItemType> = null
Return values
self

setStocks()

Sets a new stocks.

public setStocks([array<string|int, StockItemType$stocks = null ]) : self

Individuální ceny zásob.

Parameters
$stocks : array<string|int, StockItemType> = null
Return values
self

unsetPriceGroups()

unset priceGroups.

public unsetPriceGroups(int|string $index) : void

Individuální ceny cenových skupin.

Parameters
$index : int|string
Return values
void

unsetStocks()

unset stocks.

public unsetStocks(int|string $index) : void

Individuální ceny zásob.

Parameters
$index : int|string
Return values
void

Search results