public interface TransactionMessage
This interface is used for transaction specific messages.
  • Method Details

    • getBEMessageClass

      String getBEMessageClass()
      Get the message class defined in the back end.
      Returns:
      the beMessageClass
    • getBEMessageNumber

      String getBEMessageNumber()
      get the message number defined in the back end.
      Returns:
      the beMessageNumber
    • getCheckoutStepElement

      String getCheckoutStepElement()
      Returns:
      the checkoutStepElement
    • getMessageLongText

      String getMessageLongText()
      Determine the message long text.
      Returns:
      message text
    • getMessageLongText

      String getMessageLongText(Locale locale)
      Determine the message text for the given locale.
      Parameters:
      locale - locale to get the correct translation.
      Returns:
      message text
    • getMsgId

      String getMsgId()
      Returns:
      the msgId
    • getMsgNo

      String getMsgNo()
      Returns:
      the msgNo
    • getMsgType

      String getMsgType()
      Returns:
      the msgType
    • getMsgV1

      String getMsgV1()
      Returns:
      the msgV1
    • getMsgV2

      String getMsgV2()
      Returns:
      the msgV2
    • getMsgV3

      String getMsgV3()
      Returns:
      the msgV3
    • getMsgV4

      String getMsgV4()
      Returns:
      the msgV4
    • getResourceKeyLongtext

      String getResourceKeyLongtext()
      Returns:
      the resourceKeyLongtext
    • isError

      boolean isError()
      Checks if this message is an error.
      Returns:
      true if this message is an error
    • isMsgHide

      boolean isMsgHide()
      Returns:
      the msgHide
    • setBeMessageClass

      void setBeMessageClass(String beMessageClass)
      Parameters:
      beMessageClass - the beMessageClass to set
    • setBeMessageNumber

      void setBeMessageNumber(String beMessageNumber)
      Parameters:
      beMessageNumber - the beMessageNumber to set
    • setCheckoutStepElement

      void setCheckoutStepElement(String checkoutStepElement)
      Parameters:
      checkoutStepElement - the checkoutStepElement to set
    • setMsgHide

      void setMsgHide(boolean msgHide)
      Parameters:
      msgHide - the msgHide to set
    • setMsgId

      void setMsgId(String msgId)
      Parameters:
      msgId - the msgId to set
    • setMsgNo

      void setMsgNo(String msgNo)
      Parameters:
      msgNo - the msgNo to set
    • setMsgType

      void setMsgType(String msgType)
      Parameters:
      msgType - the msgType to set
    • setMsgV1

      void setMsgV1(String msgV1)
      Parameters:
      msgV1 - the msgV1 to set
    • setMsgV2

      void setMsgV2(String msgV2)
      Parameters:
      msgV2 - the msgV2 to set
    • setMsgV3

      void setMsgV3(String msgV3)
      Parameters:
      msgV3 - the msgV3 to set
    • setMsgV4

      void setMsgV4(String msgV4)
      Parameters:
      msgV4 - the msgV4 to set
    • setResourceKeyLongtext

      void setResourceKeyLongtext(String resourceKeyLongtext)
      Parameters:
      resourceKeyLongtext - the resourceKeyLongtext to set
    • getType

      int getType()
      Retrieves message type (like error, warning)
      Returns:
      message type
    • getMessageText

      String getMessageText()
      Retrieves message long text
      Returns:
      message long text