Subversion Repositories SmartDukaan

Rev

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