Subversion Repositories SmartDukaan

Rev

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

Rev 21543 Rev 21759
Line 8... Line 8...
8
	private double totalAmount;
8
	private double totalAmount;
9
	private ShippingAddress shippingAddress;
9
	private ShippingAddress shippingAddress;
10
	private float shippingCost;
10
	private float shippingCost;
11
	private ShippedOrder shipped;
11
	private ShippedOrder shipped;
12
	private UnshippedOrder unshipped;
12
	private UnshippedOrder unshipped;
-
 
13
	private LocalDateTime promisedDelivery;
13
	public int getId() {
14
	public int getId() {
14
		return id;
15
		return id;
15
	}
16
	}
16
	public void setId(int id) {
17
	public void setId(int id) {
17
		this.id = id;
18
		this.id = id;
Line 36... Line 37...
36
	}
37
	}
37
	public float getShippingCost() {
38
	public float getShippingCost() {
38
		return shippingCost;
39
		return shippingCost;
39
	}
40
	}
40
	public void setShippingCost(float shippingCost) {
41
	public void setShippingCost(float shippingCost) {
41
		this.shippingCost = shippingCost;
-
 
42
	}
42
	}
43
	public ShippedOrder getShipped() {
43
	public ShippedOrder getShipped() {
44
		return shipped;
44
		return shipped;
45
	}
45
	}
46
	public void setShipped(ShippedOrder shipped) {
46
	public void setShipped(ShippedOrder shipped) {
Line 67... Line 67...
67
	}
67
	}
68
	@Override
68
	@Override
69
	public String toString() {
69
	public String toString() {
70
		return "CustomTransaction [id=" + id + ", createTimestamp=" + createTimestamp + ", totalAmount=" + totalAmount
70
		return "CustomTransaction [id=" + id + ", createTimestamp=" + createTimestamp + ", totalAmount=" + totalAmount
71
				+ ", shippingAddress=" + shippingAddress + ", shippingCost=" + shippingCost + ", shipped=" + shipped
71
				+ ", shippingAddress=" + shippingAddress + ", shippingCost=" + shippingCost + ", shipped=" + shipped
72
				+ ", unshipped=" + unshipped + "]";
72
				+ ", unshipped=" + unshipped + ", promisedDelivery=" + promisedDelivery + "]";
73
	}
73
	}
-
 
74
	public LocalDateTime getPromisedDelivery() {
-
 
75
		return promisedDelivery;
-
 
76
	}
-
 
77
	public void setPromisedDelivery(LocalDateTime promisedDelivery) {
-
 
78
		this.promisedDelivery = promisedDelivery;
-
 
79
	}
-
 
80
	
74
	
81
	
75
	
82
	
76
	
83
	
77
}
84
}