Subversion Repositories SmartDukaan

Rev

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

Rev 21600 Rev 21614
Line 3... Line 3...
3
public class CustomLineItem {
3
public class CustomLineItem {
4
	private String brand;
4
	private String brand;
5
	private String modelName;
5
	private String modelName;
6
	private String modelNumber;
6
	private String modelNumber;
7
	private String color;
7
	private String color;
-
 
8
	private String displayName;
8
	private float quantity;
9
	private float quantity;
9
	private float unitPrice;
10
	private float unitPrice;
10
	public String getBrand() {
11
	public String getBrand() {
11
		return brand;
12
		return brand;
12
	}
13
	}
Line 41... Line 42...
41
		return unitPrice;
42
		return unitPrice;
42
	}
43
	}
43
	public void setUnitPrice(float unitPrice) {
44
	public void setUnitPrice(float unitPrice) {
44
		this.unitPrice = unitPrice;
45
		this.unitPrice = unitPrice;
45
	}
46
	}
-
 
47
	public String getDisplayName() {
-
 
48
		return displayName;
-
 
49
	}
-
 
50
	public void setDisplayName(String displayName) {
-
 
51
		this.displayName = displayName;
-
 
52
	}
46
	@Override
53
	@Override
47
	public String toString() {
54
	public String toString() {
48
		return "CustomLineItem [brand=" + brand + ", modelName=" + modelName + ", modelNumber=" + modelNumber
55
		return "CustomLineItem [brand=" + brand + ", modelName=" + modelName + ", modelNumber=" + modelNumber
49
				+ ", color=" + color + ", quantity=" + quantity + ", unitPrice=" + unitPrice + "]";
56
				+ ", color=" + color + ", quantity=" + quantity + ", unitPrice=" + unitPrice + "]";
50
	}
57
	}