GroupStocksType
in package
Class representing GroupStocksType.
XSD Type: groupStocksType
Table of Contents
Properties
- $actionType : ActionTypeType|null
- Typ práce se záznamem. Výchozí hodnota je přidání nového záznamu.
- $groupStocksDetail : array<string|int, VariantsItemType>
- $groupStocksHeader : GroupStocksHeaderType|null
- $version : string|null
Methods
- addToGroupStocksDetail() : self
- Adds as variant.
- getActionType() : ActionTypeType
- Gets as actionType.
- getGroupStocksDetail() : array<string|int, VariantsItemType>
- Gets as groupStocksDetail.
- getGroupStocksHeader() : GroupStocksHeaderType
- Gets as groupStocksHeader.
- getVersion() : string
- Gets as version.
- issetGroupStocksDetail() : bool
- isset groupStocksDetail.
- setActionType() : self
- Sets a new actionType.
- setGroupStocksDetail() : self
- Sets a new groupStocksDetail.
- setGroupStocksHeader() : self
- Sets a new groupStocksHeader.
- setVersion() : self
- Sets a new version.
- unsetGroupStocksDetail() : void
- unset groupStocksDetail.
Properties
$actionType
Typ práce se záznamem. Výchozí hodnota je přidání nového záznamu.
private
ActionTypeType|null
$actionType
= null
$groupStocksDetail
private
array<string|int, VariantsItemType>
$groupStocksDetail
= null
$groupStocksHeader
private
GroupStocksHeaderType|null
$groupStocksHeader
= null
$version
private
string|null
$version
= null
Methods
addToGroupStocksDetail()
Adds as variant.
public
addToGroupStocksDetail(VariantsItemType $variant) : self
Parameters
- $variant : VariantsItemType
Return values
selfgetActionType()
Gets as actionType.
public
getActionType() : ActionTypeType
Typ práce se záznamem. Výchozí hodnota je přidání nového záznamu.
Return values
ActionTypeTypegetGroupStocksDetail()
Gets as groupStocksDetail.
public
getGroupStocksDetail() : array<string|int, VariantsItemType>
Return values
array<string|int, VariantsItemType>getGroupStocksHeader()
Gets as groupStocksHeader.
public
getGroupStocksHeader() : GroupStocksHeaderType
Return values
GroupStocksHeaderTypegetVersion()
Gets as version.
public
getVersion() : string
Return values
stringissetGroupStocksDetail()
isset groupStocksDetail.
public
issetGroupStocksDetail(int|string $index) : bool
Parameters
- $index : int|string
Return values
boolsetActionType()
Sets a new actionType.
public
setActionType(ActionTypeType $actionType) : self
Typ práce se záznamem. Výchozí hodnota je přidání nového záznamu.
Parameters
- $actionType : ActionTypeType
Return values
selfsetGroupStocksDetail()
Sets a new groupStocksDetail.
public
setGroupStocksDetail(array<string|int, VariantsItemType> $groupStocksDetail) : self
Parameters
- $groupStocksDetail : array<string|int, VariantsItemType>
Return values
selfsetGroupStocksHeader()
Sets a new groupStocksHeader.
public
setGroupStocksHeader(GroupStocksHeaderType $groupStocksHeader) : self
Parameters
- $groupStocksHeader : GroupStocksHeaderType
Return values
selfsetVersion()
Sets a new version.
public
setVersion(string $version) : self
Parameters
- $version : string
Return values
selfunsetGroupStocksDetail()
unset groupStocksDetail.
public
unsetGroupStocksDetail(int|string $index) : void
Parameters
- $index : int|string