TseDto class
Security features according to 'KassenSichV'.
- Inheritance
-
- Object
- Equatable
- TseBaseDto
- TseDto
Constructors
-
TseDto({String? serialNumber, String? signatureAlgorithm, String? logTimeFormat, String? certificate, required DateTime timestampStart, required DateTime timestampEnd, required DateTime firstOrder, required int transactionNumber, required int signatureNumber, String? processData, String? processType, String? signature, String? posInspectionQrData, String? additionalLegalText, List<
AdditionalTseDataDto> ? additionalTseData, required TseTypeDto type}) -
TseDto.fromJson(Map<
String, dynamic> json) -
factory
Properties
- additionalLegalText ↔ String?
-
Additional legal text that must be displayed.
read / write
-
additionalTseData
↔ List<
AdditionalTseDataDto> ? -
Additional legal properties.
read / write
- certificate ↔ String?
-
Entire certificate chain of the TSE used in PEM format.
read / write
- firstOrder ↔ DateTime
-
Time stamp of the start of the first order transaction.
The time stamp corresponds to the one returned by the TSE Time stamp
when executing the start() function of the first order.
read / write
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- logTimeFormat ↔ String?
-
Date format used by the TSE. E.g. 'unixTime'
read / write
- posInspectionQrData ↔ String?
-
Data to display a QR code for a POS inspection.
read / write
- processData ↔ String?
-
Content of the processData when calling the finish() function of the transaction.
read / write
- processType ↔ String?
-
Content of the processType when calling the finish() function of the transaction
read / write
-
props
→ List<
Object?> -
The list of properties that will be used to determine whether
two instances are equal.
read-onlyoverride
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
- serialNumber ↔ String?
-
Serial number of the TSE in hexadecimal representation.
read / write
- signature ↔ String?
-
Check value / signature, which the TSE returned when calling the finish() function of the transaction.
read / write
- signatureAlgorithm ↔ String?
-
Signature algorithm used by the TSE. E.g. 'ecdsa-plain-SHA256'
read / write
- signatureNumber ↔ int
-
Signature counter assigned by the TSE.
The signature counter is taken from the response
when calling the finish() function of the transaction.
read / write
- stringify → bool?
-
If set to
true
, the toString method will be overridden to output this instance's props.read-onlyinherited - timestampEnd ↔ DateTime
-
Time stamp of the end of the transaction.
The timestamp corresponds to the time stamp returned
by the TSE at executing the finish() function.
read / write
- timestampStart ↔ DateTime
-
Time stamp of the start of the transaction.
The timestamp corresponds to the time stamp returned
by the TSE at executing the start() function.
read / write
- transactionNumber ↔ int
-
The transaction number assigned by the TSE.
read / write
- type ↔ TseTypeDto
-
read / writeinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited