Subversion Repositories SmartDukaan

Rev

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