Documentation

DiscountType
in package

Class representing DiscountType.

XSD Type: discountType

Table of Contents

Properties

$discountStockItem  : array<string|int, DiscountStockItemType>
$version  : string|null

Methods

addToDiscountStockItem()  : self
Adds as discountStockItem.
getDiscountStockItem()  : array<string|int, DiscountStockItemType>
Gets as discountStockItem.
getVersion()  : string
Gets as version.
issetDiscountStockItem()  : bool
isset discountStockItem.
setDiscountStockItem()  : self
Sets a new discountStockItem.
setVersion()  : self
Sets a new version.
unsetDiscountStockItem()  : void
unset discountStockItem.

Properties

Methods

getVersion()

Gets as version.

public getVersion() : string
Return values
string

issetDiscountStockItem()

isset discountStockItem.

public issetDiscountStockItem(int|string $index) : bool
Parameters
$index : int|string
Return values
bool

setVersion()

Sets a new version.

public setVersion(string $version) : self
Parameters
$version : string
Return values
self

unsetDiscountStockItem()

unset discountStockItem.

public unsetDiscountStockItem(int|string $index) : void
Parameters
$index : int|string

        
On this page

Search results