Subversion Repositories SmartDukaan

Rev

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