Interface IRC

All Known Implementing Classes:
CMF

public interface IRC
Internal Result Code 0xxx: authorization/financial presentment approved. 1xxx: authorization/financial presentment denied. 2xxx: authorization/financial presentment denied, pick up card. 3xxx: file actions. 4xxx: reversal or chargeback actions. 5xxx: reconciliation actions. 6xxx: administrative actions. 7xxx: fee collection actions. 8xxx: network management actions. 9xxx: error/response actions. 10xxx: jPOS specific internal result codes. 11xxx: User specific internal result codes.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Returns true if this error type should inhibit the response to the client.
    int
    irc()
    Returns the numeric internal result code.
    default String
    Returns the int irc() as a left-zero-padded String This is the default implementation which can be overridden for performance or other reasons.
    boolean
    Returns true if this IRC represents a successful outcome.
  • Method Details

    • irc

      int irc()
      Returns the numeric internal result code.
      Returns:
      internal result code
    • ircString

      default String ircString()
      Returns the int irc() as a left-zero-padded String This is the default implementation which can be overridden for performance or other reasons.
      Returns:
      a left-zero-padded String with the integer value of this IRC
    • success

      boolean success()
      Returns true if this IRC represents a successful outcome.
      Returns:
      true if this IRC can be considered a 'success' (not necessarily an approval, could be a partial approval, advice accepted, etc.)
    • inhibit

      boolean inhibit()
      Returns true if this error type should inhibit the response to the client.
      Returns:
      true if error type should inhibit response back to client