Class ReasonCodeData

java.lang.Object
com.portal.common.ReasonCodeData
All Implemented Interfaces:
Serializable

public class ReasonCodeData extends Object implements Serializable
See Also:
  • Field Details

  • Method Details

    • isValidReasonType

      public static boolean isValidReasonType(int reasonType)
      Evaluate the specified reason type for validity.
      Parameters:
      reasonType - The type of "reason data" (credit, debit, etc.) to evaluate.
      Returns:
      true if the specified reason type is valid otherwise return false.
    • getReason

      public String getReason()
      Return the string description of the "reason code".
      Returns:
      the string description of the "reason code".
    • getReasonCode

      public Integer getReasonCode()
      Return the affiliate reason code.
      Returns:
      the affiliate reason code.
    • getDomainType

      public Integer getDomainType()
      Return the enumerated value indicating the domain that the "reason code" is a member of.
      Returns:
      the enumerated value indicating the domain that the "reason code" is a member of (credit, debit, etc.)
    • getDomainName

      public String getDomainName()
      Return the domain name that the "reason code" is a member of.
      Returns:
      the domain name that the "reason code" is a member of (credit, debit, etc.)
    • getInfranetLocale

      public String getInfranetLocale()
      Return the Portal locale ("en_us", "fr", etc.) that the reason code description pertains to (English, French, etc.)
      Returns:
      the Portal locale ("en_us", "fr", etc.) that the reason code description pertains to (English, French, etc.)
    • toString

      public String toString()
      Return the string represention for this class which is the reason description.
      Overrides:
      toString in class Object
      Returns:
      the string represention for this class which is the reason description.