Subversion Repositories SmartDukaan

Rev

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