// Path: common/src/main/java/cz/gopay/api/v3/util/GPDateAdapter.java
// public class GPDateAdapter extends XmlAdapter<String, Date> {
// 
//     private SimpleDateFormat dateFormat = new SimpleDateFormat("yyyy-MM-dd");
// 
//     @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 cz.gopay.api.v3.util.GPDateAdapter;
import java.util.Date;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
package cz.gopay.api.v3.model.eet;




/**
 * Created by František Sichinger on 23.2.17.
 */
@XmlRootElement
@XmlAccessorType(XmlAccessType.FIELD)
public class EETReceiptFilter {
	
	@XmlElement(name = "date_from")
// Path: common/src/main/java/cz/gopay/api/v3/util/GPDateAdapter.java
// public class GPDateAdapter extends XmlAdapter<String, Date> {
// 
//     private SimpleDateFormat dateFormat = new SimpleDateFormat("yyyy-MM-dd");
// 
//     @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/eet/EETReceiptFilter.java
import cz.gopay.api.v3.util.GPDateAdapter;
import java.util.Date;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;

package cz.gopay.api.v3.model.eet;




/**
 * Created by František Sichinger on 23.2.17.
 */
@XmlRootElement
@XmlAccessorType(XmlAccessType.FIELD)
public class EETReceiptFilter {
	
	@XmlElement(name = "date_from")
	@XmlJavaTypeAdapter(GPDateAdapter.class)