MessageHeader class abstract
Message header of the Sale to POI protocol message. It conveys Information related to the Sale to POI protocol management.
Properties:
- protocolVersion - If MessageCategory is Login or Diagnosis.
- messageClass - Class of the message. Possible values: * Device * Event * Service
- messageCategory - Category of message. Possible values: * Abort * Admin * BalanceInquiry * Batch * CardAcquisition * CardReaderInit * CardReaderPowerOff * Diagnosis * Display * EnableService * Event * GetTotals * Input * InputUpdate * Login * Logout * Loyalty * None * PIN * Payment * Print * Reconciliation * Reversal * Sound * StoredValue * TransactionStatus * Transmit
- messageType - Type of message of the Sale to POI protocol. Possible values: * Notification * Request * Response
- serviceID - Identification of a message pair, which processes a transaction. Required if Service or Event MessageClass message or if Device MessageClass and request from POI or response from Sale.
- deviceID - Identification of a device message pair. If Device MessageClass.
- saleID - Identification of a Sale System or a Sale Terminal for the Sale to POI protocol.
- POIID - Identification of a POI System or a POI Terminal for the Sale to POI protocol.
- Annotations
-
- @BuiltValue.new()
Constructors
- MessageHeader([void updates(MessageHeaderBuilder b)])
-
factory
Properties
- deviceID → String?
-
Identification of a device message pair. If Device MessageClass.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- messageCategory → MessageCategory
-
Category of message. Possible values: * Abort * Admin * BalanceInquiry * Batch * CardAcquisition * CardReaderInit * CardReaderPowerOff * Diagnosis * Display * EnableService * Event * GetTotals * Input * InputUpdate * Login * Logout * Loyalty * None * PIN * Payment * Print * Reconciliation * Reversal * Sound * StoredValue * TransactionStatus * Transmit
no setter
- messageClass → MessageClass
-
Class of the message. Possible values: * Device * Event * Service
no setter
- messageType → MessageType
-
Type of message of the Sale to POI protocol. Possible values: * Notification * Request * Response
no setter
- POIID → String
-
Identification of a POI System or a POI Terminal for the Sale to POI protocol.
no setter
- protocolVersion → String?
-
If MessageCategory is Login or Diagnosis.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- saleID → String
-
Identification of a Sale System or a Sale Terminal for the Sale to POI protocol.
no setter
- serviceID → String?
-
Identification of a message pair, which processes a transaction. Required if Service or Event MessageClass message or if Device MessageClass and request from POI or response from Sale.
no setter
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
rebuild(
dynamic updates(MessageHeaderBuilder)) → MessageHeader -
Rebuilds the instance.
inherited
-
toBuilder(
) → MessageHeaderBuilder -
Converts the instance to a builder
B.inherited -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
-
serializer
→ Serializer<
MessageHeader> -
no setter