public class MessageBuilder
extends java.lang.Object
Constructor and Description |
---|
MessageBuilder() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
buildMessage(Transaction transaction)
Transforms transaction data class to String.
|
static Response |
readMessage(java.lang.String message)
Transforms String message to Response data class.
|
public static java.lang.String buildMessage(Transaction transaction) throws TransactionFieldException
transaction
- Transaction which will be transformed to String.TransactionFieldException
public static Response readMessage(java.lang.String message)
message
- String message which will be transformed to Response data class