Subversion Repositories SmartDukaan

Rev

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

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