-
Notifications
You must be signed in to change notification settings - Fork 57
ISOMessage
Mohsen Beiranvand edited this page Oct 7, 2019
·
1 revision
ISO Message Entity
- Author: Mohsen Beiranvand
Get primary bitmap
- Returns: returns primary byte array
- Since: 1.0.4-SNAPSHOT
Message length
- Returns: returns message length
Get field value in byte array format
-
Parameters:
fieldNo
— field number - Returns: returns field value in byte array format
-
Exceptions:
ISOException
— throws exception
Get field value in byte array format
-
Parameters:
field
— field in {@link FIELDS} format - Returns: returns field value in byte array format
Get field value in string format
-
Parameters:
fieldNo
— field number - Returns: returns field value in String format
-
Exceptions:
ISOException
— throws exception
Get field value in string format
- Parameters:
-
field
— field in {@link FIELDS} format -
asciiFix
— set true if you want result in ASCII format - Returns: returns field value in String format
-
Exceptions:
ISOException
— throws exception
Get field value in string format
- Parameters:
-
fieldNo
— field number -
asciiFix
— set true if you want result in ASCII format - Returns: returns field value in String format
-
Exceptions:
ISOException
— throws exception
Get field value in string format
- Parameters:
-
field
— field in {@link FIELDS} format -
asciiFix
— set true if you want result in ASCII format - Returns: returns field value in String format
-
Exceptions:
ISOException
— throws exception
Set and parse ISO8583 message from buffer
- Parameters:
-
message
— ISO8583 in byte array format -
headerAvailable
— set true if header is available in buffer - Returns: returns ISO8583 message in ISOMessage type
-
Exceptions:
ISOException
— throws exception
Set and parse ISO8583 message from buffer
-
Parameters:
message
— ISO8583 in byte array format - Returns: returns ISO8583 message in ISOMessage type
-
Exceptions:
ISOException
— throws exception
Get EntrySet
- Returns: returns data elements entry set
Check Field exists by {@link FIELDS} enum
-
Parameters:
field
— field enum - Returns: Returns true if field has value in message
Check Field exists field number
-
Parameters:
no
— field number - Returns: Returns true if field has value in message
Get Message MTI
- Returns: returns MTI in String format
Get message class
- Returns: returns message class
Get message function
- Returns: returns message function
Get message origin
- Returns: returns message origin
Validate mac it's useful method to validate response MAC
-
Parameters:
isoMacGenerator
— implementation of {@link ISOMacGenerator} - Returns: returns true if response message MAC is valid
-
Exceptions:
ISOException
— throws exception
Convert ISOMessage to String
- Returns: ISOMessage in String format
Convert all fields in String format
- Returns: returns strings of fields
Clean up message