Documentation

DiscountStockItemType
in package

Class representing DiscountStockItemType.

XSD Type: discountStockItemType

Table of Contents

Properties

$discounts  : array<string|int, DiscountsItemType>
Slevy/vedeljší ceny, které se mají upravit.
$stockItem  : StockItemType|null
Zásoba, jejíž slevy/vedlejší ceny se mají upravit.

Methods

addToDiscounts()  : self
Adds as discountsItem.
getDiscounts()  : array<string|int, DiscountsItemType>
Gets as discounts.
getStockItem()  : StockItemType
Gets as stockItem.
issetDiscounts()  : bool
isset discounts.
setDiscounts()  : self
Sets a new discounts.
setStockItem()  : self
Sets a new stockItem.
unsetDiscounts()  : void
unset discounts.

Properties

Methods

issetDiscounts()

isset discounts.

public issetDiscounts(int|string $index) : bool

Slevy/vedeljší ceny, které se mají upravit.

Parameters
$index : int|string
Return values
bool

unsetDiscounts()

unset discounts.

public unsetDiscounts(int|string $index) : void

Slevy/vedeljší ceny, které se mají upravit.

Parameters
$index : int|string

        
On this page

Search results