Subversion Repositories SmartDukaan

Rev

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

Rev 3420 Rev 4585
Line 12... Line 12...
12
	private String lastTimestamp;
12
	private String lastTimestamp;
13
	private String currentTimestamp;
13
	private String currentTimestamp;
14
	private String totalUpdates;
14
	private String totalUpdates;
15
	private String error;
15
	private String error;
16
	private List<Update> updates = new ArrayList<Update>();
16
	private List<Update> updates = new ArrayList<Update>();
-
 
17
	private List<BillingUpdate> billingUpdates = new ArrayList<BillingUpdate>();
17
	
18
	
18
	public void add(Update update){
19
	public void add(Update update){
19
		updates.add(update);
20
		updates.add(update);
20
	}
21
	}
21
 
22
 
Line 38... Line 39...
38
	public void setlastTimestamp(String lastTimestamp) {
39
	public void setlastTimestamp(String lastTimestamp) {
39
		this.lastTimestamp = lastTimestamp;
40
		this.lastTimestamp = lastTimestamp;
40
	}
41
	}
41
	
42
	
42
	public String toString(){
43
	public String toString(){
43
		return this.warehouseId+":"+this.lastTimestamp+":"+this.currentTimestamp+":"+this.totalUpdates+":"+ this.updates.toString();
44
		return this.warehouseId+":"+this.lastTimestamp+":"+this.currentTimestamp+":"+this.totalUpdates+":"+ this.updates.toString()+":"+ this.billingUpdates.toString();
44
	}
45
	}
45
 
46
 
46
	public void setCurrentTimestamp(String currentTimestamp) {
47
	public void setCurrentTimestamp(String currentTimestamp) {
47
		this.currentTimestamp = currentTimestamp;
48
		this.currentTimestamp = currentTimestamp;
48
	}
49
	}
Line 64... Line 65...
64
    }
65
    }
65
 
66
 
66
    public String getError() {
67
    public String getError() {
67
        return error;
68
        return error;
68
    }
69
    }
-
 
70
 
-
 
71
	public void setBillingUpdates(List<BillingUpdate> billingUpdates) {
-
 
72
		this.billingUpdates = billingUpdates;
-
 
73
	}
-
 
74
 
-
 
75
	public void add(BillingUpdate update){
-
 
76
		this.billingUpdates.add(update);
-
 
77
	}
-
 
78
 
-
 
79
	public List<BillingUpdate> getBillingUpdates() {
-
 
80
		return billingUpdates;
-
 
81
	}
69
}
82
}