Subversion Repositories SmartDukaan

Rev

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

Rev 2146 Rev 2867
Line 171... Line 171...
171
 
171
 
172
	public void setPincode(String pincode) {
172
	public void setPincode(String pincode) {
173
		this.pincode = pincode;
173
		this.pincode = pincode;
174
	}
174
	}
175
 
175
 
176
 
176
	@Override
177
	public String toString(){
177
	public String toString() {
178
		StringBuffer representation = new StringBuffer();
-
 
179
		representation.append("userId: " + userId + "\n");
178
		return "UserSessionInfo [isLoggedIn=" + isLoggedIn + ", userId="
180
		representation.append("isLoggedIn: " + isLoggedIn + "\n");
179
				+ userId + ", email=" + email + ", nameOfUser=" + nameOfUser
181
		representation.append("username: " + nameOfUser + "\n");
180
				+ ", totalItems=" + totalItems + ", cartId=" + cartId
182
		return representation.toString();
181
				+ ", pincode=" + pincode + "]";
183
	}
182
	}
-
 
183
 
184
}
184
}