Package com.portal.common
Class ReasonCodeData
java.lang.Object
com.portal.common.ReasonCodeData
- All Implemented Interfaces:
Serializable
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final int
static final int
static final int
The different types (domains) of reason codes.static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
-
Method Summary
Modifier and TypeMethodDescriptionReturn the domain name that the "reason code" is a member of.Return the enumerated value indicating the domain that the "reason code" is a member of.Return the Portal locale ("en_us", "fr", etc.) that the reason code description pertains to (English, French, etc.)Return the string description of the "reason code".Return the affiliate reason code.static boolean
isValidReasonType
(int reasonType) Evaluate the specified reason type for validity.toString()
Return the string represention for this class which is the reason description.
-
Field Details
-
ACCT_DEBIT
public static final int ACCT_DEBITThe different types (domains) of reason codes.- See Also:
-
ACCT_ACTIVE_STATUS
public static final int ACCT_ACTIVE_STATUS- See Also:
-
ACCT_INACTIVE_STATUS
public static final int ACCT_INACTIVE_STATUS- See Also:
-
ACCT_CLOSED_STATUS
public static final int ACCT_CLOSED_STATUS- See Also:
-
ACCT_CHARGE
public static final int ACCT_CHARGE- See Also:
-
ACCT_REFUND
public static final int ACCT_REFUND- See Also:
-
ACCT_CREDIT_LIMIT
public static final int ACCT_CREDIT_LIMIT- See Also:
-
ACCT_CREDIT
public static final int ACCT_CREDIT- See Also:
-
ACTION_RESCHEDULE
public static final int ACTION_RESCHEDULE- See Also:
-
ACTION_INSERT
public static final int ACTION_INSERT- See Also:
-
ACCOUNT_EXEMPT
public static final int ACCOUNT_EXEMPT- See Also:
-
FIRST_VALID_REASON
public static final int FIRST_VALID_REASON- See Also:
-
ITEM_DISPUTE_CREDIT
public static final int ITEM_DISPUTE_CREDIT- See Also:
-
ITEM_DISPUTE_DEBIT
public static final int ITEM_DISPUTE_DEBIT- See Also:
-
ITEM_SETTLE
public static final int ITEM_SETTLE- See Also:
-
EVENT_DISPUTE_CRIDIT
public static final int EVENT_DISPUTE_CRIDIT- See Also:
-
EVENT_DISPUTE_DEBIT
public static final int EVENT_DISPUTE_DEBIT- See Also:
-
EVENT_SETTLE
public static final int EVENT_SETTLE- See Also:
-
LAST_VALID_REASON
public static final int LAST_VALID_REASON- See Also:
-
ACCT_NON_CURRENCY_INCREASE
public static final int ACCT_NON_CURRENCY_INCREASE- See Also:
-
ACCT_NON_CURRENCY_REDUCE
public static final int ACCT_NON_CURRENCY_REDUCE- See Also:
-
BILL_DEBIT
public static final int BILL_DEBIT- See Also:
-
BILL_CREDIT
public static final int BILL_CREDIT- See Also:
-
CONN_CURRENCY_CREDIT
public static final int CONN_CURRENCY_CREDIT- See Also:
-
CONN_CURRENCY_DEBIT
public static final int CONN_CURRENCY_DEBIT- See Also:
-
CONN_NON_CURRENCY_INCREASE
public static final int CONN_NON_CURRENCY_INCREASE- See Also:
-
CONN_NON_CURRENCY_REDUCE
public static final int CONN_NON_CURRENCY_REDUCE- See Also:
-
ITEM_ADJ_DEBIT
public static final int ITEM_ADJ_DEBIT- See Also:
-
ITEM_ADJ_CREDIT
public static final int ITEM_ADJ_CREDIT- See Also:
-
EVENT_ADJ_DEBIT
public static final int EVENT_ADJ_DEBIT- See Also:
-
EVENT_ADJ_CREDIT
public static final int EVENT_ADJ_CREDIT- See Also:
-
CUSTOM_REASON_CODE
public static final int CUSTOM_REASON_CODE- See Also:
-
CORRECTION_REASON_CODE
public static final int CORRECTION_REASON_CODE- See Also:
-
-
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
Return the string description of the "reason code".- Returns:
- the string description of the "reason code".
-
getReasonCode
Return the affiliate reason code.- Returns:
- the affiliate reason code.
-
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
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
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
Return the string represention for this class which is the reason description.
-