Subversion Repositories SmartDukaan

Rev

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

Rev 21716 Rev 21924
Line 41... Line 41...
41
		return refundable_amount;
41
		return refundable_amount;
42
	}
42
	}
43
	public void setRefundable_amount(int refundable_amount) {
43
	public void setRefundable_amount(int refundable_amount) {
44
		this.refundable_amount = refundable_amount;
44
		this.refundable_amount = refundable_amount;
45
	}
45
	}
-
 
46
	
-
 
47
	@Override
-
 
48
	public int hashCode() {
-
 
49
		final int prime = 31;
-
 
50
		int result = 1;
-
 
51
		result = prime * result + amount;
-
 
52
		result = prime * result + id;
-
 
53
		result = prime * result + refundable_amount;
-
 
54
		result = prime * result + userId;
-
 
55
		return result;
-
 
56
	}
-
 
57
	@Override
-
 
58
	public boolean equals(Object obj) {
-
 
59
		if (this == obj)
-
 
60
			return true;
-
 
61
		if (obj == null)
-
 
62
			return false;
-
 
63
		if (getClass() != obj.getClass())
-
 
64
			return false;
-
 
65
		UserWallet other = (UserWallet) obj;
-
 
66
		if (amount != other.amount)
-
 
67
			return false;
-
 
68
		if (id != other.id)
-
 
69
			return false;
-
 
70
		if (refundable_amount != other.refundable_amount)
-
 
71
			return false;
-
 
72
		if (userId != other.userId)
-
 
73
			return false;
-
 
74
		return true;
-
 
75
	}
46
	@Override
76
	@Override
47
	public String toString() {
77
	public String toString() {
48
		return "UserWallet [id=" + id + ", userId=" + userId + ", amount=" + amount + ", refundable_amount="
78
		return "UserWallet [id=" + id + ", userId=" + userId + ", amount=" + amount + ", refundable_amount="
49
				+ refundable_amount + "]";
79
				+ refundable_amount + "]";
50
	}
80
	}