Subversion Repositories SmartDukaan

Rev

Rev 29345 | Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
23691 tejbeer 1
package com.spice.profitmandi.common.model;
2
 
3
import java.time.LocalDateTime;
4
import in.shop2020.model.v1.order.OrderStatus;
5
 
6
public class CustomOrder {		
7
	private Integer id;
8
	private LocalDateTime expectedDeliveryTime;
9
	private LocalDateTime promisedDeliveryTime;
10
	private String retailerName;
11
	private String retailerMobileNumber;
12
	private String retailerPinCode;
13
	private String retailerAddress1;
14
	private String retailerCity;
15
	private String retailerState;
16
	private OrderStatus status;
17
	private String statusDescription;
18
	private Float totalAmount;
19
	private Integer transactionId;
20
	private Float shippingRefund;
21
	private Integer itemId;
22
	private String productGoup;
23
	private String brand;
24
	private String modelNumber;
25
	private String modelName;
26
	private String color;
27
	private Integer quantity;
28
	private Float totalPrice;
29
	private String extraInfo;
30
	private Float shippingCost;
31
	private String imageUrl;
32
	private Boolean cancellable;
33
	public Boolean isCancellable() {
34
		return cancellable;
35
	}
36
	public void setCancellable(Boolean cancellable) {
37
		this.cancellable = cancellable;
38
	}
39
	public String getImageUrl() {
40
		return imageUrl;
41
	}
42
	public void setImageUrl(String imageUrl) {
43
		this.imageUrl = imageUrl;
44
	}
45
	private LocalDateTime deliveryTimestamp;
46
	public LocalDateTime getDeliveryTimestamp() {
47
		return deliveryTimestamp;
48
	}
49
	public void setDeliveryTimestamp(LocalDateTime deliveryTimestamp) {
50
		this.deliveryTimestamp = deliveryTimestamp;
51
	}
52
	public Float getShippingCost() {
53
		return shippingCost;
54
	}
55
	public void setShippingCost(Float shippingCost) {
56
		this.shippingCost = shippingCost;
57
	}
58
	public LocalDateTime getCreateTimestamp() {
59
		return createTimestamp;
60
	}
61
	public void setCreateTimestamp(LocalDateTime createTimestamp) {
62
		this.createTimestamp = createTimestamp;
63
	}
64
	private LocalDateTime createTimestamp;
65
	public Integer getId() {
66
		return id;
67
	}
68
	public void setId(Integer id) {
69
		this.id = id;
70
	}
71
	public LocalDateTime getExpectedDeliveryTime() {
72
		return expectedDeliveryTime;
73
	}
74
	public void setExpectedDeliveryTime(LocalDateTime expectedDeliveryTime) {
75
		this.expectedDeliveryTime = expectedDeliveryTime;
76
	}
77
	public LocalDateTime getPromisedDeliveryTime() {
78
		return promisedDeliveryTime;
79
	}
80
	public void setPromisedDeliveryTime(LocalDateTime promisedDeliveryTime) {
81
		this.promisedDeliveryTime = promisedDeliveryTime;
82
	}
83
	public String getRetailerName() {
84
		return retailerName;
85
	}
86
	public void setRetailerName(String retailerName) {
87
		this.retailerName = retailerName;
88
	}
89
	public String getRetailerMobileNumber() {
90
		return retailerMobileNumber;
91
	}
92
	public void setRetailerMobileNumber(String retailerMobileNumber) {
93
		this.retailerMobileNumber = retailerMobileNumber;
94
	}
95
	public String getRetailerPinCode() {
96
		return retailerPinCode;
97
	}
98
	public void setRetailerPinCode(String retailerPinCode) {
99
		this.retailerPinCode = retailerPinCode;
100
	}
101
	public String getRetailerAddress1() {
102
		return retailerAddress1;
103
	}
104
	public void setRetailerAddress1(String retailerAddress1) {
105
		this.retailerAddress1 = retailerAddress1;
106
	}
107
	public String getRetailerCity() {
108
		return retailerCity;
109
	}
110
	public void setRetailerCity(String retailerCity) {
111
		this.retailerCity = retailerCity;
112
	}
113
	public String getRetailerState() {
114
		return retailerState;
115
	}
116
	public void setRetailerState(String retailerState) {
117
		this.retailerState = retailerState;
118
	}
119
	public OrderStatus getStatus() {
120
		return status;
121
	}
122
	public void setStatus(OrderStatus status) {
123
		this.status = status;
124
	}
125
	public String getStatusDescription() {
126
		return statusDescription;
127
	}
128
	public void setStatusDescription(String statusDescription) {
129
		this.statusDescription = statusDescription;
130
	}
131
	public Float getTotalAmount() {
132
		return totalAmount;
133
	}
134
	public void setTotalAmount(Float totalAmount) {
135
		this.totalAmount = totalAmount;
136
	}
137
	public Integer getTransactionId() {
138
		return transactionId;
139
	}
140
	public void setTransactionId(Integer transactionId) {
141
		this.transactionId = transactionId;
142
	}
143
	public Float getShippingRefund() {
144
		return shippingRefund;
145
	}
146
	public void setShippingRefund(Float shippingRefund) {
147
		this.shippingRefund = shippingRefund;
148
	}
149
	public Integer getItemId() {
150
		return itemId;
151
	}
152
	public void setItemId(Integer itemId) {
153
		this.itemId = itemId;
154
	}
155
	public String getProductGoup() {
156
		return productGoup;
157
	}
158
	public void setProductGoup(String productGoup) {
159
		this.productGoup = productGoup;
160
	}
161
	public String getBrand() {
162
		return brand;
163
	}
164
	public void setBrand(String brand) {
165
		this.brand = brand;
166
	}
167
	public String getModelNumber() {
168
		return modelNumber;
169
	}
170
	public void setModelNumber(String modelNumber) {
171
		this.modelNumber = modelNumber;
172
	}
173
	public String getModelName() {
174
		return modelName;
175
	}
176
	public void setModelName(String modelName) {
177
		this.modelName = modelName;
178
	}
179
	public String getColor() {
180
		return color;
181
	}
182
	public void setColor(String color) {
183
		this.color = color;
184
	}
185
	public Integer getQuantity() {
186
		return quantity;
187
	}
188
	public void setQuantity(Integer quantity) {
189
		this.quantity = quantity;
190
	}
191
	public Float getTotalPrice() {
192
		return totalPrice;
193
	}
194
	public void setTotalPrice(Float totalPrice) {
195
		this.totalPrice = totalPrice;
196
	}
197
	public String getExtraInfo() {
198
		return extraInfo;
199
	}
200
	public void setExtraInfo(String extraInfo) {
201
		this.extraInfo = extraInfo;
202
	}
203
	@Override
204
	public String toString() {
205
		return "CustomOrder [id=" + id + ", expectedDeliveryTime=" + expectedDeliveryTime + ", promisedDeliveryTime="
206
				+ promisedDeliveryTime + ", retailerName=" + retailerName + ", retailerMobileNumber="
207
				+ retailerMobileNumber + ", retailerPinCode=" + retailerPinCode + ", retailerAddress1="
208
				+ retailerAddress1 + ", retailerCity=" + retailerCity + ", retailerState=" + retailerState + ", status="
209
				+ status + ", statusDescription=" + statusDescription + ", totalAmount=" + totalAmount
210
				+ ", transactionId=" + transactionId + ", shippingRefund=" + shippingRefund + ", itemId=" + itemId
211
				+ ", productGoup=" + productGoup + ", brand=" + brand + ", modelNumber=" + modelNumber + ", modelName="
212
				+ modelName + ", color=" + color + ", quantity=" + quantity + ", totalPrice=" + totalPrice
213
				+ ", extraInfo=" + extraInfo + ", shippingCost=" + shippingCost + ", imageUrl=" + imageUrl
214
				+ ", cancellable=" + cancellable + ", deliveryTimestamp=" + deliveryTimestamp + ", createTimestamp="
215
				+ createTimestamp + "]";
216
	}
217
 
218
 
219
 
220
 
221
 
222
}