Subversion Repositories SmartDukaan

Rev

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