CashRegister
extends CashRegisterType
in package
Class representing CashRegister.
Table of Contents
Properties
- $actionType : ActionTypeType|null
- Typ práce s dokladem. Výchozí hodnota je přidání nového dokladu.
- $cashRegisterHeader : CashRegisterHeaderType|null
- $version : string|null
Methods
- getActionType() : ActionTypeType
- Gets as actionType.
- getCashRegisterHeader() : CashRegisterHeaderType
- Gets as cashRegisterHeader.
- getVersion() : string
- Gets as version.
- setActionType() : self
- Sets a new actionType.
- setCashRegisterHeader() : self
- Sets a new cashRegisterHeader.
- setVersion() : self
- Sets a new version.
Properties
$actionType
Typ práce s dokladem. Výchozí hodnota je přidání nového dokladu.
private
ActionTypeType|null
$actionType
= null
$cashRegisterHeader
private
CashRegisterHeaderType|null
$cashRegisterHeader
= null
$version
private
string|null
$version
= null
Methods
getActionType()
Gets as actionType.
public
getActionType() : ActionTypeType
Typ práce s dokladem. Výchozí hodnota je přidání nového dokladu.
Return values
ActionTypeTypegetCashRegisterHeader()
Gets as cashRegisterHeader.
public
getCashRegisterHeader() : CashRegisterHeaderType
Return values
CashRegisterHeaderTypegetVersion()
Gets as version.
public
getVersion() : string
Return values
stringsetActionType()
Sets a new actionType.
public
setActionType([ActionTypeType|null $actionType = null ]) : self
Typ práce s dokladem. Výchozí hodnota je přidání nového dokladu.
Parameters
- $actionType : ActionTypeType|null = null
Return values
selfsetCashRegisterHeader()
Sets a new cashRegisterHeader.
public
setCashRegisterHeader([CashRegisterHeaderType|null $cashRegisterHeader = null ]) : self
Parameters
- $cashRegisterHeader : CashRegisterHeaderType|null = null
Return values
selfsetVersion()
Sets a new version.
public
setVersion(string $version) : self
Parameters
- $version : string