Subversion Repositories SmartDukaan

Rev

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