Documentation

DiscountType
in package

Class representing DiscountType.

XSD Type: discountType

Table of Contents

$discountStockItem  : array<string|int, mixed>
$version  : string|null
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

$discountStockItem

private array<string|int, mixed> $discountStockItem = []

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
Return values
void

Search results