Subversion Repositories SmartDukaan

Rev

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

Rev Author Line No. Line
21739 ashik.ali 1
package com.spice.profitmandi.common.model;
2
 
3
public class Response {
4
	private final String rejectedType;
5
	private final Object rejectedValue;
6
	private final String code;
7
	private final String message;
8
	public Response(String rejectedType, Object rejectedValue, String code,String message) {
9
		this.rejectedType=rejectedType;
10
		this.rejectedValue=rejectedValue;
11
		this.code=code;
12
		this.message=message;
13
	}
14
	public String getRejectedType() {
15
		return rejectedType;
16
	}
17
	public Object getRejectedValue() {
18
		return rejectedValue;
19
	}
20
	public String getCode() {
21
		return code;
22
	}
23
	public String getMessage() {
24
		return message;
25
	}
21923 ashik.ali 26
	@Override
27
	public String toString() {
28
		return "Response [rejectedType=" + rejectedType + ", rejectedValue=" + rejectedValue + ", code=" + code
29
				+ ", message=" + message + "]";
30
	}
31
 
32
 
21739 ashik.ali 33
}