// Path: src/main/java/br/fatea/simplebank/soap/payment/v1/PaymentStatus.java
// @XmlType(name = "paymentStatus")
// @XmlEnum
// public enum PaymentStatus {
// 
//     OPENED,
//     CONFIRMED,
//     REVERSED,
//     CANCELED;
// 
//     public String value() {
//         return name();
//     }
// 
//     public static PaymentStatus fromValue(String v) {
//         return valueOf(v);
//     }
// 
// }
// 
// Path: src/main/java/br/fatea/simplebank/utils/DatetimeUtil.java
// public class DatetimeUtil {
// 	public static final String PATTERN_SOAP_DATETIME = "yyyy-MM-dd HH:mm:ss";
// 	private static final Map<String, DateFormat> patterns = new HashMap<String, DateFormat>();
// 
// 	public static String now(String pattern) {
// 		DateFormat dateFormat = getFormat(pattern);
// 		return dateFormat.format(new Date());
// 	}
// 
// 	private static DateFormat getFormat(String pattern) {
// 		DateFormat dateFormat;
// 		if (!patterns.containsKey(pattern)) {
// 			dateFormat = new SimpleDateFormat(pattern);
// 			patterns.put(pattern, dateFormat);
// 		}
// 		dateFormat = patterns.get(pattern);
// 		return dateFormat;
// 	}
// 
// 	public static Calendar asCalendar(String date, String pattern) {
// 		DateFormat dateFormat = getFormat(pattern);
// 		
// 		Calendar calendar = Calendar.getInstance();
// 		try {
// 			calendar.setTime(dateFormat.parse(date));
// 			return calendar;
// 			
// 		} catch (ParseException e) {
// 			return null;
// 			
// 		}
// 	}
// }


import br.fatea.simplebank.soap.payment.v1.PaymentStatus;
import br.fatea.simplebank.utils.DatetimeUtil;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonTypeName;
	}

	public void setDetail(String detail) {
		this.detail = detail;
	}

	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result + ((order == null) ? 0 : order.hashCode());
		result = prime * result + ((status == null) ? 0 : status.hashCode());
		return result;
	}

	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		PaymentMessage other = (PaymentMessage) obj;
		if (order == null) {
			if (other.order != null)
				return false;
		} else if (!order.equals(other.order))
			return false;
		if (status != other.status)
// Path: src/main/java/br/fatea/simplebank/soap/payment/v1/PaymentStatus.java
// @XmlType(name = "paymentStatus")
// @XmlEnum
// public enum PaymentStatus {
// 
//     OPENED,
//     CONFIRMED,
//     REVERSED,
//     CANCELED;
// 
//     public String value() {
//         return name();
//     }
// 
//     public static PaymentStatus fromValue(String v) {
//         return valueOf(v);
//     }
// 
// }
// 
// Path: src/main/java/br/fatea/simplebank/utils/DatetimeUtil.java
// public class DatetimeUtil {
// 	public static final String PATTERN_SOAP_DATETIME = "yyyy-MM-dd HH:mm:ss";
// 	private static final Map<String, DateFormat> patterns = new HashMap<String, DateFormat>();
// 
// 	public static String now(String pattern) {
// 		DateFormat dateFormat = getFormat(pattern);
// 		return dateFormat.format(new Date());
// 	}
// 
// 	private static DateFormat getFormat(String pattern) {
// 		DateFormat dateFormat;
// 		if (!patterns.containsKey(pattern)) {
// 			dateFormat = new SimpleDateFormat(pattern);
// 			patterns.put(pattern, dateFormat);
// 		}
// 		dateFormat = patterns.get(pattern);
// 		return dateFormat;
// 	}
// 
// 	public static Calendar asCalendar(String date, String pattern) {
// 		DateFormat dateFormat = getFormat(pattern);
// 		
// 		Calendar calendar = Calendar.getInstance();
// 		try {
// 			calendar.setTime(dateFormat.parse(date));
// 			return calendar;
// 			
// 		} catch (ParseException e) {
// 			return null;
// 			
// 		}
// 	}
// }


// Path: src/main/java/br/fatea/simplebank/model/jms/messages/PaymentMessage.java
import br.fatea.simplebank.soap.payment.v1.PaymentStatus;
import br.fatea.simplebank.utils.DatetimeUtil;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonTypeName;

	}

	public void setDetail(String detail) {
		this.detail = detail;
	}

	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result + ((order == null) ? 0 : order.hashCode());
		result = prime * result + ((status == null) ? 0 : status.hashCode());
		return result;
	}

	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		PaymentMessage other = (PaymentMessage) obj;
		if (order == null) {
			if (other.order != null)
				return false;
		} else if (!order.equals(other.order))
			return false;
		if (status != other.status)
			return false;