/**
* Unconfirmed (default)
*/
- UNCONFIRMED("CUSTOMER_ACCOUNT_STATUS_UNCONFIRMED"), //NOI18N
+ UNCONFIRMED("CUSTOMER_ACCOUNT_STATUS_UNCONFIRMED", "customer_status_unconfirmed"), //NOI18N
/**
* Confirmed (email address validated)
*/
- CONFIRMED("CUSTOMER_ACCOUNT_STATUS_CONFIRMED"), //NOI18N
+ CONFIRMED("CUSTOMER_ACCOUNT_STATUS_CONFIRMED", "customer_status_confirmed"), //NOI18N
/**
* Locked (maybe violated T&C)
*/
- LOCKED("CUSTOMER_ACCOUNT_STATUS_LOCKED"); //NOI18N
+ LOCKED("CUSTOMER_ACCOUNT_STATUS_LOCKED", "customer_status_locked"); //NOI18N
/**
* Message key
*/
private final String messageKey;
+ /**
+ * CSS style class
+ */
+ private final String styleClass;
+
/**
* Constructor with i18n translation key
* <p>
* @param messageKey Message key (i18n)
+ * @param styleClass CSS style class
*/
- private CustomerAccountStatus (final String messageKey) {
+ private CustomerAccountStatus (final String messageKey, final String styleClass) {
// Set it here
this.messageKey = messageKey;
+ this.styleClass = styleClass;
}
/**
public String getMessageKey () {
return this.messageKey;
}
+
+ /**
+ * Getter for CSS style class
+ * <p>
+ * @return CSS style class
+ */
+ public String getStyleClass () {
+ return this.styleClass;
+ }
+
}