Subversion Repositories SmartDukaan

Rev

Rev 2593 | Rev 4421 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2593 Rev 3956
Line 4... Line 4...
4
import in.shop2020.payments.PaymentStatus;
4
import in.shop2020.payments.PaymentStatus;
5
 
5
 
6
import java.io.Serializable;
6
import java.io.Serializable;
7
import java.util.ArrayList;
7
import java.util.ArrayList;
8
import java.util.Date;
8
import java.util.Date;
-
 
9
import java.util.HashMap;
9
import java.util.List;
10
import java.util.List;
-
 
11
import java.util.Map;
10
 
12
 
11
public class Payment implements Serializable{
13
public class Payment implements Serializable{
12
 
14
 
13
	private static final long serialVersionUID = -6103855488779807100L;
15
	private static final long serialVersionUID = -6103855488779807100L;
14
 
16
 
Line 191... Line 193...
191
		return errorTimestamp;
193
		return errorTimestamp;
192
	}
194
	}
193
	public void setErrorTimestamp(Date errorTimestamp) {
195
	public void setErrorTimestamp(Date errorTimestamp) {
194
		this.errorTimestamp = errorTimestamp;
196
		this.errorTimestamp = errorTimestamp;
195
	}
197
	}
-
 
198
	
-
 
199
	public Map<String, String> getAttributeMap(){
-
 
200
	    Map<String, String> attrMap = new HashMap<String, String>();
-
 
201
	    for(PaymentAttribute attr : this.attributes){
-
 
202
	        attrMap.put(attr.getName(), attr.getValue());
-
 
203
	    }
-
 
204
	    return attrMap;
-
 
205
	}
196
}
206
}