Subversion Repositories SmartDukaan

Rev

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