Subversion Repositories SmartDukaan

Rev

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

Rev 23691 Rev 29345
Line 1... Line 1...
1
package com.spice.profitmandi.common.model;
1
package com.spice.profitmandi.common.model;
2
 
2
 
3
import java.time.LocalDateTime;
3
import java.time.LocalDateTime;
4
import in.shop2020.model.v1.order.OrderStatus;
4
import in.shop2020.model.v1.order.OrderStatus;
5
 
5
 
6
public class CustomOrder {		
6
public class CustomOrder {
7
	private Integer id;
7
	private Integer id;
8
	private LocalDateTime expectedDeliveryTime;
8
	private LocalDateTime expectedDeliveryTime;
9
	private LocalDateTime promisedDeliveryTime;
9
	private LocalDateTime promisedDeliveryTime;
10
	private String retailerName;
10
	private String retailerName;
11
	private String retailerMobileNumber;
11
	private String retailerMobileNumber;
Line 28... Line 28...
28
	private Float totalPrice;
28
	private Float totalPrice;
29
	private String extraInfo;
29
	private String extraInfo;
30
	private Float shippingCost;
30
	private Float shippingCost;
31
	private String imageUrl;
31
	private String imageUrl;
32
	private Boolean cancellable;
32
	private Boolean cancellable;
-
 
33
	private String providerName;
-
 
34
	private int providerId;
-
 
35
	private String airwayBillNo;
-
 
36
 
-
 
37
	public String getProviderName() {
-
 
38
		return providerName;
-
 
39
	}
-
 
40
 
-
 
41
	public void setProviderName(String providerName) {
-
 
42
		this.providerName = providerName;
-
 
43
	}
-
 
44
 
-
 
45
	public int getProviderId() {
-
 
46
		return providerId;
-
 
47
	}
-
 
48
 
-
 
49
	public void setProviderId(int proivderId) {
-
 
50
		this.providerId = proivderId;
-
 
51
	}
-
 
52
 
-
 
53
	public String getAirwayBillNo() {
-
 
54
		return airwayBillNo;
-
 
55
	}
-
 
56
 
-
 
57
	public void setAirwayBillNo(String airwayBillNo) {
-
 
58
		this.airwayBillNo = airwayBillNo;
-
 
59
	}
-
 
60
 
-
 
61
	public Boolean getCancellable() {
-
 
62
		return cancellable;
-
 
63
	}
-
 
64
 
33
	public Boolean isCancellable() {
65
	public Boolean isCancellable() {
34
		return cancellable;
66
		return cancellable;
35
	}
67
	}
-
 
68
 
36
	public void setCancellable(Boolean cancellable) {
69
	public void setCancellable(Boolean cancellable) {
37
		this.cancellable = cancellable;
70
		this.cancellable = cancellable;
38
	}
71
	}
-
 
72
 
39
	public String getImageUrl() {
73
	public String getImageUrl() {
40
		return imageUrl;
74
		return imageUrl;
41
	}
75
	}
-
 
76
 
42
	public void setImageUrl(String imageUrl) {
77
	public void setImageUrl(String imageUrl) {
43
		this.imageUrl = imageUrl;
78
		this.imageUrl = imageUrl;
44
	}
79
	}
-
 
80
 
45
	private LocalDateTime deliveryTimestamp;
81
	private LocalDateTime deliveryTimestamp;
-
 
82
 
46
	public LocalDateTime getDeliveryTimestamp() {
83
	public LocalDateTime getDeliveryTimestamp() {
47
		return deliveryTimestamp;
84
		return deliveryTimestamp;
48
	}
85
	}
-
 
86
 
49
	public void setDeliveryTimestamp(LocalDateTime deliveryTimestamp) {
87
	public void setDeliveryTimestamp(LocalDateTime deliveryTimestamp) {
50
		this.deliveryTimestamp = deliveryTimestamp;
88
		this.deliveryTimestamp = deliveryTimestamp;
51
	}
89
	}
-
 
90
 
52
	public Float getShippingCost() {
91
	public Float getShippingCost() {
53
		return shippingCost;
92
		return shippingCost;
54
	}
93
	}
-
 
94
 
55
	public void setShippingCost(Float shippingCost) {
95
	public void setShippingCost(Float shippingCost) {
56
		this.shippingCost = shippingCost;
96
		this.shippingCost = shippingCost;
57
	}
97
	}
-
 
98
 
58
	public LocalDateTime getCreateTimestamp() {
99
	public LocalDateTime getCreateTimestamp() {
59
		return createTimestamp;
100
		return createTimestamp;
60
	}
101
	}
-
 
102
 
61
	public void setCreateTimestamp(LocalDateTime createTimestamp) {
103
	public void setCreateTimestamp(LocalDateTime createTimestamp) {
62
		this.createTimestamp = createTimestamp;
104
		this.createTimestamp = createTimestamp;
63
	}
105
	}
-
 
106
 
64
	private LocalDateTime createTimestamp;
107
	private LocalDateTime createTimestamp;
-
 
108
 
65
	public Integer getId() {
109
	public Integer getId() {
66
		return id;
110
		return id;
67
	}
111
	}
-
 
112
 
68
	public void setId(Integer id) {
113
	public void setId(Integer id) {
69
		this.id = id;
114
		this.id = id;
70
	}
115
	}
-
 
116
 
71
	public LocalDateTime getExpectedDeliveryTime() {
117
	public LocalDateTime getExpectedDeliveryTime() {
72
		return expectedDeliveryTime;
118
		return expectedDeliveryTime;
73
	}
119
	}
-
 
120
 
74
	public void setExpectedDeliveryTime(LocalDateTime expectedDeliveryTime) {
121
	public void setExpectedDeliveryTime(LocalDateTime expectedDeliveryTime) {
75
		this.expectedDeliveryTime = expectedDeliveryTime;
122
		this.expectedDeliveryTime = expectedDeliveryTime;
76
	}
123
	}
-
 
124
 
77
	public LocalDateTime getPromisedDeliveryTime() {
125
	public LocalDateTime getPromisedDeliveryTime() {
78
		return promisedDeliveryTime;
126
		return promisedDeliveryTime;
79
	}
127
	}
-
 
128
 
80
	public void setPromisedDeliveryTime(LocalDateTime promisedDeliveryTime) {
129
	public void setPromisedDeliveryTime(LocalDateTime promisedDeliveryTime) {
81
		this.promisedDeliveryTime = promisedDeliveryTime;
130
		this.promisedDeliveryTime = promisedDeliveryTime;
82
	}
131
	}
-
 
132
 
83
	public String getRetailerName() {
133
	public String getRetailerName() {
84
		return retailerName;
134
		return retailerName;
85
	}
135
	}
-
 
136
 
86
	public void setRetailerName(String retailerName) {
137
	public void setRetailerName(String retailerName) {
87
		this.retailerName = retailerName;
138
		this.retailerName = retailerName;
88
	}
139
	}
-
 
140
 
89
	public String getRetailerMobileNumber() {
141
	public String getRetailerMobileNumber() {
90
		return retailerMobileNumber;
142
		return retailerMobileNumber;
91
	}
143
	}
-
 
144
 
92
	public void setRetailerMobileNumber(String retailerMobileNumber) {
145
	public void setRetailerMobileNumber(String retailerMobileNumber) {
93
		this.retailerMobileNumber = retailerMobileNumber;
146
		this.retailerMobileNumber = retailerMobileNumber;
94
	}
147
	}
-
 
148
 
95
	public String getRetailerPinCode() {
149
	public String getRetailerPinCode() {
96
		return retailerPinCode;
150
		return retailerPinCode;
97
	}
151
	}
-
 
152
 
98
	public void setRetailerPinCode(String retailerPinCode) {
153
	public void setRetailerPinCode(String retailerPinCode) {
99
		this.retailerPinCode = retailerPinCode;
154
		this.retailerPinCode = retailerPinCode;
100
	}
155
	}
-
 
156
 
101
	public String getRetailerAddress1() {
157
	public String getRetailerAddress1() {
102
		return retailerAddress1;
158
		return retailerAddress1;
103
	}
159
	}
-
 
160
 
104
	public void setRetailerAddress1(String retailerAddress1) {
161
	public void setRetailerAddress1(String retailerAddress1) {
105
		this.retailerAddress1 = retailerAddress1;
162
		this.retailerAddress1 = retailerAddress1;
106
	}
163
	}
-
 
164
 
107
	public String getRetailerCity() {
165
	public String getRetailerCity() {
108
		return retailerCity;
166
		return retailerCity;
109
	}
167
	}
-
 
168
 
110
	public void setRetailerCity(String retailerCity) {
169
	public void setRetailerCity(String retailerCity) {
111
		this.retailerCity = retailerCity;
170
		this.retailerCity = retailerCity;
112
	}
171
	}
-
 
172
 
113
	public String getRetailerState() {
173
	public String getRetailerState() {
114
		return retailerState;
174
		return retailerState;
115
	}
175
	}
-
 
176
 
116
	public void setRetailerState(String retailerState) {
177
	public void setRetailerState(String retailerState) {
117
		this.retailerState = retailerState;
178
		this.retailerState = retailerState;
118
	}
179
	}
-
 
180
 
119
	public OrderStatus getStatus() {
181
	public OrderStatus getStatus() {
120
		return status;
182
		return status;
121
	}
183
	}
-
 
184
 
122
	public void setStatus(OrderStatus status) {
185
	public void setStatus(OrderStatus status) {
123
		this.status = status;
186
		this.status = status;
124
	}
187
	}
-
 
188
 
125
	public String getStatusDescription() {
189
	public String getStatusDescription() {
126
		return statusDescription;
190
		return statusDescription;
127
	}
191
	}
-
 
192
 
128
	public void setStatusDescription(String statusDescription) {
193
	public void setStatusDescription(String statusDescription) {
129
		this.statusDescription = statusDescription;
194
		this.statusDescription = statusDescription;
130
	}
195
	}
-
 
196
 
131
	public Float getTotalAmount() {
197
	public Float getTotalAmount() {
132
		return totalAmount;
198
		return totalAmount;
133
	}
199
	}
-
 
200
 
134
	public void setTotalAmount(Float totalAmount) {
201
	public void setTotalAmount(Float totalAmount) {
135
		this.totalAmount = totalAmount;
202
		this.totalAmount = totalAmount;
136
	}
203
	}
-
 
204
 
137
	public Integer getTransactionId() {
205
	public Integer getTransactionId() {
138
		return transactionId;
206
		return transactionId;
139
	}
207
	}
-
 
208
 
140
	public void setTransactionId(Integer transactionId) {
209
	public void setTransactionId(Integer transactionId) {
141
		this.transactionId = transactionId;
210
		this.transactionId = transactionId;
142
	}
211
	}
-
 
212
 
143
	public Float getShippingRefund() {
213
	public Float getShippingRefund() {
144
		return shippingRefund;
214
		return shippingRefund;
145
	}
215
	}
-
 
216
 
146
	public void setShippingRefund(Float shippingRefund) {
217
	public void setShippingRefund(Float shippingRefund) {
147
		this.shippingRefund = shippingRefund;
218
		this.shippingRefund = shippingRefund;
148
	}
219
	}
-
 
220
 
149
	public Integer getItemId() {
221
	public Integer getItemId() {
150
		return itemId;
222
		return itemId;
151
	}
223
	}
-
 
224
 
152
	public void setItemId(Integer itemId) {
225
	public void setItemId(Integer itemId) {
153
		this.itemId = itemId;
226
		this.itemId = itemId;
154
	}
227
	}
-
 
228
 
155
	public String getProductGoup() {
229
	public String getProductGoup() {
156
		return productGoup;
230
		return productGoup;
157
	}
231
	}
-
 
232
 
158
	public void setProductGoup(String productGoup) {
233
	public void setProductGoup(String productGoup) {
159
		this.productGoup = productGoup;
234
		this.productGoup = productGoup;
160
	}
235
	}
-
 
236
 
161
	public String getBrand() {
237
	public String getBrand() {
162
		return brand;
238
		return brand;
163
	}
239
	}
-
 
240
 
164
	public void setBrand(String brand) {
241
	public void setBrand(String brand) {
165
		this.brand = brand;
242
		this.brand = brand;
166
	}
243
	}
-
 
244
 
167
	public String getModelNumber() {
245
	public String getModelNumber() {
168
		return modelNumber;
246
		return modelNumber;
169
	}
247
	}
-
 
248
 
170
	public void setModelNumber(String modelNumber) {
249
	public void setModelNumber(String modelNumber) {
171
		this.modelNumber = modelNumber;
250
		this.modelNumber = modelNumber;
172
	}
251
	}
-
 
252
 
173
	public String getModelName() {
253
	public String getModelName() {
174
		return modelName;
254
		return modelName;
175
	}
255
	}
-
 
256
 
176
	public void setModelName(String modelName) {
257
	public void setModelName(String modelName) {
177
		this.modelName = modelName;
258
		this.modelName = modelName;
178
	}
259
	}
-
 
260
 
179
	public String getColor() {
261
	public String getColor() {
180
		return color;
262
		return color;
181
	}
263
	}
-
 
264
 
182
	public void setColor(String color) {
265
	public void setColor(String color) {
183
		this.color = color;
266
		this.color = color;
184
	}
267
	}
-
 
268
 
185
	public Integer getQuantity() {
269
	public Integer getQuantity() {
186
		return quantity;
270
		return quantity;
187
	}
271
	}
-
 
272
 
188
	public void setQuantity(Integer quantity) {
273
	public void setQuantity(Integer quantity) {
189
		this.quantity = quantity;
274
		this.quantity = quantity;
190
	}
275
	}
-
 
276
 
191
	public Float getTotalPrice() {
277
	public Float getTotalPrice() {
192
		return totalPrice;
278
		return totalPrice;
193
	}
279
	}
-
 
280
 
194
	public void setTotalPrice(Float totalPrice) {
281
	public void setTotalPrice(Float totalPrice) {
195
		this.totalPrice = totalPrice;
282
		this.totalPrice = totalPrice;
196
	}
283
	}
-
 
284
 
197
	public String getExtraInfo() {
285
	public String getExtraInfo() {
198
		return extraInfo;
286
		return extraInfo;
199
	}
287
	}
-
 
288
 
200
	public void setExtraInfo(String extraInfo) {
289
	public void setExtraInfo(String extraInfo) {
201
		this.extraInfo = extraInfo;
290
		this.extraInfo = extraInfo;
202
	}
291
	}
-
 
292
 
203
	@Override
293
	@Override
204
	public String toString() {
294
	public String toString() {
205
		return "CustomOrder [id=" + id + ", expectedDeliveryTime=" + expectedDeliveryTime + ", promisedDeliveryTime="
295
		return "CustomOrder [id=" + id + ", expectedDeliveryTime=" + expectedDeliveryTime + ", promisedDeliveryTime="
206
				+ promisedDeliveryTime + ", retailerName=" + retailerName + ", retailerMobileNumber="
296
				+ promisedDeliveryTime + ", retailerName=" + retailerName + ", retailerMobileNumber="
207
				+ retailerMobileNumber + ", retailerPinCode=" + retailerPinCode + ", retailerAddress1="
297
				+ retailerMobileNumber + ", retailerPinCode=" + retailerPinCode + ", retailerAddress1="
Line 209... Line 299...
209
				+ status + ", statusDescription=" + statusDescription + ", totalAmount=" + totalAmount
299
				+ status + ", statusDescription=" + statusDescription + ", totalAmount=" + totalAmount
210
				+ ", transactionId=" + transactionId + ", shippingRefund=" + shippingRefund + ", itemId=" + itemId
300
				+ ", transactionId=" + transactionId + ", shippingRefund=" + shippingRefund + ", itemId=" + itemId
211
				+ ", productGoup=" + productGoup + ", brand=" + brand + ", modelNumber=" + modelNumber + ", modelName="
301
				+ ", productGoup=" + productGoup + ", brand=" + brand + ", modelNumber=" + modelNumber + ", modelName="
212
				+ modelName + ", color=" + color + ", quantity=" + quantity + ", totalPrice=" + totalPrice
302
				+ modelName + ", color=" + color + ", quantity=" + quantity + ", totalPrice=" + totalPrice
213
				+ ", extraInfo=" + extraInfo + ", shippingCost=" + shippingCost + ", imageUrl=" + imageUrl
303
				+ ", extraInfo=" + extraInfo + ", shippingCost=" + shippingCost + ", imageUrl=" + imageUrl
-
 
304
				+ ", cancellable=" + cancellable + ", providerName=" + providerName + ", proivderId=" + providerId
214
				+ ", cancellable=" + cancellable + ", deliveryTimestamp=" + deliveryTimestamp + ", createTimestamp="
305
				+ ", airwayBillNo=" + airwayBillNo + ", deliveryTimestamp=" + deliveryTimestamp + ", createTimestamp="
215
				+ createTimestamp + "]";
306
				+ createTimestamp + "]";
216
	}
307
	}
217
	
-
 
218
 
308
 
219
	
-
 
220
	
-
 
221
	
-
 
222
}
309
}
223
310