Subversion Repositories SmartDukaan

Rev

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

Rev 7190 Rev 7422
Line 66... Line 66...
66
	private boolean hasItemNumber;
66
	private boolean hasItemNumber;
67
	private long fulfilmentWarehouseId;
67
	private long fulfilmentWarehouseId;
68
	private boolean serialized;
68
	private boolean serialized;
69
	private OrderAlert alert;
69
	private OrderAlert alert;
70
	
70
	
-
 
71
	private String source;
-
 
72
	
71
	@SuppressWarnings("unused")
73
	@SuppressWarnings("unused")
72
	private Order(){}
74
	private Order(){}
73
 
75
 
74
	public Order(long orderId, long customerId, String customerName,
76
	public Order(long orderId, long customerId, String customerName,
75
			String customerMobileNumber, String customerPincode,
77
			String customerMobileNumber, String customerPincode,
Line 85... Line 87...
85
			String modelNumber, String color, String extraInfo, String dealText, double quantity,
87
			String modelNumber, String color, String extraInfo, String dealText, double quantity,
86
			double totalAmount,	double totalWeight, String airwayBillNo, String billedBy,
88
			double totalAmount,	double totalWeight, String airwayBillNo, String billedBy,
87
			String invoiceNumber, long jacketNumber, String itemNumber,
89
			String invoiceNumber, long jacketNumber, String itemNumber,
88
			String serialNumber, long batchNo, long serialNo,
90
			String serialNumber, long batchNo, long serialNo,
89
			boolean doaFlag, String pickupRequestNo, boolean cod, String delayReason,
91
			boolean doaFlag, String pickupRequestNo, boolean cod, String delayReason,
90
			String pickFromWarehouse, boolean serialized, boolean hasItemNumber, long fulfilmentWarehouseId, long pickupStoreId, long freebieItemId) {
92
			String pickFromWarehouse, boolean serialized, boolean hasItemNumber, long fulfilmentWarehouseId, long pickupStoreId, long freebieItemId, String source) {
91
		super();
93
		super();
92
		this.orderId = orderId;
94
		this.orderId = orderId;
93
		this.customerId = customerId;
95
		this.customerId = customerId;
94
		this.customerName = customerName;
96
		this.customerName = customerName;
95
		this.customerMobileNumber = customerMobileNumber;
97
		this.customerMobileNumber = customerMobileNumber;
Line 136... Line 138...
136
		this.serialized = serialized;
138
		this.serialized = serialized;
137
		this.hasItemNumber = hasItemNumber;
139
		this.hasItemNumber = hasItemNumber;
138
		this.fulfilmentWarehouseId = fulfilmentWarehouseId;
140
		this.fulfilmentWarehouseId = fulfilmentWarehouseId;
139
		this.setPickupStoreId(pickupStoreId);
141
		this.setPickupStoreId(pickupStoreId);
140
		this.freebieItemId = freebieItemId;
142
		this.freebieItemId = freebieItemId;
-
 
143
		this.source = source;
141
		checkForAlerts();
144
		checkForAlerts();
142
	}
145
	}
143
 
146
 
144
	private void checkForAlerts(){
147
	private void checkForAlerts(){
145
	    this.alert = OrderAlert.NONE;
148
	    this.alert = OrderAlert.NONE;
Line 550... Line 553...
550
 
553
 
551
	public void setFreebieItemId(long freebieItemId) {
554
	public void setFreebieItemId(long freebieItemId) {
552
		this.freebieItemId = freebieItemId;
555
		this.freebieItemId = freebieItemId;
553
	}
556
	}
554
 
557
 
-
 
558
	public String getSource(){
-
 
559
		return this.source;
-
 
560
	}
-
 
561
	
555
}
562
}