Subversion Repositories SmartDukaan

Rev

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

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