Subversion Repositories SmartDukaan

Rev

Rev 1023 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
490 rajveer 1
package in.shop2020.support.models;
2
import com.thoughtworks.xstream.annotations.XStreamAlias;
3
 
4
@XStreamAlias("update")
5
public class Update {
1367 chandransh 6
	private String key;
490 rajveer 7
	private String quantity;
8
	private String timestamp;
616 chandransh 9
 
1367 chandransh 10
	public void setKey(String key) {
11
		this.key = key;
961 chandransh 12
	}
1367 chandransh 13
	public String getKey() {
14
		return key;
961 chandransh 15
	}
490 rajveer 16
	public void setQuantity(String quantity) {
17
		this.quantity = quantity;
18
	}
19
	public String getQuantity() {
20
		return quantity;
21
	}
22
	public void setTimestamp(String timestamp) {
23
		this.timestamp = timestamp;
24
	}
25
	public String getTimestamp() {
26
		return timestamp;
27
	}
28
	public String toString() {
1367 chandransh 29
		return this.key + ":" + this.quantity + ":" + this.timestamp;
490 rajveer 30
	}
31
}