Subversion Repositories SmartDukaan

Rev

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