Subversion Repositories SmartDukaan

Rev

Rev 6903 | Rev 7293 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
483 rajveer 1
/**
3430 rajveer 2
 * Autogenerated by Thrift Compiler (0.7.0)
483 rajveer 3
 *
4
 * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
5
 */
6
package in.shop2020.model.v1.order;
7
 
8
import java.util.List;
9
import java.util.ArrayList;
10
import java.util.Map;
11
import java.util.HashMap;
12
import java.util.EnumMap;
13
import java.util.Set;
14
import java.util.HashSet;
15
import java.util.EnumSet;
16
import java.util.Collections;
17
import java.util.BitSet;
3430 rajveer 18
import java.nio.ByteBuffer;
483 rajveer 19
import java.util.Arrays;
20
import org.slf4j.Logger;
21
import org.slf4j.LoggerFactory;
22
 
3430 rajveer 23
public class Order implements org.apache.thrift.TBase<Order, Order._Fields>, java.io.Serializable, Cloneable {
24
  private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("Order");
483 rajveer 25
 
3430 rajveer 26
  private static final org.apache.thrift.protocol.TField ID_FIELD_DESC = new org.apache.thrift.protocol.TField("id", org.apache.thrift.protocol.TType.I64, (short)1);
27
  private static final org.apache.thrift.protocol.TField WAREHOUSE_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("warehouse_id", org.apache.thrift.protocol.TType.I64, (short)2);
28
  private static final org.apache.thrift.protocol.TField LINEITEMS_FIELD_DESC = new org.apache.thrift.protocol.TField("lineitems", org.apache.thrift.protocol.TType.LIST, (short)3);
29
  private static final org.apache.thrift.protocol.TField LOGISTICS_PROVIDER_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("logistics_provider_id", org.apache.thrift.protocol.TType.I64, (short)4);
30
  private static final org.apache.thrift.protocol.TField AIRWAYBILL_NO_FIELD_DESC = new org.apache.thrift.protocol.TField("airwaybill_no", org.apache.thrift.protocol.TType.STRING, (short)5);
31
  private static final org.apache.thrift.protocol.TField TRACKING_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("tracking_id", org.apache.thrift.protocol.TType.STRING, (short)6);
32
  private static final org.apache.thrift.protocol.TField EXPECTED_DELIVERY_TIME_FIELD_DESC = new org.apache.thrift.protocol.TField("expected_delivery_time", org.apache.thrift.protocol.TType.I64, (short)7);
33
  private static final org.apache.thrift.protocol.TField CUSTOMER_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("customer_id", org.apache.thrift.protocol.TType.I64, (short)8);
34
  private static final org.apache.thrift.protocol.TField CUSTOMER_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("customer_name", org.apache.thrift.protocol.TType.STRING, (short)9);
35
  private static final org.apache.thrift.protocol.TField CUSTOMER_MOBILENUMBER_FIELD_DESC = new org.apache.thrift.protocol.TField("customer_mobilenumber", org.apache.thrift.protocol.TType.STRING, (short)10);
36
  private static final org.apache.thrift.protocol.TField CUSTOMER_PINCODE_FIELD_DESC = new org.apache.thrift.protocol.TField("customer_pincode", org.apache.thrift.protocol.TType.STRING, (short)11);
37
  private static final org.apache.thrift.protocol.TField CUSTOMER_ADDRESS1_FIELD_DESC = new org.apache.thrift.protocol.TField("customer_address1", org.apache.thrift.protocol.TType.STRING, (short)12);
38
  private static final org.apache.thrift.protocol.TField CUSTOMER_ADDRESS2_FIELD_DESC = new org.apache.thrift.protocol.TField("customer_address2", org.apache.thrift.protocol.TType.STRING, (short)13);
39
  private static final org.apache.thrift.protocol.TField CUSTOMER_EMAIL_FIELD_DESC = new org.apache.thrift.protocol.TField("customer_email", org.apache.thrift.protocol.TType.STRING, (short)14);
40
  private static final org.apache.thrift.protocol.TField CUSTOMER_CITY_FIELD_DESC = new org.apache.thrift.protocol.TField("customer_city", org.apache.thrift.protocol.TType.STRING, (short)15);
41
  private static final org.apache.thrift.protocol.TField CUSTOMER_STATE_FIELD_DESC = new org.apache.thrift.protocol.TField("customer_state", org.apache.thrift.protocol.TType.STRING, (short)16);
42
  private static final org.apache.thrift.protocol.TField STATUS_FIELD_DESC = new org.apache.thrift.protocol.TField("status", org.apache.thrift.protocol.TType.I32, (short)17);
43
  private static final org.apache.thrift.protocol.TField STATUS_DESCRIPTION_FIELD_DESC = new org.apache.thrift.protocol.TField("statusDescription", org.apache.thrift.protocol.TType.STRING, (short)18);
44
  private static final org.apache.thrift.protocol.TField TOTAL_AMOUNT_FIELD_DESC = new org.apache.thrift.protocol.TField("total_amount", org.apache.thrift.protocol.TType.DOUBLE, (short)19);
45
  private static final org.apache.thrift.protocol.TField TOTAL_WEIGHT_FIELD_DESC = new org.apache.thrift.protocol.TField("total_weight", org.apache.thrift.protocol.TType.DOUBLE, (short)20);
46
  private static final org.apache.thrift.protocol.TField INVOICE_NUMBER_FIELD_DESC = new org.apache.thrift.protocol.TField("invoice_number", org.apache.thrift.protocol.TType.STRING, (short)21);
47
  private static final org.apache.thrift.protocol.TField BILLED_BY_FIELD_DESC = new org.apache.thrift.protocol.TField("billed_by", org.apache.thrift.protocol.TType.STRING, (short)22);
48
  private static final org.apache.thrift.protocol.TField CREATED_TIMESTAMP_FIELD_DESC = new org.apache.thrift.protocol.TField("created_timestamp", org.apache.thrift.protocol.TType.I64, (short)23);
49
  private static final org.apache.thrift.protocol.TField ACCEPTED_TIMESTAMP_FIELD_DESC = new org.apache.thrift.protocol.TField("accepted_timestamp", org.apache.thrift.protocol.TType.I64, (short)24);
50
  private static final org.apache.thrift.protocol.TField BILLING_TIMESTAMP_FIELD_DESC = new org.apache.thrift.protocol.TField("billing_timestamp", org.apache.thrift.protocol.TType.I64, (short)25);
51
  private static final org.apache.thrift.protocol.TField SHIPPING_TIMESTAMP_FIELD_DESC = new org.apache.thrift.protocol.TField("shipping_timestamp", org.apache.thrift.protocol.TType.I64, (short)26);
52
  private static final org.apache.thrift.protocol.TField PICKUP_TIMESTAMP_FIELD_DESC = new org.apache.thrift.protocol.TField("pickup_timestamp", org.apache.thrift.protocol.TType.I64, (short)27);
53
  private static final org.apache.thrift.protocol.TField DELIVERY_TIMESTAMP_FIELD_DESC = new org.apache.thrift.protocol.TField("delivery_timestamp", org.apache.thrift.protocol.TType.I64, (short)28);
54
  private static final org.apache.thrift.protocol.TField OUTOFSTOCK_TIMESTAMP_FIELD_DESC = new org.apache.thrift.protocol.TField("outofstock_timestamp", org.apache.thrift.protocol.TType.I64, (short)29);
55
  private static final org.apache.thrift.protocol.TField JACKET_NUMBER_FIELD_DESC = new org.apache.thrift.protocol.TField("jacket_number", org.apache.thrift.protocol.TType.I64, (short)30);
56
  private static final org.apache.thrift.protocol.TField RECEIVER_FIELD_DESC = new org.apache.thrift.protocol.TField("receiver", org.apache.thrift.protocol.TType.STRING, (short)31);
57
  private static final org.apache.thrift.protocol.TField BATCH_NO_FIELD_DESC = new org.apache.thrift.protocol.TField("batchNo", org.apache.thrift.protocol.TType.I64, (short)32);
58
  private static final org.apache.thrift.protocol.TField SERIAL_NO_FIELD_DESC = new org.apache.thrift.protocol.TField("serialNo", org.apache.thrift.protocol.TType.I64, (short)33);
59
  private static final org.apache.thrift.protocol.TField DOA_FLAG_FIELD_DESC = new org.apache.thrift.protocol.TField("doaFlag", org.apache.thrift.protocol.TType.BOOL, (short)34);
60
  private static final org.apache.thrift.protocol.TField PICKUP_REQUEST_NO_FIELD_DESC = new org.apache.thrift.protocol.TField("pickupRequestNo", org.apache.thrift.protocol.TType.STRING, (short)35);
61
  private static final org.apache.thrift.protocol.TField TRANSACTION_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("transactionId", org.apache.thrift.protocol.TType.I64, (short)36);
62
  private static final org.apache.thrift.protocol.TField PURCHASE_ORDER_NO_FIELD_DESC = new org.apache.thrift.protocol.TField("purchaseOrderNo", org.apache.thrift.protocol.TType.STRING, (short)37);
63
  private static final org.apache.thrift.protocol.TField COD_FIELD_DESC = new org.apache.thrift.protocol.TField("cod", org.apache.thrift.protocol.TType.BOOL, (short)38);
3553 chandransh 64
  private static final org.apache.thrift.protocol.TField DELAY_REASON_FIELD_DESC = new org.apache.thrift.protocol.TField("delayReason", org.apache.thrift.protocol.TType.I32, (short)39);
3986 chandransh 65
  private static final org.apache.thrift.protocol.TField PROMISED_DELIVERY_TIME_FIELD_DESC = new org.apache.thrift.protocol.TField("promised_delivery_time", org.apache.thrift.protocol.TType.I64, (short)40);
4004 chandransh 66
  private static final org.apache.thrift.protocol.TField EXPECTED_SHIPPING_TIME_FIELD_DESC = new org.apache.thrift.protocol.TField("expected_shipping_time", org.apache.thrift.protocol.TType.I64, (short)41);
67
  private static final org.apache.thrift.protocol.TField VERIFICATION_TIMESTAMP_FIELD_DESC = new org.apache.thrift.protocol.TField("verification_timestamp", org.apache.thrift.protocol.TType.I64, (short)42);
4102 chandransh 68
  private static final org.apache.thrift.protocol.TField PROMISED_SHIPPING_TIME_FIELD_DESC = new org.apache.thrift.protocol.TField("promised_shipping_time", org.apache.thrift.protocol.TType.I64, (short)43);
4192 anupam.sin 69
  private static final org.apache.thrift.protocol.TField RESHIP_TIMESTAMP_FIELD_DESC = new org.apache.thrift.protocol.TField("reship_timestamp", org.apache.thrift.protocol.TType.I64, (short)44);
70
  private static final org.apache.thrift.protocol.TField REFUND_TIMESTAMP_FIELD_DESC = new org.apache.thrift.protocol.TField("refund_timestamp", org.apache.thrift.protocol.TType.I64, (short)45);
71
  private static final org.apache.thrift.protocol.TField NEW_ORDER_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("new_order_id", org.apache.thrift.protocol.TType.I64, (short)46);
4246 rajveer 72
  private static final org.apache.thrift.protocol.TField PREVIOUS_STATUS_FIELD_DESC = new org.apache.thrift.protocol.TField("previousStatus", org.apache.thrift.protocol.TType.I32, (short)47);
4269 anupam.sin 73
  private static final org.apache.thrift.protocol.TField VENDOR_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("vendorId", org.apache.thrift.protocol.TType.I64, (short)48);
4506 phani.kuma 74
  private static final org.apache.thrift.protocol.TField DOA_AUTH_TIMESTAMP_FIELD_DESC = new org.apache.thrift.protocol.TField("doa_auth_timestamp", org.apache.thrift.protocol.TType.I64, (short)49);
4647 rajveer 75
  private static final org.apache.thrift.protocol.TField DELAY_REASON_TEXT_FIELD_DESC = new org.apache.thrift.protocol.TField("delayReasonText", org.apache.thrift.protocol.TType.STRING, (short)50);
4709 rajveer 76
  private static final org.apache.thrift.protocol.TField REFUND_REASON_FIELD_DESC = new org.apache.thrift.protocol.TField("refundReason", org.apache.thrift.protocol.TType.STRING, (short)51);
4758 mandeep.dh 77
  private static final org.apache.thrift.protocol.TField PURCHASE_ORDER_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("purchaseOrderId", org.apache.thrift.protocol.TType.I64, (short)52);
4815 phani.kuma 78
  private static final org.apache.thrift.protocol.TField DOA_LOGISTICS_PROVIDER_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("doa_logistics_provider_id", org.apache.thrift.protocol.TType.I64, (short)53);
5062 varun.gupt 79
  private static final org.apache.thrift.protocol.TField ORIGINAL_ORDER_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("originalOrderId", org.apache.thrift.protocol.TType.I64, (short)54);
5110 mandeep.dh 80
  private static final org.apache.thrift.protocol.TField FULFILMENT_WAREHOUSE_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("fulfilmentWarehouseId", org.apache.thrift.protocol.TType.I64, (short)55);
5189 varun.gupt 81
  private static final org.apache.thrift.protocol.TField VENDOR_PAID_FIELD_DESC = new org.apache.thrift.protocol.TField("vendorPaid", org.apache.thrift.protocol.TType.BOOL, (short)56);
5354 anupam.sin 82
  private static final org.apache.thrift.protocol.TField RECEIVED_RETURN_TIMESTAMP_FIELD_DESC = new org.apache.thrift.protocol.TField("received_return_timestamp", org.apache.thrift.protocol.TType.I64, (short)57);
83
  private static final org.apache.thrift.protocol.TField FIRST_ATTEMPT_TIMESTAMP_FIELD_DESC = new org.apache.thrift.protocol.TField("first_attempt_timestamp", org.apache.thrift.protocol.TType.I64, (short)58);
5527 anupam.sin 84
  private static final org.apache.thrift.protocol.TField ORDER_TYPE_FIELD_DESC = new org.apache.thrift.protocol.TField("orderType", org.apache.thrift.protocol.TType.I32, (short)59);
5553 rajveer 85
  private static final org.apache.thrift.protocol.TField PICKUP_STORE_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("pickupStoreId", org.apache.thrift.protocol.TType.I64, (short)60);
86
  private static final org.apache.thrift.protocol.TField LOGISTICS_COD_FIELD_DESC = new org.apache.thrift.protocol.TField("logisticsCod", org.apache.thrift.protocol.TType.BOOL, (short)61);
6319 rajveer 87
  private static final org.apache.thrift.protocol.TField GV_AMOUNT_FIELD_DESC = new org.apache.thrift.protocol.TField("gvAmount", org.apache.thrift.protocol.TType.I64, (short)62);
6525 rajveer 88
  private static final org.apache.thrift.protocol.TField OTG_FIELD_DESC = new org.apache.thrift.protocol.TField("otg", org.apache.thrift.protocol.TType.BOOL, (short)63);
6726 rajveer 89
  private static final org.apache.thrift.protocol.TField COURIER_DELIVERY_TIME_FIELD_DESC = new org.apache.thrift.protocol.TField("courier_delivery_time", org.apache.thrift.protocol.TType.I64, (short)64);
6903 anupam.sin 90
  private static final org.apache.thrift.protocol.TField INSURER_FIELD_DESC = new org.apache.thrift.protocol.TField("insurer", org.apache.thrift.protocol.TType.I64, (short)65);
91
  private static final org.apache.thrift.protocol.TField INSURANCE_AMOUNT_FIELD_DESC = new org.apache.thrift.protocol.TField("insuranceAmount", org.apache.thrift.protocol.TType.DOUBLE, (short)66);
92
  private static final org.apache.thrift.protocol.TField DOB_FIELD_DESC = new org.apache.thrift.protocol.TField("dob", org.apache.thrift.protocol.TType.STRING, (short)67);
93
  private static final org.apache.thrift.protocol.TField GUARDIAN_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("guardianName", org.apache.thrift.protocol.TType.STRING, (short)68);
7190 amar.kumar 94
  private static final org.apache.thrift.protocol.TField FREEBIE_ITEM_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("freebieItemId", org.apache.thrift.protocol.TType.I64, (short)69);
483 rajveer 95
 
3430 rajveer 96
  private long id; // required
97
  private long warehouse_id; // required
98
  private List<LineItem> lineitems; // required
99
  private long logistics_provider_id; // required
100
  private String airwaybill_no; // required
101
  private String tracking_id; // required
102
  private long expected_delivery_time; // required
103
  private long customer_id; // required
104
  private String customer_name; // required
105
  private String customer_mobilenumber; // required
106
  private String customer_pincode; // required
107
  private String customer_address1; // required
108
  private String customer_address2; // required
109
  private String customer_email; // required
110
  private String customer_city; // required
111
  private String customer_state; // required
112
  private OrderStatus status; // required
113
  private String statusDescription; // required
114
  private double total_amount; // required
115
  private double total_weight; // required
116
  private String invoice_number; // required
117
  private String billed_by; // required
118
  private long created_timestamp; // required
119
  private long accepted_timestamp; // required
120
  private long billing_timestamp; // required
121
  private long shipping_timestamp; // required
122
  private long pickup_timestamp; // required
123
  private long delivery_timestamp; // required
124
  private long outofstock_timestamp; // required
125
  private long jacket_number; // required
126
  private String receiver; // required
127
  private long batchNo; // required
128
  private long serialNo; // required
129
  private boolean doaFlag; // required
130
  private String pickupRequestNo; // required
131
  private long transactionId; // required
132
  private String purchaseOrderNo; // required
133
  private boolean cod; // required
3553 chandransh 134
  private DelayReason delayReason; // required
3986 chandransh 135
  private long promised_delivery_time; // required
4004 chandransh 136
  private long expected_shipping_time; // required
137
  private long verification_timestamp; // required
4102 chandransh 138
  private long promised_shipping_time; // required
4192 anupam.sin 139
  private long reship_timestamp; // required
140
  private long refund_timestamp; // required
141
  private long new_order_id; // required
4246 rajveer 142
  private OrderStatus previousStatus; // required
4269 anupam.sin 143
  private long vendorId; // required
4506 phani.kuma 144
  private long doa_auth_timestamp; // required
4647 rajveer 145
  private String delayReasonText; // required
4709 rajveer 146
  private String refundReason; // required
4758 mandeep.dh 147
  private long purchaseOrderId; // required
4815 phani.kuma 148
  private long doa_logistics_provider_id; // required
5062 varun.gupt 149
  private long originalOrderId; // required
5110 mandeep.dh 150
  private long fulfilmentWarehouseId; // required
5189 varun.gupt 151
  private boolean vendorPaid; // required
5354 anupam.sin 152
  private long received_return_timestamp; // required
153
  private long first_attempt_timestamp; // required
5527 anupam.sin 154
  private OrderType orderType; // required
5553 rajveer 155
  private long pickupStoreId; // required
156
  private boolean logisticsCod; // required
6319 rajveer 157
  private long gvAmount; // required
6525 rajveer 158
  private boolean otg; // required
6726 rajveer 159
  private long courier_delivery_time; // required
6903 anupam.sin 160
  private long insurer; // required
161
  private double insuranceAmount; // required
162
  private String dob; // required
163
  private String guardianName; // required
7190 amar.kumar 164
  private long freebieItemId; // required
483 rajveer 165
 
166
  /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
3430 rajveer 167
  public enum _Fields implements org.apache.thrift.TFieldIdEnum {
483 rajveer 168
    ID((short)1, "id"),
169
    WAREHOUSE_ID((short)2, "warehouse_id"),
170
    /**
171
     * 	item info
172
     * *
173
     */
174
    LINEITEMS((short)3, "lineitems"),
175
    /**
176
     *   logistics info
177
     * *
178
     */
179
    LOGISTICS_PROVIDER_ID((short)4, "logistics_provider_id"),
180
    AIRWAYBILL_NO((short)5, "airwaybill_no"),
181
    TRACKING_ID((short)6, "tracking_id"),
182
    EXPECTED_DELIVERY_TIME((short)7, "expected_delivery_time"),
183
    /**
184
     *   customer info
185
     * *
186
     */
187
    CUSTOMER_ID((short)8, "customer_id"),
188
    CUSTOMER_NAME((short)9, "customer_name"),
189
    CUSTOMER_MOBILENUMBER((short)10, "customer_mobilenumber"),
190
    CUSTOMER_PINCODE((short)11, "customer_pincode"),
736 chandransh 191
    CUSTOMER_ADDRESS1((short)12, "customer_address1"),
192
    CUSTOMER_ADDRESS2((short)13, "customer_address2"),
193
    CUSTOMER_EMAIL((short)14, "customer_email"),
194
    CUSTOMER_CITY((short)15, "customer_city"),
195
    CUSTOMER_STATE((short)16, "customer_state"),
483 rajveer 196
    /**
197
     * 	status and misc info
198
     * *
199
     * 
200
     * @see OrderStatus
201
     */
736 chandransh 202
    STATUS((short)17, "status"),
203
    STATUS_DESCRIPTION((short)18, "statusDescription"),
204
    TOTAL_AMOUNT((short)19, "total_amount"),
205
    TOTAL_WEIGHT((short)20, "total_weight"),
483 rajveer 206
    /**
207
     * 	billing info
208
     * *
209
     */
736 chandransh 210
    INVOICE_NUMBER((short)21, "invoice_number"),
211
    BILLED_BY((short)22, "billed_by"),
483 rajveer 212
    /**
213
     * 	timestamps
214
     * *
215
     */
736 chandransh 216
    CREATED_TIMESTAMP((short)23, "created_timestamp"),
217
    ACCEPTED_TIMESTAMP((short)24, "accepted_timestamp"),
218
    BILLING_TIMESTAMP((short)25, "billing_timestamp"),
219
    SHIPPING_TIMESTAMP((short)26, "shipping_timestamp"),
1114 chandransh 220
    PICKUP_TIMESTAMP((short)27, "pickup_timestamp"),
221
    DELIVERY_TIMESTAMP((short)28, "delivery_timestamp"),
1209 chandransh 222
    OUTOFSTOCK_TIMESTAMP((short)29, "outofstock_timestamp"),
223
    JACKET_NUMBER((short)30, "jacket_number"),
1221 chandransh 224
    RECEIVER((short)31, "receiver"),
225
    BATCH_NO((short)32, "batchNo"),
2538 chandransh 226
    SERIAL_NO((short)33, "serialNo"),
227
    DOA_FLAG((short)34, "doaFlag"),
2677 vikas 228
    PICKUP_REQUEST_NO((short)35, "pickupRequestNo"),
2819 chandransh 229
    TRANSACTION_ID((short)36, "transactionId"),
3061 chandransh 230
    PURCHASE_ORDER_NO((short)37, "purchaseOrderNo"),
3553 chandransh 231
    COD((short)38, "cod"),
232
    /**
233
     * 
234
     * @see DelayReason
235
     */
3986 chandransh 236
    DELAY_REASON((short)39, "delayReason"),
4004 chandransh 237
    PROMISED_DELIVERY_TIME((short)40, "promised_delivery_time"),
238
    EXPECTED_SHIPPING_TIME((short)41, "expected_shipping_time"),
4102 chandransh 239
    VERIFICATION_TIMESTAMP((short)42, "verification_timestamp"),
4192 anupam.sin 240
    PROMISED_SHIPPING_TIME((short)43, "promised_shipping_time"),
241
    RESHIP_TIMESTAMP((short)44, "reship_timestamp"),
242
    REFUND_TIMESTAMP((short)45, "refund_timestamp"),
4246 rajveer 243
    NEW_ORDER_ID((short)46, "new_order_id"),
244
    /**
245
     * 
246
     * @see OrderStatus
247
     */
4269 anupam.sin 248
    PREVIOUS_STATUS((short)47, "previousStatus"),
4506 phani.kuma 249
    VENDOR_ID((short)48, "vendorId"),
4647 rajveer 250
    DOA_AUTH_TIMESTAMP((short)49, "doa_auth_timestamp"),
4709 rajveer 251
    DELAY_REASON_TEXT((short)50, "delayReasonText"),
4758 mandeep.dh 252
    REFUND_REASON((short)51, "refundReason"),
4815 phani.kuma 253
    PURCHASE_ORDER_ID((short)52, "purchaseOrderId"),
5062 varun.gupt 254
    DOA_LOGISTICS_PROVIDER_ID((short)53, "doa_logistics_provider_id"),
5110 mandeep.dh 255
    ORIGINAL_ORDER_ID((short)54, "originalOrderId"),
5189 varun.gupt 256
    FULFILMENT_WAREHOUSE_ID((short)55, "fulfilmentWarehouseId"),
5354 anupam.sin 257
    VENDOR_PAID((short)56, "vendorPaid"),
258
    RECEIVED_RETURN_TIMESTAMP((short)57, "received_return_timestamp"),
5527 anupam.sin 259
    FIRST_ATTEMPT_TIMESTAMP((short)58, "first_attempt_timestamp"),
260
    /**
261
     * 
262
     * @see OrderType
263
     */
5553 rajveer 264
    ORDER_TYPE((short)59, "orderType"),
265
    PICKUP_STORE_ID((short)60, "pickupStoreId"),
6319 rajveer 266
    LOGISTICS_COD((short)61, "logisticsCod"),
6525 rajveer 267
    GV_AMOUNT((short)62, "gvAmount"),
6726 rajveer 268
    OTG((short)63, "otg"),
6903 anupam.sin 269
    COURIER_DELIVERY_TIME((short)64, "courier_delivery_time"),
270
    INSURER((short)65, "insurer"),
271
    INSURANCE_AMOUNT((short)66, "insuranceAmount"),
272
    DOB((short)67, "dob"),
7190 amar.kumar 273
    GUARDIAN_NAME((short)68, "guardianName"),
274
    FREEBIE_ITEM_ID((short)69, "freebieItemId");
483 rajveer 275
 
276
    private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
277
 
278
    static {
279
      for (_Fields field : EnumSet.allOf(_Fields.class)) {
280
        byName.put(field.getFieldName(), field);
281
      }
282
    }
283
 
284
    /**
285
     * Find the _Fields constant that matches fieldId, or null if its not found.
286
     */
287
    public static _Fields findByThriftId(int fieldId) {
3430 rajveer 288
      switch(fieldId) {
289
        case 1: // ID
290
          return ID;
291
        case 2: // WAREHOUSE_ID
292
          return WAREHOUSE_ID;
293
        case 3: // LINEITEMS
294
          return LINEITEMS;
295
        case 4: // LOGISTICS_PROVIDER_ID
296
          return LOGISTICS_PROVIDER_ID;
297
        case 5: // AIRWAYBILL_NO
298
          return AIRWAYBILL_NO;
299
        case 6: // TRACKING_ID
300
          return TRACKING_ID;
301
        case 7: // EXPECTED_DELIVERY_TIME
302
          return EXPECTED_DELIVERY_TIME;
303
        case 8: // CUSTOMER_ID
304
          return CUSTOMER_ID;
305
        case 9: // CUSTOMER_NAME
306
          return CUSTOMER_NAME;
307
        case 10: // CUSTOMER_MOBILENUMBER
308
          return CUSTOMER_MOBILENUMBER;
309
        case 11: // CUSTOMER_PINCODE
310
          return CUSTOMER_PINCODE;
311
        case 12: // CUSTOMER_ADDRESS1
312
          return CUSTOMER_ADDRESS1;
313
        case 13: // CUSTOMER_ADDRESS2
314
          return CUSTOMER_ADDRESS2;
315
        case 14: // CUSTOMER_EMAIL
316
          return CUSTOMER_EMAIL;
317
        case 15: // CUSTOMER_CITY
318
          return CUSTOMER_CITY;
319
        case 16: // CUSTOMER_STATE
320
          return CUSTOMER_STATE;
321
        case 17: // STATUS
322
          return STATUS;
323
        case 18: // STATUS_DESCRIPTION
324
          return STATUS_DESCRIPTION;
325
        case 19: // TOTAL_AMOUNT
326
          return TOTAL_AMOUNT;
327
        case 20: // TOTAL_WEIGHT
328
          return TOTAL_WEIGHT;
329
        case 21: // INVOICE_NUMBER
330
          return INVOICE_NUMBER;
331
        case 22: // BILLED_BY
332
          return BILLED_BY;
333
        case 23: // CREATED_TIMESTAMP
334
          return CREATED_TIMESTAMP;
335
        case 24: // ACCEPTED_TIMESTAMP
336
          return ACCEPTED_TIMESTAMP;
337
        case 25: // BILLING_TIMESTAMP
338
          return BILLING_TIMESTAMP;
339
        case 26: // SHIPPING_TIMESTAMP
340
          return SHIPPING_TIMESTAMP;
341
        case 27: // PICKUP_TIMESTAMP
342
          return PICKUP_TIMESTAMP;
343
        case 28: // DELIVERY_TIMESTAMP
344
          return DELIVERY_TIMESTAMP;
345
        case 29: // OUTOFSTOCK_TIMESTAMP
346
          return OUTOFSTOCK_TIMESTAMP;
347
        case 30: // JACKET_NUMBER
348
          return JACKET_NUMBER;
349
        case 31: // RECEIVER
350
          return RECEIVER;
351
        case 32: // BATCH_NO
352
          return BATCH_NO;
353
        case 33: // SERIAL_NO
354
          return SERIAL_NO;
355
        case 34: // DOA_FLAG
356
          return DOA_FLAG;
357
        case 35: // PICKUP_REQUEST_NO
358
          return PICKUP_REQUEST_NO;
359
        case 36: // TRANSACTION_ID
360
          return TRANSACTION_ID;
361
        case 37: // PURCHASE_ORDER_NO
362
          return PURCHASE_ORDER_NO;
363
        case 38: // COD
364
          return COD;
3553 chandransh 365
        case 39: // DELAY_REASON
366
          return DELAY_REASON;
3986 chandransh 367
        case 40: // PROMISED_DELIVERY_TIME
368
          return PROMISED_DELIVERY_TIME;
4004 chandransh 369
        case 41: // EXPECTED_SHIPPING_TIME
370
          return EXPECTED_SHIPPING_TIME;
371
        case 42: // VERIFICATION_TIMESTAMP
372
          return VERIFICATION_TIMESTAMP;
4102 chandransh 373
        case 43: // PROMISED_SHIPPING_TIME
374
          return PROMISED_SHIPPING_TIME;
4192 anupam.sin 375
        case 44: // RESHIP_TIMESTAMP
376
          return RESHIP_TIMESTAMP;
377
        case 45: // REFUND_TIMESTAMP
378
          return REFUND_TIMESTAMP;
379
        case 46: // NEW_ORDER_ID
380
          return NEW_ORDER_ID;
4246 rajveer 381
        case 47: // PREVIOUS_STATUS
382
          return PREVIOUS_STATUS;
4269 anupam.sin 383
        case 48: // VENDOR_ID
384
          return VENDOR_ID;
4506 phani.kuma 385
        case 49: // DOA_AUTH_TIMESTAMP
386
          return DOA_AUTH_TIMESTAMP;
4647 rajveer 387
        case 50: // DELAY_REASON_TEXT
388
          return DELAY_REASON_TEXT;
4709 rajveer 389
        case 51: // REFUND_REASON
390
          return REFUND_REASON;
4758 mandeep.dh 391
        case 52: // PURCHASE_ORDER_ID
392
          return PURCHASE_ORDER_ID;
4815 phani.kuma 393
        case 53: // DOA_LOGISTICS_PROVIDER_ID
394
          return DOA_LOGISTICS_PROVIDER_ID;
5062 varun.gupt 395
        case 54: // ORIGINAL_ORDER_ID
396
          return ORIGINAL_ORDER_ID;
5110 mandeep.dh 397
        case 55: // FULFILMENT_WAREHOUSE_ID
398
          return FULFILMENT_WAREHOUSE_ID;
5189 varun.gupt 399
        case 56: // VENDOR_PAID
400
          return VENDOR_PAID;
5354 anupam.sin 401
        case 57: // RECEIVED_RETURN_TIMESTAMP
402
          return RECEIVED_RETURN_TIMESTAMP;
403
        case 58: // FIRST_ATTEMPT_TIMESTAMP
404
          return FIRST_ATTEMPT_TIMESTAMP;
5527 anupam.sin 405
        case 59: // ORDER_TYPE
406
          return ORDER_TYPE;
5553 rajveer 407
        case 60: // PICKUP_STORE_ID
408
          return PICKUP_STORE_ID;
409
        case 61: // LOGISTICS_COD
410
          return LOGISTICS_COD;
6319 rajveer 411
        case 62: // GV_AMOUNT
412
          return GV_AMOUNT;
6525 rajveer 413
        case 63: // OTG
414
          return OTG;
6726 rajveer 415
        case 64: // COURIER_DELIVERY_TIME
416
          return COURIER_DELIVERY_TIME;
6903 anupam.sin 417
        case 65: // INSURER
418
          return INSURER;
419
        case 66: // INSURANCE_AMOUNT
420
          return INSURANCE_AMOUNT;
421
        case 67: // DOB
422
          return DOB;
423
        case 68: // GUARDIAN_NAME
424
          return GUARDIAN_NAME;
7190 amar.kumar 425
        case 69: // FREEBIE_ITEM_ID
426
          return FREEBIE_ITEM_ID;
3430 rajveer 427
        default:
428
          return null;
429
      }
483 rajveer 430
    }
431
 
432
    /**
433
     * Find the _Fields constant that matches fieldId, throwing an exception
434
     * if it is not found.
435
     */
436
    public static _Fields findByThriftIdOrThrow(int fieldId) {
437
      _Fields fields = findByThriftId(fieldId);
438
      if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
439
      return fields;
440
    }
441
 
442
    /**
443
     * Find the _Fields constant that matches name, or null if its not found.
444
     */
445
    public static _Fields findByName(String name) {
446
      return byName.get(name);
447
    }
448
 
449
    private final short _thriftId;
450
    private final String _fieldName;
451
 
452
    _Fields(short thriftId, String fieldName) {
453
      _thriftId = thriftId;
454
      _fieldName = fieldName;
455
    }
456
 
457
    public short getThriftFieldId() {
458
      return _thriftId;
459
    }
460
 
461
    public String getFieldName() {
462
      return _fieldName;
463
    }
464
  }
465
 
466
  // isset id assignments
467
  private static final int __ID_ISSET_ID = 0;
468
  private static final int __WAREHOUSE_ID_ISSET_ID = 1;
469
  private static final int __LOGISTICS_PROVIDER_ID_ISSET_ID = 2;
470
  private static final int __EXPECTED_DELIVERY_TIME_ISSET_ID = 3;
471
  private static final int __CUSTOMER_ID_ISSET_ID = 4;
472
  private static final int __TOTAL_AMOUNT_ISSET_ID = 5;
473
  private static final int __TOTAL_WEIGHT_ISSET_ID = 6;
474
  private static final int __CREATED_TIMESTAMP_ISSET_ID = 7;
475
  private static final int __ACCEPTED_TIMESTAMP_ISSET_ID = 8;
476
  private static final int __BILLING_TIMESTAMP_ISSET_ID = 9;
477
  private static final int __SHIPPING_TIMESTAMP_ISSET_ID = 10;
1114 chandransh 478
  private static final int __PICKUP_TIMESTAMP_ISSET_ID = 11;
479
  private static final int __DELIVERY_TIMESTAMP_ISSET_ID = 12;
1209 chandransh 480
  private static final int __OUTOFSTOCK_TIMESTAMP_ISSET_ID = 13;
481
  private static final int __JACKET_NUMBER_ISSET_ID = 14;
1221 chandransh 482
  private static final int __BATCHNO_ISSET_ID = 15;
483
  private static final int __SERIALNO_ISSET_ID = 16;
2538 chandransh 484
  private static final int __DOAFLAG_ISSET_ID = 17;
2677 vikas 485
  private static final int __TRANSACTIONID_ISSET_ID = 18;
3061 chandransh 486
  private static final int __COD_ISSET_ID = 19;
3986 chandransh 487
  private static final int __PROMISED_DELIVERY_TIME_ISSET_ID = 20;
4004 chandransh 488
  private static final int __EXPECTED_SHIPPING_TIME_ISSET_ID = 21;
489
  private static final int __VERIFICATION_TIMESTAMP_ISSET_ID = 22;
4102 chandransh 490
  private static final int __PROMISED_SHIPPING_TIME_ISSET_ID = 23;
4192 anupam.sin 491
  private static final int __RESHIP_TIMESTAMP_ISSET_ID = 24;
492
  private static final int __REFUND_TIMESTAMP_ISSET_ID = 25;
493
  private static final int __NEW_ORDER_ID_ISSET_ID = 26;
4269 anupam.sin 494
  private static final int __VENDORID_ISSET_ID = 27;
4506 phani.kuma 495
  private static final int __DOA_AUTH_TIMESTAMP_ISSET_ID = 28;
4758 mandeep.dh 496
  private static final int __PURCHASEORDERID_ISSET_ID = 29;
4815 phani.kuma 497
  private static final int __DOA_LOGISTICS_PROVIDER_ID_ISSET_ID = 30;
5062 varun.gupt 498
  private static final int __ORIGINALORDERID_ISSET_ID = 31;
5110 mandeep.dh 499
  private static final int __FULFILMENTWAREHOUSEID_ISSET_ID = 32;
5189 varun.gupt 500
  private static final int __VENDORPAID_ISSET_ID = 33;
5354 anupam.sin 501
  private static final int __RECEIVED_RETURN_TIMESTAMP_ISSET_ID = 34;
502
  private static final int __FIRST_ATTEMPT_TIMESTAMP_ISSET_ID = 35;
5553 rajveer 503
  private static final int __PICKUPSTOREID_ISSET_ID = 36;
504
  private static final int __LOGISTICSCOD_ISSET_ID = 37;
6319 rajveer 505
  private static final int __GVAMOUNT_ISSET_ID = 38;
6525 rajveer 506
  private static final int __OTG_ISSET_ID = 39;
6726 rajveer 507
  private static final int __COURIER_DELIVERY_TIME_ISSET_ID = 40;
6903 anupam.sin 508
  private static final int __INSURER_ISSET_ID = 41;
509
  private static final int __INSURANCEAMOUNT_ISSET_ID = 42;
7190 amar.kumar 510
  private static final int __FREEBIEITEMID_ISSET_ID = 43;
511
  private BitSet __isset_bit_vector = new BitSet(44);
483 rajveer 512
 
3430 rajveer 513
  public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
483 rajveer 514
  static {
3430 rajveer 515
    Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
516
    tmpMap.put(_Fields.ID, new org.apache.thrift.meta_data.FieldMetaData("id", org.apache.thrift.TFieldRequirementType.DEFAULT, 
517
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
518
    tmpMap.put(_Fields.WAREHOUSE_ID, new org.apache.thrift.meta_data.FieldMetaData("warehouse_id", org.apache.thrift.TFieldRequirementType.DEFAULT, 
519
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
520
    tmpMap.put(_Fields.LINEITEMS, new org.apache.thrift.meta_data.FieldMetaData("lineitems", org.apache.thrift.TFieldRequirementType.DEFAULT, 
521
        new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, 
522
            new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, LineItem.class))));
523
    tmpMap.put(_Fields.LOGISTICS_PROVIDER_ID, new org.apache.thrift.meta_data.FieldMetaData("logistics_provider_id", org.apache.thrift.TFieldRequirementType.DEFAULT, 
524
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
525
    tmpMap.put(_Fields.AIRWAYBILL_NO, new org.apache.thrift.meta_data.FieldMetaData("airwaybill_no", org.apache.thrift.TFieldRequirementType.DEFAULT, 
526
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
527
    tmpMap.put(_Fields.TRACKING_ID, new org.apache.thrift.meta_data.FieldMetaData("tracking_id", org.apache.thrift.TFieldRequirementType.DEFAULT, 
528
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
529
    tmpMap.put(_Fields.EXPECTED_DELIVERY_TIME, new org.apache.thrift.meta_data.FieldMetaData("expected_delivery_time", org.apache.thrift.TFieldRequirementType.DEFAULT, 
530
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
531
    tmpMap.put(_Fields.CUSTOMER_ID, new org.apache.thrift.meta_data.FieldMetaData("customer_id", org.apache.thrift.TFieldRequirementType.DEFAULT, 
532
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
533
    tmpMap.put(_Fields.CUSTOMER_NAME, new org.apache.thrift.meta_data.FieldMetaData("customer_name", org.apache.thrift.TFieldRequirementType.DEFAULT, 
534
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
535
    tmpMap.put(_Fields.CUSTOMER_MOBILENUMBER, new org.apache.thrift.meta_data.FieldMetaData("customer_mobilenumber", org.apache.thrift.TFieldRequirementType.DEFAULT, 
536
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
537
    tmpMap.put(_Fields.CUSTOMER_PINCODE, new org.apache.thrift.meta_data.FieldMetaData("customer_pincode", org.apache.thrift.TFieldRequirementType.DEFAULT, 
538
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
539
    tmpMap.put(_Fields.CUSTOMER_ADDRESS1, new org.apache.thrift.meta_data.FieldMetaData("customer_address1", org.apache.thrift.TFieldRequirementType.DEFAULT, 
540
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
541
    tmpMap.put(_Fields.CUSTOMER_ADDRESS2, new org.apache.thrift.meta_data.FieldMetaData("customer_address2", org.apache.thrift.TFieldRequirementType.DEFAULT, 
542
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
543
    tmpMap.put(_Fields.CUSTOMER_EMAIL, new org.apache.thrift.meta_data.FieldMetaData("customer_email", org.apache.thrift.TFieldRequirementType.DEFAULT, 
544
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
545
    tmpMap.put(_Fields.CUSTOMER_CITY, new org.apache.thrift.meta_data.FieldMetaData("customer_city", org.apache.thrift.TFieldRequirementType.DEFAULT, 
546
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
547
    tmpMap.put(_Fields.CUSTOMER_STATE, new org.apache.thrift.meta_data.FieldMetaData("customer_state", org.apache.thrift.TFieldRequirementType.DEFAULT, 
548
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
549
    tmpMap.put(_Fields.STATUS, new org.apache.thrift.meta_data.FieldMetaData("status", org.apache.thrift.TFieldRequirementType.DEFAULT, 
550
        new org.apache.thrift.meta_data.EnumMetaData(org.apache.thrift.protocol.TType.ENUM, OrderStatus.class)));
551
    tmpMap.put(_Fields.STATUS_DESCRIPTION, new org.apache.thrift.meta_data.FieldMetaData("statusDescription", org.apache.thrift.TFieldRequirementType.DEFAULT, 
552
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
553
    tmpMap.put(_Fields.TOTAL_AMOUNT, new org.apache.thrift.meta_data.FieldMetaData("total_amount", org.apache.thrift.TFieldRequirementType.DEFAULT, 
554
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
555
    tmpMap.put(_Fields.TOTAL_WEIGHT, new org.apache.thrift.meta_data.FieldMetaData("total_weight", org.apache.thrift.TFieldRequirementType.DEFAULT, 
556
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
557
    tmpMap.put(_Fields.INVOICE_NUMBER, new org.apache.thrift.meta_data.FieldMetaData("invoice_number", org.apache.thrift.TFieldRequirementType.DEFAULT, 
558
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
559
    tmpMap.put(_Fields.BILLED_BY, new org.apache.thrift.meta_data.FieldMetaData("billed_by", org.apache.thrift.TFieldRequirementType.DEFAULT, 
560
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
561
    tmpMap.put(_Fields.CREATED_TIMESTAMP, new org.apache.thrift.meta_data.FieldMetaData("created_timestamp", org.apache.thrift.TFieldRequirementType.DEFAULT, 
562
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
563
    tmpMap.put(_Fields.ACCEPTED_TIMESTAMP, new org.apache.thrift.meta_data.FieldMetaData("accepted_timestamp", org.apache.thrift.TFieldRequirementType.DEFAULT, 
564
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
565
    tmpMap.put(_Fields.BILLING_TIMESTAMP, new org.apache.thrift.meta_data.FieldMetaData("billing_timestamp", org.apache.thrift.TFieldRequirementType.DEFAULT, 
566
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
567
    tmpMap.put(_Fields.SHIPPING_TIMESTAMP, new org.apache.thrift.meta_data.FieldMetaData("shipping_timestamp", org.apache.thrift.TFieldRequirementType.DEFAULT, 
568
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
569
    tmpMap.put(_Fields.PICKUP_TIMESTAMP, new org.apache.thrift.meta_data.FieldMetaData("pickup_timestamp", org.apache.thrift.TFieldRequirementType.DEFAULT, 
570
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
571
    tmpMap.put(_Fields.DELIVERY_TIMESTAMP, new org.apache.thrift.meta_data.FieldMetaData("delivery_timestamp", org.apache.thrift.TFieldRequirementType.DEFAULT, 
572
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
573
    tmpMap.put(_Fields.OUTOFSTOCK_TIMESTAMP, new org.apache.thrift.meta_data.FieldMetaData("outofstock_timestamp", org.apache.thrift.TFieldRequirementType.DEFAULT, 
574
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
575
    tmpMap.put(_Fields.JACKET_NUMBER, new org.apache.thrift.meta_data.FieldMetaData("jacket_number", org.apache.thrift.TFieldRequirementType.DEFAULT, 
576
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
577
    tmpMap.put(_Fields.RECEIVER, new org.apache.thrift.meta_data.FieldMetaData("receiver", org.apache.thrift.TFieldRequirementType.DEFAULT, 
578
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
579
    tmpMap.put(_Fields.BATCH_NO, new org.apache.thrift.meta_data.FieldMetaData("batchNo", org.apache.thrift.TFieldRequirementType.DEFAULT, 
580
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
581
    tmpMap.put(_Fields.SERIAL_NO, new org.apache.thrift.meta_data.FieldMetaData("serialNo", org.apache.thrift.TFieldRequirementType.DEFAULT, 
582
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
583
    tmpMap.put(_Fields.DOA_FLAG, new org.apache.thrift.meta_data.FieldMetaData("doaFlag", org.apache.thrift.TFieldRequirementType.DEFAULT, 
584
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
585
    tmpMap.put(_Fields.PICKUP_REQUEST_NO, new org.apache.thrift.meta_data.FieldMetaData("pickupRequestNo", org.apache.thrift.TFieldRequirementType.DEFAULT, 
586
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
587
    tmpMap.put(_Fields.TRANSACTION_ID, new org.apache.thrift.meta_data.FieldMetaData("transactionId", org.apache.thrift.TFieldRequirementType.DEFAULT, 
588
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
589
    tmpMap.put(_Fields.PURCHASE_ORDER_NO, new org.apache.thrift.meta_data.FieldMetaData("purchaseOrderNo", org.apache.thrift.TFieldRequirementType.DEFAULT, 
590
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
591
    tmpMap.put(_Fields.COD, new org.apache.thrift.meta_data.FieldMetaData("cod", org.apache.thrift.TFieldRequirementType.DEFAULT, 
592
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
3553 chandransh 593
    tmpMap.put(_Fields.DELAY_REASON, new org.apache.thrift.meta_data.FieldMetaData("delayReason", org.apache.thrift.TFieldRequirementType.DEFAULT, 
594
        new org.apache.thrift.meta_data.EnumMetaData(org.apache.thrift.protocol.TType.ENUM, DelayReason.class)));
3986 chandransh 595
    tmpMap.put(_Fields.PROMISED_DELIVERY_TIME, new org.apache.thrift.meta_data.FieldMetaData("promised_delivery_time", org.apache.thrift.TFieldRequirementType.DEFAULT, 
596
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
4004 chandransh 597
    tmpMap.put(_Fields.EXPECTED_SHIPPING_TIME, new org.apache.thrift.meta_data.FieldMetaData("expected_shipping_time", org.apache.thrift.TFieldRequirementType.DEFAULT, 
598
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
599
    tmpMap.put(_Fields.VERIFICATION_TIMESTAMP, new org.apache.thrift.meta_data.FieldMetaData("verification_timestamp", org.apache.thrift.TFieldRequirementType.DEFAULT, 
600
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
4102 chandransh 601
    tmpMap.put(_Fields.PROMISED_SHIPPING_TIME, new org.apache.thrift.meta_data.FieldMetaData("promised_shipping_time", org.apache.thrift.TFieldRequirementType.DEFAULT, 
602
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
4192 anupam.sin 603
    tmpMap.put(_Fields.RESHIP_TIMESTAMP, new org.apache.thrift.meta_data.FieldMetaData("reship_timestamp", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
604
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
605
    tmpMap.put(_Fields.REFUND_TIMESTAMP, new org.apache.thrift.meta_data.FieldMetaData("refund_timestamp", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
606
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
607
    tmpMap.put(_Fields.NEW_ORDER_ID, new org.apache.thrift.meta_data.FieldMetaData("new_order_id", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
608
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
4246 rajveer 609
    tmpMap.put(_Fields.PREVIOUS_STATUS, new org.apache.thrift.meta_data.FieldMetaData("previousStatus", org.apache.thrift.TFieldRequirementType.DEFAULT, 
610
        new org.apache.thrift.meta_data.EnumMetaData(org.apache.thrift.protocol.TType.ENUM, OrderStatus.class)));
4269 anupam.sin 611
    tmpMap.put(_Fields.VENDOR_ID, new org.apache.thrift.meta_data.FieldMetaData("vendorId", org.apache.thrift.TFieldRequirementType.DEFAULT, 
612
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
4506 phani.kuma 613
    tmpMap.put(_Fields.DOA_AUTH_TIMESTAMP, new org.apache.thrift.meta_data.FieldMetaData("doa_auth_timestamp", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
614
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
4647 rajveer 615
    tmpMap.put(_Fields.DELAY_REASON_TEXT, new org.apache.thrift.meta_data.FieldMetaData("delayReasonText", org.apache.thrift.TFieldRequirementType.DEFAULT, 
616
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
4709 rajveer 617
    tmpMap.put(_Fields.REFUND_REASON, new org.apache.thrift.meta_data.FieldMetaData("refundReason", org.apache.thrift.TFieldRequirementType.DEFAULT, 
618
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
4758 mandeep.dh 619
    tmpMap.put(_Fields.PURCHASE_ORDER_ID, new org.apache.thrift.meta_data.FieldMetaData("purchaseOrderId", org.apache.thrift.TFieldRequirementType.DEFAULT, 
620
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
4815 phani.kuma 621
    tmpMap.put(_Fields.DOA_LOGISTICS_PROVIDER_ID, new org.apache.thrift.meta_data.FieldMetaData("doa_logistics_provider_id", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
622
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
5062 varun.gupt 623
    tmpMap.put(_Fields.ORIGINAL_ORDER_ID, new org.apache.thrift.meta_data.FieldMetaData("originalOrderId", org.apache.thrift.TFieldRequirementType.DEFAULT, 
624
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
5110 mandeep.dh 625
    tmpMap.put(_Fields.FULFILMENT_WAREHOUSE_ID, new org.apache.thrift.meta_data.FieldMetaData("fulfilmentWarehouseId", org.apache.thrift.TFieldRequirementType.DEFAULT, 
626
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
5189 varun.gupt 627
    tmpMap.put(_Fields.VENDOR_PAID, new org.apache.thrift.meta_data.FieldMetaData("vendorPaid", org.apache.thrift.TFieldRequirementType.DEFAULT, 
628
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
5354 anupam.sin 629
    tmpMap.put(_Fields.RECEIVED_RETURN_TIMESTAMP, new org.apache.thrift.meta_data.FieldMetaData("received_return_timestamp", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
630
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
631
    tmpMap.put(_Fields.FIRST_ATTEMPT_TIMESTAMP, new org.apache.thrift.meta_data.FieldMetaData("first_attempt_timestamp", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
632
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
5527 anupam.sin 633
    tmpMap.put(_Fields.ORDER_TYPE, new org.apache.thrift.meta_data.FieldMetaData("orderType", org.apache.thrift.TFieldRequirementType.DEFAULT, 
634
        new org.apache.thrift.meta_data.EnumMetaData(org.apache.thrift.protocol.TType.ENUM, OrderType.class)));
5553 rajveer 635
    tmpMap.put(_Fields.PICKUP_STORE_ID, new org.apache.thrift.meta_data.FieldMetaData("pickupStoreId", org.apache.thrift.TFieldRequirementType.DEFAULT, 
636
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
637
    tmpMap.put(_Fields.LOGISTICS_COD, new org.apache.thrift.meta_data.FieldMetaData("logisticsCod", org.apache.thrift.TFieldRequirementType.DEFAULT, 
638
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
6319 rajveer 639
    tmpMap.put(_Fields.GV_AMOUNT, new org.apache.thrift.meta_data.FieldMetaData("gvAmount", org.apache.thrift.TFieldRequirementType.DEFAULT, 
640
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
6525 rajveer 641
    tmpMap.put(_Fields.OTG, new org.apache.thrift.meta_data.FieldMetaData("otg", org.apache.thrift.TFieldRequirementType.DEFAULT, 
642
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
6726 rajveer 643
    tmpMap.put(_Fields.COURIER_DELIVERY_TIME, new org.apache.thrift.meta_data.FieldMetaData("courier_delivery_time", org.apache.thrift.TFieldRequirementType.DEFAULT, 
644
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
6903 anupam.sin 645
    tmpMap.put(_Fields.INSURER, new org.apache.thrift.meta_data.FieldMetaData("insurer", org.apache.thrift.TFieldRequirementType.DEFAULT, 
646
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
647
    tmpMap.put(_Fields.INSURANCE_AMOUNT, new org.apache.thrift.meta_data.FieldMetaData("insuranceAmount", org.apache.thrift.TFieldRequirementType.DEFAULT, 
648
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
649
    tmpMap.put(_Fields.DOB, new org.apache.thrift.meta_data.FieldMetaData("dob", org.apache.thrift.TFieldRequirementType.DEFAULT, 
650
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
651
    tmpMap.put(_Fields.GUARDIAN_NAME, new org.apache.thrift.meta_data.FieldMetaData("guardianName", org.apache.thrift.TFieldRequirementType.DEFAULT, 
652
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
7190 amar.kumar 653
    tmpMap.put(_Fields.FREEBIE_ITEM_ID, new org.apache.thrift.meta_data.FieldMetaData("freebieItemId", org.apache.thrift.TFieldRequirementType.DEFAULT, 
654
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
3430 rajveer 655
    metaDataMap = Collections.unmodifiableMap(tmpMap);
656
    org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(Order.class, metaDataMap);
483 rajveer 657
  }
658
 
659
  public Order() {
660
  }
661
 
662
  public Order(
663
    long id,
664
    long warehouse_id,
665
    List<LineItem> lineitems,
666
    long logistics_provider_id,
667
    String airwaybill_no,
668
    String tracking_id,
669
    long expected_delivery_time,
670
    long customer_id,
671
    String customer_name,
672
    String customer_mobilenumber,
673
    String customer_pincode,
736 chandransh 674
    String customer_address1,
675
    String customer_address2,
483 rajveer 676
    String customer_email,
736 chandransh 677
    String customer_city,
678
    String customer_state,
483 rajveer 679
    OrderStatus status,
680
    String statusDescription,
681
    double total_amount,
682
    double total_weight,
683
    String invoice_number,
684
    String billed_by,
685
    long created_timestamp,
686
    long accepted_timestamp,
687
    long billing_timestamp,
688
    long shipping_timestamp,
1114 chandransh 689
    long pickup_timestamp,
640 chandransh 690
    long delivery_timestamp,
1209 chandransh 691
    long outofstock_timestamp,
1133 chandransh 692
    long jacket_number,
1221 chandransh 693
    String receiver,
694
    long batchNo,
2538 chandransh 695
    long serialNo,
696
    boolean doaFlag,
2677 vikas 697
    String pickupRequestNo,
2819 chandransh 698
    long transactionId,
3061 chandransh 699
    String purchaseOrderNo,
3553 chandransh 700
    boolean cod,
3986 chandransh 701
    DelayReason delayReason,
4004 chandransh 702
    long promised_delivery_time,
703
    long expected_shipping_time,
4102 chandransh 704
    long verification_timestamp,
4246 rajveer 705
    long promised_shipping_time,
4269 anupam.sin 706
    OrderStatus previousStatus,
4647 rajveer 707
    long vendorId,
4709 rajveer 708
    String delayReasonText,
4758 mandeep.dh 709
    String refundReason,
5062 varun.gupt 710
    long purchaseOrderId,
5110 mandeep.dh 711
    long originalOrderId,
5189 varun.gupt 712
    long fulfilmentWarehouseId,
5527 anupam.sin 713
    boolean vendorPaid,
5553 rajveer 714
    OrderType orderType,
715
    long pickupStoreId,
6319 rajveer 716
    boolean logisticsCod,
6525 rajveer 717
    long gvAmount,
6726 rajveer 718
    boolean otg,
6903 anupam.sin 719
    long courier_delivery_time,
720
    long insurer,
721
    double insuranceAmount,
722
    String dob,
7190 amar.kumar 723
    String guardianName,
724
    long freebieItemId)
483 rajveer 725
  {
726
    this();
727
    this.id = id;
728
    setIdIsSet(true);
729
    this.warehouse_id = warehouse_id;
730
    setWarehouse_idIsSet(true);
731
    this.lineitems = lineitems;
732
    this.logistics_provider_id = logistics_provider_id;
733
    setLogistics_provider_idIsSet(true);
734
    this.airwaybill_no = airwaybill_no;
735
    this.tracking_id = tracking_id;
736
    this.expected_delivery_time = expected_delivery_time;
737
    setExpected_delivery_timeIsSet(true);
738
    this.customer_id = customer_id;
739
    setCustomer_idIsSet(true);
740
    this.customer_name = customer_name;
741
    this.customer_mobilenumber = customer_mobilenumber;
742
    this.customer_pincode = customer_pincode;
736 chandransh 743
    this.customer_address1 = customer_address1;
744
    this.customer_address2 = customer_address2;
483 rajveer 745
    this.customer_email = customer_email;
736 chandransh 746
    this.customer_city = customer_city;
747
    this.customer_state = customer_state;
483 rajveer 748
    this.status = status;
749
    this.statusDescription = statusDescription;
750
    this.total_amount = total_amount;
751
    setTotal_amountIsSet(true);
752
    this.total_weight = total_weight;
753
    setTotal_weightIsSet(true);
754
    this.invoice_number = invoice_number;
755
    this.billed_by = billed_by;
756
    this.created_timestamp = created_timestamp;
757
    setCreated_timestampIsSet(true);
758
    this.accepted_timestamp = accepted_timestamp;
759
    setAccepted_timestampIsSet(true);
760
    this.billing_timestamp = billing_timestamp;
761
    setBilling_timestampIsSet(true);
762
    this.shipping_timestamp = shipping_timestamp;
763
    setShipping_timestampIsSet(true);
1114 chandransh 764
    this.pickup_timestamp = pickup_timestamp;
765
    setPickup_timestampIsSet(true);
483 rajveer 766
    this.delivery_timestamp = delivery_timestamp;
767
    setDelivery_timestampIsSet(true);
1209 chandransh 768
    this.outofstock_timestamp = outofstock_timestamp;
769
    setOutofstock_timestampIsSet(true);
640 chandransh 770
    this.jacket_number = jacket_number;
771
    setJacket_numberIsSet(true);
1133 chandransh 772
    this.receiver = receiver;
1221 chandransh 773
    this.batchNo = batchNo;
774
    setBatchNoIsSet(true);
775
    this.serialNo = serialNo;
776
    setSerialNoIsSet(true);
2538 chandransh 777
    this.doaFlag = doaFlag;
778
    setDoaFlagIsSet(true);
779
    this.pickupRequestNo = pickupRequestNo;
2677 vikas 780
    this.transactionId = transactionId;
781
    setTransactionIdIsSet(true);
2819 chandransh 782
    this.purchaseOrderNo = purchaseOrderNo;
3061 chandransh 783
    this.cod = cod;
784
    setCodIsSet(true);
3553 chandransh 785
    this.delayReason = delayReason;
3986 chandransh 786
    this.promised_delivery_time = promised_delivery_time;
787
    setPromised_delivery_timeIsSet(true);
4004 chandransh 788
    this.expected_shipping_time = expected_shipping_time;
789
    setExpected_shipping_timeIsSet(true);
790
    this.verification_timestamp = verification_timestamp;
791
    setVerification_timestampIsSet(true);
4102 chandransh 792
    this.promised_shipping_time = promised_shipping_time;
793
    setPromised_shipping_timeIsSet(true);
4246 rajveer 794
    this.previousStatus = previousStatus;
4269 anupam.sin 795
    this.vendorId = vendorId;
796
    setVendorIdIsSet(true);
4647 rajveer 797
    this.delayReasonText = delayReasonText;
4709 rajveer 798
    this.refundReason = refundReason;
4758 mandeep.dh 799
    this.purchaseOrderId = purchaseOrderId;
800
    setPurchaseOrderIdIsSet(true);
5062 varun.gupt 801
    this.originalOrderId = originalOrderId;
802
    setOriginalOrderIdIsSet(true);
5110 mandeep.dh 803
    this.fulfilmentWarehouseId = fulfilmentWarehouseId;
804
    setFulfilmentWarehouseIdIsSet(true);
5189 varun.gupt 805
    this.vendorPaid = vendorPaid;
806
    setVendorPaidIsSet(true);
5527 anupam.sin 807
    this.orderType = orderType;
5553 rajveer 808
    this.pickupStoreId = pickupStoreId;
809
    setPickupStoreIdIsSet(true);
810
    this.logisticsCod = logisticsCod;
811
    setLogisticsCodIsSet(true);
6319 rajveer 812
    this.gvAmount = gvAmount;
813
    setGvAmountIsSet(true);
6525 rajveer 814
    this.otg = otg;
815
    setOtgIsSet(true);
6726 rajveer 816
    this.courier_delivery_time = courier_delivery_time;
817
    setCourier_delivery_timeIsSet(true);
6903 anupam.sin 818
    this.insurer = insurer;
819
    setInsurerIsSet(true);
820
    this.insuranceAmount = insuranceAmount;
821
    setInsuranceAmountIsSet(true);
822
    this.dob = dob;
823
    this.guardianName = guardianName;
7190 amar.kumar 824
    this.freebieItemId = freebieItemId;
825
    setFreebieItemIdIsSet(true);
483 rajveer 826
  }
827
 
828
  /**
829
   * Performs a deep copy on <i>other</i>.
830
   */
831
  public Order(Order other) {
832
    __isset_bit_vector.clear();
833
    __isset_bit_vector.or(other.__isset_bit_vector);
834
    this.id = other.id;
835
    this.warehouse_id = other.warehouse_id;
836
    if (other.isSetLineitems()) {
837
      List<LineItem> __this__lineitems = new ArrayList<LineItem>();
838
      for (LineItem other_element : other.lineitems) {
839
        __this__lineitems.add(new LineItem(other_element));
840
      }
841
      this.lineitems = __this__lineitems;
842
    }
843
    this.logistics_provider_id = other.logistics_provider_id;
844
    if (other.isSetAirwaybill_no()) {
845
      this.airwaybill_no = other.airwaybill_no;
846
    }
847
    if (other.isSetTracking_id()) {
848
      this.tracking_id = other.tracking_id;
849
    }
850
    this.expected_delivery_time = other.expected_delivery_time;
851
    this.customer_id = other.customer_id;
852
    if (other.isSetCustomer_name()) {
853
      this.customer_name = other.customer_name;
854
    }
855
    if (other.isSetCustomer_mobilenumber()) {
856
      this.customer_mobilenumber = other.customer_mobilenumber;
857
    }
858
    if (other.isSetCustomer_pincode()) {
859
      this.customer_pincode = other.customer_pincode;
860
    }
736 chandransh 861
    if (other.isSetCustomer_address1()) {
862
      this.customer_address1 = other.customer_address1;
483 rajveer 863
    }
736 chandransh 864
    if (other.isSetCustomer_address2()) {
865
      this.customer_address2 = other.customer_address2;
866
    }
483 rajveer 867
    if (other.isSetCustomer_email()) {
868
      this.customer_email = other.customer_email;
869
    }
736 chandransh 870
    if (other.isSetCustomer_city()) {
871
      this.customer_city = other.customer_city;
872
    }
873
    if (other.isSetCustomer_state()) {
874
      this.customer_state = other.customer_state;
875
    }
483 rajveer 876
    if (other.isSetStatus()) {
877
      this.status = other.status;
878
    }
879
    if (other.isSetStatusDescription()) {
880
      this.statusDescription = other.statusDescription;
881
    }
882
    this.total_amount = other.total_amount;
883
    this.total_weight = other.total_weight;
884
    if (other.isSetInvoice_number()) {
885
      this.invoice_number = other.invoice_number;
886
    }
887
    if (other.isSetBilled_by()) {
888
      this.billed_by = other.billed_by;
889
    }
890
    this.created_timestamp = other.created_timestamp;
891
    this.accepted_timestamp = other.accepted_timestamp;
892
    this.billing_timestamp = other.billing_timestamp;
893
    this.shipping_timestamp = other.shipping_timestamp;
1114 chandransh 894
    this.pickup_timestamp = other.pickup_timestamp;
483 rajveer 895
    this.delivery_timestamp = other.delivery_timestamp;
1209 chandransh 896
    this.outofstock_timestamp = other.outofstock_timestamp;
640 chandransh 897
    this.jacket_number = other.jacket_number;
1133 chandransh 898
    if (other.isSetReceiver()) {
899
      this.receiver = other.receiver;
900
    }
1221 chandransh 901
    this.batchNo = other.batchNo;
902
    this.serialNo = other.serialNo;
2538 chandransh 903
    this.doaFlag = other.doaFlag;
904
    if (other.isSetPickupRequestNo()) {
905
      this.pickupRequestNo = other.pickupRequestNo;
906
    }
2677 vikas 907
    this.transactionId = other.transactionId;
2819 chandransh 908
    if (other.isSetPurchaseOrderNo()) {
909
      this.purchaseOrderNo = other.purchaseOrderNo;
910
    }
3061 chandransh 911
    this.cod = other.cod;
3553 chandransh 912
    if (other.isSetDelayReason()) {
913
      this.delayReason = other.delayReason;
914
    }
3986 chandransh 915
    this.promised_delivery_time = other.promised_delivery_time;
4004 chandransh 916
    this.expected_shipping_time = other.expected_shipping_time;
917
    this.verification_timestamp = other.verification_timestamp;
4102 chandransh 918
    this.promised_shipping_time = other.promised_shipping_time;
4192 anupam.sin 919
    this.reship_timestamp = other.reship_timestamp;
920
    this.refund_timestamp = other.refund_timestamp;
921
    this.new_order_id = other.new_order_id;
4246 rajveer 922
    if (other.isSetPreviousStatus()) {
923
      this.previousStatus = other.previousStatus;
924
    }
4269 anupam.sin 925
    this.vendorId = other.vendorId;
4506 phani.kuma 926
    this.doa_auth_timestamp = other.doa_auth_timestamp;
4647 rajveer 927
    if (other.isSetDelayReasonText()) {
928
      this.delayReasonText = other.delayReasonText;
929
    }
4709 rajveer 930
    if (other.isSetRefundReason()) {
931
      this.refundReason = other.refundReason;
932
    }
4758 mandeep.dh 933
    this.purchaseOrderId = other.purchaseOrderId;
4815 phani.kuma 934
    this.doa_logistics_provider_id = other.doa_logistics_provider_id;
5062 varun.gupt 935
    this.originalOrderId = other.originalOrderId;
5110 mandeep.dh 936
    this.fulfilmentWarehouseId = other.fulfilmentWarehouseId;
5189 varun.gupt 937
    this.vendorPaid = other.vendorPaid;
5354 anupam.sin 938
    this.received_return_timestamp = other.received_return_timestamp;
939
    this.first_attempt_timestamp = other.first_attempt_timestamp;
5527 anupam.sin 940
    if (other.isSetOrderType()) {
941
      this.orderType = other.orderType;
942
    }
5553 rajveer 943
    this.pickupStoreId = other.pickupStoreId;
944
    this.logisticsCod = other.logisticsCod;
6319 rajveer 945
    this.gvAmount = other.gvAmount;
6525 rajveer 946
    this.otg = other.otg;
6726 rajveer 947
    this.courier_delivery_time = other.courier_delivery_time;
6903 anupam.sin 948
    this.insurer = other.insurer;
949
    this.insuranceAmount = other.insuranceAmount;
950
    if (other.isSetDob()) {
951
      this.dob = other.dob;
952
    }
953
    if (other.isSetGuardianName()) {
954
      this.guardianName = other.guardianName;
955
    }
7190 amar.kumar 956
    this.freebieItemId = other.freebieItemId;
483 rajveer 957
  }
958
 
959
  public Order deepCopy() {
960
    return new Order(this);
961
  }
962
 
3430 rajveer 963
  @Override
964
  public void clear() {
965
    setIdIsSet(false);
966
    this.id = 0;
967
    setWarehouse_idIsSet(false);
968
    this.warehouse_id = 0;
969
    this.lineitems = null;
970
    setLogistics_provider_idIsSet(false);
971
    this.logistics_provider_id = 0;
972
    this.airwaybill_no = null;
973
    this.tracking_id = null;
974
    setExpected_delivery_timeIsSet(false);
975
    this.expected_delivery_time = 0;
976
    setCustomer_idIsSet(false);
977
    this.customer_id = 0;
978
    this.customer_name = null;
979
    this.customer_mobilenumber = null;
980
    this.customer_pincode = null;
981
    this.customer_address1 = null;
982
    this.customer_address2 = null;
983
    this.customer_email = null;
984
    this.customer_city = null;
985
    this.customer_state = null;
986
    this.status = null;
987
    this.statusDescription = null;
988
    setTotal_amountIsSet(false);
989
    this.total_amount = 0.0;
990
    setTotal_weightIsSet(false);
991
    this.total_weight = 0.0;
992
    this.invoice_number = null;
993
    this.billed_by = null;
994
    setCreated_timestampIsSet(false);
995
    this.created_timestamp = 0;
996
    setAccepted_timestampIsSet(false);
997
    this.accepted_timestamp = 0;
998
    setBilling_timestampIsSet(false);
999
    this.billing_timestamp = 0;
1000
    setShipping_timestampIsSet(false);
1001
    this.shipping_timestamp = 0;
1002
    setPickup_timestampIsSet(false);
1003
    this.pickup_timestamp = 0;
1004
    setDelivery_timestampIsSet(false);
1005
    this.delivery_timestamp = 0;
1006
    setOutofstock_timestampIsSet(false);
1007
    this.outofstock_timestamp = 0;
1008
    setJacket_numberIsSet(false);
1009
    this.jacket_number = 0;
1010
    this.receiver = null;
1011
    setBatchNoIsSet(false);
1012
    this.batchNo = 0;
1013
    setSerialNoIsSet(false);
1014
    this.serialNo = 0;
1015
    setDoaFlagIsSet(false);
1016
    this.doaFlag = false;
1017
    this.pickupRequestNo = null;
1018
    setTransactionIdIsSet(false);
1019
    this.transactionId = 0;
1020
    this.purchaseOrderNo = null;
1021
    setCodIsSet(false);
1022
    this.cod = false;
3553 chandransh 1023
    this.delayReason = null;
3986 chandransh 1024
    setPromised_delivery_timeIsSet(false);
1025
    this.promised_delivery_time = 0;
4004 chandransh 1026
    setExpected_shipping_timeIsSet(false);
1027
    this.expected_shipping_time = 0;
1028
    setVerification_timestampIsSet(false);
1029
    this.verification_timestamp = 0;
4102 chandransh 1030
    setPromised_shipping_timeIsSet(false);
1031
    this.promised_shipping_time = 0;
4192 anupam.sin 1032
    setReship_timestampIsSet(false);
1033
    this.reship_timestamp = 0;
1034
    setRefund_timestampIsSet(false);
1035
    this.refund_timestamp = 0;
1036
    setNew_order_idIsSet(false);
1037
    this.new_order_id = 0;
4246 rajveer 1038
    this.previousStatus = null;
4269 anupam.sin 1039
    setVendorIdIsSet(false);
1040
    this.vendorId = 0;
4506 phani.kuma 1041
    setDoa_auth_timestampIsSet(false);
1042
    this.doa_auth_timestamp = 0;
4647 rajveer 1043
    this.delayReasonText = null;
4709 rajveer 1044
    this.refundReason = null;
4758 mandeep.dh 1045
    setPurchaseOrderIdIsSet(false);
1046
    this.purchaseOrderId = 0;
4815 phani.kuma 1047
    setDoa_logistics_provider_idIsSet(false);
1048
    this.doa_logistics_provider_id = 0;
5062 varun.gupt 1049
    setOriginalOrderIdIsSet(false);
1050
    this.originalOrderId = 0;
5110 mandeep.dh 1051
    setFulfilmentWarehouseIdIsSet(false);
1052
    this.fulfilmentWarehouseId = 0;
5189 varun.gupt 1053
    setVendorPaidIsSet(false);
1054
    this.vendorPaid = false;
5354 anupam.sin 1055
    setReceived_return_timestampIsSet(false);
1056
    this.received_return_timestamp = 0;
1057
    setFirst_attempt_timestampIsSet(false);
1058
    this.first_attempt_timestamp = 0;
5527 anupam.sin 1059
    this.orderType = null;
5553 rajveer 1060
    setPickupStoreIdIsSet(false);
1061
    this.pickupStoreId = 0;
1062
    setLogisticsCodIsSet(false);
1063
    this.logisticsCod = false;
6319 rajveer 1064
    setGvAmountIsSet(false);
1065
    this.gvAmount = 0;
6525 rajveer 1066
    setOtgIsSet(false);
1067
    this.otg = false;
6726 rajveer 1068
    setCourier_delivery_timeIsSet(false);
1069
    this.courier_delivery_time = 0;
6903 anupam.sin 1070
    setInsurerIsSet(false);
1071
    this.insurer = 0;
1072
    setInsuranceAmountIsSet(false);
1073
    this.insuranceAmount = 0.0;
1074
    this.dob = null;
1075
    this.guardianName = null;
7190 amar.kumar 1076
    setFreebieItemIdIsSet(false);
1077
    this.freebieItemId = 0;
483 rajveer 1078
  }
1079
 
1080
  public long getId() {
1081
    return this.id;
1082
  }
1083
 
3430 rajveer 1084
  public void setId(long id) {
483 rajveer 1085
    this.id = id;
1086
    setIdIsSet(true);
1087
  }
1088
 
1089
  public void unsetId() {
1090
    __isset_bit_vector.clear(__ID_ISSET_ID);
1091
  }
1092
 
3430 rajveer 1093
  /** Returns true if field id is set (has been assigned a value) and false otherwise */
483 rajveer 1094
  public boolean isSetId() {
1095
    return __isset_bit_vector.get(__ID_ISSET_ID);
1096
  }
1097
 
1098
  public void setIdIsSet(boolean value) {
1099
    __isset_bit_vector.set(__ID_ISSET_ID, value);
1100
  }
1101
 
1102
  public long getWarehouse_id() {
1103
    return this.warehouse_id;
1104
  }
1105
 
3430 rajveer 1106
  public void setWarehouse_id(long warehouse_id) {
483 rajveer 1107
    this.warehouse_id = warehouse_id;
1108
    setWarehouse_idIsSet(true);
1109
  }
1110
 
1111
  public void unsetWarehouse_id() {
1112
    __isset_bit_vector.clear(__WAREHOUSE_ID_ISSET_ID);
1113
  }
1114
 
3430 rajveer 1115
  /** Returns true if field warehouse_id is set (has been assigned a value) and false otherwise */
483 rajveer 1116
  public boolean isSetWarehouse_id() {
1117
    return __isset_bit_vector.get(__WAREHOUSE_ID_ISSET_ID);
1118
  }
1119
 
1120
  public void setWarehouse_idIsSet(boolean value) {
1121
    __isset_bit_vector.set(__WAREHOUSE_ID_ISSET_ID, value);
1122
  }
1123
 
1124
  public int getLineitemsSize() {
1125
    return (this.lineitems == null) ? 0 : this.lineitems.size();
1126
  }
1127
 
1128
  public java.util.Iterator<LineItem> getLineitemsIterator() {
1129
    return (this.lineitems == null) ? null : this.lineitems.iterator();
1130
  }
1131
 
1132
  public void addToLineitems(LineItem elem) {
1133
    if (this.lineitems == null) {
1134
      this.lineitems = new ArrayList<LineItem>();
1135
    }
1136
    this.lineitems.add(elem);
1137
  }
1138
 
1139
  /**
1140
   * 	item info
1141
   * *
1142
   */
1143
  public List<LineItem> getLineitems() {
1144
    return this.lineitems;
1145
  }
1146
 
1147
  /**
1148
   * 	item info
1149
   * *
1150
   */
3430 rajveer 1151
  public void setLineitems(List<LineItem> lineitems) {
483 rajveer 1152
    this.lineitems = lineitems;
1153
  }
1154
 
1155
  public void unsetLineitems() {
1156
    this.lineitems = null;
1157
  }
1158
 
3430 rajveer 1159
  /** Returns true if field lineitems is set (has been assigned a value) and false otherwise */
483 rajveer 1160
  public boolean isSetLineitems() {
1161
    return this.lineitems != null;
1162
  }
1163
 
1164
  public void setLineitemsIsSet(boolean value) {
1165
    if (!value) {
1166
      this.lineitems = null;
1167
    }
1168
  }
1169
 
1170
  /**
1171
   *   logistics info
1172
   * *
1173
   */
1174
  public long getLogistics_provider_id() {
1175
    return this.logistics_provider_id;
1176
  }
1177
 
1178
  /**
1179
   *   logistics info
1180
   * *
1181
   */
3430 rajveer 1182
  public void setLogistics_provider_id(long logistics_provider_id) {
483 rajveer 1183
    this.logistics_provider_id = logistics_provider_id;
1184
    setLogistics_provider_idIsSet(true);
1185
  }
1186
 
1187
  public void unsetLogistics_provider_id() {
1188
    __isset_bit_vector.clear(__LOGISTICS_PROVIDER_ID_ISSET_ID);
1189
  }
1190
 
3430 rajveer 1191
  /** Returns true if field logistics_provider_id is set (has been assigned a value) and false otherwise */
483 rajveer 1192
  public boolean isSetLogistics_provider_id() {
1193
    return __isset_bit_vector.get(__LOGISTICS_PROVIDER_ID_ISSET_ID);
1194
  }
1195
 
1196
  public void setLogistics_provider_idIsSet(boolean value) {
1197
    __isset_bit_vector.set(__LOGISTICS_PROVIDER_ID_ISSET_ID, value);
1198
  }
1199
 
1200
  public String getAirwaybill_no() {
1201
    return this.airwaybill_no;
1202
  }
1203
 
3430 rajveer 1204
  public void setAirwaybill_no(String airwaybill_no) {
483 rajveer 1205
    this.airwaybill_no = airwaybill_no;
1206
  }
1207
 
1208
  public void unsetAirwaybill_no() {
1209
    this.airwaybill_no = null;
1210
  }
1211
 
3430 rajveer 1212
  /** Returns true if field airwaybill_no is set (has been assigned a value) and false otherwise */
483 rajveer 1213
  public boolean isSetAirwaybill_no() {
1214
    return this.airwaybill_no != null;
1215
  }
1216
 
1217
  public void setAirwaybill_noIsSet(boolean value) {
1218
    if (!value) {
1219
      this.airwaybill_no = null;
1220
    }
1221
  }
1222
 
1223
  public String getTracking_id() {
1224
    return this.tracking_id;
1225
  }
1226
 
3430 rajveer 1227
  public void setTracking_id(String tracking_id) {
483 rajveer 1228
    this.tracking_id = tracking_id;
1229
  }
1230
 
1231
  public void unsetTracking_id() {
1232
    this.tracking_id = null;
1233
  }
1234
 
3430 rajveer 1235
  /** Returns true if field tracking_id is set (has been assigned a value) and false otherwise */
483 rajveer 1236
  public boolean isSetTracking_id() {
1237
    return this.tracking_id != null;
1238
  }
1239
 
1240
  public void setTracking_idIsSet(boolean value) {
1241
    if (!value) {
1242
      this.tracking_id = null;
1243
    }
1244
  }
1245
 
1246
  public long getExpected_delivery_time() {
1247
    return this.expected_delivery_time;
1248
  }
1249
 
3430 rajveer 1250
  public void setExpected_delivery_time(long expected_delivery_time) {
483 rajveer 1251
    this.expected_delivery_time = expected_delivery_time;
1252
    setExpected_delivery_timeIsSet(true);
1253
  }
1254
 
1255
  public void unsetExpected_delivery_time() {
1256
    __isset_bit_vector.clear(__EXPECTED_DELIVERY_TIME_ISSET_ID);
1257
  }
1258
 
3430 rajveer 1259
  /** Returns true if field expected_delivery_time is set (has been assigned a value) and false otherwise */
483 rajveer 1260
  public boolean isSetExpected_delivery_time() {
1261
    return __isset_bit_vector.get(__EXPECTED_DELIVERY_TIME_ISSET_ID);
1262
  }
1263
 
1264
  public void setExpected_delivery_timeIsSet(boolean value) {
1265
    __isset_bit_vector.set(__EXPECTED_DELIVERY_TIME_ISSET_ID, value);
1266
  }
1267
 
1268
  /**
1269
   *   customer info
1270
   * *
1271
   */
1272
  public long getCustomer_id() {
1273
    return this.customer_id;
1274
  }
1275
 
1276
  /**
1277
   *   customer info
1278
   * *
1279
   */
3430 rajveer 1280
  public void setCustomer_id(long customer_id) {
483 rajveer 1281
    this.customer_id = customer_id;
1282
    setCustomer_idIsSet(true);
1283
  }
1284
 
1285
  public void unsetCustomer_id() {
1286
    __isset_bit_vector.clear(__CUSTOMER_ID_ISSET_ID);
1287
  }
1288
 
3430 rajveer 1289
  /** Returns true if field customer_id is set (has been assigned a value) and false otherwise */
483 rajveer 1290
  public boolean isSetCustomer_id() {
1291
    return __isset_bit_vector.get(__CUSTOMER_ID_ISSET_ID);
1292
  }
1293
 
1294
  public void setCustomer_idIsSet(boolean value) {
1295
    __isset_bit_vector.set(__CUSTOMER_ID_ISSET_ID, value);
1296
  }
1297
 
1298
  public String getCustomer_name() {
1299
    return this.customer_name;
1300
  }
1301
 
3430 rajveer 1302
  public void setCustomer_name(String customer_name) {
483 rajveer 1303
    this.customer_name = customer_name;
1304
  }
1305
 
1306
  public void unsetCustomer_name() {
1307
    this.customer_name = null;
1308
  }
1309
 
3430 rajveer 1310
  /** Returns true if field customer_name is set (has been assigned a value) and false otherwise */
483 rajveer 1311
  public boolean isSetCustomer_name() {
1312
    return this.customer_name != null;
1313
  }
1314
 
1315
  public void setCustomer_nameIsSet(boolean value) {
1316
    if (!value) {
1317
      this.customer_name = null;
1318
    }
1319
  }
1320
 
1321
  public String getCustomer_mobilenumber() {
1322
    return this.customer_mobilenumber;
1323
  }
1324
 
3430 rajveer 1325
  public void setCustomer_mobilenumber(String customer_mobilenumber) {
483 rajveer 1326
    this.customer_mobilenumber = customer_mobilenumber;
1327
  }
1328
 
1329
  public void unsetCustomer_mobilenumber() {
1330
    this.customer_mobilenumber = null;
1331
  }
1332
 
3430 rajveer 1333
  /** Returns true if field customer_mobilenumber is set (has been assigned a value) and false otherwise */
483 rajveer 1334
  public boolean isSetCustomer_mobilenumber() {
1335
    return this.customer_mobilenumber != null;
1336
  }
1337
 
1338
  public void setCustomer_mobilenumberIsSet(boolean value) {
1339
    if (!value) {
1340
      this.customer_mobilenumber = null;
1341
    }
1342
  }
1343
 
1344
  public String getCustomer_pincode() {
1345
    return this.customer_pincode;
1346
  }
1347
 
3430 rajveer 1348
  public void setCustomer_pincode(String customer_pincode) {
483 rajveer 1349
    this.customer_pincode = customer_pincode;
1350
  }
1351
 
1352
  public void unsetCustomer_pincode() {
1353
    this.customer_pincode = null;
1354
  }
1355
 
3430 rajveer 1356
  /** Returns true if field customer_pincode is set (has been assigned a value) and false otherwise */
483 rajveer 1357
  public boolean isSetCustomer_pincode() {
1358
    return this.customer_pincode != null;
1359
  }
1360
 
1361
  public void setCustomer_pincodeIsSet(boolean value) {
1362
    if (!value) {
1363
      this.customer_pincode = null;
1364
    }
1365
  }
1366
 
736 chandransh 1367
  public String getCustomer_address1() {
1368
    return this.customer_address1;
483 rajveer 1369
  }
1370
 
3430 rajveer 1371
  public void setCustomer_address1(String customer_address1) {
736 chandransh 1372
    this.customer_address1 = customer_address1;
483 rajveer 1373
  }
1374
 
736 chandransh 1375
  public void unsetCustomer_address1() {
1376
    this.customer_address1 = null;
483 rajveer 1377
  }
1378
 
3430 rajveer 1379
  /** Returns true if field customer_address1 is set (has been assigned a value) and false otherwise */
736 chandransh 1380
  public boolean isSetCustomer_address1() {
1381
    return this.customer_address1 != null;
483 rajveer 1382
  }
1383
 
736 chandransh 1384
  public void setCustomer_address1IsSet(boolean value) {
483 rajveer 1385
    if (!value) {
736 chandransh 1386
      this.customer_address1 = null;
483 rajveer 1387
    }
1388
  }
1389
 
736 chandransh 1390
  public String getCustomer_address2() {
1391
    return this.customer_address2;
1392
  }
1393
 
3430 rajveer 1394
  public void setCustomer_address2(String customer_address2) {
736 chandransh 1395
    this.customer_address2 = customer_address2;
1396
  }
1397
 
1398
  public void unsetCustomer_address2() {
1399
    this.customer_address2 = null;
1400
  }
1401
 
3430 rajveer 1402
  /** Returns true if field customer_address2 is set (has been assigned a value) and false otherwise */
736 chandransh 1403
  public boolean isSetCustomer_address2() {
1404
    return this.customer_address2 != null;
1405
  }
1406
 
1407
  public void setCustomer_address2IsSet(boolean value) {
1408
    if (!value) {
1409
      this.customer_address2 = null;
1410
    }
1411
  }
1412
 
483 rajveer 1413
  public String getCustomer_email() {
1414
    return this.customer_email;
1415
  }
1416
 
3430 rajveer 1417
  public void setCustomer_email(String customer_email) {
483 rajveer 1418
    this.customer_email = customer_email;
1419
  }
1420
 
1421
  public void unsetCustomer_email() {
1422
    this.customer_email = null;
1423
  }
1424
 
3430 rajveer 1425
  /** Returns true if field customer_email is set (has been assigned a value) and false otherwise */
483 rajveer 1426
  public boolean isSetCustomer_email() {
1427
    return this.customer_email != null;
1428
  }
1429
 
1430
  public void setCustomer_emailIsSet(boolean value) {
1431
    if (!value) {
1432
      this.customer_email = null;
1433
    }
1434
  }
1435
 
736 chandransh 1436
  public String getCustomer_city() {
1437
    return this.customer_city;
1438
  }
1439
 
3430 rajveer 1440
  public void setCustomer_city(String customer_city) {
736 chandransh 1441
    this.customer_city = customer_city;
1442
  }
1443
 
1444
  public void unsetCustomer_city() {
1445
    this.customer_city = null;
1446
  }
1447
 
3430 rajveer 1448
  /** Returns true if field customer_city is set (has been assigned a value) and false otherwise */
736 chandransh 1449
  public boolean isSetCustomer_city() {
1450
    return this.customer_city != null;
1451
  }
1452
 
1453
  public void setCustomer_cityIsSet(boolean value) {
1454
    if (!value) {
1455
      this.customer_city = null;
1456
    }
1457
  }
1458
 
1459
  public String getCustomer_state() {
1460
    return this.customer_state;
1461
  }
1462
 
3430 rajveer 1463
  public void setCustomer_state(String customer_state) {
736 chandransh 1464
    this.customer_state = customer_state;
1465
  }
1466
 
1467
  public void unsetCustomer_state() {
1468
    this.customer_state = null;
1469
  }
1470
 
3430 rajveer 1471
  /** Returns true if field customer_state is set (has been assigned a value) and false otherwise */
736 chandransh 1472
  public boolean isSetCustomer_state() {
1473
    return this.customer_state != null;
1474
  }
1475
 
1476
  public void setCustomer_stateIsSet(boolean value) {
1477
    if (!value) {
1478
      this.customer_state = null;
1479
    }
1480
  }
1481
 
483 rajveer 1482
  /**
1483
   * 	status and misc info
1484
   * *
1485
   * 
1486
   * @see OrderStatus
1487
   */
1488
  public OrderStatus getStatus() {
1489
    return this.status;
1490
  }
1491
 
1492
  /**
1493
   * 	status and misc info
1494
   * *
1495
   * 
1496
   * @see OrderStatus
1497
   */
3430 rajveer 1498
  public void setStatus(OrderStatus status) {
483 rajveer 1499
    this.status = status;
1500
  }
1501
 
1502
  public void unsetStatus() {
1503
    this.status = null;
1504
  }
1505
 
3430 rajveer 1506
  /** Returns true if field status is set (has been assigned a value) and false otherwise */
483 rajveer 1507
  public boolean isSetStatus() {
1508
    return this.status != null;
1509
  }
1510
 
1511
  public void setStatusIsSet(boolean value) {
1512
    if (!value) {
1513
      this.status = null;
1514
    }
1515
  }
1516
 
1517
  public String getStatusDescription() {
1518
    return this.statusDescription;
1519
  }
1520
 
3430 rajveer 1521
  public void setStatusDescription(String statusDescription) {
483 rajveer 1522
    this.statusDescription = statusDescription;
1523
  }
1524
 
1525
  public void unsetStatusDescription() {
1526
    this.statusDescription = null;
1527
  }
1528
 
3430 rajveer 1529
  /** Returns true if field statusDescription is set (has been assigned a value) and false otherwise */
483 rajveer 1530
  public boolean isSetStatusDescription() {
1531
    return this.statusDescription != null;
1532
  }
1533
 
1534
  public void setStatusDescriptionIsSet(boolean value) {
1535
    if (!value) {
1536
      this.statusDescription = null;
1537
    }
1538
  }
1539
 
1540
  public double getTotal_amount() {
1541
    return this.total_amount;
1542
  }
1543
 
3430 rajveer 1544
  public void setTotal_amount(double total_amount) {
483 rajveer 1545
    this.total_amount = total_amount;
1546
    setTotal_amountIsSet(true);
1547
  }
1548
 
1549
  public void unsetTotal_amount() {
1550
    __isset_bit_vector.clear(__TOTAL_AMOUNT_ISSET_ID);
1551
  }
1552
 
3430 rajveer 1553
  /** Returns true if field total_amount is set (has been assigned a value) and false otherwise */
483 rajveer 1554
  public boolean isSetTotal_amount() {
1555
    return __isset_bit_vector.get(__TOTAL_AMOUNT_ISSET_ID);
1556
  }
1557
 
1558
  public void setTotal_amountIsSet(boolean value) {
1559
    __isset_bit_vector.set(__TOTAL_AMOUNT_ISSET_ID, value);
1560
  }
1561
 
1562
  public double getTotal_weight() {
1563
    return this.total_weight;
1564
  }
1565
 
3430 rajveer 1566
  public void setTotal_weight(double total_weight) {
483 rajveer 1567
    this.total_weight = total_weight;
1568
    setTotal_weightIsSet(true);
1569
  }
1570
 
1571
  public void unsetTotal_weight() {
1572
    __isset_bit_vector.clear(__TOTAL_WEIGHT_ISSET_ID);
1573
  }
1574
 
3430 rajveer 1575
  /** Returns true if field total_weight is set (has been assigned a value) and false otherwise */
483 rajveer 1576
  public boolean isSetTotal_weight() {
1577
    return __isset_bit_vector.get(__TOTAL_WEIGHT_ISSET_ID);
1578
  }
1579
 
1580
  public void setTotal_weightIsSet(boolean value) {
1581
    __isset_bit_vector.set(__TOTAL_WEIGHT_ISSET_ID, value);
1582
  }
1583
 
1584
  /**
1585
   * 	billing info
1586
   * *
1587
   */
1588
  public String getInvoice_number() {
1589
    return this.invoice_number;
1590
  }
1591
 
1592
  /**
1593
   * 	billing info
1594
   * *
1595
   */
3430 rajveer 1596
  public void setInvoice_number(String invoice_number) {
483 rajveer 1597
    this.invoice_number = invoice_number;
1598
  }
1599
 
1600
  public void unsetInvoice_number() {
1601
    this.invoice_number = null;
1602
  }
1603
 
3430 rajveer 1604
  /** Returns true if field invoice_number is set (has been assigned a value) and false otherwise */
483 rajveer 1605
  public boolean isSetInvoice_number() {
1606
    return this.invoice_number != null;
1607
  }
1608
 
1609
  public void setInvoice_numberIsSet(boolean value) {
1610
    if (!value) {
1611
      this.invoice_number = null;
1612
    }
1613
  }
1614
 
1615
  public String getBilled_by() {
1616
    return this.billed_by;
1617
  }
1618
 
3430 rajveer 1619
  public void setBilled_by(String billed_by) {
483 rajveer 1620
    this.billed_by = billed_by;
1621
  }
1622
 
1623
  public void unsetBilled_by() {
1624
    this.billed_by = null;
1625
  }
1626
 
3430 rajveer 1627
  /** Returns true if field billed_by is set (has been assigned a value) and false otherwise */
483 rajveer 1628
  public boolean isSetBilled_by() {
1629
    return this.billed_by != null;
1630
  }
1631
 
1632
  public void setBilled_byIsSet(boolean value) {
1633
    if (!value) {
1634
      this.billed_by = null;
1635
    }
1636
  }
1637
 
1638
  /**
1639
   * 	timestamps
1640
   * *
1641
   */
1642
  public long getCreated_timestamp() {
1643
    return this.created_timestamp;
1644
  }
1645
 
1646
  /**
1647
   * 	timestamps
1648
   * *
1649
   */
3430 rajveer 1650
  public void setCreated_timestamp(long created_timestamp) {
483 rajveer 1651
    this.created_timestamp = created_timestamp;
1652
    setCreated_timestampIsSet(true);
1653
  }
1654
 
1655
  public void unsetCreated_timestamp() {
1656
    __isset_bit_vector.clear(__CREATED_TIMESTAMP_ISSET_ID);
1657
  }
1658
 
3430 rajveer 1659
  /** Returns true if field created_timestamp is set (has been assigned a value) and false otherwise */
483 rajveer 1660
  public boolean isSetCreated_timestamp() {
1661
    return __isset_bit_vector.get(__CREATED_TIMESTAMP_ISSET_ID);
1662
  }
1663
 
1664
  public void setCreated_timestampIsSet(boolean value) {
1665
    __isset_bit_vector.set(__CREATED_TIMESTAMP_ISSET_ID, value);
1666
  }
1667
 
1668
  public long getAccepted_timestamp() {
1669
    return this.accepted_timestamp;
1670
  }
1671
 
3430 rajveer 1672
  public void setAccepted_timestamp(long accepted_timestamp) {
483 rajveer 1673
    this.accepted_timestamp = accepted_timestamp;
1674
    setAccepted_timestampIsSet(true);
1675
  }
1676
 
1677
  public void unsetAccepted_timestamp() {
1678
    __isset_bit_vector.clear(__ACCEPTED_TIMESTAMP_ISSET_ID);
1679
  }
1680
 
3430 rajveer 1681
  /** Returns true if field accepted_timestamp is set (has been assigned a value) and false otherwise */
483 rajveer 1682
  public boolean isSetAccepted_timestamp() {
1683
    return __isset_bit_vector.get(__ACCEPTED_TIMESTAMP_ISSET_ID);
1684
  }
1685
 
1686
  public void setAccepted_timestampIsSet(boolean value) {
1687
    __isset_bit_vector.set(__ACCEPTED_TIMESTAMP_ISSET_ID, value);
1688
  }
1689
 
1690
  public long getBilling_timestamp() {
1691
    return this.billing_timestamp;
1692
  }
1693
 
3430 rajveer 1694
  public void setBilling_timestamp(long billing_timestamp) {
483 rajveer 1695
    this.billing_timestamp = billing_timestamp;
1696
    setBilling_timestampIsSet(true);
1697
  }
1698
 
1699
  public void unsetBilling_timestamp() {
1700
    __isset_bit_vector.clear(__BILLING_TIMESTAMP_ISSET_ID);
1701
  }
1702
 
3430 rajveer 1703
  /** Returns true if field billing_timestamp is set (has been assigned a value) and false otherwise */
483 rajveer 1704
  public boolean isSetBilling_timestamp() {
1705
    return __isset_bit_vector.get(__BILLING_TIMESTAMP_ISSET_ID);
1706
  }
1707
 
1708
  public void setBilling_timestampIsSet(boolean value) {
1709
    __isset_bit_vector.set(__BILLING_TIMESTAMP_ISSET_ID, value);
1710
  }
1711
 
1712
  public long getShipping_timestamp() {
1713
    return this.shipping_timestamp;
1714
  }
1715
 
3430 rajveer 1716
  public void setShipping_timestamp(long shipping_timestamp) {
483 rajveer 1717
    this.shipping_timestamp = shipping_timestamp;
1718
    setShipping_timestampIsSet(true);
1719
  }
1720
 
1721
  public void unsetShipping_timestamp() {
1722
    __isset_bit_vector.clear(__SHIPPING_TIMESTAMP_ISSET_ID);
1723
  }
1724
 
3430 rajveer 1725
  /** Returns true if field shipping_timestamp is set (has been assigned a value) and false otherwise */
483 rajveer 1726
  public boolean isSetShipping_timestamp() {
1727
    return __isset_bit_vector.get(__SHIPPING_TIMESTAMP_ISSET_ID);
1728
  }
1729
 
1730
  public void setShipping_timestampIsSet(boolean value) {
1731
    __isset_bit_vector.set(__SHIPPING_TIMESTAMP_ISSET_ID, value);
1732
  }
1733
 
1114 chandransh 1734
  public long getPickup_timestamp() {
1735
    return this.pickup_timestamp;
1736
  }
1737
 
3430 rajveer 1738
  public void setPickup_timestamp(long pickup_timestamp) {
1114 chandransh 1739
    this.pickup_timestamp = pickup_timestamp;
1740
    setPickup_timestampIsSet(true);
1741
  }
1742
 
1743
  public void unsetPickup_timestamp() {
1744
    __isset_bit_vector.clear(__PICKUP_TIMESTAMP_ISSET_ID);
1745
  }
1746
 
3430 rajveer 1747
  /** Returns true if field pickup_timestamp is set (has been assigned a value) and false otherwise */
1114 chandransh 1748
  public boolean isSetPickup_timestamp() {
1749
    return __isset_bit_vector.get(__PICKUP_TIMESTAMP_ISSET_ID);
1750
  }
1751
 
1752
  public void setPickup_timestampIsSet(boolean value) {
1753
    __isset_bit_vector.set(__PICKUP_TIMESTAMP_ISSET_ID, value);
1754
  }
1755
 
483 rajveer 1756
  public long getDelivery_timestamp() {
1757
    return this.delivery_timestamp;
1758
  }
1759
 
3430 rajveer 1760
  public void setDelivery_timestamp(long delivery_timestamp) {
483 rajveer 1761
    this.delivery_timestamp = delivery_timestamp;
1762
    setDelivery_timestampIsSet(true);
1763
  }
1764
 
1765
  public void unsetDelivery_timestamp() {
1766
    __isset_bit_vector.clear(__DELIVERY_TIMESTAMP_ISSET_ID);
1767
  }
1768
 
3430 rajveer 1769
  /** Returns true if field delivery_timestamp is set (has been assigned a value) and false otherwise */
483 rajveer 1770
  public boolean isSetDelivery_timestamp() {
1771
    return __isset_bit_vector.get(__DELIVERY_TIMESTAMP_ISSET_ID);
1772
  }
1773
 
1774
  public void setDelivery_timestampIsSet(boolean value) {
1775
    __isset_bit_vector.set(__DELIVERY_TIMESTAMP_ISSET_ID, value);
1776
  }
1777
 
1209 chandransh 1778
  public long getOutofstock_timestamp() {
1779
    return this.outofstock_timestamp;
1780
  }
1781
 
3430 rajveer 1782
  public void setOutofstock_timestamp(long outofstock_timestamp) {
1209 chandransh 1783
    this.outofstock_timestamp = outofstock_timestamp;
1784
    setOutofstock_timestampIsSet(true);
1785
  }
1786
 
1787
  public void unsetOutofstock_timestamp() {
1788
    __isset_bit_vector.clear(__OUTOFSTOCK_TIMESTAMP_ISSET_ID);
1789
  }
1790
 
3430 rajveer 1791
  /** Returns true if field outofstock_timestamp is set (has been assigned a value) and false otherwise */
1209 chandransh 1792
  public boolean isSetOutofstock_timestamp() {
1793
    return __isset_bit_vector.get(__OUTOFSTOCK_TIMESTAMP_ISSET_ID);
1794
  }
1795
 
1796
  public void setOutofstock_timestampIsSet(boolean value) {
1797
    __isset_bit_vector.set(__OUTOFSTOCK_TIMESTAMP_ISSET_ID, value);
1798
  }
1799
 
640 chandransh 1800
  public long getJacket_number() {
1801
    return this.jacket_number;
1802
  }
1803
 
3430 rajveer 1804
  public void setJacket_number(long jacket_number) {
640 chandransh 1805
    this.jacket_number = jacket_number;
1806
    setJacket_numberIsSet(true);
1807
  }
1808
 
1809
  public void unsetJacket_number() {
1810
    __isset_bit_vector.clear(__JACKET_NUMBER_ISSET_ID);
1811
  }
1812
 
3430 rajveer 1813
  /** Returns true if field jacket_number is set (has been assigned a value) and false otherwise */
640 chandransh 1814
  public boolean isSetJacket_number() {
1815
    return __isset_bit_vector.get(__JACKET_NUMBER_ISSET_ID);
1816
  }
1817
 
1818
  public void setJacket_numberIsSet(boolean value) {
1819
    __isset_bit_vector.set(__JACKET_NUMBER_ISSET_ID, value);
1820
  }
1821
 
1133 chandransh 1822
  public String getReceiver() {
1823
    return this.receiver;
1824
  }
1825
 
3430 rajveer 1826
  public void setReceiver(String receiver) {
1133 chandransh 1827
    this.receiver = receiver;
1828
  }
1829
 
1830
  public void unsetReceiver() {
1831
    this.receiver = null;
1832
  }
1833
 
3430 rajveer 1834
  /** Returns true if field receiver is set (has been assigned a value) and false otherwise */
1133 chandransh 1835
  public boolean isSetReceiver() {
1836
    return this.receiver != null;
1837
  }
1838
 
1839
  public void setReceiverIsSet(boolean value) {
1840
    if (!value) {
1841
      this.receiver = null;
1842
    }
1843
  }
1844
 
1221 chandransh 1845
  public long getBatchNo() {
1846
    return this.batchNo;
1847
  }
1848
 
3430 rajveer 1849
  public void setBatchNo(long batchNo) {
1221 chandransh 1850
    this.batchNo = batchNo;
1851
    setBatchNoIsSet(true);
1852
  }
1853
 
1854
  public void unsetBatchNo() {
1855
    __isset_bit_vector.clear(__BATCHNO_ISSET_ID);
1856
  }
1857
 
3430 rajveer 1858
  /** Returns true if field batchNo is set (has been assigned a value) and false otherwise */
1221 chandransh 1859
  public boolean isSetBatchNo() {
1860
    return __isset_bit_vector.get(__BATCHNO_ISSET_ID);
1861
  }
1862
 
1863
  public void setBatchNoIsSet(boolean value) {
1864
    __isset_bit_vector.set(__BATCHNO_ISSET_ID, value);
1865
  }
1866
 
1867
  public long getSerialNo() {
1868
    return this.serialNo;
1869
  }
1870
 
3430 rajveer 1871
  public void setSerialNo(long serialNo) {
1221 chandransh 1872
    this.serialNo = serialNo;
1873
    setSerialNoIsSet(true);
1874
  }
1875
 
1876
  public void unsetSerialNo() {
1877
    __isset_bit_vector.clear(__SERIALNO_ISSET_ID);
1878
  }
1879
 
3430 rajveer 1880
  /** Returns true if field serialNo is set (has been assigned a value) and false otherwise */
1221 chandransh 1881
  public boolean isSetSerialNo() {
1882
    return __isset_bit_vector.get(__SERIALNO_ISSET_ID);
1883
  }
1884
 
1885
  public void setSerialNoIsSet(boolean value) {
1886
    __isset_bit_vector.set(__SERIALNO_ISSET_ID, value);
1887
  }
1888
 
2538 chandransh 1889
  public boolean isDoaFlag() {
1890
    return this.doaFlag;
1891
  }
1892
 
3430 rajveer 1893
  public void setDoaFlag(boolean doaFlag) {
2538 chandransh 1894
    this.doaFlag = doaFlag;
1895
    setDoaFlagIsSet(true);
1896
  }
1897
 
1898
  public void unsetDoaFlag() {
1899
    __isset_bit_vector.clear(__DOAFLAG_ISSET_ID);
1900
  }
1901
 
3430 rajveer 1902
  /** Returns true if field doaFlag is set (has been assigned a value) and false otherwise */
2538 chandransh 1903
  public boolean isSetDoaFlag() {
1904
    return __isset_bit_vector.get(__DOAFLAG_ISSET_ID);
1905
  }
1906
 
1907
  public void setDoaFlagIsSet(boolean value) {
1908
    __isset_bit_vector.set(__DOAFLAG_ISSET_ID, value);
1909
  }
1910
 
1911
  public String getPickupRequestNo() {
1912
    return this.pickupRequestNo;
1913
  }
1914
 
3430 rajveer 1915
  public void setPickupRequestNo(String pickupRequestNo) {
2538 chandransh 1916
    this.pickupRequestNo = pickupRequestNo;
1917
  }
1918
 
1919
  public void unsetPickupRequestNo() {
1920
    this.pickupRequestNo = null;
1921
  }
1922
 
3430 rajveer 1923
  /** Returns true if field pickupRequestNo is set (has been assigned a value) and false otherwise */
2538 chandransh 1924
  public boolean isSetPickupRequestNo() {
1925
    return this.pickupRequestNo != null;
1926
  }
1927
 
1928
  public void setPickupRequestNoIsSet(boolean value) {
1929
    if (!value) {
1930
      this.pickupRequestNo = null;
1931
    }
1932
  }
1933
 
2677 vikas 1934
  public long getTransactionId() {
1935
    return this.transactionId;
1936
  }
1937
 
3430 rajveer 1938
  public void setTransactionId(long transactionId) {
2677 vikas 1939
    this.transactionId = transactionId;
1940
    setTransactionIdIsSet(true);
1941
  }
1942
 
1943
  public void unsetTransactionId() {
1944
    __isset_bit_vector.clear(__TRANSACTIONID_ISSET_ID);
1945
  }
1946
 
3430 rajveer 1947
  /** Returns true if field transactionId is set (has been assigned a value) and false otherwise */
2677 vikas 1948
  public boolean isSetTransactionId() {
1949
    return __isset_bit_vector.get(__TRANSACTIONID_ISSET_ID);
1950
  }
1951
 
1952
  public void setTransactionIdIsSet(boolean value) {
1953
    __isset_bit_vector.set(__TRANSACTIONID_ISSET_ID, value);
1954
  }
1955
 
2819 chandransh 1956
  public String getPurchaseOrderNo() {
1957
    return this.purchaseOrderNo;
1958
  }
1959
 
3430 rajveer 1960
  public void setPurchaseOrderNo(String purchaseOrderNo) {
2819 chandransh 1961
    this.purchaseOrderNo = purchaseOrderNo;
1962
  }
1963
 
1964
  public void unsetPurchaseOrderNo() {
1965
    this.purchaseOrderNo = null;
1966
  }
1967
 
3430 rajveer 1968
  /** Returns true if field purchaseOrderNo is set (has been assigned a value) and false otherwise */
2819 chandransh 1969
  public boolean isSetPurchaseOrderNo() {
1970
    return this.purchaseOrderNo != null;
1971
  }
1972
 
1973
  public void setPurchaseOrderNoIsSet(boolean value) {
1974
    if (!value) {
1975
      this.purchaseOrderNo = null;
1976
    }
1977
  }
1978
 
3061 chandransh 1979
  public boolean isCod() {
1980
    return this.cod;
1981
  }
1982
 
3430 rajveer 1983
  public void setCod(boolean cod) {
3061 chandransh 1984
    this.cod = cod;
1985
    setCodIsSet(true);
1986
  }
1987
 
1988
  public void unsetCod() {
1989
    __isset_bit_vector.clear(__COD_ISSET_ID);
1990
  }
1991
 
3430 rajveer 1992
  /** Returns true if field cod is set (has been assigned a value) and false otherwise */
3061 chandransh 1993
  public boolean isSetCod() {
1994
    return __isset_bit_vector.get(__COD_ISSET_ID);
1995
  }
1996
 
1997
  public void setCodIsSet(boolean value) {
1998
    __isset_bit_vector.set(__COD_ISSET_ID, value);
1999
  }
2000
 
3553 chandransh 2001
  /**
2002
   * 
2003
   * @see DelayReason
2004
   */
2005
  public DelayReason getDelayReason() {
2006
    return this.delayReason;
2007
  }
2008
 
2009
  /**
2010
   * 
2011
   * @see DelayReason
2012
   */
2013
  public void setDelayReason(DelayReason delayReason) {
2014
    this.delayReason = delayReason;
2015
  }
2016
 
2017
  public void unsetDelayReason() {
2018
    this.delayReason = null;
2019
  }
2020
 
2021
  /** Returns true if field delayReason is set (has been assigned a value) and false otherwise */
2022
  public boolean isSetDelayReason() {
2023
    return this.delayReason != null;
2024
  }
2025
 
2026
  public void setDelayReasonIsSet(boolean value) {
2027
    if (!value) {
2028
      this.delayReason = null;
2029
    }
2030
  }
2031
 
3986 chandransh 2032
  public long getPromised_delivery_time() {
2033
    return this.promised_delivery_time;
2034
  }
2035
 
2036
  public void setPromised_delivery_time(long promised_delivery_time) {
2037
    this.promised_delivery_time = promised_delivery_time;
2038
    setPromised_delivery_timeIsSet(true);
2039
  }
2040
 
2041
  public void unsetPromised_delivery_time() {
2042
    __isset_bit_vector.clear(__PROMISED_DELIVERY_TIME_ISSET_ID);
2043
  }
2044
 
2045
  /** Returns true if field promised_delivery_time is set (has been assigned a value) and false otherwise */
2046
  public boolean isSetPromised_delivery_time() {
2047
    return __isset_bit_vector.get(__PROMISED_DELIVERY_TIME_ISSET_ID);
2048
  }
2049
 
2050
  public void setPromised_delivery_timeIsSet(boolean value) {
2051
    __isset_bit_vector.set(__PROMISED_DELIVERY_TIME_ISSET_ID, value);
2052
  }
2053
 
4004 chandransh 2054
  public long getExpected_shipping_time() {
2055
    return this.expected_shipping_time;
2056
  }
2057
 
2058
  public void setExpected_shipping_time(long expected_shipping_time) {
2059
    this.expected_shipping_time = expected_shipping_time;
2060
    setExpected_shipping_timeIsSet(true);
2061
  }
2062
 
2063
  public void unsetExpected_shipping_time() {
2064
    __isset_bit_vector.clear(__EXPECTED_SHIPPING_TIME_ISSET_ID);
2065
  }
2066
 
2067
  /** Returns true if field expected_shipping_time is set (has been assigned a value) and false otherwise */
2068
  public boolean isSetExpected_shipping_time() {
2069
    return __isset_bit_vector.get(__EXPECTED_SHIPPING_TIME_ISSET_ID);
2070
  }
2071
 
2072
  public void setExpected_shipping_timeIsSet(boolean value) {
2073
    __isset_bit_vector.set(__EXPECTED_SHIPPING_TIME_ISSET_ID, value);
2074
  }
2075
 
2076
  public long getVerification_timestamp() {
2077
    return this.verification_timestamp;
2078
  }
2079
 
2080
  public void setVerification_timestamp(long verification_timestamp) {
2081
    this.verification_timestamp = verification_timestamp;
2082
    setVerification_timestampIsSet(true);
2083
  }
2084
 
2085
  public void unsetVerification_timestamp() {
2086
    __isset_bit_vector.clear(__VERIFICATION_TIMESTAMP_ISSET_ID);
2087
  }
2088
 
2089
  /** Returns true if field verification_timestamp is set (has been assigned a value) and false otherwise */
2090
  public boolean isSetVerification_timestamp() {
2091
    return __isset_bit_vector.get(__VERIFICATION_TIMESTAMP_ISSET_ID);
2092
  }
2093
 
2094
  public void setVerification_timestampIsSet(boolean value) {
2095
    __isset_bit_vector.set(__VERIFICATION_TIMESTAMP_ISSET_ID, value);
2096
  }
2097
 
4102 chandransh 2098
  public long getPromised_shipping_time() {
2099
    return this.promised_shipping_time;
2100
  }
2101
 
2102
  public void setPromised_shipping_time(long promised_shipping_time) {
2103
    this.promised_shipping_time = promised_shipping_time;
2104
    setPromised_shipping_timeIsSet(true);
2105
  }
2106
 
2107
  public void unsetPromised_shipping_time() {
2108
    __isset_bit_vector.clear(__PROMISED_SHIPPING_TIME_ISSET_ID);
2109
  }
2110
 
2111
  /** Returns true if field promised_shipping_time is set (has been assigned a value) and false otherwise */
2112
  public boolean isSetPromised_shipping_time() {
2113
    return __isset_bit_vector.get(__PROMISED_SHIPPING_TIME_ISSET_ID);
2114
  }
2115
 
2116
  public void setPromised_shipping_timeIsSet(boolean value) {
2117
    __isset_bit_vector.set(__PROMISED_SHIPPING_TIME_ISSET_ID, value);
2118
  }
2119
 
4192 anupam.sin 2120
  public long getReship_timestamp() {
2121
    return this.reship_timestamp;
2122
  }
2123
 
2124
  public void setReship_timestamp(long reship_timestamp) {
2125
    this.reship_timestamp = reship_timestamp;
2126
    setReship_timestampIsSet(true);
2127
  }
2128
 
2129
  public void unsetReship_timestamp() {
2130
    __isset_bit_vector.clear(__RESHIP_TIMESTAMP_ISSET_ID);
2131
  }
2132
 
2133
  /** Returns true if field reship_timestamp is set (has been assigned a value) and false otherwise */
2134
  public boolean isSetReship_timestamp() {
2135
    return __isset_bit_vector.get(__RESHIP_TIMESTAMP_ISSET_ID);
2136
  }
2137
 
2138
  public void setReship_timestampIsSet(boolean value) {
2139
    __isset_bit_vector.set(__RESHIP_TIMESTAMP_ISSET_ID, value);
2140
  }
2141
 
2142
  public long getRefund_timestamp() {
2143
    return this.refund_timestamp;
2144
  }
2145
 
2146
  public void setRefund_timestamp(long refund_timestamp) {
2147
    this.refund_timestamp = refund_timestamp;
2148
    setRefund_timestampIsSet(true);
2149
  }
2150
 
2151
  public void unsetRefund_timestamp() {
2152
    __isset_bit_vector.clear(__REFUND_TIMESTAMP_ISSET_ID);
2153
  }
2154
 
2155
  /** Returns true if field refund_timestamp is set (has been assigned a value) and false otherwise */
2156
  public boolean isSetRefund_timestamp() {
2157
    return __isset_bit_vector.get(__REFUND_TIMESTAMP_ISSET_ID);
2158
  }
2159
 
2160
  public void setRefund_timestampIsSet(boolean value) {
2161
    __isset_bit_vector.set(__REFUND_TIMESTAMP_ISSET_ID, value);
2162
  }
2163
 
2164
  public long getNew_order_id() {
2165
    return this.new_order_id;
2166
  }
2167
 
2168
  public void setNew_order_id(long new_order_id) {
2169
    this.new_order_id = new_order_id;
2170
    setNew_order_idIsSet(true);
2171
  }
2172
 
2173
  public void unsetNew_order_id() {
2174
    __isset_bit_vector.clear(__NEW_ORDER_ID_ISSET_ID);
2175
  }
2176
 
2177
  /** Returns true if field new_order_id is set (has been assigned a value) and false otherwise */
2178
  public boolean isSetNew_order_id() {
2179
    return __isset_bit_vector.get(__NEW_ORDER_ID_ISSET_ID);
2180
  }
2181
 
2182
  public void setNew_order_idIsSet(boolean value) {
2183
    __isset_bit_vector.set(__NEW_ORDER_ID_ISSET_ID, value);
2184
  }
2185
 
4246 rajveer 2186
  /**
2187
   * 
2188
   * @see OrderStatus
2189
   */
2190
  public OrderStatus getPreviousStatus() {
2191
    return this.previousStatus;
2192
  }
2193
 
2194
  /**
2195
   * 
2196
   * @see OrderStatus
2197
   */
2198
  public void setPreviousStatus(OrderStatus previousStatus) {
2199
    this.previousStatus = previousStatus;
2200
  }
2201
 
2202
  public void unsetPreviousStatus() {
2203
    this.previousStatus = null;
2204
  }
2205
 
2206
  /** Returns true if field previousStatus is set (has been assigned a value) and false otherwise */
2207
  public boolean isSetPreviousStatus() {
2208
    return this.previousStatus != null;
2209
  }
2210
 
2211
  public void setPreviousStatusIsSet(boolean value) {
2212
    if (!value) {
2213
      this.previousStatus = null;
2214
    }
2215
  }
2216
 
4269 anupam.sin 2217
  public long getVendorId() {
2218
    return this.vendorId;
2219
  }
2220
 
2221
  public void setVendorId(long vendorId) {
2222
    this.vendorId = vendorId;
2223
    setVendorIdIsSet(true);
2224
  }
2225
 
2226
  public void unsetVendorId() {
2227
    __isset_bit_vector.clear(__VENDORID_ISSET_ID);
2228
  }
2229
 
2230
  /** Returns true if field vendorId is set (has been assigned a value) and false otherwise */
2231
  public boolean isSetVendorId() {
2232
    return __isset_bit_vector.get(__VENDORID_ISSET_ID);
2233
  }
2234
 
2235
  public void setVendorIdIsSet(boolean value) {
2236
    __isset_bit_vector.set(__VENDORID_ISSET_ID, value);
2237
  }
2238
 
4506 phani.kuma 2239
  public long getDoa_auth_timestamp() {
2240
    return this.doa_auth_timestamp;
2241
  }
2242
 
2243
  public void setDoa_auth_timestamp(long doa_auth_timestamp) {
2244
    this.doa_auth_timestamp = doa_auth_timestamp;
2245
    setDoa_auth_timestampIsSet(true);
2246
  }
2247
 
2248
  public void unsetDoa_auth_timestamp() {
2249
    __isset_bit_vector.clear(__DOA_AUTH_TIMESTAMP_ISSET_ID);
2250
  }
2251
 
2252
  /** Returns true if field doa_auth_timestamp is set (has been assigned a value) and false otherwise */
2253
  public boolean isSetDoa_auth_timestamp() {
2254
    return __isset_bit_vector.get(__DOA_AUTH_TIMESTAMP_ISSET_ID);
2255
  }
2256
 
2257
  public void setDoa_auth_timestampIsSet(boolean value) {
2258
    __isset_bit_vector.set(__DOA_AUTH_TIMESTAMP_ISSET_ID, value);
2259
  }
2260
 
4647 rajveer 2261
  public String getDelayReasonText() {
2262
    return this.delayReasonText;
2263
  }
2264
 
2265
  public void setDelayReasonText(String delayReasonText) {
2266
    this.delayReasonText = delayReasonText;
2267
  }
2268
 
2269
  public void unsetDelayReasonText() {
2270
    this.delayReasonText = null;
2271
  }
2272
 
2273
  /** Returns true if field delayReasonText is set (has been assigned a value) and false otherwise */
2274
  public boolean isSetDelayReasonText() {
2275
    return this.delayReasonText != null;
2276
  }
2277
 
2278
  public void setDelayReasonTextIsSet(boolean value) {
2279
    if (!value) {
2280
      this.delayReasonText = null;
2281
    }
2282
  }
2283
 
4709 rajveer 2284
  public String getRefundReason() {
2285
    return this.refundReason;
2286
  }
2287
 
2288
  public void setRefundReason(String refundReason) {
2289
    this.refundReason = refundReason;
2290
  }
2291
 
2292
  public void unsetRefundReason() {
2293
    this.refundReason = null;
2294
  }
2295
 
2296
  /** Returns true if field refundReason is set (has been assigned a value) and false otherwise */
2297
  public boolean isSetRefundReason() {
2298
    return this.refundReason != null;
2299
  }
2300
 
2301
  public void setRefundReasonIsSet(boolean value) {
2302
    if (!value) {
2303
      this.refundReason = null;
2304
    }
2305
  }
2306
 
4758 mandeep.dh 2307
  public long getPurchaseOrderId() {
2308
    return this.purchaseOrderId;
2309
  }
2310
 
2311
  public void setPurchaseOrderId(long purchaseOrderId) {
2312
    this.purchaseOrderId = purchaseOrderId;
2313
    setPurchaseOrderIdIsSet(true);
2314
  }
2315
 
2316
  public void unsetPurchaseOrderId() {
2317
    __isset_bit_vector.clear(__PURCHASEORDERID_ISSET_ID);
2318
  }
2319
 
2320
  /** Returns true if field purchaseOrderId is set (has been assigned a value) and false otherwise */
2321
  public boolean isSetPurchaseOrderId() {
2322
    return __isset_bit_vector.get(__PURCHASEORDERID_ISSET_ID);
2323
  }
2324
 
2325
  public void setPurchaseOrderIdIsSet(boolean value) {
2326
    __isset_bit_vector.set(__PURCHASEORDERID_ISSET_ID, value);
2327
  }
2328
 
4815 phani.kuma 2329
  public long getDoa_logistics_provider_id() {
2330
    return this.doa_logistics_provider_id;
2331
  }
2332
 
2333
  public void setDoa_logistics_provider_id(long doa_logistics_provider_id) {
2334
    this.doa_logistics_provider_id = doa_logistics_provider_id;
2335
    setDoa_logistics_provider_idIsSet(true);
2336
  }
2337
 
2338
  public void unsetDoa_logistics_provider_id() {
2339
    __isset_bit_vector.clear(__DOA_LOGISTICS_PROVIDER_ID_ISSET_ID);
2340
  }
2341
 
2342
  /** Returns true if field doa_logistics_provider_id is set (has been assigned a value) and false otherwise */
2343
  public boolean isSetDoa_logistics_provider_id() {
2344
    return __isset_bit_vector.get(__DOA_LOGISTICS_PROVIDER_ID_ISSET_ID);
2345
  }
2346
 
2347
  public void setDoa_logistics_provider_idIsSet(boolean value) {
2348
    __isset_bit_vector.set(__DOA_LOGISTICS_PROVIDER_ID_ISSET_ID, value);
2349
  }
2350
 
5062 varun.gupt 2351
  public long getOriginalOrderId() {
2352
    return this.originalOrderId;
2353
  }
2354
 
2355
  public void setOriginalOrderId(long originalOrderId) {
2356
    this.originalOrderId = originalOrderId;
2357
    setOriginalOrderIdIsSet(true);
2358
  }
2359
 
2360
  public void unsetOriginalOrderId() {
2361
    __isset_bit_vector.clear(__ORIGINALORDERID_ISSET_ID);
2362
  }
2363
 
2364
  /** Returns true if field originalOrderId is set (has been assigned a value) and false otherwise */
2365
  public boolean isSetOriginalOrderId() {
2366
    return __isset_bit_vector.get(__ORIGINALORDERID_ISSET_ID);
2367
  }
2368
 
2369
  public void setOriginalOrderIdIsSet(boolean value) {
2370
    __isset_bit_vector.set(__ORIGINALORDERID_ISSET_ID, value);
2371
  }
2372
 
5110 mandeep.dh 2373
  public long getFulfilmentWarehouseId() {
2374
    return this.fulfilmentWarehouseId;
2375
  }
2376
 
2377
  public void setFulfilmentWarehouseId(long fulfilmentWarehouseId) {
2378
    this.fulfilmentWarehouseId = fulfilmentWarehouseId;
2379
    setFulfilmentWarehouseIdIsSet(true);
2380
  }
2381
 
2382
  public void unsetFulfilmentWarehouseId() {
2383
    __isset_bit_vector.clear(__FULFILMENTWAREHOUSEID_ISSET_ID);
2384
  }
2385
 
2386
  /** Returns true if field fulfilmentWarehouseId is set (has been assigned a value) and false otherwise */
2387
  public boolean isSetFulfilmentWarehouseId() {
2388
    return __isset_bit_vector.get(__FULFILMENTWAREHOUSEID_ISSET_ID);
2389
  }
2390
 
2391
  public void setFulfilmentWarehouseIdIsSet(boolean value) {
2392
    __isset_bit_vector.set(__FULFILMENTWAREHOUSEID_ISSET_ID, value);
2393
  }
2394
 
5189 varun.gupt 2395
  public boolean isVendorPaid() {
2396
    return this.vendorPaid;
2397
  }
2398
 
2399
  public void setVendorPaid(boolean vendorPaid) {
2400
    this.vendorPaid = vendorPaid;
2401
    setVendorPaidIsSet(true);
2402
  }
2403
 
2404
  public void unsetVendorPaid() {
2405
    __isset_bit_vector.clear(__VENDORPAID_ISSET_ID);
2406
  }
2407
 
2408
  /** Returns true if field vendorPaid is set (has been assigned a value) and false otherwise */
2409
  public boolean isSetVendorPaid() {
2410
    return __isset_bit_vector.get(__VENDORPAID_ISSET_ID);
2411
  }
2412
 
2413
  public void setVendorPaidIsSet(boolean value) {
2414
    __isset_bit_vector.set(__VENDORPAID_ISSET_ID, value);
2415
  }
2416
 
5354 anupam.sin 2417
  public long getReceived_return_timestamp() {
2418
    return this.received_return_timestamp;
2419
  }
2420
 
2421
  public void setReceived_return_timestamp(long received_return_timestamp) {
2422
    this.received_return_timestamp = received_return_timestamp;
2423
    setReceived_return_timestampIsSet(true);
2424
  }
2425
 
2426
  public void unsetReceived_return_timestamp() {
2427
    __isset_bit_vector.clear(__RECEIVED_RETURN_TIMESTAMP_ISSET_ID);
2428
  }
2429
 
2430
  /** Returns true if field received_return_timestamp is set (has been assigned a value) and false otherwise */
2431
  public boolean isSetReceived_return_timestamp() {
2432
    return __isset_bit_vector.get(__RECEIVED_RETURN_TIMESTAMP_ISSET_ID);
2433
  }
2434
 
2435
  public void setReceived_return_timestampIsSet(boolean value) {
2436
    __isset_bit_vector.set(__RECEIVED_RETURN_TIMESTAMP_ISSET_ID, value);
2437
  }
2438
 
2439
  public long getFirst_attempt_timestamp() {
2440
    return this.first_attempt_timestamp;
2441
  }
2442
 
2443
  public void setFirst_attempt_timestamp(long first_attempt_timestamp) {
2444
    this.first_attempt_timestamp = first_attempt_timestamp;
2445
    setFirst_attempt_timestampIsSet(true);
2446
  }
2447
 
2448
  public void unsetFirst_attempt_timestamp() {
2449
    __isset_bit_vector.clear(__FIRST_ATTEMPT_TIMESTAMP_ISSET_ID);
2450
  }
2451
 
2452
  /** Returns true if field first_attempt_timestamp is set (has been assigned a value) and false otherwise */
2453
  public boolean isSetFirst_attempt_timestamp() {
2454
    return __isset_bit_vector.get(__FIRST_ATTEMPT_TIMESTAMP_ISSET_ID);
2455
  }
2456
 
2457
  public void setFirst_attempt_timestampIsSet(boolean value) {
2458
    __isset_bit_vector.set(__FIRST_ATTEMPT_TIMESTAMP_ISSET_ID, value);
2459
  }
2460
 
5527 anupam.sin 2461
  /**
2462
   * 
2463
   * @see OrderType
2464
   */
2465
  public OrderType getOrderType() {
2466
    return this.orderType;
2467
  }
2468
 
2469
  /**
2470
   * 
2471
   * @see OrderType
2472
   */
2473
  public void setOrderType(OrderType orderType) {
2474
    this.orderType = orderType;
2475
  }
2476
 
2477
  public void unsetOrderType() {
2478
    this.orderType = null;
2479
  }
2480
 
2481
  /** Returns true if field orderType is set (has been assigned a value) and false otherwise */
2482
  public boolean isSetOrderType() {
2483
    return this.orderType != null;
2484
  }
2485
 
2486
  public void setOrderTypeIsSet(boolean value) {
2487
    if (!value) {
2488
      this.orderType = null;
2489
    }
2490
  }
2491
 
5553 rajveer 2492
  public long getPickupStoreId() {
2493
    return this.pickupStoreId;
2494
  }
2495
 
2496
  public void setPickupStoreId(long pickupStoreId) {
2497
    this.pickupStoreId = pickupStoreId;
2498
    setPickupStoreIdIsSet(true);
2499
  }
2500
 
2501
  public void unsetPickupStoreId() {
2502
    __isset_bit_vector.clear(__PICKUPSTOREID_ISSET_ID);
2503
  }
2504
 
2505
  /** Returns true if field pickupStoreId is set (has been assigned a value) and false otherwise */
2506
  public boolean isSetPickupStoreId() {
2507
    return __isset_bit_vector.get(__PICKUPSTOREID_ISSET_ID);
2508
  }
2509
 
2510
  public void setPickupStoreIdIsSet(boolean value) {
2511
    __isset_bit_vector.set(__PICKUPSTOREID_ISSET_ID, value);
2512
  }
2513
 
2514
  public boolean isLogisticsCod() {
2515
    return this.logisticsCod;
2516
  }
2517
 
2518
  public void setLogisticsCod(boolean logisticsCod) {
2519
    this.logisticsCod = logisticsCod;
2520
    setLogisticsCodIsSet(true);
2521
  }
2522
 
2523
  public void unsetLogisticsCod() {
2524
    __isset_bit_vector.clear(__LOGISTICSCOD_ISSET_ID);
2525
  }
2526
 
2527
  /** Returns true if field logisticsCod is set (has been assigned a value) and false otherwise */
2528
  public boolean isSetLogisticsCod() {
2529
    return __isset_bit_vector.get(__LOGISTICSCOD_ISSET_ID);
2530
  }
2531
 
2532
  public void setLogisticsCodIsSet(boolean value) {
2533
    __isset_bit_vector.set(__LOGISTICSCOD_ISSET_ID, value);
2534
  }
2535
 
6319 rajveer 2536
  public long getGvAmount() {
2537
    return this.gvAmount;
2538
  }
2539
 
2540
  public void setGvAmount(long gvAmount) {
2541
    this.gvAmount = gvAmount;
2542
    setGvAmountIsSet(true);
2543
  }
2544
 
2545
  public void unsetGvAmount() {
2546
    __isset_bit_vector.clear(__GVAMOUNT_ISSET_ID);
2547
  }
2548
 
2549
  /** Returns true if field gvAmount is set (has been assigned a value) and false otherwise */
2550
  public boolean isSetGvAmount() {
2551
    return __isset_bit_vector.get(__GVAMOUNT_ISSET_ID);
2552
  }
2553
 
2554
  public void setGvAmountIsSet(boolean value) {
2555
    __isset_bit_vector.set(__GVAMOUNT_ISSET_ID, value);
2556
  }
2557
 
6525 rajveer 2558
  public boolean isOtg() {
2559
    return this.otg;
2560
  }
2561
 
2562
  public void setOtg(boolean otg) {
2563
    this.otg = otg;
2564
    setOtgIsSet(true);
2565
  }
2566
 
2567
  public void unsetOtg() {
2568
    __isset_bit_vector.clear(__OTG_ISSET_ID);
2569
  }
2570
 
2571
  /** Returns true if field otg is set (has been assigned a value) and false otherwise */
2572
  public boolean isSetOtg() {
2573
    return __isset_bit_vector.get(__OTG_ISSET_ID);
2574
  }
2575
 
2576
  public void setOtgIsSet(boolean value) {
2577
    __isset_bit_vector.set(__OTG_ISSET_ID, value);
2578
  }
2579
 
6726 rajveer 2580
  public long getCourier_delivery_time() {
2581
    return this.courier_delivery_time;
2582
  }
2583
 
2584
  public void setCourier_delivery_time(long courier_delivery_time) {
2585
    this.courier_delivery_time = courier_delivery_time;
2586
    setCourier_delivery_timeIsSet(true);
2587
  }
2588
 
2589
  public void unsetCourier_delivery_time() {
2590
    __isset_bit_vector.clear(__COURIER_DELIVERY_TIME_ISSET_ID);
2591
  }
2592
 
2593
  /** Returns true if field courier_delivery_time is set (has been assigned a value) and false otherwise */
2594
  public boolean isSetCourier_delivery_time() {
2595
    return __isset_bit_vector.get(__COURIER_DELIVERY_TIME_ISSET_ID);
2596
  }
2597
 
2598
  public void setCourier_delivery_timeIsSet(boolean value) {
2599
    __isset_bit_vector.set(__COURIER_DELIVERY_TIME_ISSET_ID, value);
2600
  }
2601
 
6903 anupam.sin 2602
  public long getInsurer() {
2603
    return this.insurer;
2604
  }
2605
 
2606
  public void setInsurer(long insurer) {
2607
    this.insurer = insurer;
2608
    setInsurerIsSet(true);
2609
  }
2610
 
2611
  public void unsetInsurer() {
2612
    __isset_bit_vector.clear(__INSURER_ISSET_ID);
2613
  }
2614
 
2615
  /** Returns true if field insurer is set (has been assigned a value) and false otherwise */
2616
  public boolean isSetInsurer() {
2617
    return __isset_bit_vector.get(__INSURER_ISSET_ID);
2618
  }
2619
 
2620
  public void setInsurerIsSet(boolean value) {
2621
    __isset_bit_vector.set(__INSURER_ISSET_ID, value);
2622
  }
2623
 
2624
  public double getInsuranceAmount() {
2625
    return this.insuranceAmount;
2626
  }
2627
 
2628
  public void setInsuranceAmount(double insuranceAmount) {
2629
    this.insuranceAmount = insuranceAmount;
2630
    setInsuranceAmountIsSet(true);
2631
  }
2632
 
2633
  public void unsetInsuranceAmount() {
2634
    __isset_bit_vector.clear(__INSURANCEAMOUNT_ISSET_ID);
2635
  }
2636
 
2637
  /** Returns true if field insuranceAmount is set (has been assigned a value) and false otherwise */
2638
  public boolean isSetInsuranceAmount() {
2639
    return __isset_bit_vector.get(__INSURANCEAMOUNT_ISSET_ID);
2640
  }
2641
 
2642
  public void setInsuranceAmountIsSet(boolean value) {
2643
    __isset_bit_vector.set(__INSURANCEAMOUNT_ISSET_ID, value);
2644
  }
2645
 
2646
  public String getDob() {
2647
    return this.dob;
2648
  }
2649
 
2650
  public void setDob(String dob) {
2651
    this.dob = dob;
2652
  }
2653
 
2654
  public void unsetDob() {
2655
    this.dob = null;
2656
  }
2657
 
2658
  /** Returns true if field dob is set (has been assigned a value) and false otherwise */
2659
  public boolean isSetDob() {
2660
    return this.dob != null;
2661
  }
2662
 
2663
  public void setDobIsSet(boolean value) {
2664
    if (!value) {
2665
      this.dob = null;
2666
    }
2667
  }
2668
 
2669
  public String getGuardianName() {
2670
    return this.guardianName;
2671
  }
2672
 
2673
  public void setGuardianName(String guardianName) {
2674
    this.guardianName = guardianName;
2675
  }
2676
 
2677
  public void unsetGuardianName() {
2678
    this.guardianName = null;
2679
  }
2680
 
2681
  /** Returns true if field guardianName is set (has been assigned a value) and false otherwise */
2682
  public boolean isSetGuardianName() {
2683
    return this.guardianName != null;
2684
  }
2685
 
2686
  public void setGuardianNameIsSet(boolean value) {
2687
    if (!value) {
2688
      this.guardianName = null;
2689
    }
2690
  }
2691
 
7190 amar.kumar 2692
  public long getFreebieItemId() {
2693
    return this.freebieItemId;
2694
  }
2695
 
2696
  public void setFreebieItemId(long freebieItemId) {
2697
    this.freebieItemId = freebieItemId;
2698
    setFreebieItemIdIsSet(true);
2699
  }
2700
 
2701
  public void unsetFreebieItemId() {
2702
    __isset_bit_vector.clear(__FREEBIEITEMID_ISSET_ID);
2703
  }
2704
 
2705
  /** Returns true if field freebieItemId is set (has been assigned a value) and false otherwise */
2706
  public boolean isSetFreebieItemId() {
2707
    return __isset_bit_vector.get(__FREEBIEITEMID_ISSET_ID);
2708
  }
2709
 
2710
  public void setFreebieItemIdIsSet(boolean value) {
2711
    __isset_bit_vector.set(__FREEBIEITEMID_ISSET_ID, value);
2712
  }
2713
 
483 rajveer 2714
  public void setFieldValue(_Fields field, Object value) {
2715
    switch (field) {
2716
    case ID:
2717
      if (value == null) {
2718
        unsetId();
2719
      } else {
2720
        setId((Long)value);
2721
      }
2722
      break;
2723
 
2724
    case WAREHOUSE_ID:
2725
      if (value == null) {
2726
        unsetWarehouse_id();
2727
      } else {
2728
        setWarehouse_id((Long)value);
2729
      }
2730
      break;
2731
 
2732
    case LINEITEMS:
2733
      if (value == null) {
2734
        unsetLineitems();
2735
      } else {
2736
        setLineitems((List<LineItem>)value);
2737
      }
2738
      break;
2739
 
2740
    case LOGISTICS_PROVIDER_ID:
2741
      if (value == null) {
2742
        unsetLogistics_provider_id();
2743
      } else {
2744
        setLogistics_provider_id((Long)value);
2745
      }
2746
      break;
2747
 
2748
    case AIRWAYBILL_NO:
2749
      if (value == null) {
2750
        unsetAirwaybill_no();
2751
      } else {
2752
        setAirwaybill_no((String)value);
2753
      }
2754
      break;
2755
 
2756
    case TRACKING_ID:
2757
      if (value == null) {
2758
        unsetTracking_id();
2759
      } else {
2760
        setTracking_id((String)value);
2761
      }
2762
      break;
2763
 
2764
    case EXPECTED_DELIVERY_TIME:
2765
      if (value == null) {
2766
        unsetExpected_delivery_time();
2767
      } else {
2768
        setExpected_delivery_time((Long)value);
2769
      }
2770
      break;
2771
 
2772
    case CUSTOMER_ID:
2773
      if (value == null) {
2774
        unsetCustomer_id();
2775
      } else {
2776
        setCustomer_id((Long)value);
2777
      }
2778
      break;
2779
 
2780
    case CUSTOMER_NAME:
2781
      if (value == null) {
2782
        unsetCustomer_name();
2783
      } else {
2784
        setCustomer_name((String)value);
2785
      }
2786
      break;
2787
 
2788
    case CUSTOMER_MOBILENUMBER:
2789
      if (value == null) {
2790
        unsetCustomer_mobilenumber();
2791
      } else {
2792
        setCustomer_mobilenumber((String)value);
2793
      }
2794
      break;
2795
 
2796
    case CUSTOMER_PINCODE:
2797
      if (value == null) {
2798
        unsetCustomer_pincode();
2799
      } else {
2800
        setCustomer_pincode((String)value);
2801
      }
2802
      break;
2803
 
736 chandransh 2804
    case CUSTOMER_ADDRESS1:
483 rajveer 2805
      if (value == null) {
736 chandransh 2806
        unsetCustomer_address1();
483 rajveer 2807
      } else {
736 chandransh 2808
        setCustomer_address1((String)value);
483 rajveer 2809
      }
2810
      break;
2811
 
736 chandransh 2812
    case CUSTOMER_ADDRESS2:
2813
      if (value == null) {
2814
        unsetCustomer_address2();
2815
      } else {
2816
        setCustomer_address2((String)value);
2817
      }
2818
      break;
2819
 
483 rajveer 2820
    case CUSTOMER_EMAIL:
2821
      if (value == null) {
2822
        unsetCustomer_email();
2823
      } else {
2824
        setCustomer_email((String)value);
2825
      }
2826
      break;
2827
 
736 chandransh 2828
    case CUSTOMER_CITY:
2829
      if (value == null) {
2830
        unsetCustomer_city();
2831
      } else {
2832
        setCustomer_city((String)value);
2833
      }
2834
      break;
2835
 
2836
    case CUSTOMER_STATE:
2837
      if (value == null) {
2838
        unsetCustomer_state();
2839
      } else {
2840
        setCustomer_state((String)value);
2841
      }
2842
      break;
2843
 
483 rajveer 2844
    case STATUS:
2845
      if (value == null) {
2846
        unsetStatus();
2847
      } else {
2848
        setStatus((OrderStatus)value);
2849
      }
2850
      break;
2851
 
2852
    case STATUS_DESCRIPTION:
2853
      if (value == null) {
2854
        unsetStatusDescription();
2855
      } else {
2856
        setStatusDescription((String)value);
2857
      }
2858
      break;
2859
 
2860
    case TOTAL_AMOUNT:
2861
      if (value == null) {
2862
        unsetTotal_amount();
2863
      } else {
2864
        setTotal_amount((Double)value);
2865
      }
2866
      break;
2867
 
2868
    case TOTAL_WEIGHT:
2869
      if (value == null) {
2870
        unsetTotal_weight();
2871
      } else {
2872
        setTotal_weight((Double)value);
2873
      }
2874
      break;
2875
 
2876
    case INVOICE_NUMBER:
2877
      if (value == null) {
2878
        unsetInvoice_number();
2879
      } else {
2880
        setInvoice_number((String)value);
2881
      }
2882
      break;
2883
 
2884
    case BILLED_BY:
2885
      if (value == null) {
2886
        unsetBilled_by();
2887
      } else {
2888
        setBilled_by((String)value);
2889
      }
2890
      break;
2891
 
2892
    case CREATED_TIMESTAMP:
2893
      if (value == null) {
2894
        unsetCreated_timestamp();
2895
      } else {
2896
        setCreated_timestamp((Long)value);
2897
      }
2898
      break;
2899
 
2900
    case ACCEPTED_TIMESTAMP:
2901
      if (value == null) {
2902
        unsetAccepted_timestamp();
2903
      } else {
2904
        setAccepted_timestamp((Long)value);
2905
      }
2906
      break;
2907
 
2908
    case BILLING_TIMESTAMP:
2909
      if (value == null) {
2910
        unsetBilling_timestamp();
2911
      } else {
2912
        setBilling_timestamp((Long)value);
2913
      }
2914
      break;
2915
 
2916
    case SHIPPING_TIMESTAMP:
2917
      if (value == null) {
2918
        unsetShipping_timestamp();
2919
      } else {
2920
        setShipping_timestamp((Long)value);
2921
      }
2922
      break;
2923
 
1114 chandransh 2924
    case PICKUP_TIMESTAMP:
2925
      if (value == null) {
2926
        unsetPickup_timestamp();
2927
      } else {
2928
        setPickup_timestamp((Long)value);
2929
      }
2930
      break;
2931
 
483 rajveer 2932
    case DELIVERY_TIMESTAMP:
2933
      if (value == null) {
2934
        unsetDelivery_timestamp();
2935
      } else {
2936
        setDelivery_timestamp((Long)value);
2937
      }
2938
      break;
2939
 
1209 chandransh 2940
    case OUTOFSTOCK_TIMESTAMP:
2941
      if (value == null) {
2942
        unsetOutofstock_timestamp();
2943
      } else {
2944
        setOutofstock_timestamp((Long)value);
2945
      }
2946
      break;
2947
 
640 chandransh 2948
    case JACKET_NUMBER:
2949
      if (value == null) {
2950
        unsetJacket_number();
2951
      } else {
2952
        setJacket_number((Long)value);
2953
      }
2954
      break;
2955
 
1133 chandransh 2956
    case RECEIVER:
2957
      if (value == null) {
2958
        unsetReceiver();
2959
      } else {
2960
        setReceiver((String)value);
2961
      }
2962
      break;
2963
 
1221 chandransh 2964
    case BATCH_NO:
2965
      if (value == null) {
2966
        unsetBatchNo();
2967
      } else {
2968
        setBatchNo((Long)value);
2969
      }
2970
      break;
2971
 
2972
    case SERIAL_NO:
2973
      if (value == null) {
2974
        unsetSerialNo();
2975
      } else {
2976
        setSerialNo((Long)value);
2977
      }
2978
      break;
2979
 
2538 chandransh 2980
    case DOA_FLAG:
2981
      if (value == null) {
2982
        unsetDoaFlag();
2983
      } else {
2984
        setDoaFlag((Boolean)value);
2985
      }
2986
      break;
2987
 
2988
    case PICKUP_REQUEST_NO:
2989
      if (value == null) {
2990
        unsetPickupRequestNo();
2991
      } else {
2992
        setPickupRequestNo((String)value);
2993
      }
2994
      break;
2995
 
2677 vikas 2996
    case TRANSACTION_ID:
2997
      if (value == null) {
2998
        unsetTransactionId();
2999
      } else {
3000
        setTransactionId((Long)value);
3001
      }
3002
      break;
3003
 
2819 chandransh 3004
    case PURCHASE_ORDER_NO:
3005
      if (value == null) {
3006
        unsetPurchaseOrderNo();
3007
      } else {
3008
        setPurchaseOrderNo((String)value);
3009
      }
3010
      break;
3011
 
3061 chandransh 3012
    case COD:
3013
      if (value == null) {
3014
        unsetCod();
3015
      } else {
3016
        setCod((Boolean)value);
3017
      }
3018
      break;
3019
 
3553 chandransh 3020
    case DELAY_REASON:
3021
      if (value == null) {
3022
        unsetDelayReason();
3023
      } else {
3024
        setDelayReason((DelayReason)value);
3025
      }
3026
      break;
3027
 
3986 chandransh 3028
    case PROMISED_DELIVERY_TIME:
3029
      if (value == null) {
3030
        unsetPromised_delivery_time();
3031
      } else {
3032
        setPromised_delivery_time((Long)value);
3033
      }
3034
      break;
3035
 
4004 chandransh 3036
    case EXPECTED_SHIPPING_TIME:
3037
      if (value == null) {
3038
        unsetExpected_shipping_time();
3039
      } else {
3040
        setExpected_shipping_time((Long)value);
3041
      }
3042
      break;
3043
 
3044
    case VERIFICATION_TIMESTAMP:
3045
      if (value == null) {
3046
        unsetVerification_timestamp();
3047
      } else {
3048
        setVerification_timestamp((Long)value);
3049
      }
3050
      break;
3051
 
4102 chandransh 3052
    case PROMISED_SHIPPING_TIME:
3053
      if (value == null) {
3054
        unsetPromised_shipping_time();
3055
      } else {
3056
        setPromised_shipping_time((Long)value);
3057
      }
3058
      break;
3059
 
4192 anupam.sin 3060
    case RESHIP_TIMESTAMP:
3061
      if (value == null) {
3062
        unsetReship_timestamp();
3063
      } else {
3064
        setReship_timestamp((Long)value);
3065
      }
3066
      break;
3067
 
3068
    case REFUND_TIMESTAMP:
3069
      if (value == null) {
3070
        unsetRefund_timestamp();
3071
      } else {
3072
        setRefund_timestamp((Long)value);
3073
      }
3074
      break;
3075
 
3076
    case NEW_ORDER_ID:
3077
      if (value == null) {
3078
        unsetNew_order_id();
3079
      } else {
3080
        setNew_order_id((Long)value);
3081
      }
3082
      break;
3083
 
4246 rajveer 3084
    case PREVIOUS_STATUS:
3085
      if (value == null) {
3086
        unsetPreviousStatus();
3087
      } else {
3088
        setPreviousStatus((OrderStatus)value);
3089
      }
3090
      break;
3091
 
4269 anupam.sin 3092
    case VENDOR_ID:
3093
      if (value == null) {
3094
        unsetVendorId();
3095
      } else {
3096
        setVendorId((Long)value);
3097
      }
3098
      break;
3099
 
4506 phani.kuma 3100
    case DOA_AUTH_TIMESTAMP:
3101
      if (value == null) {
3102
        unsetDoa_auth_timestamp();
3103
      } else {
3104
        setDoa_auth_timestamp((Long)value);
3105
      }
3106
      break;
3107
 
4647 rajveer 3108
    case DELAY_REASON_TEXT:
3109
      if (value == null) {
3110
        unsetDelayReasonText();
3111
      } else {
3112
        setDelayReasonText((String)value);
3113
      }
3114
      break;
3115
 
4709 rajveer 3116
    case REFUND_REASON:
3117
      if (value == null) {
3118
        unsetRefundReason();
3119
      } else {
3120
        setRefundReason((String)value);
3121
      }
3122
      break;
3123
 
4758 mandeep.dh 3124
    case PURCHASE_ORDER_ID:
3125
      if (value == null) {
3126
        unsetPurchaseOrderId();
3127
      } else {
3128
        setPurchaseOrderId((Long)value);
3129
      }
3130
      break;
3131
 
4815 phani.kuma 3132
    case DOA_LOGISTICS_PROVIDER_ID:
3133
      if (value == null) {
3134
        unsetDoa_logistics_provider_id();
3135
      } else {
3136
        setDoa_logistics_provider_id((Long)value);
3137
      }
3138
      break;
3139
 
5062 varun.gupt 3140
    case ORIGINAL_ORDER_ID:
3141
      if (value == null) {
3142
        unsetOriginalOrderId();
3143
      } else {
3144
        setOriginalOrderId((Long)value);
3145
      }
3146
      break;
3147
 
5110 mandeep.dh 3148
    case FULFILMENT_WAREHOUSE_ID:
3149
      if (value == null) {
3150
        unsetFulfilmentWarehouseId();
3151
      } else {
3152
        setFulfilmentWarehouseId((Long)value);
3153
      }
3154
      break;
3155
 
5189 varun.gupt 3156
    case VENDOR_PAID:
3157
      if (value == null) {
3158
        unsetVendorPaid();
3159
      } else {
3160
        setVendorPaid((Boolean)value);
3161
      }
3162
      break;
3163
 
5354 anupam.sin 3164
    case RECEIVED_RETURN_TIMESTAMP:
3165
      if (value == null) {
3166
        unsetReceived_return_timestamp();
3167
      } else {
3168
        setReceived_return_timestamp((Long)value);
3169
      }
3170
      break;
3171
 
3172
    case FIRST_ATTEMPT_TIMESTAMP:
3173
      if (value == null) {
3174
        unsetFirst_attempt_timestamp();
3175
      } else {
3176
        setFirst_attempt_timestamp((Long)value);
3177
      }
3178
      break;
3179
 
5527 anupam.sin 3180
    case ORDER_TYPE:
3181
      if (value == null) {
3182
        unsetOrderType();
3183
      } else {
3184
        setOrderType((OrderType)value);
3185
      }
3186
      break;
3187
 
5553 rajveer 3188
    case PICKUP_STORE_ID:
3189
      if (value == null) {
3190
        unsetPickupStoreId();
3191
      } else {
3192
        setPickupStoreId((Long)value);
3193
      }
3194
      break;
3195
 
3196
    case LOGISTICS_COD:
3197
      if (value == null) {
3198
        unsetLogisticsCod();
3199
      } else {
3200
        setLogisticsCod((Boolean)value);
3201
      }
3202
      break;
3203
 
6319 rajveer 3204
    case GV_AMOUNT:
3205
      if (value == null) {
3206
        unsetGvAmount();
3207
      } else {
3208
        setGvAmount((Long)value);
3209
      }
3210
      break;
3211
 
6525 rajveer 3212
    case OTG:
3213
      if (value == null) {
3214
        unsetOtg();
3215
      } else {
3216
        setOtg((Boolean)value);
3217
      }
3218
      break;
3219
 
6726 rajveer 3220
    case COURIER_DELIVERY_TIME:
3221
      if (value == null) {
3222
        unsetCourier_delivery_time();
3223
      } else {
3224
        setCourier_delivery_time((Long)value);
3225
      }
3226
      break;
3227
 
6903 anupam.sin 3228
    case INSURER:
3229
      if (value == null) {
3230
        unsetInsurer();
3231
      } else {
3232
        setInsurer((Long)value);
3233
      }
3234
      break;
3235
 
3236
    case INSURANCE_AMOUNT:
3237
      if (value == null) {
3238
        unsetInsuranceAmount();
3239
      } else {
3240
        setInsuranceAmount((Double)value);
3241
      }
3242
      break;
3243
 
3244
    case DOB:
3245
      if (value == null) {
3246
        unsetDob();
3247
      } else {
3248
        setDob((String)value);
3249
      }
3250
      break;
3251
 
3252
    case GUARDIAN_NAME:
3253
      if (value == null) {
3254
        unsetGuardianName();
3255
      } else {
3256
        setGuardianName((String)value);
3257
      }
3258
      break;
3259
 
7190 amar.kumar 3260
    case FREEBIE_ITEM_ID:
3261
      if (value == null) {
3262
        unsetFreebieItemId();
3263
      } else {
3264
        setFreebieItemId((Long)value);
3265
      }
3266
      break;
3267
 
483 rajveer 3268
    }
3269
  }
3270
 
3271
  public Object getFieldValue(_Fields field) {
3272
    switch (field) {
3273
    case ID:
3430 rajveer 3274
      return Long.valueOf(getId());
483 rajveer 3275
 
3276
    case WAREHOUSE_ID:
3430 rajveer 3277
      return Long.valueOf(getWarehouse_id());
483 rajveer 3278
 
3279
    case LINEITEMS:
3280
      return getLineitems();
3281
 
3282
    case LOGISTICS_PROVIDER_ID:
3430 rajveer 3283
      return Long.valueOf(getLogistics_provider_id());
483 rajveer 3284
 
3285
    case AIRWAYBILL_NO:
3286
      return getAirwaybill_no();
3287
 
3288
    case TRACKING_ID:
3289
      return getTracking_id();
3290
 
3291
    case EXPECTED_DELIVERY_TIME:
3430 rajveer 3292
      return Long.valueOf(getExpected_delivery_time());
483 rajveer 3293
 
3294
    case CUSTOMER_ID:
3430 rajveer 3295
      return Long.valueOf(getCustomer_id());
483 rajveer 3296
 
3297
    case CUSTOMER_NAME:
3298
      return getCustomer_name();
3299
 
3300
    case CUSTOMER_MOBILENUMBER:
3301
      return getCustomer_mobilenumber();
3302
 
3303
    case CUSTOMER_PINCODE:
3304
      return getCustomer_pincode();
3305
 
736 chandransh 3306
    case CUSTOMER_ADDRESS1:
3307
      return getCustomer_address1();
483 rajveer 3308
 
736 chandransh 3309
    case CUSTOMER_ADDRESS2:
3310
      return getCustomer_address2();
3311
 
483 rajveer 3312
    case CUSTOMER_EMAIL:
3313
      return getCustomer_email();
3314
 
736 chandransh 3315
    case CUSTOMER_CITY:
3316
      return getCustomer_city();
3317
 
3318
    case CUSTOMER_STATE:
3319
      return getCustomer_state();
3320
 
483 rajveer 3321
    case STATUS:
3322
      return getStatus();
3323
 
3324
    case STATUS_DESCRIPTION:
3325
      return getStatusDescription();
3326
 
3327
    case TOTAL_AMOUNT:
3430 rajveer 3328
      return Double.valueOf(getTotal_amount());
483 rajveer 3329
 
3330
    case TOTAL_WEIGHT:
3430 rajveer 3331
      return Double.valueOf(getTotal_weight());
483 rajveer 3332
 
3333
    case INVOICE_NUMBER:
3334
      return getInvoice_number();
3335
 
3336
    case BILLED_BY:
3337
      return getBilled_by();
3338
 
3339
    case CREATED_TIMESTAMP:
3430 rajveer 3340
      return Long.valueOf(getCreated_timestamp());
483 rajveer 3341
 
3342
    case ACCEPTED_TIMESTAMP:
3430 rajveer 3343
      return Long.valueOf(getAccepted_timestamp());
483 rajveer 3344
 
3345
    case BILLING_TIMESTAMP:
3430 rajveer 3346
      return Long.valueOf(getBilling_timestamp());
483 rajveer 3347
 
3348
    case SHIPPING_TIMESTAMP:
3430 rajveer 3349
      return Long.valueOf(getShipping_timestamp());
483 rajveer 3350
 
1114 chandransh 3351
    case PICKUP_TIMESTAMP:
3430 rajveer 3352
      return Long.valueOf(getPickup_timestamp());
1114 chandransh 3353
 
483 rajveer 3354
    case DELIVERY_TIMESTAMP:
3430 rajveer 3355
      return Long.valueOf(getDelivery_timestamp());
483 rajveer 3356
 
1209 chandransh 3357
    case OUTOFSTOCK_TIMESTAMP:
3430 rajveer 3358
      return Long.valueOf(getOutofstock_timestamp());
1209 chandransh 3359
 
640 chandransh 3360
    case JACKET_NUMBER:
3430 rajveer 3361
      return Long.valueOf(getJacket_number());
640 chandransh 3362
 
1133 chandransh 3363
    case RECEIVER:
3364
      return getReceiver();
3365
 
1221 chandransh 3366
    case BATCH_NO:
3430 rajveer 3367
      return Long.valueOf(getBatchNo());
1221 chandransh 3368
 
3369
    case SERIAL_NO:
3430 rajveer 3370
      return Long.valueOf(getSerialNo());
1221 chandransh 3371
 
2538 chandransh 3372
    case DOA_FLAG:
3430 rajveer 3373
      return Boolean.valueOf(isDoaFlag());
2538 chandransh 3374
 
3375
    case PICKUP_REQUEST_NO:
3376
      return getPickupRequestNo();
3377
 
2677 vikas 3378
    case TRANSACTION_ID:
3430 rajveer 3379
      return Long.valueOf(getTransactionId());
2677 vikas 3380
 
2819 chandransh 3381
    case PURCHASE_ORDER_NO:
3382
      return getPurchaseOrderNo();
3383
 
3061 chandransh 3384
    case COD:
3430 rajveer 3385
      return Boolean.valueOf(isCod());
3061 chandransh 3386
 
3553 chandransh 3387
    case DELAY_REASON:
3388
      return getDelayReason();
3389
 
3986 chandransh 3390
    case PROMISED_DELIVERY_TIME:
3391
      return Long.valueOf(getPromised_delivery_time());
3392
 
4004 chandransh 3393
    case EXPECTED_SHIPPING_TIME:
3394
      return Long.valueOf(getExpected_shipping_time());
3395
 
3396
    case VERIFICATION_TIMESTAMP:
3397
      return Long.valueOf(getVerification_timestamp());
3398
 
4102 chandransh 3399
    case PROMISED_SHIPPING_TIME:
3400
      return Long.valueOf(getPromised_shipping_time());
3401
 
4192 anupam.sin 3402
    case RESHIP_TIMESTAMP:
3403
      return Long.valueOf(getReship_timestamp());
3404
 
3405
    case REFUND_TIMESTAMP:
3406
      return Long.valueOf(getRefund_timestamp());
3407
 
3408
    case NEW_ORDER_ID:
3409
      return Long.valueOf(getNew_order_id());
3410
 
4246 rajveer 3411
    case PREVIOUS_STATUS:
3412
      return getPreviousStatus();
3413
 
4269 anupam.sin 3414
    case VENDOR_ID:
3415
      return Long.valueOf(getVendorId());
3416
 
4506 phani.kuma 3417
    case DOA_AUTH_TIMESTAMP:
3418
      return Long.valueOf(getDoa_auth_timestamp());
3419
 
4647 rajveer 3420
    case DELAY_REASON_TEXT:
3421
      return getDelayReasonText();
3422
 
4709 rajveer 3423
    case REFUND_REASON:
3424
      return getRefundReason();
3425
 
4758 mandeep.dh 3426
    case PURCHASE_ORDER_ID:
3427
      return Long.valueOf(getPurchaseOrderId());
3428
 
4815 phani.kuma 3429
    case DOA_LOGISTICS_PROVIDER_ID:
3430
      return Long.valueOf(getDoa_logistics_provider_id());
3431
 
5062 varun.gupt 3432
    case ORIGINAL_ORDER_ID:
3433
      return Long.valueOf(getOriginalOrderId());
3434
 
5110 mandeep.dh 3435
    case FULFILMENT_WAREHOUSE_ID:
3436
      return Long.valueOf(getFulfilmentWarehouseId());
3437
 
5189 varun.gupt 3438
    case VENDOR_PAID:
3439
      return Boolean.valueOf(isVendorPaid());
3440
 
5354 anupam.sin 3441
    case RECEIVED_RETURN_TIMESTAMP:
3442
      return Long.valueOf(getReceived_return_timestamp());
3443
 
3444
    case FIRST_ATTEMPT_TIMESTAMP:
3445
      return Long.valueOf(getFirst_attempt_timestamp());
3446
 
5527 anupam.sin 3447
    case ORDER_TYPE:
3448
      return getOrderType();
3449
 
5553 rajveer 3450
    case PICKUP_STORE_ID:
3451
      return Long.valueOf(getPickupStoreId());
3452
 
3453
    case LOGISTICS_COD:
3454
      return Boolean.valueOf(isLogisticsCod());
3455
 
6319 rajveer 3456
    case GV_AMOUNT:
3457
      return Long.valueOf(getGvAmount());
3458
 
6525 rajveer 3459
    case OTG:
3460
      return Boolean.valueOf(isOtg());
3461
 
6726 rajveer 3462
    case COURIER_DELIVERY_TIME:
3463
      return Long.valueOf(getCourier_delivery_time());
3464
 
6903 anupam.sin 3465
    case INSURER:
3466
      return Long.valueOf(getInsurer());
3467
 
3468
    case INSURANCE_AMOUNT:
3469
      return Double.valueOf(getInsuranceAmount());
3470
 
3471
    case DOB:
3472
      return getDob();
3473
 
3474
    case GUARDIAN_NAME:
3475
      return getGuardianName();
3476
 
7190 amar.kumar 3477
    case FREEBIE_ITEM_ID:
3478
      return Long.valueOf(getFreebieItemId());
3479
 
483 rajveer 3480
    }
3481
    throw new IllegalStateException();
3482
  }
3483
 
3430 rajveer 3484
  /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
3485
  public boolean isSet(_Fields field) {
3486
    if (field == null) {
3487
      throw new IllegalArgumentException();
3488
    }
483 rajveer 3489
 
3490
    switch (field) {
3491
    case ID:
3492
      return isSetId();
3493
    case WAREHOUSE_ID:
3494
      return isSetWarehouse_id();
3495
    case LINEITEMS:
3496
      return isSetLineitems();
3497
    case LOGISTICS_PROVIDER_ID:
3498
      return isSetLogistics_provider_id();
3499
    case AIRWAYBILL_NO:
3500
      return isSetAirwaybill_no();
3501
    case TRACKING_ID:
3502
      return isSetTracking_id();
3503
    case EXPECTED_DELIVERY_TIME:
3504
      return isSetExpected_delivery_time();
3505
    case CUSTOMER_ID:
3506
      return isSetCustomer_id();
3507
    case CUSTOMER_NAME:
3508
      return isSetCustomer_name();
3509
    case CUSTOMER_MOBILENUMBER:
3510
      return isSetCustomer_mobilenumber();
3511
    case CUSTOMER_PINCODE:
3512
      return isSetCustomer_pincode();
736 chandransh 3513
    case CUSTOMER_ADDRESS1:
3514
      return isSetCustomer_address1();
3515
    case CUSTOMER_ADDRESS2:
3516
      return isSetCustomer_address2();
483 rajveer 3517
    case CUSTOMER_EMAIL:
3518
      return isSetCustomer_email();
736 chandransh 3519
    case CUSTOMER_CITY:
3520
      return isSetCustomer_city();
3521
    case CUSTOMER_STATE:
3522
      return isSetCustomer_state();
483 rajveer 3523
    case STATUS:
3524
      return isSetStatus();
3525
    case STATUS_DESCRIPTION:
3526
      return isSetStatusDescription();
3527
    case TOTAL_AMOUNT:
3528
      return isSetTotal_amount();
3529
    case TOTAL_WEIGHT:
3530
      return isSetTotal_weight();
3531
    case INVOICE_NUMBER:
3532
      return isSetInvoice_number();
3533
    case BILLED_BY:
3534
      return isSetBilled_by();
3535
    case CREATED_TIMESTAMP:
3536
      return isSetCreated_timestamp();
3537
    case ACCEPTED_TIMESTAMP:
3538
      return isSetAccepted_timestamp();
3539
    case BILLING_TIMESTAMP:
3540
      return isSetBilling_timestamp();
3541
    case SHIPPING_TIMESTAMP:
3542
      return isSetShipping_timestamp();
1114 chandransh 3543
    case PICKUP_TIMESTAMP:
3544
      return isSetPickup_timestamp();
483 rajveer 3545
    case DELIVERY_TIMESTAMP:
3546
      return isSetDelivery_timestamp();
1209 chandransh 3547
    case OUTOFSTOCK_TIMESTAMP:
3548
      return isSetOutofstock_timestamp();
640 chandransh 3549
    case JACKET_NUMBER:
3550
      return isSetJacket_number();
1133 chandransh 3551
    case RECEIVER:
3552
      return isSetReceiver();
1221 chandransh 3553
    case BATCH_NO:
3554
      return isSetBatchNo();
3555
    case SERIAL_NO:
3556
      return isSetSerialNo();
2538 chandransh 3557
    case DOA_FLAG:
3558
      return isSetDoaFlag();
3559
    case PICKUP_REQUEST_NO:
3560
      return isSetPickupRequestNo();
2677 vikas 3561
    case TRANSACTION_ID:
3562
      return isSetTransactionId();
2819 chandransh 3563
    case PURCHASE_ORDER_NO:
3564
      return isSetPurchaseOrderNo();
3061 chandransh 3565
    case COD:
3566
      return isSetCod();
3553 chandransh 3567
    case DELAY_REASON:
3568
      return isSetDelayReason();
3986 chandransh 3569
    case PROMISED_DELIVERY_TIME:
3570
      return isSetPromised_delivery_time();
4004 chandransh 3571
    case EXPECTED_SHIPPING_TIME:
3572
      return isSetExpected_shipping_time();
3573
    case VERIFICATION_TIMESTAMP:
3574
      return isSetVerification_timestamp();
4102 chandransh 3575
    case PROMISED_SHIPPING_TIME:
3576
      return isSetPromised_shipping_time();
4192 anupam.sin 3577
    case RESHIP_TIMESTAMP:
3578
      return isSetReship_timestamp();
3579
    case REFUND_TIMESTAMP:
3580
      return isSetRefund_timestamp();
3581
    case NEW_ORDER_ID:
3582
      return isSetNew_order_id();
4246 rajveer 3583
    case PREVIOUS_STATUS:
3584
      return isSetPreviousStatus();
4269 anupam.sin 3585
    case VENDOR_ID:
3586
      return isSetVendorId();
4506 phani.kuma 3587
    case DOA_AUTH_TIMESTAMP:
3588
      return isSetDoa_auth_timestamp();
4647 rajveer 3589
    case DELAY_REASON_TEXT:
3590
      return isSetDelayReasonText();
4709 rajveer 3591
    case REFUND_REASON:
3592
      return isSetRefundReason();
4758 mandeep.dh 3593
    case PURCHASE_ORDER_ID:
3594
      return isSetPurchaseOrderId();
4815 phani.kuma 3595
    case DOA_LOGISTICS_PROVIDER_ID:
3596
      return isSetDoa_logistics_provider_id();
5062 varun.gupt 3597
    case ORIGINAL_ORDER_ID:
3598
      return isSetOriginalOrderId();
5110 mandeep.dh 3599
    case FULFILMENT_WAREHOUSE_ID:
3600
      return isSetFulfilmentWarehouseId();
5189 varun.gupt 3601
    case VENDOR_PAID:
3602
      return isSetVendorPaid();
5354 anupam.sin 3603
    case RECEIVED_RETURN_TIMESTAMP:
3604
      return isSetReceived_return_timestamp();
3605
    case FIRST_ATTEMPT_TIMESTAMP:
3606
      return isSetFirst_attempt_timestamp();
5527 anupam.sin 3607
    case ORDER_TYPE:
3608
      return isSetOrderType();
5553 rajveer 3609
    case PICKUP_STORE_ID:
3610
      return isSetPickupStoreId();
3611
    case LOGISTICS_COD:
3612
      return isSetLogisticsCod();
6319 rajveer 3613
    case GV_AMOUNT:
3614
      return isSetGvAmount();
6525 rajveer 3615
    case OTG:
3616
      return isSetOtg();
6726 rajveer 3617
    case COURIER_DELIVERY_TIME:
3618
      return isSetCourier_delivery_time();
6903 anupam.sin 3619
    case INSURER:
3620
      return isSetInsurer();
3621
    case INSURANCE_AMOUNT:
3622
      return isSetInsuranceAmount();
3623
    case DOB:
3624
      return isSetDob();
3625
    case GUARDIAN_NAME:
3626
      return isSetGuardianName();
7190 amar.kumar 3627
    case FREEBIE_ITEM_ID:
3628
      return isSetFreebieItemId();
483 rajveer 3629
    }
3630
    throw new IllegalStateException();
3631
  }
3632
 
3633
  @Override
3634
  public boolean equals(Object that) {
3635
    if (that == null)
3636
      return false;
3637
    if (that instanceof Order)
3638
      return this.equals((Order)that);
3639
    return false;
3640
  }
3641
 
3642
  public boolean equals(Order that) {
3643
    if (that == null)
3644
      return false;
3645
 
3646
    boolean this_present_id = true;
3647
    boolean that_present_id = true;
3648
    if (this_present_id || that_present_id) {
3649
      if (!(this_present_id && that_present_id))
3650
        return false;
3651
      if (this.id != that.id)
3652
        return false;
3653
    }
3654
 
3655
    boolean this_present_warehouse_id = true;
3656
    boolean that_present_warehouse_id = true;
3657
    if (this_present_warehouse_id || that_present_warehouse_id) {
3658
      if (!(this_present_warehouse_id && that_present_warehouse_id))
3659
        return false;
3660
      if (this.warehouse_id != that.warehouse_id)
3661
        return false;
3662
    }
3663
 
3664
    boolean this_present_lineitems = true && this.isSetLineitems();
3665
    boolean that_present_lineitems = true && that.isSetLineitems();
3666
    if (this_present_lineitems || that_present_lineitems) {
3667
      if (!(this_present_lineitems && that_present_lineitems))
3668
        return false;
3669
      if (!this.lineitems.equals(that.lineitems))
3670
        return false;
3671
    }
3672
 
3673
    boolean this_present_logistics_provider_id = true;
3674
    boolean that_present_logistics_provider_id = true;
3675
    if (this_present_logistics_provider_id || that_present_logistics_provider_id) {
3676
      if (!(this_present_logistics_provider_id && that_present_logistics_provider_id))
3677
        return false;
3678
      if (this.logistics_provider_id != that.logistics_provider_id)
3679
        return false;
3680
    }
3681
 
3682
    boolean this_present_airwaybill_no = true && this.isSetAirwaybill_no();
3683
    boolean that_present_airwaybill_no = true && that.isSetAirwaybill_no();
3684
    if (this_present_airwaybill_no || that_present_airwaybill_no) {
3685
      if (!(this_present_airwaybill_no && that_present_airwaybill_no))
3686
        return false;
3687
      if (!this.airwaybill_no.equals(that.airwaybill_no))
3688
        return false;
3689
    }
3690
 
3691
    boolean this_present_tracking_id = true && this.isSetTracking_id();
3692
    boolean that_present_tracking_id = true && that.isSetTracking_id();
3693
    if (this_present_tracking_id || that_present_tracking_id) {
3694
      if (!(this_present_tracking_id && that_present_tracking_id))
3695
        return false;
3696
      if (!this.tracking_id.equals(that.tracking_id))
3697
        return false;
3698
    }
3699
 
3700
    boolean this_present_expected_delivery_time = true;
3701
    boolean that_present_expected_delivery_time = true;
3702
    if (this_present_expected_delivery_time || that_present_expected_delivery_time) {
3703
      if (!(this_present_expected_delivery_time && that_present_expected_delivery_time))
3704
        return false;
3705
      if (this.expected_delivery_time != that.expected_delivery_time)
3706
        return false;
3707
    }
3708
 
3709
    boolean this_present_customer_id = true;
3710
    boolean that_present_customer_id = true;
3711
    if (this_present_customer_id || that_present_customer_id) {
3712
      if (!(this_present_customer_id && that_present_customer_id))
3713
        return false;
3714
      if (this.customer_id != that.customer_id)
3715
        return false;
3716
    }
3717
 
3718
    boolean this_present_customer_name = true && this.isSetCustomer_name();
3719
    boolean that_present_customer_name = true && that.isSetCustomer_name();
3720
    if (this_present_customer_name || that_present_customer_name) {
3721
      if (!(this_present_customer_name && that_present_customer_name))
3722
        return false;
3723
      if (!this.customer_name.equals(that.customer_name))
3724
        return false;
3725
    }
3726
 
3727
    boolean this_present_customer_mobilenumber = true && this.isSetCustomer_mobilenumber();
3728
    boolean that_present_customer_mobilenumber = true && that.isSetCustomer_mobilenumber();
3729
    if (this_present_customer_mobilenumber || that_present_customer_mobilenumber) {
3730
      if (!(this_present_customer_mobilenumber && that_present_customer_mobilenumber))
3731
        return false;
3732
      if (!this.customer_mobilenumber.equals(that.customer_mobilenumber))
3733
        return false;
3734
    }
3735
 
3736
    boolean this_present_customer_pincode = true && this.isSetCustomer_pincode();
3737
    boolean that_present_customer_pincode = true && that.isSetCustomer_pincode();
3738
    if (this_present_customer_pincode || that_present_customer_pincode) {
3739
      if (!(this_present_customer_pincode && that_present_customer_pincode))
3740
        return false;
3741
      if (!this.customer_pincode.equals(that.customer_pincode))
3742
        return false;
3743
    }
3744
 
736 chandransh 3745
    boolean this_present_customer_address1 = true && this.isSetCustomer_address1();
3746
    boolean that_present_customer_address1 = true && that.isSetCustomer_address1();
3747
    if (this_present_customer_address1 || that_present_customer_address1) {
3748
      if (!(this_present_customer_address1 && that_present_customer_address1))
483 rajveer 3749
        return false;
736 chandransh 3750
      if (!this.customer_address1.equals(that.customer_address1))
483 rajveer 3751
        return false;
3752
    }
3753
 
736 chandransh 3754
    boolean this_present_customer_address2 = true && this.isSetCustomer_address2();
3755
    boolean that_present_customer_address2 = true && that.isSetCustomer_address2();
3756
    if (this_present_customer_address2 || that_present_customer_address2) {
3757
      if (!(this_present_customer_address2 && that_present_customer_address2))
3758
        return false;
3759
      if (!this.customer_address2.equals(that.customer_address2))
3760
        return false;
3761
    }
3762
 
483 rajveer 3763
    boolean this_present_customer_email = true && this.isSetCustomer_email();
3764
    boolean that_present_customer_email = true && that.isSetCustomer_email();
3765
    if (this_present_customer_email || that_present_customer_email) {
3766
      if (!(this_present_customer_email && that_present_customer_email))
3767
        return false;
3768
      if (!this.customer_email.equals(that.customer_email))
3769
        return false;
3770
    }
3771
 
736 chandransh 3772
    boolean this_present_customer_city = true && this.isSetCustomer_city();
3773
    boolean that_present_customer_city = true && that.isSetCustomer_city();
3774
    if (this_present_customer_city || that_present_customer_city) {
3775
      if (!(this_present_customer_city && that_present_customer_city))
3776
        return false;
3777
      if (!this.customer_city.equals(that.customer_city))
3778
        return false;
3779
    }
3780
 
3781
    boolean this_present_customer_state = true && this.isSetCustomer_state();
3782
    boolean that_present_customer_state = true && that.isSetCustomer_state();
3783
    if (this_present_customer_state || that_present_customer_state) {
3784
      if (!(this_present_customer_state && that_present_customer_state))
3785
        return false;
3786
      if (!this.customer_state.equals(that.customer_state))
3787
        return false;
3788
    }
3789
 
483 rajveer 3790
    boolean this_present_status = true && this.isSetStatus();
3791
    boolean that_present_status = true && that.isSetStatus();
3792
    if (this_present_status || that_present_status) {
3793
      if (!(this_present_status && that_present_status))
3794
        return false;
3795
      if (!this.status.equals(that.status))
3796
        return false;
3797
    }
3798
 
3799
    boolean this_present_statusDescription = true && this.isSetStatusDescription();
3800
    boolean that_present_statusDescription = true && that.isSetStatusDescription();
3801
    if (this_present_statusDescription || that_present_statusDescription) {
3802
      if (!(this_present_statusDescription && that_present_statusDescription))
3803
        return false;
3804
      if (!this.statusDescription.equals(that.statusDescription))
3805
        return false;
3806
    }
3807
 
3808
    boolean this_present_total_amount = true;
3809
    boolean that_present_total_amount = true;
3810
    if (this_present_total_amount || that_present_total_amount) {
3811
      if (!(this_present_total_amount && that_present_total_amount))
3812
        return false;
3813
      if (this.total_amount != that.total_amount)
3814
        return false;
3815
    }
3816
 
3817
    boolean this_present_total_weight = true;
3818
    boolean that_present_total_weight = true;
3819
    if (this_present_total_weight || that_present_total_weight) {
3820
      if (!(this_present_total_weight && that_present_total_weight))
3821
        return false;
3822
      if (this.total_weight != that.total_weight)
3823
        return false;
3824
    }
3825
 
3826
    boolean this_present_invoice_number = true && this.isSetInvoice_number();
3827
    boolean that_present_invoice_number = true && that.isSetInvoice_number();
3828
    if (this_present_invoice_number || that_present_invoice_number) {
3829
      if (!(this_present_invoice_number && that_present_invoice_number))
3830
        return false;
3831
      if (!this.invoice_number.equals(that.invoice_number))
3832
        return false;
3833
    }
3834
 
3835
    boolean this_present_billed_by = true && this.isSetBilled_by();
3836
    boolean that_present_billed_by = true && that.isSetBilled_by();
3837
    if (this_present_billed_by || that_present_billed_by) {
3838
      if (!(this_present_billed_by && that_present_billed_by))
3839
        return false;
3840
      if (!this.billed_by.equals(that.billed_by))
3841
        return false;
3842
    }
3843
 
3844
    boolean this_present_created_timestamp = true;
3845
    boolean that_present_created_timestamp = true;
3846
    if (this_present_created_timestamp || that_present_created_timestamp) {
3847
      if (!(this_present_created_timestamp && that_present_created_timestamp))
3848
        return false;
3849
      if (this.created_timestamp != that.created_timestamp)
3850
        return false;
3851
    }
3852
 
3853
    boolean this_present_accepted_timestamp = true;
3854
    boolean that_present_accepted_timestamp = true;
3855
    if (this_present_accepted_timestamp || that_present_accepted_timestamp) {
3856
      if (!(this_present_accepted_timestamp && that_present_accepted_timestamp))
3857
        return false;
3858
      if (this.accepted_timestamp != that.accepted_timestamp)
3859
        return false;
3860
    }
3861
 
3862
    boolean this_present_billing_timestamp = true;
3863
    boolean that_present_billing_timestamp = true;
3864
    if (this_present_billing_timestamp || that_present_billing_timestamp) {
3865
      if (!(this_present_billing_timestamp && that_present_billing_timestamp))
3866
        return false;
3867
      if (this.billing_timestamp != that.billing_timestamp)
3868
        return false;
3869
    }
3870
 
3871
    boolean this_present_shipping_timestamp = true;
3872
    boolean that_present_shipping_timestamp = true;
3873
    if (this_present_shipping_timestamp || that_present_shipping_timestamp) {
3874
      if (!(this_present_shipping_timestamp && that_present_shipping_timestamp))
3875
        return false;
3876
      if (this.shipping_timestamp != that.shipping_timestamp)
3877
        return false;
3878
    }
3879
 
1114 chandransh 3880
    boolean this_present_pickup_timestamp = true;
3881
    boolean that_present_pickup_timestamp = true;
3882
    if (this_present_pickup_timestamp || that_present_pickup_timestamp) {
3883
      if (!(this_present_pickup_timestamp && that_present_pickup_timestamp))
3884
        return false;
3885
      if (this.pickup_timestamp != that.pickup_timestamp)
3886
        return false;
3887
    }
3888
 
483 rajveer 3889
    boolean this_present_delivery_timestamp = true;
3890
    boolean that_present_delivery_timestamp = true;
3891
    if (this_present_delivery_timestamp || that_present_delivery_timestamp) {
3892
      if (!(this_present_delivery_timestamp && that_present_delivery_timestamp))
3893
        return false;
3894
      if (this.delivery_timestamp != that.delivery_timestamp)
3895
        return false;
3896
    }
3897
 
1209 chandransh 3898
    boolean this_present_outofstock_timestamp = true;
3899
    boolean that_present_outofstock_timestamp = true;
3900
    if (this_present_outofstock_timestamp || that_present_outofstock_timestamp) {
3901
      if (!(this_present_outofstock_timestamp && that_present_outofstock_timestamp))
3902
        return false;
3903
      if (this.outofstock_timestamp != that.outofstock_timestamp)
3904
        return false;
3905
    }
3906
 
640 chandransh 3907
    boolean this_present_jacket_number = true;
3908
    boolean that_present_jacket_number = true;
3909
    if (this_present_jacket_number || that_present_jacket_number) {
3910
      if (!(this_present_jacket_number && that_present_jacket_number))
3911
        return false;
3912
      if (this.jacket_number != that.jacket_number)
3913
        return false;
3914
    }
3915
 
1133 chandransh 3916
    boolean this_present_receiver = true && this.isSetReceiver();
3917
    boolean that_present_receiver = true && that.isSetReceiver();
3918
    if (this_present_receiver || that_present_receiver) {
3919
      if (!(this_present_receiver && that_present_receiver))
3920
        return false;
3921
      if (!this.receiver.equals(that.receiver))
3922
        return false;
3923
    }
3924
 
1221 chandransh 3925
    boolean this_present_batchNo = true;
3926
    boolean that_present_batchNo = true;
3927
    if (this_present_batchNo || that_present_batchNo) {
3928
      if (!(this_present_batchNo && that_present_batchNo))
3929
        return false;
3930
      if (this.batchNo != that.batchNo)
3931
        return false;
3932
    }
3933
 
3934
    boolean this_present_serialNo = true;
3935
    boolean that_present_serialNo = true;
3936
    if (this_present_serialNo || that_present_serialNo) {
3937
      if (!(this_present_serialNo && that_present_serialNo))
3938
        return false;
3939
      if (this.serialNo != that.serialNo)
3940
        return false;
3941
    }
3942
 
2538 chandransh 3943
    boolean this_present_doaFlag = true;
3944
    boolean that_present_doaFlag = true;
3945
    if (this_present_doaFlag || that_present_doaFlag) {
3946
      if (!(this_present_doaFlag && that_present_doaFlag))
3947
        return false;
3948
      if (this.doaFlag != that.doaFlag)
3949
        return false;
3950
    }
3951
 
3952
    boolean this_present_pickupRequestNo = true && this.isSetPickupRequestNo();
3953
    boolean that_present_pickupRequestNo = true && that.isSetPickupRequestNo();
3954
    if (this_present_pickupRequestNo || that_present_pickupRequestNo) {
3955
      if (!(this_present_pickupRequestNo && that_present_pickupRequestNo))
3956
        return false;
3957
      if (!this.pickupRequestNo.equals(that.pickupRequestNo))
3958
        return false;
3959
    }
3960
 
2677 vikas 3961
    boolean this_present_transactionId = true;
3962
    boolean that_present_transactionId = true;
3963
    if (this_present_transactionId || that_present_transactionId) {
3964
      if (!(this_present_transactionId && that_present_transactionId))
3965
        return false;
3966
      if (this.transactionId != that.transactionId)
3967
        return false;
3968
    }
3969
 
2819 chandransh 3970
    boolean this_present_purchaseOrderNo = true && this.isSetPurchaseOrderNo();
3971
    boolean that_present_purchaseOrderNo = true && that.isSetPurchaseOrderNo();
3972
    if (this_present_purchaseOrderNo || that_present_purchaseOrderNo) {
3973
      if (!(this_present_purchaseOrderNo && that_present_purchaseOrderNo))
3974
        return false;
3975
      if (!this.purchaseOrderNo.equals(that.purchaseOrderNo))
3976
        return false;
3977
    }
3978
 
3061 chandransh 3979
    boolean this_present_cod = true;
3980
    boolean that_present_cod = true;
3981
    if (this_present_cod || that_present_cod) {
3982
      if (!(this_present_cod && that_present_cod))
3983
        return false;
3984
      if (this.cod != that.cod)
3985
        return false;
3986
    }
3987
 
3553 chandransh 3988
    boolean this_present_delayReason = true && this.isSetDelayReason();
3989
    boolean that_present_delayReason = true && that.isSetDelayReason();
3990
    if (this_present_delayReason || that_present_delayReason) {
3991
      if (!(this_present_delayReason && that_present_delayReason))
3992
        return false;
3993
      if (!this.delayReason.equals(that.delayReason))
3994
        return false;
3995
    }
3996
 
3986 chandransh 3997
    boolean this_present_promised_delivery_time = true;
3998
    boolean that_present_promised_delivery_time = true;
3999
    if (this_present_promised_delivery_time || that_present_promised_delivery_time) {
4000
      if (!(this_present_promised_delivery_time && that_present_promised_delivery_time))
4001
        return false;
4002
      if (this.promised_delivery_time != that.promised_delivery_time)
4003
        return false;
4004
    }
4005
 
4004 chandransh 4006
    boolean this_present_expected_shipping_time = true;
4007
    boolean that_present_expected_shipping_time = true;
4008
    if (this_present_expected_shipping_time || that_present_expected_shipping_time) {
4009
      if (!(this_present_expected_shipping_time && that_present_expected_shipping_time))
4010
        return false;
4011
      if (this.expected_shipping_time != that.expected_shipping_time)
4012
        return false;
4013
    }
4014
 
4015
    boolean this_present_verification_timestamp = true;
4016
    boolean that_present_verification_timestamp = true;
4017
    if (this_present_verification_timestamp || that_present_verification_timestamp) {
4018
      if (!(this_present_verification_timestamp && that_present_verification_timestamp))
4019
        return false;
4020
      if (this.verification_timestamp != that.verification_timestamp)
4021
        return false;
4022
    }
4023
 
4102 chandransh 4024
    boolean this_present_promised_shipping_time = true;
4025
    boolean that_present_promised_shipping_time = true;
4026
    if (this_present_promised_shipping_time || that_present_promised_shipping_time) {
4027
      if (!(this_present_promised_shipping_time && that_present_promised_shipping_time))
4028
        return false;
4029
      if (this.promised_shipping_time != that.promised_shipping_time)
4030
        return false;
4031
    }
4032
 
4192 anupam.sin 4033
    boolean this_present_reship_timestamp = true && this.isSetReship_timestamp();
4034
    boolean that_present_reship_timestamp = true && that.isSetReship_timestamp();
4035
    if (this_present_reship_timestamp || that_present_reship_timestamp) {
4036
      if (!(this_present_reship_timestamp && that_present_reship_timestamp))
4037
        return false;
4038
      if (this.reship_timestamp != that.reship_timestamp)
4039
        return false;
4040
    }
4041
 
4042
    boolean this_present_refund_timestamp = true && this.isSetRefund_timestamp();
4043
    boolean that_present_refund_timestamp = true && that.isSetRefund_timestamp();
4044
    if (this_present_refund_timestamp || that_present_refund_timestamp) {
4045
      if (!(this_present_refund_timestamp && that_present_refund_timestamp))
4046
        return false;
4047
      if (this.refund_timestamp != that.refund_timestamp)
4048
        return false;
4049
    }
4050
 
4051
    boolean this_present_new_order_id = true && this.isSetNew_order_id();
4052
    boolean that_present_new_order_id = true && that.isSetNew_order_id();
4053
    if (this_present_new_order_id || that_present_new_order_id) {
4054
      if (!(this_present_new_order_id && that_present_new_order_id))
4055
        return false;
4056
      if (this.new_order_id != that.new_order_id)
4057
        return false;
4058
    }
4059
 
4246 rajveer 4060
    boolean this_present_previousStatus = true && this.isSetPreviousStatus();
4061
    boolean that_present_previousStatus = true && that.isSetPreviousStatus();
4062
    if (this_present_previousStatus || that_present_previousStatus) {
4063
      if (!(this_present_previousStatus && that_present_previousStatus))
4064
        return false;
4065
      if (!this.previousStatus.equals(that.previousStatus))
4066
        return false;
4067
    }
4068
 
4269 anupam.sin 4069
    boolean this_present_vendorId = true;
4070
    boolean that_present_vendorId = true;
4071
    if (this_present_vendorId || that_present_vendorId) {
4072
      if (!(this_present_vendorId && that_present_vendorId))
4073
        return false;
4074
      if (this.vendorId != that.vendorId)
4075
        return false;
4076
    }
4077
 
4506 phani.kuma 4078
    boolean this_present_doa_auth_timestamp = true && this.isSetDoa_auth_timestamp();
4079
    boolean that_present_doa_auth_timestamp = true && that.isSetDoa_auth_timestamp();
4080
    if (this_present_doa_auth_timestamp || that_present_doa_auth_timestamp) {
4081
      if (!(this_present_doa_auth_timestamp && that_present_doa_auth_timestamp))
4082
        return false;
4083
      if (this.doa_auth_timestamp != that.doa_auth_timestamp)
4084
        return false;
4085
    }
4086
 
4647 rajveer 4087
    boolean this_present_delayReasonText = true && this.isSetDelayReasonText();
4088
    boolean that_present_delayReasonText = true && that.isSetDelayReasonText();
4089
    if (this_present_delayReasonText || that_present_delayReasonText) {
4090
      if (!(this_present_delayReasonText && that_present_delayReasonText))
4091
        return false;
4092
      if (!this.delayReasonText.equals(that.delayReasonText))
4093
        return false;
4094
    }
4095
 
4709 rajveer 4096
    boolean this_present_refundReason = true && this.isSetRefundReason();
4097
    boolean that_present_refundReason = true && that.isSetRefundReason();
4098
    if (this_present_refundReason || that_present_refundReason) {
4099
      if (!(this_present_refundReason && that_present_refundReason))
4100
        return false;
4101
      if (!this.refundReason.equals(that.refundReason))
4102
        return false;
4103
    }
4104
 
4758 mandeep.dh 4105
    boolean this_present_purchaseOrderId = true;
4106
    boolean that_present_purchaseOrderId = true;
4107
    if (this_present_purchaseOrderId || that_present_purchaseOrderId) {
4108
      if (!(this_present_purchaseOrderId && that_present_purchaseOrderId))
4109
        return false;
4110
      if (this.purchaseOrderId != that.purchaseOrderId)
4111
        return false;
4112
    }
4113
 
4815 phani.kuma 4114
    boolean this_present_doa_logistics_provider_id = true && this.isSetDoa_logistics_provider_id();
4115
    boolean that_present_doa_logistics_provider_id = true && that.isSetDoa_logistics_provider_id();
4116
    if (this_present_doa_logistics_provider_id || that_present_doa_logistics_provider_id) {
4117
      if (!(this_present_doa_logistics_provider_id && that_present_doa_logistics_provider_id))
4118
        return false;
4119
      if (this.doa_logistics_provider_id != that.doa_logistics_provider_id)
4120
        return false;
4121
    }
4122
 
5062 varun.gupt 4123
    boolean this_present_originalOrderId = true;
4124
    boolean that_present_originalOrderId = true;
4125
    if (this_present_originalOrderId || that_present_originalOrderId) {
4126
      if (!(this_present_originalOrderId && that_present_originalOrderId))
4127
        return false;
4128
      if (this.originalOrderId != that.originalOrderId)
4129
        return false;
4130
    }
4131
 
5110 mandeep.dh 4132
    boolean this_present_fulfilmentWarehouseId = true;
4133
    boolean that_present_fulfilmentWarehouseId = true;
4134
    if (this_present_fulfilmentWarehouseId || that_present_fulfilmentWarehouseId) {
4135
      if (!(this_present_fulfilmentWarehouseId && that_present_fulfilmentWarehouseId))
4136
        return false;
4137
      if (this.fulfilmentWarehouseId != that.fulfilmentWarehouseId)
4138
        return false;
4139
    }
4140
 
5189 varun.gupt 4141
    boolean this_present_vendorPaid = true;
4142
    boolean that_present_vendorPaid = true;
4143
    if (this_present_vendorPaid || that_present_vendorPaid) {
4144
      if (!(this_present_vendorPaid && that_present_vendorPaid))
4145
        return false;
4146
      if (this.vendorPaid != that.vendorPaid)
4147
        return false;
4148
    }
4149
 
5354 anupam.sin 4150
    boolean this_present_received_return_timestamp = true && this.isSetReceived_return_timestamp();
4151
    boolean that_present_received_return_timestamp = true && that.isSetReceived_return_timestamp();
4152
    if (this_present_received_return_timestamp || that_present_received_return_timestamp) {
4153
      if (!(this_present_received_return_timestamp && that_present_received_return_timestamp))
4154
        return false;
4155
      if (this.received_return_timestamp != that.received_return_timestamp)
4156
        return false;
4157
    }
4158
 
4159
    boolean this_present_first_attempt_timestamp = true && this.isSetFirst_attempt_timestamp();
4160
    boolean that_present_first_attempt_timestamp = true && that.isSetFirst_attempt_timestamp();
4161
    if (this_present_first_attempt_timestamp || that_present_first_attempt_timestamp) {
4162
      if (!(this_present_first_attempt_timestamp && that_present_first_attempt_timestamp))
4163
        return false;
4164
      if (this.first_attempt_timestamp != that.first_attempt_timestamp)
4165
        return false;
4166
    }
4167
 
5527 anupam.sin 4168
    boolean this_present_orderType = true && this.isSetOrderType();
4169
    boolean that_present_orderType = true && that.isSetOrderType();
4170
    if (this_present_orderType || that_present_orderType) {
4171
      if (!(this_present_orderType && that_present_orderType))
4172
        return false;
4173
      if (!this.orderType.equals(that.orderType))
4174
        return false;
4175
    }
4176
 
5553 rajveer 4177
    boolean this_present_pickupStoreId = true;
4178
    boolean that_present_pickupStoreId = true;
4179
    if (this_present_pickupStoreId || that_present_pickupStoreId) {
4180
      if (!(this_present_pickupStoreId && that_present_pickupStoreId))
4181
        return false;
4182
      if (this.pickupStoreId != that.pickupStoreId)
4183
        return false;
4184
    }
4185
 
4186
    boolean this_present_logisticsCod = true;
4187
    boolean that_present_logisticsCod = true;
4188
    if (this_present_logisticsCod || that_present_logisticsCod) {
4189
      if (!(this_present_logisticsCod && that_present_logisticsCod))
4190
        return false;
4191
      if (this.logisticsCod != that.logisticsCod)
4192
        return false;
4193
    }
4194
 
6319 rajveer 4195
    boolean this_present_gvAmount = true;
4196
    boolean that_present_gvAmount = true;
4197
    if (this_present_gvAmount || that_present_gvAmount) {
4198
      if (!(this_present_gvAmount && that_present_gvAmount))
4199
        return false;
4200
      if (this.gvAmount != that.gvAmount)
4201
        return false;
4202
    }
4203
 
6525 rajveer 4204
    boolean this_present_otg = true;
4205
    boolean that_present_otg = true;
4206
    if (this_present_otg || that_present_otg) {
4207
      if (!(this_present_otg && that_present_otg))
4208
        return false;
4209
      if (this.otg != that.otg)
4210
        return false;
4211
    }
4212
 
6726 rajveer 4213
    boolean this_present_courier_delivery_time = true;
4214
    boolean that_present_courier_delivery_time = true;
4215
    if (this_present_courier_delivery_time || that_present_courier_delivery_time) {
4216
      if (!(this_present_courier_delivery_time && that_present_courier_delivery_time))
4217
        return false;
4218
      if (this.courier_delivery_time != that.courier_delivery_time)
4219
        return false;
4220
    }
4221
 
6903 anupam.sin 4222
    boolean this_present_insurer = true;
4223
    boolean that_present_insurer = true;
4224
    if (this_present_insurer || that_present_insurer) {
4225
      if (!(this_present_insurer && that_present_insurer))
4226
        return false;
4227
      if (this.insurer != that.insurer)
4228
        return false;
4229
    }
4230
 
4231
    boolean this_present_insuranceAmount = true;
4232
    boolean that_present_insuranceAmount = true;
4233
    if (this_present_insuranceAmount || that_present_insuranceAmount) {
4234
      if (!(this_present_insuranceAmount && that_present_insuranceAmount))
4235
        return false;
4236
      if (this.insuranceAmount != that.insuranceAmount)
4237
        return false;
4238
    }
4239
 
4240
    boolean this_present_dob = true && this.isSetDob();
4241
    boolean that_present_dob = true && that.isSetDob();
4242
    if (this_present_dob || that_present_dob) {
4243
      if (!(this_present_dob && that_present_dob))
4244
        return false;
4245
      if (!this.dob.equals(that.dob))
4246
        return false;
4247
    }
4248
 
4249
    boolean this_present_guardianName = true && this.isSetGuardianName();
4250
    boolean that_present_guardianName = true && that.isSetGuardianName();
4251
    if (this_present_guardianName || that_present_guardianName) {
4252
      if (!(this_present_guardianName && that_present_guardianName))
4253
        return false;
4254
      if (!this.guardianName.equals(that.guardianName))
4255
        return false;
4256
    }
4257
 
7190 amar.kumar 4258
    boolean this_present_freebieItemId = true;
4259
    boolean that_present_freebieItemId = true;
4260
    if (this_present_freebieItemId || that_present_freebieItemId) {
4261
      if (!(this_present_freebieItemId && that_present_freebieItemId))
4262
        return false;
4263
      if (this.freebieItemId != that.freebieItemId)
4264
        return false;
4265
    }
4266
 
483 rajveer 4267
    return true;
4268
  }
4269
 
4270
  @Override
4271
  public int hashCode() {
4272
    return 0;
4273
  }
4274
 
4275
  public int compareTo(Order other) {
4276
    if (!getClass().equals(other.getClass())) {
4277
      return getClass().getName().compareTo(other.getClass().getName());
4278
    }
4279
 
4280
    int lastComparison = 0;
4281
    Order typedOther = (Order)other;
4282
 
3430 rajveer 4283
    lastComparison = Boolean.valueOf(isSetId()).compareTo(typedOther.isSetId());
483 rajveer 4284
    if (lastComparison != 0) {
4285
      return lastComparison;
4286
    }
3430 rajveer 4287
    if (isSetId()) {
4288
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.id, typedOther.id);
4289
      if (lastComparison != 0) {
4290
        return lastComparison;
4291
      }
483 rajveer 4292
    }
3430 rajveer 4293
    lastComparison = Boolean.valueOf(isSetWarehouse_id()).compareTo(typedOther.isSetWarehouse_id());
483 rajveer 4294
    if (lastComparison != 0) {
4295
      return lastComparison;
4296
    }
3430 rajveer 4297
    if (isSetWarehouse_id()) {
4298
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.warehouse_id, typedOther.warehouse_id);
4299
      if (lastComparison != 0) {
4300
        return lastComparison;
4301
      }
483 rajveer 4302
    }
3430 rajveer 4303
    lastComparison = Boolean.valueOf(isSetLineitems()).compareTo(typedOther.isSetLineitems());
483 rajveer 4304
    if (lastComparison != 0) {
4305
      return lastComparison;
4306
    }
3430 rajveer 4307
    if (isSetLineitems()) {
4308
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.lineitems, typedOther.lineitems);
4309
      if (lastComparison != 0) {
4310
        return lastComparison;
4311
      }
483 rajveer 4312
    }
3430 rajveer 4313
    lastComparison = Boolean.valueOf(isSetLogistics_provider_id()).compareTo(typedOther.isSetLogistics_provider_id());
483 rajveer 4314
    if (lastComparison != 0) {
4315
      return lastComparison;
4316
    }
3430 rajveer 4317
    if (isSetLogistics_provider_id()) {
4318
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.logistics_provider_id, typedOther.logistics_provider_id);
4319
      if (lastComparison != 0) {
4320
        return lastComparison;
4321
      }
483 rajveer 4322
    }
3430 rajveer 4323
    lastComparison = Boolean.valueOf(isSetAirwaybill_no()).compareTo(typedOther.isSetAirwaybill_no());
483 rajveer 4324
    if (lastComparison != 0) {
4325
      return lastComparison;
4326
    }
3430 rajveer 4327
    if (isSetAirwaybill_no()) {
4328
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.airwaybill_no, typedOther.airwaybill_no);
4329
      if (lastComparison != 0) {
4330
        return lastComparison;
4331
      }
483 rajveer 4332
    }
3430 rajveer 4333
    lastComparison = Boolean.valueOf(isSetTracking_id()).compareTo(typedOther.isSetTracking_id());
483 rajveer 4334
    if (lastComparison != 0) {
4335
      return lastComparison;
4336
    }
3430 rajveer 4337
    if (isSetTracking_id()) {
4338
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tracking_id, typedOther.tracking_id);
4339
      if (lastComparison != 0) {
4340
        return lastComparison;
4341
      }
483 rajveer 4342
    }
3430 rajveer 4343
    lastComparison = Boolean.valueOf(isSetExpected_delivery_time()).compareTo(typedOther.isSetExpected_delivery_time());
483 rajveer 4344
    if (lastComparison != 0) {
4345
      return lastComparison;
4346
    }
3430 rajveer 4347
    if (isSetExpected_delivery_time()) {
4348
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.expected_delivery_time, typedOther.expected_delivery_time);
4349
      if (lastComparison != 0) {
4350
        return lastComparison;
4351
      }
483 rajveer 4352
    }
3430 rajveer 4353
    lastComparison = Boolean.valueOf(isSetCustomer_id()).compareTo(typedOther.isSetCustomer_id());
483 rajveer 4354
    if (lastComparison != 0) {
4355
      return lastComparison;
4356
    }
3430 rajveer 4357
    if (isSetCustomer_id()) {
4358
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.customer_id, typedOther.customer_id);
4359
      if (lastComparison != 0) {
4360
        return lastComparison;
4361
      }
483 rajveer 4362
    }
3430 rajveer 4363
    lastComparison = Boolean.valueOf(isSetCustomer_name()).compareTo(typedOther.isSetCustomer_name());
483 rajveer 4364
    if (lastComparison != 0) {
4365
      return lastComparison;
4366
    }
3430 rajveer 4367
    if (isSetCustomer_name()) {
4368
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.customer_name, typedOther.customer_name);
4369
      if (lastComparison != 0) {
4370
        return lastComparison;
4371
      }
483 rajveer 4372
    }
3430 rajveer 4373
    lastComparison = Boolean.valueOf(isSetCustomer_mobilenumber()).compareTo(typedOther.isSetCustomer_mobilenumber());
483 rajveer 4374
    if (lastComparison != 0) {
4375
      return lastComparison;
4376
    }
3430 rajveer 4377
    if (isSetCustomer_mobilenumber()) {
4378
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.customer_mobilenumber, typedOther.customer_mobilenumber);
4379
      if (lastComparison != 0) {
4380
        return lastComparison;
4381
      }
483 rajveer 4382
    }
3430 rajveer 4383
    lastComparison = Boolean.valueOf(isSetCustomer_pincode()).compareTo(typedOther.isSetCustomer_pincode());
483 rajveer 4384
    if (lastComparison != 0) {
4385
      return lastComparison;
4386
    }
3430 rajveer 4387
    if (isSetCustomer_pincode()) {
4388
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.customer_pincode, typedOther.customer_pincode);
4389
      if (lastComparison != 0) {
4390
        return lastComparison;
4391
      }
483 rajveer 4392
    }
3430 rajveer 4393
    lastComparison = Boolean.valueOf(isSetCustomer_address1()).compareTo(typedOther.isSetCustomer_address1());
483 rajveer 4394
    if (lastComparison != 0) {
4395
      return lastComparison;
4396
    }
3430 rajveer 4397
    if (isSetCustomer_address1()) {
4398
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.customer_address1, typedOther.customer_address1);
4399
      if (lastComparison != 0) {
4400
        return lastComparison;
4401
      }
483 rajveer 4402
    }
3430 rajveer 4403
    lastComparison = Boolean.valueOf(isSetCustomer_address2()).compareTo(typedOther.isSetCustomer_address2());
736 chandransh 4404
    if (lastComparison != 0) {
4405
      return lastComparison;
4406
    }
3430 rajveer 4407
    if (isSetCustomer_address2()) {
4408
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.customer_address2, typedOther.customer_address2);
4409
      if (lastComparison != 0) {
4410
        return lastComparison;
4411
      }
736 chandransh 4412
    }
3430 rajveer 4413
    lastComparison = Boolean.valueOf(isSetCustomer_email()).compareTo(typedOther.isSetCustomer_email());
483 rajveer 4414
    if (lastComparison != 0) {
4415
      return lastComparison;
4416
    }
3430 rajveer 4417
    if (isSetCustomer_email()) {
4418
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.customer_email, typedOther.customer_email);
4419
      if (lastComparison != 0) {
4420
        return lastComparison;
4421
      }
483 rajveer 4422
    }
3430 rajveer 4423
    lastComparison = Boolean.valueOf(isSetCustomer_city()).compareTo(typedOther.isSetCustomer_city());
736 chandransh 4424
    if (lastComparison != 0) {
4425
      return lastComparison;
4426
    }
3430 rajveer 4427
    if (isSetCustomer_city()) {
4428
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.customer_city, typedOther.customer_city);
4429
      if (lastComparison != 0) {
4430
        return lastComparison;
4431
      }
736 chandransh 4432
    }
3430 rajveer 4433
    lastComparison = Boolean.valueOf(isSetCustomer_state()).compareTo(typedOther.isSetCustomer_state());
736 chandransh 4434
    if (lastComparison != 0) {
4435
      return lastComparison;
4436
    }
3430 rajveer 4437
    if (isSetCustomer_state()) {
4438
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.customer_state, typedOther.customer_state);
4439
      if (lastComparison != 0) {
4440
        return lastComparison;
4441
      }
736 chandransh 4442
    }
3430 rajveer 4443
    lastComparison = Boolean.valueOf(isSetStatus()).compareTo(typedOther.isSetStatus());
483 rajveer 4444
    if (lastComparison != 0) {
4445
      return lastComparison;
4446
    }
3430 rajveer 4447
    if (isSetStatus()) {
4448
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.status, typedOther.status);
4449
      if (lastComparison != 0) {
4450
        return lastComparison;
4451
      }
483 rajveer 4452
    }
3430 rajveer 4453
    lastComparison = Boolean.valueOf(isSetStatusDescription()).compareTo(typedOther.isSetStatusDescription());
483 rajveer 4454
    if (lastComparison != 0) {
4455
      return lastComparison;
4456
    }
3430 rajveer 4457
    if (isSetStatusDescription()) {
4458
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.statusDescription, typedOther.statusDescription);
4459
      if (lastComparison != 0) {
4460
        return lastComparison;
4461
      }
483 rajveer 4462
    }
3430 rajveer 4463
    lastComparison = Boolean.valueOf(isSetTotal_amount()).compareTo(typedOther.isSetTotal_amount());
483 rajveer 4464
    if (lastComparison != 0) {
4465
      return lastComparison;
4466
    }
3430 rajveer 4467
    if (isSetTotal_amount()) {
4468
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.total_amount, typedOther.total_amount);
4469
      if (lastComparison != 0) {
4470
        return lastComparison;
4471
      }
483 rajveer 4472
    }
3430 rajveer 4473
    lastComparison = Boolean.valueOf(isSetTotal_weight()).compareTo(typedOther.isSetTotal_weight());
483 rajveer 4474
    if (lastComparison != 0) {
4475
      return lastComparison;
4476
    }
3430 rajveer 4477
    if (isSetTotal_weight()) {
4478
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.total_weight, typedOther.total_weight);
4479
      if (lastComparison != 0) {
4480
        return lastComparison;
4481
      }
483 rajveer 4482
    }
3430 rajveer 4483
    lastComparison = Boolean.valueOf(isSetInvoice_number()).compareTo(typedOther.isSetInvoice_number());
483 rajveer 4484
    if (lastComparison != 0) {
4485
      return lastComparison;
4486
    }
3430 rajveer 4487
    if (isSetInvoice_number()) {
4488
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.invoice_number, typedOther.invoice_number);
4489
      if (lastComparison != 0) {
4490
        return lastComparison;
4491
      }
483 rajveer 4492
    }
3430 rajveer 4493
    lastComparison = Boolean.valueOf(isSetBilled_by()).compareTo(typedOther.isSetBilled_by());
483 rajveer 4494
    if (lastComparison != 0) {
4495
      return lastComparison;
4496
    }
3430 rajveer 4497
    if (isSetBilled_by()) {
4498
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.billed_by, typedOther.billed_by);
4499
      if (lastComparison != 0) {
4500
        return lastComparison;
4501
      }
483 rajveer 4502
    }
3430 rajveer 4503
    lastComparison = Boolean.valueOf(isSetCreated_timestamp()).compareTo(typedOther.isSetCreated_timestamp());
483 rajveer 4504
    if (lastComparison != 0) {
4505
      return lastComparison;
4506
    }
3430 rajveer 4507
    if (isSetCreated_timestamp()) {
4508
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.created_timestamp, typedOther.created_timestamp);
4509
      if (lastComparison != 0) {
4510
        return lastComparison;
4511
      }
483 rajveer 4512
    }
3430 rajveer 4513
    lastComparison = Boolean.valueOf(isSetAccepted_timestamp()).compareTo(typedOther.isSetAccepted_timestamp());
483 rajveer 4514
    if (lastComparison != 0) {
4515
      return lastComparison;
4516
    }
3430 rajveer 4517
    if (isSetAccepted_timestamp()) {
4518
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.accepted_timestamp, typedOther.accepted_timestamp);
4519
      if (lastComparison != 0) {
4520
        return lastComparison;
4521
      }
483 rajveer 4522
    }
3430 rajveer 4523
    lastComparison = Boolean.valueOf(isSetBilling_timestamp()).compareTo(typedOther.isSetBilling_timestamp());
483 rajveer 4524
    if (lastComparison != 0) {
4525
      return lastComparison;
4526
    }
3430 rajveer 4527
    if (isSetBilling_timestamp()) {
4528
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.billing_timestamp, typedOther.billing_timestamp);
4529
      if (lastComparison != 0) {
4530
        return lastComparison;
4531
      }
483 rajveer 4532
    }
3430 rajveer 4533
    lastComparison = Boolean.valueOf(isSetShipping_timestamp()).compareTo(typedOther.isSetShipping_timestamp());
483 rajveer 4534
    if (lastComparison != 0) {
4535
      return lastComparison;
4536
    }
3430 rajveer 4537
    if (isSetShipping_timestamp()) {
4538
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.shipping_timestamp, typedOther.shipping_timestamp);
4539
      if (lastComparison != 0) {
4540
        return lastComparison;
4541
      }
483 rajveer 4542
    }
3430 rajveer 4543
    lastComparison = Boolean.valueOf(isSetPickup_timestamp()).compareTo(typedOther.isSetPickup_timestamp());
1114 chandransh 4544
    if (lastComparison != 0) {
4545
      return lastComparison;
4546
    }
3430 rajveer 4547
    if (isSetPickup_timestamp()) {
4548
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.pickup_timestamp, typedOther.pickup_timestamp);
4549
      if (lastComparison != 0) {
4550
        return lastComparison;
4551
      }
1114 chandransh 4552
    }
3430 rajveer 4553
    lastComparison = Boolean.valueOf(isSetDelivery_timestamp()).compareTo(typedOther.isSetDelivery_timestamp());
483 rajveer 4554
    if (lastComparison != 0) {
4555
      return lastComparison;
4556
    }
3430 rajveer 4557
    if (isSetDelivery_timestamp()) {
4558
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.delivery_timestamp, typedOther.delivery_timestamp);
4559
      if (lastComparison != 0) {
4560
        return lastComparison;
4561
      }
483 rajveer 4562
    }
3430 rajveer 4563
    lastComparison = Boolean.valueOf(isSetOutofstock_timestamp()).compareTo(typedOther.isSetOutofstock_timestamp());
1209 chandransh 4564
    if (lastComparison != 0) {
4565
      return lastComparison;
4566
    }
3430 rajveer 4567
    if (isSetOutofstock_timestamp()) {
4568
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.outofstock_timestamp, typedOther.outofstock_timestamp);
4569
      if (lastComparison != 0) {
4570
        return lastComparison;
4571
      }
1209 chandransh 4572
    }
3430 rajveer 4573
    lastComparison = Boolean.valueOf(isSetJacket_number()).compareTo(typedOther.isSetJacket_number());
640 chandransh 4574
    if (lastComparison != 0) {
4575
      return lastComparison;
4576
    }
3430 rajveer 4577
    if (isSetJacket_number()) {
4578
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.jacket_number, typedOther.jacket_number);
4579
      if (lastComparison != 0) {
4580
        return lastComparison;
4581
      }
640 chandransh 4582
    }
3430 rajveer 4583
    lastComparison = Boolean.valueOf(isSetReceiver()).compareTo(typedOther.isSetReceiver());
1133 chandransh 4584
    if (lastComparison != 0) {
4585
      return lastComparison;
4586
    }
3430 rajveer 4587
    if (isSetReceiver()) {
4588
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.receiver, typedOther.receiver);
4589
      if (lastComparison != 0) {
4590
        return lastComparison;
4591
      }
1133 chandransh 4592
    }
3430 rajveer 4593
    lastComparison = Boolean.valueOf(isSetBatchNo()).compareTo(typedOther.isSetBatchNo());
1221 chandransh 4594
    if (lastComparison != 0) {
4595
      return lastComparison;
4596
    }
3430 rajveer 4597
    if (isSetBatchNo()) {
4598
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.batchNo, typedOther.batchNo);
4599
      if (lastComparison != 0) {
4600
        return lastComparison;
4601
      }
1221 chandransh 4602
    }
3430 rajveer 4603
    lastComparison = Boolean.valueOf(isSetSerialNo()).compareTo(typedOther.isSetSerialNo());
1221 chandransh 4604
    if (lastComparison != 0) {
4605
      return lastComparison;
4606
    }
3430 rajveer 4607
    if (isSetSerialNo()) {
4608
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.serialNo, typedOther.serialNo);
4609
      if (lastComparison != 0) {
4610
        return lastComparison;
4611
      }
1221 chandransh 4612
    }
3430 rajveer 4613
    lastComparison = Boolean.valueOf(isSetDoaFlag()).compareTo(typedOther.isSetDoaFlag());
2538 chandransh 4614
    if (lastComparison != 0) {
4615
      return lastComparison;
4616
    }
3430 rajveer 4617
    if (isSetDoaFlag()) {
4618
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.doaFlag, typedOther.doaFlag);
4619
      if (lastComparison != 0) {
4620
        return lastComparison;
4621
      }
2538 chandransh 4622
    }
3430 rajveer 4623
    lastComparison = Boolean.valueOf(isSetPickupRequestNo()).compareTo(typedOther.isSetPickupRequestNo());
2538 chandransh 4624
    if (lastComparison != 0) {
4625
      return lastComparison;
4626
    }
3430 rajveer 4627
    if (isSetPickupRequestNo()) {
4628
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.pickupRequestNo, typedOther.pickupRequestNo);
4629
      if (lastComparison != 0) {
4630
        return lastComparison;
4631
      }
2538 chandransh 4632
    }
3430 rajveer 4633
    lastComparison = Boolean.valueOf(isSetTransactionId()).compareTo(typedOther.isSetTransactionId());
2677 vikas 4634
    if (lastComparison != 0) {
4635
      return lastComparison;
4636
    }
3430 rajveer 4637
    if (isSetTransactionId()) {
4638
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.transactionId, typedOther.transactionId);
4639
      if (lastComparison != 0) {
4640
        return lastComparison;
4641
      }
2677 vikas 4642
    }
3430 rajveer 4643
    lastComparison = Boolean.valueOf(isSetPurchaseOrderNo()).compareTo(typedOther.isSetPurchaseOrderNo());
2819 chandransh 4644
    if (lastComparison != 0) {
4645
      return lastComparison;
4646
    }
3430 rajveer 4647
    if (isSetPurchaseOrderNo()) {
4648
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.purchaseOrderNo, typedOther.purchaseOrderNo);
4649
      if (lastComparison != 0) {
4650
        return lastComparison;
4651
      }
2819 chandransh 4652
    }
3430 rajveer 4653
    lastComparison = Boolean.valueOf(isSetCod()).compareTo(typedOther.isSetCod());
3061 chandransh 4654
    if (lastComparison != 0) {
4655
      return lastComparison;
4656
    }
3430 rajveer 4657
    if (isSetCod()) {
4658
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.cod, typedOther.cod);
4659
      if (lastComparison != 0) {
4660
        return lastComparison;
4661
      }
3061 chandransh 4662
    }
3553 chandransh 4663
    lastComparison = Boolean.valueOf(isSetDelayReason()).compareTo(typedOther.isSetDelayReason());
4664
    if (lastComparison != 0) {
4665
      return lastComparison;
4666
    }
4667
    if (isSetDelayReason()) {
4668
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.delayReason, typedOther.delayReason);
4669
      if (lastComparison != 0) {
4670
        return lastComparison;
4671
      }
4672
    }
3986 chandransh 4673
    lastComparison = Boolean.valueOf(isSetPromised_delivery_time()).compareTo(typedOther.isSetPromised_delivery_time());
4674
    if (lastComparison != 0) {
4675
      return lastComparison;
4676
    }
4677
    if (isSetPromised_delivery_time()) {
4678
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.promised_delivery_time, typedOther.promised_delivery_time);
4679
      if (lastComparison != 0) {
4680
        return lastComparison;
4681
      }
4682
    }
4004 chandransh 4683
    lastComparison = Boolean.valueOf(isSetExpected_shipping_time()).compareTo(typedOther.isSetExpected_shipping_time());
4684
    if (lastComparison != 0) {
4685
      return lastComparison;
4686
    }
4687
    if (isSetExpected_shipping_time()) {
4688
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.expected_shipping_time, typedOther.expected_shipping_time);
4689
      if (lastComparison != 0) {
4690
        return lastComparison;
4691
      }
4692
    }
4693
    lastComparison = Boolean.valueOf(isSetVerification_timestamp()).compareTo(typedOther.isSetVerification_timestamp());
4694
    if (lastComparison != 0) {
4695
      return lastComparison;
4696
    }
4697
    if (isSetVerification_timestamp()) {
4698
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.verification_timestamp, typedOther.verification_timestamp);
4699
      if (lastComparison != 0) {
4700
        return lastComparison;
4701
      }
4702
    }
4102 chandransh 4703
    lastComparison = Boolean.valueOf(isSetPromised_shipping_time()).compareTo(typedOther.isSetPromised_shipping_time());
4704
    if (lastComparison != 0) {
4705
      return lastComparison;
4706
    }
4707
    if (isSetPromised_shipping_time()) {
4708
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.promised_shipping_time, typedOther.promised_shipping_time);
4709
      if (lastComparison != 0) {
4710
        return lastComparison;
4711
      }
4712
    }
4192 anupam.sin 4713
    lastComparison = Boolean.valueOf(isSetReship_timestamp()).compareTo(typedOther.isSetReship_timestamp());
4714
    if (lastComparison != 0) {
4715
      return lastComparison;
4716
    }
4717
    if (isSetReship_timestamp()) {
4718
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.reship_timestamp, typedOther.reship_timestamp);
4719
      if (lastComparison != 0) {
4720
        return lastComparison;
4721
      }
4722
    }
4723
    lastComparison = Boolean.valueOf(isSetRefund_timestamp()).compareTo(typedOther.isSetRefund_timestamp());
4724
    if (lastComparison != 0) {
4725
      return lastComparison;
4726
    }
4727
    if (isSetRefund_timestamp()) {
4728
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.refund_timestamp, typedOther.refund_timestamp);
4729
      if (lastComparison != 0) {
4730
        return lastComparison;
4731
      }
4732
    }
4733
    lastComparison = Boolean.valueOf(isSetNew_order_id()).compareTo(typedOther.isSetNew_order_id());
4734
    if (lastComparison != 0) {
4735
      return lastComparison;
4736
    }
4737
    if (isSetNew_order_id()) {
4738
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.new_order_id, typedOther.new_order_id);
4739
      if (lastComparison != 0) {
4740
        return lastComparison;
4741
      }
4742
    }
4246 rajveer 4743
    lastComparison = Boolean.valueOf(isSetPreviousStatus()).compareTo(typedOther.isSetPreviousStatus());
4744
    if (lastComparison != 0) {
4745
      return lastComparison;
4746
    }
4747
    if (isSetPreviousStatus()) {
4748
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.previousStatus, typedOther.previousStatus);
4749
      if (lastComparison != 0) {
4750
        return lastComparison;
4751
      }
4752
    }
4269 anupam.sin 4753
    lastComparison = Boolean.valueOf(isSetVendorId()).compareTo(typedOther.isSetVendorId());
4754
    if (lastComparison != 0) {
4755
      return lastComparison;
4756
    }
4757
    if (isSetVendorId()) {
4758
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.vendorId, typedOther.vendorId);
4759
      if (lastComparison != 0) {
4760
        return lastComparison;
4761
      }
4762
    }
4506 phani.kuma 4763
    lastComparison = Boolean.valueOf(isSetDoa_auth_timestamp()).compareTo(typedOther.isSetDoa_auth_timestamp());
4764
    if (lastComparison != 0) {
4765
      return lastComparison;
4766
    }
4767
    if (isSetDoa_auth_timestamp()) {
4768
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.doa_auth_timestamp, typedOther.doa_auth_timestamp);
4769
      if (lastComparison != 0) {
4770
        return lastComparison;
4771
      }
4772
    }
4647 rajveer 4773
    lastComparison = Boolean.valueOf(isSetDelayReasonText()).compareTo(typedOther.isSetDelayReasonText());
4774
    if (lastComparison != 0) {
4775
      return lastComparison;
4776
    }
4777
    if (isSetDelayReasonText()) {
4778
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.delayReasonText, typedOther.delayReasonText);
4779
      if (lastComparison != 0) {
4780
        return lastComparison;
4781
      }
4782
    }
4709 rajveer 4783
    lastComparison = Boolean.valueOf(isSetRefundReason()).compareTo(typedOther.isSetRefundReason());
4784
    if (lastComparison != 0) {
4785
      return lastComparison;
4786
    }
4787
    if (isSetRefundReason()) {
4788
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.refundReason, typedOther.refundReason);
4789
      if (lastComparison != 0) {
4790
        return lastComparison;
4791
      }
4792
    }
4758 mandeep.dh 4793
    lastComparison = Boolean.valueOf(isSetPurchaseOrderId()).compareTo(typedOther.isSetPurchaseOrderId());
4794
    if (lastComparison != 0) {
4795
      return lastComparison;
4796
    }
4797
    if (isSetPurchaseOrderId()) {
4798
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.purchaseOrderId, typedOther.purchaseOrderId);
4799
      if (lastComparison != 0) {
4800
        return lastComparison;
4801
      }
4802
    }
4815 phani.kuma 4803
    lastComparison = Boolean.valueOf(isSetDoa_logistics_provider_id()).compareTo(typedOther.isSetDoa_logistics_provider_id());
4804
    if (lastComparison != 0) {
4805
      return lastComparison;
4806
    }
4807
    if (isSetDoa_logistics_provider_id()) {
4808
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.doa_logistics_provider_id, typedOther.doa_logistics_provider_id);
4809
      if (lastComparison != 0) {
4810
        return lastComparison;
4811
      }
4812
    }
5062 varun.gupt 4813
    lastComparison = Boolean.valueOf(isSetOriginalOrderId()).compareTo(typedOther.isSetOriginalOrderId());
4814
    if (lastComparison != 0) {
4815
      return lastComparison;
4816
    }
4817
    if (isSetOriginalOrderId()) {
4818
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.originalOrderId, typedOther.originalOrderId);
4819
      if (lastComparison != 0) {
4820
        return lastComparison;
4821
      }
4822
    }
5110 mandeep.dh 4823
    lastComparison = Boolean.valueOf(isSetFulfilmentWarehouseId()).compareTo(typedOther.isSetFulfilmentWarehouseId());
4824
    if (lastComparison != 0) {
4825
      return lastComparison;
4826
    }
4827
    if (isSetFulfilmentWarehouseId()) {
4828
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.fulfilmentWarehouseId, typedOther.fulfilmentWarehouseId);
4829
      if (lastComparison != 0) {
4830
        return lastComparison;
4831
      }
4832
    }
5189 varun.gupt 4833
    lastComparison = Boolean.valueOf(isSetVendorPaid()).compareTo(typedOther.isSetVendorPaid());
4834
    if (lastComparison != 0) {
4835
      return lastComparison;
4836
    }
4837
    if (isSetVendorPaid()) {
4838
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.vendorPaid, typedOther.vendorPaid);
4839
      if (lastComparison != 0) {
4840
        return lastComparison;
4841
      }
4842
    }
5354 anupam.sin 4843
    lastComparison = Boolean.valueOf(isSetReceived_return_timestamp()).compareTo(typedOther.isSetReceived_return_timestamp());
4844
    if (lastComparison != 0) {
4845
      return lastComparison;
4846
    }
4847
    if (isSetReceived_return_timestamp()) {
4848
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.received_return_timestamp, typedOther.received_return_timestamp);
4849
      if (lastComparison != 0) {
4850
        return lastComparison;
4851
      }
4852
    }
4853
    lastComparison = Boolean.valueOf(isSetFirst_attempt_timestamp()).compareTo(typedOther.isSetFirst_attempt_timestamp());
4854
    if (lastComparison != 0) {
4855
      return lastComparison;
4856
    }
4857
    if (isSetFirst_attempt_timestamp()) {
4858
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.first_attempt_timestamp, typedOther.first_attempt_timestamp);
4859
      if (lastComparison != 0) {
4860
        return lastComparison;
4861
      }
4862
    }
5527 anupam.sin 4863
    lastComparison = Boolean.valueOf(isSetOrderType()).compareTo(typedOther.isSetOrderType());
4864
    if (lastComparison != 0) {
4865
      return lastComparison;
4866
    }
4867
    if (isSetOrderType()) {
4868
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.orderType, typedOther.orderType);
4869
      if (lastComparison != 0) {
4870
        return lastComparison;
4871
      }
4872
    }
5553 rajveer 4873
    lastComparison = Boolean.valueOf(isSetPickupStoreId()).compareTo(typedOther.isSetPickupStoreId());
4874
    if (lastComparison != 0) {
4875
      return lastComparison;
4876
    }
4877
    if (isSetPickupStoreId()) {
4878
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.pickupStoreId, typedOther.pickupStoreId);
4879
      if (lastComparison != 0) {
4880
        return lastComparison;
4881
      }
4882
    }
4883
    lastComparison = Boolean.valueOf(isSetLogisticsCod()).compareTo(typedOther.isSetLogisticsCod());
4884
    if (lastComparison != 0) {
4885
      return lastComparison;
4886
    }
4887
    if (isSetLogisticsCod()) {
4888
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.logisticsCod, typedOther.logisticsCod);
4889
      if (lastComparison != 0) {
4890
        return lastComparison;
4891
      }
4892
    }
6319 rajveer 4893
    lastComparison = Boolean.valueOf(isSetGvAmount()).compareTo(typedOther.isSetGvAmount());
4894
    if (lastComparison != 0) {
4895
      return lastComparison;
4896
    }
4897
    if (isSetGvAmount()) {
4898
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.gvAmount, typedOther.gvAmount);
4899
      if (lastComparison != 0) {
4900
        return lastComparison;
4901
      }
4902
    }
6525 rajveer 4903
    lastComparison = Boolean.valueOf(isSetOtg()).compareTo(typedOther.isSetOtg());
4904
    if (lastComparison != 0) {
4905
      return lastComparison;
4906
    }
4907
    if (isSetOtg()) {
4908
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.otg, typedOther.otg);
4909
      if (lastComparison != 0) {
4910
        return lastComparison;
4911
      }
4912
    }
6726 rajveer 4913
    lastComparison = Boolean.valueOf(isSetCourier_delivery_time()).compareTo(typedOther.isSetCourier_delivery_time());
4914
    if (lastComparison != 0) {
4915
      return lastComparison;
4916
    }
4917
    if (isSetCourier_delivery_time()) {
4918
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.courier_delivery_time, typedOther.courier_delivery_time);
4919
      if (lastComparison != 0) {
4920
        return lastComparison;
4921
      }
4922
    }
6903 anupam.sin 4923
    lastComparison = Boolean.valueOf(isSetInsurer()).compareTo(typedOther.isSetInsurer());
4924
    if (lastComparison != 0) {
4925
      return lastComparison;
4926
    }
4927
    if (isSetInsurer()) {
4928
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.insurer, typedOther.insurer);
4929
      if (lastComparison != 0) {
4930
        return lastComparison;
4931
      }
4932
    }
4933
    lastComparison = Boolean.valueOf(isSetInsuranceAmount()).compareTo(typedOther.isSetInsuranceAmount());
4934
    if (lastComparison != 0) {
4935
      return lastComparison;
4936
    }
4937
    if (isSetInsuranceAmount()) {
4938
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.insuranceAmount, typedOther.insuranceAmount);
4939
      if (lastComparison != 0) {
4940
        return lastComparison;
4941
      }
4942
    }
4943
    lastComparison = Boolean.valueOf(isSetDob()).compareTo(typedOther.isSetDob());
4944
    if (lastComparison != 0) {
4945
      return lastComparison;
4946
    }
4947
    if (isSetDob()) {
4948
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.dob, typedOther.dob);
4949
      if (lastComparison != 0) {
4950
        return lastComparison;
4951
      }
4952
    }
4953
    lastComparison = Boolean.valueOf(isSetGuardianName()).compareTo(typedOther.isSetGuardianName());
4954
    if (lastComparison != 0) {
4955
      return lastComparison;
4956
    }
4957
    if (isSetGuardianName()) {
4958
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.guardianName, typedOther.guardianName);
4959
      if (lastComparison != 0) {
4960
        return lastComparison;
4961
      }
4962
    }
7190 amar.kumar 4963
    lastComparison = Boolean.valueOf(isSetFreebieItemId()).compareTo(typedOther.isSetFreebieItemId());
4964
    if (lastComparison != 0) {
4965
      return lastComparison;
4966
    }
4967
    if (isSetFreebieItemId()) {
4968
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.freebieItemId, typedOther.freebieItemId);
4969
      if (lastComparison != 0) {
4970
        return lastComparison;
4971
      }
4972
    }
483 rajveer 4973
    return 0;
4974
  }
4975
 
3430 rajveer 4976
  public _Fields fieldForId(int fieldId) {
4977
    return _Fields.findByThriftId(fieldId);
4978
  }
4979
 
4980
  public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
4981
    org.apache.thrift.protocol.TField field;
483 rajveer 4982
    iprot.readStructBegin();
4983
    while (true)
4984
    {
4985
      field = iprot.readFieldBegin();
3430 rajveer 4986
      if (field.type == org.apache.thrift.protocol.TType.STOP) { 
483 rajveer 4987
        break;
4988
      }
3430 rajveer 4989
      switch (field.id) {
4990
        case 1: // ID
4991
          if (field.type == org.apache.thrift.protocol.TType.I64) {
4992
            this.id = iprot.readI64();
4993
            setIdIsSet(true);
4994
          } else { 
4995
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
4996
          }
4997
          break;
4998
        case 2: // WAREHOUSE_ID
4999
          if (field.type == org.apache.thrift.protocol.TType.I64) {
5000
            this.warehouse_id = iprot.readI64();
5001
            setWarehouse_idIsSet(true);
5002
          } else { 
5003
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
5004
          }
5005
          break;
5006
        case 3: // LINEITEMS
5007
          if (field.type == org.apache.thrift.protocol.TType.LIST) {
5008
            {
5009
              org.apache.thrift.protocol.TList _list0 = iprot.readListBegin();
5010
              this.lineitems = new ArrayList<LineItem>(_list0.size);
5011
              for (int _i1 = 0; _i1 < _list0.size; ++_i1)
483 rajveer 5012
              {
3430 rajveer 5013
                LineItem _elem2; // required
5014
                _elem2 = new LineItem();
5015
                _elem2.read(iprot);
5016
                this.lineitems.add(_elem2);
483 rajveer 5017
              }
3430 rajveer 5018
              iprot.readListEnd();
483 rajveer 5019
            }
3430 rajveer 5020
          } else { 
5021
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
5022
          }
5023
          break;
5024
        case 4: // LOGISTICS_PROVIDER_ID
5025
          if (field.type == org.apache.thrift.protocol.TType.I64) {
5026
            this.logistics_provider_id = iprot.readI64();
5027
            setLogistics_provider_idIsSet(true);
5028
          } else { 
5029
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
5030
          }
5031
          break;
5032
        case 5: // AIRWAYBILL_NO
5033
          if (field.type == org.apache.thrift.protocol.TType.STRING) {
5034
            this.airwaybill_no = iprot.readString();
5035
          } else { 
5036
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
5037
          }
5038
          break;
5039
        case 6: // TRACKING_ID
5040
          if (field.type == org.apache.thrift.protocol.TType.STRING) {
5041
            this.tracking_id = iprot.readString();
5042
          } else { 
5043
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
5044
          }
5045
          break;
5046
        case 7: // EXPECTED_DELIVERY_TIME
5047
          if (field.type == org.apache.thrift.protocol.TType.I64) {
5048
            this.expected_delivery_time = iprot.readI64();
5049
            setExpected_delivery_timeIsSet(true);
5050
          } else { 
5051
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
5052
          }
5053
          break;
5054
        case 8: // CUSTOMER_ID
5055
          if (field.type == org.apache.thrift.protocol.TType.I64) {
5056
            this.customer_id = iprot.readI64();
5057
            setCustomer_idIsSet(true);
5058
          } else { 
5059
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
5060
          }
5061
          break;
5062
        case 9: // CUSTOMER_NAME
5063
          if (field.type == org.apache.thrift.protocol.TType.STRING) {
5064
            this.customer_name = iprot.readString();
5065
          } else { 
5066
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
5067
          }
5068
          break;
5069
        case 10: // CUSTOMER_MOBILENUMBER
5070
          if (field.type == org.apache.thrift.protocol.TType.STRING) {
5071
            this.customer_mobilenumber = iprot.readString();
5072
          } else { 
5073
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
5074
          }
5075
          break;
5076
        case 11: // CUSTOMER_PINCODE
5077
          if (field.type == org.apache.thrift.protocol.TType.STRING) {
5078
            this.customer_pincode = iprot.readString();
5079
          } else { 
5080
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
5081
          }
5082
          break;
5083
        case 12: // CUSTOMER_ADDRESS1
5084
          if (field.type == org.apache.thrift.protocol.TType.STRING) {
5085
            this.customer_address1 = iprot.readString();
5086
          } else { 
5087
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
5088
          }
5089
          break;
5090
        case 13: // CUSTOMER_ADDRESS2
5091
          if (field.type == org.apache.thrift.protocol.TType.STRING) {
5092
            this.customer_address2 = iprot.readString();
5093
          } else { 
5094
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
5095
          }
5096
          break;
5097
        case 14: // CUSTOMER_EMAIL
5098
          if (field.type == org.apache.thrift.protocol.TType.STRING) {
5099
            this.customer_email = iprot.readString();
5100
          } else { 
5101
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
5102
          }
5103
          break;
5104
        case 15: // CUSTOMER_CITY
5105
          if (field.type == org.apache.thrift.protocol.TType.STRING) {
5106
            this.customer_city = iprot.readString();
5107
          } else { 
5108
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
5109
          }
5110
          break;
5111
        case 16: // CUSTOMER_STATE
5112
          if (field.type == org.apache.thrift.protocol.TType.STRING) {
5113
            this.customer_state = iprot.readString();
5114
          } else { 
5115
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
5116
          }
5117
          break;
5118
        case 17: // STATUS
5119
          if (field.type == org.apache.thrift.protocol.TType.I32) {
5120
            this.status = OrderStatus.findByValue(iprot.readI32());
5121
          } else { 
5122
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
5123
          }
5124
          break;
5125
        case 18: // STATUS_DESCRIPTION
5126
          if (field.type == org.apache.thrift.protocol.TType.STRING) {
5127
            this.statusDescription = iprot.readString();
5128
          } else { 
5129
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
5130
          }
5131
          break;
5132
        case 19: // TOTAL_AMOUNT
5133
          if (field.type == org.apache.thrift.protocol.TType.DOUBLE) {
5134
            this.total_amount = iprot.readDouble();
5135
            setTotal_amountIsSet(true);
5136
          } else { 
5137
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
5138
          }
5139
          break;
5140
        case 20: // TOTAL_WEIGHT
5141
          if (field.type == org.apache.thrift.protocol.TType.DOUBLE) {
5142
            this.total_weight = iprot.readDouble();
5143
            setTotal_weightIsSet(true);
5144
          } else { 
5145
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
5146
          }
5147
          break;
5148
        case 21: // INVOICE_NUMBER
5149
          if (field.type == org.apache.thrift.protocol.TType.STRING) {
5150
            this.invoice_number = iprot.readString();
5151
          } else { 
5152
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
5153
          }
5154
          break;
5155
        case 22: // BILLED_BY
5156
          if (field.type == org.apache.thrift.protocol.TType.STRING) {
5157
            this.billed_by = iprot.readString();
5158
          } else { 
5159
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
5160
          }
5161
          break;
5162
        case 23: // CREATED_TIMESTAMP
5163
          if (field.type == org.apache.thrift.protocol.TType.I64) {
5164
            this.created_timestamp = iprot.readI64();
5165
            setCreated_timestampIsSet(true);
5166
          } else { 
5167
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
5168
          }
5169
          break;
5170
        case 24: // ACCEPTED_TIMESTAMP
5171
          if (field.type == org.apache.thrift.protocol.TType.I64) {
5172
            this.accepted_timestamp = iprot.readI64();
5173
            setAccepted_timestampIsSet(true);
5174
          } else { 
5175
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
5176
          }
5177
          break;
5178
        case 25: // BILLING_TIMESTAMP
5179
          if (field.type == org.apache.thrift.protocol.TType.I64) {
5180
            this.billing_timestamp = iprot.readI64();
5181
            setBilling_timestampIsSet(true);
5182
          } else { 
5183
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
5184
          }
5185
          break;
5186
        case 26: // SHIPPING_TIMESTAMP
5187
          if (field.type == org.apache.thrift.protocol.TType.I64) {
5188
            this.shipping_timestamp = iprot.readI64();
5189
            setShipping_timestampIsSet(true);
5190
          } else { 
5191
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
5192
          }
5193
          break;
5194
        case 27: // PICKUP_TIMESTAMP
5195
          if (field.type == org.apache.thrift.protocol.TType.I64) {
5196
            this.pickup_timestamp = iprot.readI64();
5197
            setPickup_timestampIsSet(true);
5198
          } else { 
5199
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
5200
          }
5201
          break;
5202
        case 28: // DELIVERY_TIMESTAMP
5203
          if (field.type == org.apache.thrift.protocol.TType.I64) {
5204
            this.delivery_timestamp = iprot.readI64();
5205
            setDelivery_timestampIsSet(true);
5206
          } else { 
5207
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
5208
          }
5209
          break;
5210
        case 29: // OUTOFSTOCK_TIMESTAMP
5211
          if (field.type == org.apache.thrift.protocol.TType.I64) {
5212
            this.outofstock_timestamp = iprot.readI64();
5213
            setOutofstock_timestampIsSet(true);
5214
          } else { 
5215
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
5216
          }
5217
          break;
5218
        case 30: // JACKET_NUMBER
5219
          if (field.type == org.apache.thrift.protocol.TType.I64) {
5220
            this.jacket_number = iprot.readI64();
5221
            setJacket_numberIsSet(true);
5222
          } else { 
5223
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
5224
          }
5225
          break;
5226
        case 31: // RECEIVER
5227
          if (field.type == org.apache.thrift.protocol.TType.STRING) {
5228
            this.receiver = iprot.readString();
5229
          } else { 
5230
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
5231
          }
5232
          break;
5233
        case 32: // BATCH_NO
5234
          if (field.type == org.apache.thrift.protocol.TType.I64) {
5235
            this.batchNo = iprot.readI64();
5236
            setBatchNoIsSet(true);
5237
          } else { 
5238
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
5239
          }
5240
          break;
5241
        case 33: // SERIAL_NO
5242
          if (field.type == org.apache.thrift.protocol.TType.I64) {
5243
            this.serialNo = iprot.readI64();
5244
            setSerialNoIsSet(true);
5245
          } else { 
5246
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
5247
          }
5248
          break;
5249
        case 34: // DOA_FLAG
5250
          if (field.type == org.apache.thrift.protocol.TType.BOOL) {
5251
            this.doaFlag = iprot.readBool();
5252
            setDoaFlagIsSet(true);
5253
          } else { 
5254
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
5255
          }
5256
          break;
5257
        case 35: // PICKUP_REQUEST_NO
5258
          if (field.type == org.apache.thrift.protocol.TType.STRING) {
5259
            this.pickupRequestNo = iprot.readString();
5260
          } else { 
5261
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
5262
          }
5263
          break;
5264
        case 36: // TRANSACTION_ID
5265
          if (field.type == org.apache.thrift.protocol.TType.I64) {
5266
            this.transactionId = iprot.readI64();
5267
            setTransactionIdIsSet(true);
5268
          } else { 
5269
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
5270
          }
5271
          break;
5272
        case 37: // PURCHASE_ORDER_NO
5273
          if (field.type == org.apache.thrift.protocol.TType.STRING) {
5274
            this.purchaseOrderNo = iprot.readString();
5275
          } else { 
5276
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
5277
          }
5278
          break;
5279
        case 38: // COD
5280
          if (field.type == org.apache.thrift.protocol.TType.BOOL) {
5281
            this.cod = iprot.readBool();
5282
            setCodIsSet(true);
5283
          } else { 
5284
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
5285
          }
5286
          break;
3553 chandransh 5287
        case 39: // DELAY_REASON
5288
          if (field.type == org.apache.thrift.protocol.TType.I32) {
5289
            this.delayReason = DelayReason.findByValue(iprot.readI32());
5290
          } else { 
5291
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
5292
          }
5293
          break;
3986 chandransh 5294
        case 40: // PROMISED_DELIVERY_TIME
5295
          if (field.type == org.apache.thrift.protocol.TType.I64) {
5296
            this.promised_delivery_time = iprot.readI64();
5297
            setPromised_delivery_timeIsSet(true);
5298
          } else { 
5299
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
5300
          }
5301
          break;
4004 chandransh 5302
        case 41: // EXPECTED_SHIPPING_TIME
5303
          if (field.type == org.apache.thrift.protocol.TType.I64) {
5304
            this.expected_shipping_time = iprot.readI64();
5305
            setExpected_shipping_timeIsSet(true);
5306
          } else { 
5307
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
5308
          }
5309
          break;
5310
        case 42: // VERIFICATION_TIMESTAMP
5311
          if (field.type == org.apache.thrift.protocol.TType.I64) {
5312
            this.verification_timestamp = iprot.readI64();
5313
            setVerification_timestampIsSet(true);
5314
          } else { 
5315
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
5316
          }
5317
          break;
4102 chandransh 5318
        case 43: // PROMISED_SHIPPING_TIME
5319
          if (field.type == org.apache.thrift.protocol.TType.I64) {
5320
            this.promised_shipping_time = iprot.readI64();
5321
            setPromised_shipping_timeIsSet(true);
5322
          } else { 
5323
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
5324
          }
5325
          break;
4192 anupam.sin 5326
        case 44: // RESHIP_TIMESTAMP
5327
          if (field.type == org.apache.thrift.protocol.TType.I64) {
5328
            this.reship_timestamp = iprot.readI64();
5329
            setReship_timestampIsSet(true);
5330
          } else { 
5331
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
5332
          }
5333
          break;
5334
        case 45: // REFUND_TIMESTAMP
5335
          if (field.type == org.apache.thrift.protocol.TType.I64) {
5336
            this.refund_timestamp = iprot.readI64();
5337
            setRefund_timestampIsSet(true);
5338
          } else { 
5339
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
5340
          }
5341
          break;
5342
        case 46: // NEW_ORDER_ID
5343
          if (field.type == org.apache.thrift.protocol.TType.I64) {
5344
            this.new_order_id = iprot.readI64();
5345
            setNew_order_idIsSet(true);
5346
          } else { 
5347
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
5348
          }
5349
          break;
4246 rajveer 5350
        case 47: // PREVIOUS_STATUS
5351
          if (field.type == org.apache.thrift.protocol.TType.I32) {
5352
            this.previousStatus = OrderStatus.findByValue(iprot.readI32());
5353
          } else { 
5354
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
5355
          }
5356
          break;
4269 anupam.sin 5357
        case 48: // VENDOR_ID
5358
          if (field.type == org.apache.thrift.protocol.TType.I64) {
5359
            this.vendorId = iprot.readI64();
5360
            setVendorIdIsSet(true);
5361
          } else { 
5362
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
5363
          }
5364
          break;
4506 phani.kuma 5365
        case 49: // DOA_AUTH_TIMESTAMP
5366
          if (field.type == org.apache.thrift.protocol.TType.I64) {
5367
            this.doa_auth_timestamp = iprot.readI64();
5368
            setDoa_auth_timestampIsSet(true);
5369
          } else { 
5370
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
5371
          }
5372
          break;
4647 rajveer 5373
        case 50: // DELAY_REASON_TEXT
5374
          if (field.type == org.apache.thrift.protocol.TType.STRING) {
5375
            this.delayReasonText = iprot.readString();
5376
          } else { 
5377
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
5378
          }
5379
          break;
4709 rajveer 5380
        case 51: // REFUND_REASON
5381
          if (field.type == org.apache.thrift.protocol.TType.STRING) {
5382
            this.refundReason = iprot.readString();
5383
          } else { 
5384
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
5385
          }
5386
          break;
4758 mandeep.dh 5387
        case 52: // PURCHASE_ORDER_ID
5388
          if (field.type == org.apache.thrift.protocol.TType.I64) {
5389
            this.purchaseOrderId = iprot.readI64();
5390
            setPurchaseOrderIdIsSet(true);
5391
          } else { 
5392
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
5393
          }
5394
          break;
4815 phani.kuma 5395
        case 53: // DOA_LOGISTICS_PROVIDER_ID
5396
          if (field.type == org.apache.thrift.protocol.TType.I64) {
5397
            this.doa_logistics_provider_id = iprot.readI64();
5398
            setDoa_logistics_provider_idIsSet(true);
5399
          } else { 
5400
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
5401
          }
5402
          break;
5062 varun.gupt 5403
        case 54: // ORIGINAL_ORDER_ID
5404
          if (field.type == org.apache.thrift.protocol.TType.I64) {
5405
            this.originalOrderId = iprot.readI64();
5406
            setOriginalOrderIdIsSet(true);
5407
          } else { 
5408
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
5409
          }
5410
          break;
5110 mandeep.dh 5411
        case 55: // FULFILMENT_WAREHOUSE_ID
5412
          if (field.type == org.apache.thrift.protocol.TType.I64) {
5413
            this.fulfilmentWarehouseId = iprot.readI64();
5414
            setFulfilmentWarehouseIdIsSet(true);
5415
          } else { 
5416
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
5417
          }
5418
          break;
5189 varun.gupt 5419
        case 56: // VENDOR_PAID
5420
          if (field.type == org.apache.thrift.protocol.TType.BOOL) {
5421
            this.vendorPaid = iprot.readBool();
5422
            setVendorPaidIsSet(true);
5423
          } else { 
5424
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
5425
          }
5426
          break;
5354 anupam.sin 5427
        case 57: // RECEIVED_RETURN_TIMESTAMP
5428
          if (field.type == org.apache.thrift.protocol.TType.I64) {
5429
            this.received_return_timestamp = iprot.readI64();
5430
            setReceived_return_timestampIsSet(true);
5431
          } else { 
5432
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
5433
          }
5434
          break;
5435
        case 58: // FIRST_ATTEMPT_TIMESTAMP
5436
          if (field.type == org.apache.thrift.protocol.TType.I64) {
5437
            this.first_attempt_timestamp = iprot.readI64();
5438
            setFirst_attempt_timestampIsSet(true);
5439
          } else { 
5440
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
5441
          }
5442
          break;
5527 anupam.sin 5443
        case 59: // ORDER_TYPE
5444
          if (field.type == org.apache.thrift.protocol.TType.I32) {
5445
            this.orderType = OrderType.findByValue(iprot.readI32());
5446
          } else { 
5447
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
5448
          }
5449
          break;
5553 rajveer 5450
        case 60: // PICKUP_STORE_ID
5451
          if (field.type == org.apache.thrift.protocol.TType.I64) {
5452
            this.pickupStoreId = iprot.readI64();
5453
            setPickupStoreIdIsSet(true);
5454
          } else { 
5455
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
5456
          }
5457
          break;
5458
        case 61: // LOGISTICS_COD
5459
          if (field.type == org.apache.thrift.protocol.TType.BOOL) {
5460
            this.logisticsCod = iprot.readBool();
5461
            setLogisticsCodIsSet(true);
5462
          } else { 
5463
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
5464
          }
5465
          break;
6319 rajveer 5466
        case 62: // GV_AMOUNT
5467
          if (field.type == org.apache.thrift.protocol.TType.I64) {
5468
            this.gvAmount = iprot.readI64();
5469
            setGvAmountIsSet(true);
5470
          } else { 
5471
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
5472
          }
5473
          break;
6525 rajveer 5474
        case 63: // OTG
5475
          if (field.type == org.apache.thrift.protocol.TType.BOOL) {
5476
            this.otg = iprot.readBool();
5477
            setOtgIsSet(true);
5478
          } else { 
5479
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
5480
          }
5481
          break;
6726 rajveer 5482
        case 64: // COURIER_DELIVERY_TIME
5483
          if (field.type == org.apache.thrift.protocol.TType.I64) {
5484
            this.courier_delivery_time = iprot.readI64();
5485
            setCourier_delivery_timeIsSet(true);
5486
          } else { 
5487
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
5488
          }
5489
          break;
6903 anupam.sin 5490
        case 65: // INSURER
5491
          if (field.type == org.apache.thrift.protocol.TType.I64) {
5492
            this.insurer = iprot.readI64();
5493
            setInsurerIsSet(true);
5494
          } else { 
5495
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
5496
          }
5497
          break;
5498
        case 66: // INSURANCE_AMOUNT
5499
          if (field.type == org.apache.thrift.protocol.TType.DOUBLE) {
5500
            this.insuranceAmount = iprot.readDouble();
5501
            setInsuranceAmountIsSet(true);
5502
          } else { 
5503
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
5504
          }
5505
          break;
5506
        case 67: // DOB
5507
          if (field.type == org.apache.thrift.protocol.TType.STRING) {
5508
            this.dob = iprot.readString();
5509
          } else { 
5510
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
5511
          }
5512
          break;
5513
        case 68: // GUARDIAN_NAME
5514
          if (field.type == org.apache.thrift.protocol.TType.STRING) {
5515
            this.guardianName = iprot.readString();
5516
          } else { 
5517
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
5518
          }
5519
          break;
7190 amar.kumar 5520
        case 69: // FREEBIE_ITEM_ID
5521
          if (field.type == org.apache.thrift.protocol.TType.I64) {
5522
            this.freebieItemId = iprot.readI64();
5523
            setFreebieItemIdIsSet(true);
5524
          } else { 
5525
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
5526
          }
5527
          break;
3430 rajveer 5528
        default:
5529
          org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
483 rajveer 5530
      }
3430 rajveer 5531
      iprot.readFieldEnd();
483 rajveer 5532
    }
5533
    iprot.readStructEnd();
5534
    validate();
5535
  }
5536
 
3430 rajveer 5537
  public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
483 rajveer 5538
    validate();
5539
 
5540
    oprot.writeStructBegin(STRUCT_DESC);
5541
    oprot.writeFieldBegin(ID_FIELD_DESC);
5542
    oprot.writeI64(this.id);
5543
    oprot.writeFieldEnd();
5544
    oprot.writeFieldBegin(WAREHOUSE_ID_FIELD_DESC);
5545
    oprot.writeI64(this.warehouse_id);
5546
    oprot.writeFieldEnd();
5547
    if (this.lineitems != null) {
5548
      oprot.writeFieldBegin(LINEITEMS_FIELD_DESC);
5549
      {
3430 rajveer 5550
        oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.lineitems.size()));
684 chandransh 5551
        for (LineItem _iter3 : this.lineitems)
483 rajveer 5552
        {
684 chandransh 5553
          _iter3.write(oprot);
483 rajveer 5554
        }
5555
        oprot.writeListEnd();
5556
      }
5557
      oprot.writeFieldEnd();
5558
    }
5559
    oprot.writeFieldBegin(LOGISTICS_PROVIDER_ID_FIELD_DESC);
5560
    oprot.writeI64(this.logistics_provider_id);
5561
    oprot.writeFieldEnd();
5562
    if (this.airwaybill_no != null) {
5563
      oprot.writeFieldBegin(AIRWAYBILL_NO_FIELD_DESC);
5564
      oprot.writeString(this.airwaybill_no);
5565
      oprot.writeFieldEnd();
5566
    }
5567
    if (this.tracking_id != null) {
5568
      oprot.writeFieldBegin(TRACKING_ID_FIELD_DESC);
5569
      oprot.writeString(this.tracking_id);
5570
      oprot.writeFieldEnd();
5571
    }
5572
    oprot.writeFieldBegin(EXPECTED_DELIVERY_TIME_FIELD_DESC);
5573
    oprot.writeI64(this.expected_delivery_time);
5574
    oprot.writeFieldEnd();
5575
    oprot.writeFieldBegin(CUSTOMER_ID_FIELD_DESC);
5576
    oprot.writeI64(this.customer_id);
5577
    oprot.writeFieldEnd();
5578
    if (this.customer_name != null) {
5579
      oprot.writeFieldBegin(CUSTOMER_NAME_FIELD_DESC);
5580
      oprot.writeString(this.customer_name);
5581
      oprot.writeFieldEnd();
5582
    }
5583
    if (this.customer_mobilenumber != null) {
5584
      oprot.writeFieldBegin(CUSTOMER_MOBILENUMBER_FIELD_DESC);
5585
      oprot.writeString(this.customer_mobilenumber);
5586
      oprot.writeFieldEnd();
5587
    }
5588
    if (this.customer_pincode != null) {
5589
      oprot.writeFieldBegin(CUSTOMER_PINCODE_FIELD_DESC);
5590
      oprot.writeString(this.customer_pincode);
5591
      oprot.writeFieldEnd();
5592
    }
736 chandransh 5593
    if (this.customer_address1 != null) {
5594
      oprot.writeFieldBegin(CUSTOMER_ADDRESS1_FIELD_DESC);
5595
      oprot.writeString(this.customer_address1);
483 rajveer 5596
      oprot.writeFieldEnd();
5597
    }
736 chandransh 5598
    if (this.customer_address2 != null) {
5599
      oprot.writeFieldBegin(CUSTOMER_ADDRESS2_FIELD_DESC);
5600
      oprot.writeString(this.customer_address2);
5601
      oprot.writeFieldEnd();
5602
    }
483 rajveer 5603
    if (this.customer_email != null) {
5604
      oprot.writeFieldBegin(CUSTOMER_EMAIL_FIELD_DESC);
5605
      oprot.writeString(this.customer_email);
5606
      oprot.writeFieldEnd();
5607
    }
736 chandransh 5608
    if (this.customer_city != null) {
5609
      oprot.writeFieldBegin(CUSTOMER_CITY_FIELD_DESC);
5610
      oprot.writeString(this.customer_city);
5611
      oprot.writeFieldEnd();
5612
    }
5613
    if (this.customer_state != null) {
5614
      oprot.writeFieldBegin(CUSTOMER_STATE_FIELD_DESC);
5615
      oprot.writeString(this.customer_state);
5616
      oprot.writeFieldEnd();
5617
    }
483 rajveer 5618
    if (this.status != null) {
5619
      oprot.writeFieldBegin(STATUS_FIELD_DESC);
5620
      oprot.writeI32(this.status.getValue());
5621
      oprot.writeFieldEnd();
5622
    }
5623
    if (this.statusDescription != null) {
5624
      oprot.writeFieldBegin(STATUS_DESCRIPTION_FIELD_DESC);
5625
      oprot.writeString(this.statusDescription);
5626
      oprot.writeFieldEnd();
5627
    }
5628
    oprot.writeFieldBegin(TOTAL_AMOUNT_FIELD_DESC);
5629
    oprot.writeDouble(this.total_amount);
5630
    oprot.writeFieldEnd();
5631
    oprot.writeFieldBegin(TOTAL_WEIGHT_FIELD_DESC);
5632
    oprot.writeDouble(this.total_weight);
5633
    oprot.writeFieldEnd();
5634
    if (this.invoice_number != null) {
5635
      oprot.writeFieldBegin(INVOICE_NUMBER_FIELD_DESC);
5636
      oprot.writeString(this.invoice_number);
5637
      oprot.writeFieldEnd();
5638
    }
5639
    if (this.billed_by != null) {
5640
      oprot.writeFieldBegin(BILLED_BY_FIELD_DESC);
5641
      oprot.writeString(this.billed_by);
5642
      oprot.writeFieldEnd();
5643
    }
5644
    oprot.writeFieldBegin(CREATED_TIMESTAMP_FIELD_DESC);
5645
    oprot.writeI64(this.created_timestamp);
5646
    oprot.writeFieldEnd();
5647
    oprot.writeFieldBegin(ACCEPTED_TIMESTAMP_FIELD_DESC);
5648
    oprot.writeI64(this.accepted_timestamp);
5649
    oprot.writeFieldEnd();
5650
    oprot.writeFieldBegin(BILLING_TIMESTAMP_FIELD_DESC);
5651
    oprot.writeI64(this.billing_timestamp);
5652
    oprot.writeFieldEnd();
5653
    oprot.writeFieldBegin(SHIPPING_TIMESTAMP_FIELD_DESC);
5654
    oprot.writeI64(this.shipping_timestamp);
5655
    oprot.writeFieldEnd();
1114 chandransh 5656
    oprot.writeFieldBegin(PICKUP_TIMESTAMP_FIELD_DESC);
5657
    oprot.writeI64(this.pickup_timestamp);
5658
    oprot.writeFieldEnd();
483 rajveer 5659
    oprot.writeFieldBegin(DELIVERY_TIMESTAMP_FIELD_DESC);
5660
    oprot.writeI64(this.delivery_timestamp);
5661
    oprot.writeFieldEnd();
1209 chandransh 5662
    oprot.writeFieldBegin(OUTOFSTOCK_TIMESTAMP_FIELD_DESC);
5663
    oprot.writeI64(this.outofstock_timestamp);
5664
    oprot.writeFieldEnd();
640 chandransh 5665
    oprot.writeFieldBegin(JACKET_NUMBER_FIELD_DESC);
5666
    oprot.writeI64(this.jacket_number);
5667
    oprot.writeFieldEnd();
1133 chandransh 5668
    if (this.receiver != null) {
5669
      oprot.writeFieldBegin(RECEIVER_FIELD_DESC);
5670
      oprot.writeString(this.receiver);
5671
      oprot.writeFieldEnd();
5672
    }
1221 chandransh 5673
    oprot.writeFieldBegin(BATCH_NO_FIELD_DESC);
5674
    oprot.writeI64(this.batchNo);
5675
    oprot.writeFieldEnd();
5676
    oprot.writeFieldBegin(SERIAL_NO_FIELD_DESC);
5677
    oprot.writeI64(this.serialNo);
5678
    oprot.writeFieldEnd();
2538 chandransh 5679
    oprot.writeFieldBegin(DOA_FLAG_FIELD_DESC);
5680
    oprot.writeBool(this.doaFlag);
5681
    oprot.writeFieldEnd();
5682
    if (this.pickupRequestNo != null) {
5683
      oprot.writeFieldBegin(PICKUP_REQUEST_NO_FIELD_DESC);
5684
      oprot.writeString(this.pickupRequestNo);
5685
      oprot.writeFieldEnd();
5686
    }
2677 vikas 5687
    oprot.writeFieldBegin(TRANSACTION_ID_FIELD_DESC);
5688
    oprot.writeI64(this.transactionId);
5689
    oprot.writeFieldEnd();
2819 chandransh 5690
    if (this.purchaseOrderNo != null) {
5691
      oprot.writeFieldBegin(PURCHASE_ORDER_NO_FIELD_DESC);
5692
      oprot.writeString(this.purchaseOrderNo);
5693
      oprot.writeFieldEnd();
5694
    }
3061 chandransh 5695
    oprot.writeFieldBegin(COD_FIELD_DESC);
5696
    oprot.writeBool(this.cod);
5697
    oprot.writeFieldEnd();
3553 chandransh 5698
    if (this.delayReason != null) {
5699
      oprot.writeFieldBegin(DELAY_REASON_FIELD_DESC);
5700
      oprot.writeI32(this.delayReason.getValue());
5701
      oprot.writeFieldEnd();
5702
    }
3986 chandransh 5703
    oprot.writeFieldBegin(PROMISED_DELIVERY_TIME_FIELD_DESC);
5704
    oprot.writeI64(this.promised_delivery_time);
5705
    oprot.writeFieldEnd();
4004 chandransh 5706
    oprot.writeFieldBegin(EXPECTED_SHIPPING_TIME_FIELD_DESC);
5707
    oprot.writeI64(this.expected_shipping_time);
5708
    oprot.writeFieldEnd();
5709
    oprot.writeFieldBegin(VERIFICATION_TIMESTAMP_FIELD_DESC);
5710
    oprot.writeI64(this.verification_timestamp);
5711
    oprot.writeFieldEnd();
4102 chandransh 5712
    oprot.writeFieldBegin(PROMISED_SHIPPING_TIME_FIELD_DESC);
5713
    oprot.writeI64(this.promised_shipping_time);
5714
    oprot.writeFieldEnd();
4192 anupam.sin 5715
    if (isSetReship_timestamp()) {
5716
      oprot.writeFieldBegin(RESHIP_TIMESTAMP_FIELD_DESC);
5717
      oprot.writeI64(this.reship_timestamp);
5718
      oprot.writeFieldEnd();
5719
    }
5720
    if (isSetRefund_timestamp()) {
5721
      oprot.writeFieldBegin(REFUND_TIMESTAMP_FIELD_DESC);
5722
      oprot.writeI64(this.refund_timestamp);
5723
      oprot.writeFieldEnd();
5724
    }
5725
    if (isSetNew_order_id()) {
5726
      oprot.writeFieldBegin(NEW_ORDER_ID_FIELD_DESC);
5727
      oprot.writeI64(this.new_order_id);
5728
      oprot.writeFieldEnd();
5729
    }
4246 rajveer 5730
    if (this.previousStatus != null) {
5731
      oprot.writeFieldBegin(PREVIOUS_STATUS_FIELD_DESC);
5732
      oprot.writeI32(this.previousStatus.getValue());
5733
      oprot.writeFieldEnd();
5734
    }
4269 anupam.sin 5735
    oprot.writeFieldBegin(VENDOR_ID_FIELD_DESC);
5736
    oprot.writeI64(this.vendorId);
5737
    oprot.writeFieldEnd();
4506 phani.kuma 5738
    if (isSetDoa_auth_timestamp()) {
5739
      oprot.writeFieldBegin(DOA_AUTH_TIMESTAMP_FIELD_DESC);
5740
      oprot.writeI64(this.doa_auth_timestamp);
5741
      oprot.writeFieldEnd();
5742
    }
4647 rajveer 5743
    if (this.delayReasonText != null) {
5744
      oprot.writeFieldBegin(DELAY_REASON_TEXT_FIELD_DESC);
5745
      oprot.writeString(this.delayReasonText);
5746
      oprot.writeFieldEnd();
5747
    }
4709 rajveer 5748
    if (this.refundReason != null) {
5749
      oprot.writeFieldBegin(REFUND_REASON_FIELD_DESC);
5750
      oprot.writeString(this.refundReason);
5751
      oprot.writeFieldEnd();
5752
    }
4758 mandeep.dh 5753
    oprot.writeFieldBegin(PURCHASE_ORDER_ID_FIELD_DESC);
5754
    oprot.writeI64(this.purchaseOrderId);
5755
    oprot.writeFieldEnd();
4815 phani.kuma 5756
    if (isSetDoa_logistics_provider_id()) {
5757
      oprot.writeFieldBegin(DOA_LOGISTICS_PROVIDER_ID_FIELD_DESC);
5758
      oprot.writeI64(this.doa_logistics_provider_id);
5759
      oprot.writeFieldEnd();
5760
    }
5062 varun.gupt 5761
    oprot.writeFieldBegin(ORIGINAL_ORDER_ID_FIELD_DESC);
5762
    oprot.writeI64(this.originalOrderId);
5763
    oprot.writeFieldEnd();
5110 mandeep.dh 5764
    oprot.writeFieldBegin(FULFILMENT_WAREHOUSE_ID_FIELD_DESC);
5765
    oprot.writeI64(this.fulfilmentWarehouseId);
5766
    oprot.writeFieldEnd();
5189 varun.gupt 5767
    oprot.writeFieldBegin(VENDOR_PAID_FIELD_DESC);
5768
    oprot.writeBool(this.vendorPaid);
5769
    oprot.writeFieldEnd();
5354 anupam.sin 5770
    if (isSetReceived_return_timestamp()) {
5771
      oprot.writeFieldBegin(RECEIVED_RETURN_TIMESTAMP_FIELD_DESC);
5772
      oprot.writeI64(this.received_return_timestamp);
5773
      oprot.writeFieldEnd();
5774
    }
5775
    if (isSetFirst_attempt_timestamp()) {
5776
      oprot.writeFieldBegin(FIRST_ATTEMPT_TIMESTAMP_FIELD_DESC);
5777
      oprot.writeI64(this.first_attempt_timestamp);
5778
      oprot.writeFieldEnd();
5779
    }
5527 anupam.sin 5780
    if (this.orderType != null) {
5781
      oprot.writeFieldBegin(ORDER_TYPE_FIELD_DESC);
5782
      oprot.writeI32(this.orderType.getValue());
5783
      oprot.writeFieldEnd();
5784
    }
5553 rajveer 5785
    oprot.writeFieldBegin(PICKUP_STORE_ID_FIELD_DESC);
5786
    oprot.writeI64(this.pickupStoreId);
5787
    oprot.writeFieldEnd();
5788
    oprot.writeFieldBegin(LOGISTICS_COD_FIELD_DESC);
5789
    oprot.writeBool(this.logisticsCod);
5790
    oprot.writeFieldEnd();
6319 rajveer 5791
    oprot.writeFieldBegin(GV_AMOUNT_FIELD_DESC);
5792
    oprot.writeI64(this.gvAmount);
5793
    oprot.writeFieldEnd();
6525 rajveer 5794
    oprot.writeFieldBegin(OTG_FIELD_DESC);
5795
    oprot.writeBool(this.otg);
5796
    oprot.writeFieldEnd();
6726 rajveer 5797
    oprot.writeFieldBegin(COURIER_DELIVERY_TIME_FIELD_DESC);
5798
    oprot.writeI64(this.courier_delivery_time);
5799
    oprot.writeFieldEnd();
6903 anupam.sin 5800
    oprot.writeFieldBegin(INSURER_FIELD_DESC);
5801
    oprot.writeI64(this.insurer);
5802
    oprot.writeFieldEnd();
5803
    oprot.writeFieldBegin(INSURANCE_AMOUNT_FIELD_DESC);
5804
    oprot.writeDouble(this.insuranceAmount);
5805
    oprot.writeFieldEnd();
5806
    if (this.dob != null) {
5807
      oprot.writeFieldBegin(DOB_FIELD_DESC);
5808
      oprot.writeString(this.dob);
5809
      oprot.writeFieldEnd();
5810
    }
5811
    if (this.guardianName != null) {
5812
      oprot.writeFieldBegin(GUARDIAN_NAME_FIELD_DESC);
5813
      oprot.writeString(this.guardianName);
5814
      oprot.writeFieldEnd();
5815
    }
7190 amar.kumar 5816
    oprot.writeFieldBegin(FREEBIE_ITEM_ID_FIELD_DESC);
5817
    oprot.writeI64(this.freebieItemId);
5818
    oprot.writeFieldEnd();
483 rajveer 5819
    oprot.writeFieldStop();
5820
    oprot.writeStructEnd();
5821
  }
5822
 
5823
  @Override
5824
  public String toString() {
5825
    StringBuilder sb = new StringBuilder("Order(");
5826
    boolean first = true;
5827
 
5828
    sb.append("id:");
5829
    sb.append(this.id);
5830
    first = false;
5831
    if (!first) sb.append(", ");
5832
    sb.append("warehouse_id:");
5833
    sb.append(this.warehouse_id);
5834
    first = false;
5835
    if (!first) sb.append(", ");
5836
    sb.append("lineitems:");
5837
    if (this.lineitems == null) {
5838
      sb.append("null");
5839
    } else {
5840
      sb.append(this.lineitems);
5841
    }
5842
    first = false;
5843
    if (!first) sb.append(", ");
5844
    sb.append("logistics_provider_id:");
5845
    sb.append(this.logistics_provider_id);
5846
    first = false;
5847
    if (!first) sb.append(", ");
5848
    sb.append("airwaybill_no:");
5849
    if (this.airwaybill_no == null) {
5850
      sb.append("null");
5851
    } else {
5852
      sb.append(this.airwaybill_no);
5853
    }
5854
    first = false;
5855
    if (!first) sb.append(", ");
5856
    sb.append("tracking_id:");
5857
    if (this.tracking_id == null) {
5858
      sb.append("null");
5859
    } else {
5860
      sb.append(this.tracking_id);
5861
    }
5862
    first = false;
5863
    if (!first) sb.append(", ");
5864
    sb.append("expected_delivery_time:");
5865
    sb.append(this.expected_delivery_time);
5866
    first = false;
5867
    if (!first) sb.append(", ");
5868
    sb.append("customer_id:");
5869
    sb.append(this.customer_id);
5870
    first = false;
5871
    if (!first) sb.append(", ");
5872
    sb.append("customer_name:");
5873
    if (this.customer_name == null) {
5874
      sb.append("null");
5875
    } else {
5876
      sb.append(this.customer_name);
5877
    }
5878
    first = false;
5879
    if (!first) sb.append(", ");
5880
    sb.append("customer_mobilenumber:");
5881
    if (this.customer_mobilenumber == null) {
5882
      sb.append("null");
5883
    } else {
5884
      sb.append(this.customer_mobilenumber);
5885
    }
5886
    first = false;
5887
    if (!first) sb.append(", ");
5888
    sb.append("customer_pincode:");
5889
    if (this.customer_pincode == null) {
5890
      sb.append("null");
5891
    } else {
5892
      sb.append(this.customer_pincode);
5893
    }
5894
    first = false;
5895
    if (!first) sb.append(", ");
736 chandransh 5896
    sb.append("customer_address1:");
5897
    if (this.customer_address1 == null) {
483 rajveer 5898
      sb.append("null");
5899
    } else {
736 chandransh 5900
      sb.append(this.customer_address1);
483 rajveer 5901
    }
5902
    first = false;
5903
    if (!first) sb.append(", ");
736 chandransh 5904
    sb.append("customer_address2:");
5905
    if (this.customer_address2 == null) {
5906
      sb.append("null");
5907
    } else {
5908
      sb.append(this.customer_address2);
5909
    }
5910
    first = false;
5911
    if (!first) sb.append(", ");
483 rajveer 5912
    sb.append("customer_email:");
5913
    if (this.customer_email == null) {
5914
      sb.append("null");
5915
    } else {
5916
      sb.append(this.customer_email);
5917
    }
5918
    first = false;
5919
    if (!first) sb.append(", ");
736 chandransh 5920
    sb.append("customer_city:");
5921
    if (this.customer_city == null) {
5922
      sb.append("null");
5923
    } else {
5924
      sb.append(this.customer_city);
5925
    }
5926
    first = false;
5927
    if (!first) sb.append(", ");
5928
    sb.append("customer_state:");
5929
    if (this.customer_state == null) {
5930
      sb.append("null");
5931
    } else {
5932
      sb.append(this.customer_state);
5933
    }
5934
    first = false;
5935
    if (!first) sb.append(", ");
483 rajveer 5936
    sb.append("status:");
5937
    if (this.status == null) {
5938
      sb.append("null");
5939
    } else {
5940
      sb.append(this.status);
5941
    }
5942
    first = false;
5943
    if (!first) sb.append(", ");
5944
    sb.append("statusDescription:");
5945
    if (this.statusDescription == null) {
5946
      sb.append("null");
5947
    } else {
5948
      sb.append(this.statusDescription);
5949
    }
5950
    first = false;
5951
    if (!first) sb.append(", ");
5952
    sb.append("total_amount:");
5953
    sb.append(this.total_amount);
5954
    first = false;
5955
    if (!first) sb.append(", ");
5956
    sb.append("total_weight:");
5957
    sb.append(this.total_weight);
5958
    first = false;
5959
    if (!first) sb.append(", ");
5960
    sb.append("invoice_number:");
5961
    if (this.invoice_number == null) {
5962
      sb.append("null");
5963
    } else {
5964
      sb.append(this.invoice_number);
5965
    }
5966
    first = false;
5967
    if (!first) sb.append(", ");
5968
    sb.append("billed_by:");
5969
    if (this.billed_by == null) {
5970
      sb.append("null");
5971
    } else {
5972
      sb.append(this.billed_by);
5973
    }
5974
    first = false;
5975
    if (!first) sb.append(", ");
5976
    sb.append("created_timestamp:");
5977
    sb.append(this.created_timestamp);
5978
    first = false;
5979
    if (!first) sb.append(", ");
5980
    sb.append("accepted_timestamp:");
5981
    sb.append(this.accepted_timestamp);
5982
    first = false;
5983
    if (!first) sb.append(", ");
5984
    sb.append("billing_timestamp:");
5985
    sb.append(this.billing_timestamp);
5986
    first = false;
5987
    if (!first) sb.append(", ");
5988
    sb.append("shipping_timestamp:");
5989
    sb.append(this.shipping_timestamp);
5990
    first = false;
5991
    if (!first) sb.append(", ");
1114 chandransh 5992
    sb.append("pickup_timestamp:");
5993
    sb.append(this.pickup_timestamp);
5994
    first = false;
5995
    if (!first) sb.append(", ");
483 rajveer 5996
    sb.append("delivery_timestamp:");
5997
    sb.append(this.delivery_timestamp);
5998
    first = false;
640 chandransh 5999
    if (!first) sb.append(", ");
1209 chandransh 6000
    sb.append("outofstock_timestamp:");
6001
    sb.append(this.outofstock_timestamp);
6002
    first = false;
6003
    if (!first) sb.append(", ");
640 chandransh 6004
    sb.append("jacket_number:");
6005
    sb.append(this.jacket_number);
6006
    first = false;
1133 chandransh 6007
    if (!first) sb.append(", ");
6008
    sb.append("receiver:");
6009
    if (this.receiver == null) {
6010
      sb.append("null");
6011
    } else {
6012
      sb.append(this.receiver);
6013
    }
6014
    first = false;
1221 chandransh 6015
    if (!first) sb.append(", ");
6016
    sb.append("batchNo:");
6017
    sb.append(this.batchNo);
6018
    first = false;
6019
    if (!first) sb.append(", ");
6020
    sb.append("serialNo:");
6021
    sb.append(this.serialNo);
6022
    first = false;
2538 chandransh 6023
    if (!first) sb.append(", ");
6024
    sb.append("doaFlag:");
6025
    sb.append(this.doaFlag);
6026
    first = false;
6027
    if (!first) sb.append(", ");
6028
    sb.append("pickupRequestNo:");
6029
    if (this.pickupRequestNo == null) {
6030
      sb.append("null");
6031
    } else {
6032
      sb.append(this.pickupRequestNo);
6033
    }
6034
    first = false;
2677 vikas 6035
    if (!first) sb.append(", ");
6036
    sb.append("transactionId:");
6037
    sb.append(this.transactionId);
6038
    first = false;
2819 chandransh 6039
    if (!first) sb.append(", ");
6040
    sb.append("purchaseOrderNo:");
6041
    if (this.purchaseOrderNo == null) {
6042
      sb.append("null");
6043
    } else {
6044
      sb.append(this.purchaseOrderNo);
6045
    }
6046
    first = false;
3061 chandransh 6047
    if (!first) sb.append(", ");
6048
    sb.append("cod:");
6049
    sb.append(this.cod);
6050
    first = false;
3553 chandransh 6051
    if (!first) sb.append(", ");
6052
    sb.append("delayReason:");
6053
    if (this.delayReason == null) {
6054
      sb.append("null");
6055
    } else {
6056
      sb.append(this.delayReason);
6057
    }
6058
    first = false;
3986 chandransh 6059
    if (!first) sb.append(", ");
6060
    sb.append("promised_delivery_time:");
6061
    sb.append(this.promised_delivery_time);
6062
    first = false;
4004 chandransh 6063
    if (!first) sb.append(", ");
6064
    sb.append("expected_shipping_time:");
6065
    sb.append(this.expected_shipping_time);
6066
    first = false;
6067
    if (!first) sb.append(", ");
6068
    sb.append("verification_timestamp:");
6069
    sb.append(this.verification_timestamp);
6070
    first = false;
4102 chandransh 6071
    if (!first) sb.append(", ");
6072
    sb.append("promised_shipping_time:");
6073
    sb.append(this.promised_shipping_time);
6074
    first = false;
4192 anupam.sin 6075
    if (isSetReship_timestamp()) {
6076
      if (!first) sb.append(", ");
6077
      sb.append("reship_timestamp:");
6078
      sb.append(this.reship_timestamp);
6079
      first = false;
6080
    }
6081
    if (isSetRefund_timestamp()) {
6082
      if (!first) sb.append(", ");
6083
      sb.append("refund_timestamp:");
6084
      sb.append(this.refund_timestamp);
6085
      first = false;
6086
    }
6087
    if (isSetNew_order_id()) {
6088
      if (!first) sb.append(", ");
6089
      sb.append("new_order_id:");
6090
      sb.append(this.new_order_id);
6091
      first = false;
6092
    }
4246 rajveer 6093
    if (!first) sb.append(", ");
6094
    sb.append("previousStatus:");
6095
    if (this.previousStatus == null) {
6096
      sb.append("null");
6097
    } else {
6098
      sb.append(this.previousStatus);
6099
    }
6100
    first = false;
4269 anupam.sin 6101
    if (!first) sb.append(", ");
6102
    sb.append("vendorId:");
6103
    sb.append(this.vendorId);
6104
    first = false;
4506 phani.kuma 6105
    if (isSetDoa_auth_timestamp()) {
6106
      if (!first) sb.append(", ");
6107
      sb.append("doa_auth_timestamp:");
6108
      sb.append(this.doa_auth_timestamp);
6109
      first = false;
6110
    }
4647 rajveer 6111
    if (!first) sb.append(", ");
6112
    sb.append("delayReasonText:");
6113
    if (this.delayReasonText == null) {
6114
      sb.append("null");
6115
    } else {
6116
      sb.append(this.delayReasonText);
6117
    }
6118
    first = false;
4709 rajveer 6119
    if (!first) sb.append(", ");
6120
    sb.append("refundReason:");
6121
    if (this.refundReason == null) {
6122
      sb.append("null");
6123
    } else {
6124
      sb.append(this.refundReason);
6125
    }
6126
    first = false;
4758 mandeep.dh 6127
    if (!first) sb.append(", ");
6128
    sb.append("purchaseOrderId:");
6129
    sb.append(this.purchaseOrderId);
6130
    first = false;
4815 phani.kuma 6131
    if (isSetDoa_logistics_provider_id()) {
6132
      if (!first) sb.append(", ");
6133
      sb.append("doa_logistics_provider_id:");
6134
      sb.append(this.doa_logistics_provider_id);
6135
      first = false;
6136
    }
5062 varun.gupt 6137
    if (!first) sb.append(", ");
6138
    sb.append("originalOrderId:");
6139
    sb.append(this.originalOrderId);
6140
    first = false;
5110 mandeep.dh 6141
    if (!first) sb.append(", ");
6142
    sb.append("fulfilmentWarehouseId:");
6143
    sb.append(this.fulfilmentWarehouseId);
6144
    first = false;
5189 varun.gupt 6145
    if (!first) sb.append(", ");
6146
    sb.append("vendorPaid:");
6147
    sb.append(this.vendorPaid);
6148
    first = false;
5354 anupam.sin 6149
    if (isSetReceived_return_timestamp()) {
6150
      if (!first) sb.append(", ");
6151
      sb.append("received_return_timestamp:");
6152
      sb.append(this.received_return_timestamp);
6153
      first = false;
6154
    }
6155
    if (isSetFirst_attempt_timestamp()) {
6156
      if (!first) sb.append(", ");
6157
      sb.append("first_attempt_timestamp:");
6158
      sb.append(this.first_attempt_timestamp);
6159
      first = false;
6160
    }
5527 anupam.sin 6161
    if (!first) sb.append(", ");
6162
    sb.append("orderType:");
6163
    if (this.orderType == null) {
6164
      sb.append("null");
6165
    } else {
6166
      sb.append(this.orderType);
6167
    }
6168
    first = false;
5553 rajveer 6169
    if (!first) sb.append(", ");
6170
    sb.append("pickupStoreId:");
6171
    sb.append(this.pickupStoreId);
6172
    first = false;
6173
    if (!first) sb.append(", ");
6174
    sb.append("logisticsCod:");
6175
    sb.append(this.logisticsCod);
6176
    first = false;
6319 rajveer 6177
    if (!first) sb.append(", ");
6178
    sb.append("gvAmount:");
6179
    sb.append(this.gvAmount);
6180
    first = false;
6525 rajveer 6181
    if (!first) sb.append(", ");
6182
    sb.append("otg:");
6183
    sb.append(this.otg);
6184
    first = false;
6726 rajveer 6185
    if (!first) sb.append(", ");
6186
    sb.append("courier_delivery_time:");
6187
    sb.append(this.courier_delivery_time);
6188
    first = false;
6903 anupam.sin 6189
    if (!first) sb.append(", ");
6190
    sb.append("insurer:");
6191
    sb.append(this.insurer);
6192
    first = false;
6193
    if (!first) sb.append(", ");
6194
    sb.append("insuranceAmount:");
6195
    sb.append(this.insuranceAmount);
6196
    first = false;
6197
    if (!first) sb.append(", ");
6198
    sb.append("dob:");
6199
    if (this.dob == null) {
6200
      sb.append("null");
6201
    } else {
6202
      sb.append(this.dob);
6203
    }
6204
    first = false;
6205
    if (!first) sb.append(", ");
6206
    sb.append("guardianName:");
6207
    if (this.guardianName == null) {
6208
      sb.append("null");
6209
    } else {
6210
      sb.append(this.guardianName);
6211
    }
6212
    first = false;
7190 amar.kumar 6213
    if (!first) sb.append(", ");
6214
    sb.append("freebieItemId:");
6215
    sb.append(this.freebieItemId);
6216
    first = false;
483 rajveer 6217
    sb.append(")");
6218
    return sb.toString();
6219
  }
6220
 
3430 rajveer 6221
  public void validate() throws org.apache.thrift.TException {
483 rajveer 6222
    // check for required fields
6223
  }
6224
 
3430 rajveer 6225
  private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
6226
    try {
6227
      write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
6228
    } catch (org.apache.thrift.TException te) {
6229
      throw new java.io.IOException(te);
6230
    }
6231
  }
6232
 
6233
  private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
6234
    try {
6235
      // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
6236
      __isset_bit_vector = new BitSet(1);
6237
      read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
6238
    } catch (org.apache.thrift.TException te) {
6239
      throw new java.io.IOException(te);
6240
    }
6241
  }
6242
 
483 rajveer 6243
}
6244