Subversion Repositories SmartDukaan

Rev

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