Subversion Repositories SmartDukaan

Rev

Rev 6525 | Rev 6903 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

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