/**
* Most of the code in the Qalingo project is copyrighted Hoteia and licensed
* under the Apache License Version 2.0 (release version 0.8.0)
* http://www.apache.org/licenses/LICENSE-2.0
*
* Copyright (c) Hoteia, 2012-2014
* http://www.hoteia.com - http://twitter.com/hoteia - contact@hoteia.com
*
*/
package org.hoteia.qalingo.core.domain.enumtype;
/**
*
*/
public enum OrderStatus {
/**
*
*/
ORDER_STATUS_PENDING("PENDING"),
/**
*
*/
ORDER_STATUS_PACKAGED("PACKAGED"),
/**
*
*/
ORDER_STATUS_SENDED("SENDED"),
/**
*
*/
ORDER_STATUS_CHARGED("CHARGED"),
/**
*
*/
ORDER_STATUS_ERROR("ERROR"),
/**
*
*/
ORDER_STATUS_CANCEL("CANCEL");
private String propertyKey = "";
/**
* Constructor.
*
* @param propertyKey the property key.
*/
OrderStatus(final String propertyKey) {
this.propertyKey = propertyKey;
}
/**
* Get the localization property key.
*
* @return the localized property key
*/
public String getPropertyKey() {
return this.propertyKey;
}
}