Subversion Repositories SmartDukaan

Rev

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