Subversion Repositories SmartDukaan

Rev

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