// Path: common/src/main/java/cz/gopay/api/v3/util/GPTimestampAdapter.java
// public class GPTimestampAdapter extends XmlAdapter<String, Date> {
// 
//   private SimpleDateFormat dateFormat = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSSZ");
// 
//   @Override
//   public String marshal(Date v) throws Exception {
//     return dateFormat.format(v);
//   }
// 
//   @Override
//   public Date unmarshal(String v) throws Exception {
//     return dateFormat.parse(v);
//   }
// 
// }


import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import cz.gopay.api.v3.util.GPTimestampAdapter;
package cz.gopay.api.v3.model;




@XmlRootElement(name = "error")
public class APIError {

    @XmlElement(name = "date_issued")
// Path: common/src/main/java/cz/gopay/api/v3/util/GPTimestampAdapter.java
// public class GPTimestampAdapter extends XmlAdapter<String, Date> {
// 
//   private SimpleDateFormat dateFormat = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSSZ");
// 
//   @Override
//   public String marshal(Date v) throws Exception {
//     return dateFormat.format(v);
//   }
// 
//   @Override
//   public Date unmarshal(String v) throws Exception {
//     return dateFormat.parse(v);
//   }
// 
// }


// Path: common/src/main/java/cz/gopay/api/v3/model/APIError.java
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import cz.gopay.api.v3.util.GPTimestampAdapter;

package cz.gopay.api.v3.model;




@XmlRootElement(name = "error")
public class APIError {

    @XmlElement(name = "date_issued")
    @XmlJavaTypeAdapter(GPTimestampAdapter.class)