Subversion Repositories SmartDukaan

Rev

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

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