Subversion Repositories SmartDukaan

Rev

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