Subversion Repositories SmartDukaan

Rev

Rev 3061 | Rev 3553 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 3061 Rev 3430
Line 1... Line 1...
1
/**
1
/**
2
 * Autogenerated by Thrift
2
 * Autogenerated by Thrift Compiler (0.7.0)
3
 *
3
 *
4
 * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
4
 * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
5
 */
5
 */
6
package in.shop2020.model.v1.order;
6
package in.shop2020.model.v1.order;
7
 
7
 
Line 13... Line 13...
13
import java.util.Set;
13
import java.util.Set;
14
import java.util.HashSet;
14
import java.util.HashSet;
15
import java.util.EnumSet;
15
import java.util.EnumSet;
16
import java.util.Collections;
16
import java.util.Collections;
17
import java.util.BitSet;
17
import java.util.BitSet;
-
 
18
import java.nio.ByteBuffer;
18
import java.util.Arrays;
19
import java.util.Arrays;
19
import org.slf4j.Logger;
20
import org.slf4j.Logger;
20
import org.slf4j.LoggerFactory;
21
import org.slf4j.LoggerFactory;
21
 
22
 
22
import org.apache.thrift.*;
-
 
23
import org.apache.thrift.meta_data.*;
-
 
24
import org.apache.thrift.protocol.*;
-
 
25
 
-
 
26
public class Order implements TBase<Order._Fields>, java.io.Serializable, Cloneable, Comparable<Order> {
23
public class Order implements org.apache.thrift.TBase<Order, Order._Fields>, java.io.Serializable, Cloneable {
27
  private static final TStruct STRUCT_DESC = new TStruct("Order");
24
  private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("Order");
28
 
25
 
29
  private static final TField ID_FIELD_DESC = new TField("id", TType.I64, (short)1);
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);
30
  private static final TField WAREHOUSE_ID_FIELD_DESC = new TField("warehouse_id", TType.I64, (short)2);
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);
31
  private static final TField LINEITEMS_FIELD_DESC = new TField("lineitems", TType.LIST, (short)3);
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);
32
  private static final TField LOGISTICS_PROVIDER_ID_FIELD_DESC = new TField("logistics_provider_id", TType.I64, (short)4);
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);
33
  private static final TField AIRWAYBILL_NO_FIELD_DESC = new TField("airwaybill_no", TType.STRING, (short)5);
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);
34
  private static final TField TRACKING_ID_FIELD_DESC = new TField("tracking_id", TType.STRING, (short)6);
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);
35
  private static final TField EXPECTED_DELIVERY_TIME_FIELD_DESC = new TField("expected_delivery_time", TType.I64, (short)7);
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);
36
  private static final TField CUSTOMER_ID_FIELD_DESC = new TField("customer_id", TType.I64, (short)8);
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);
37
  private static final TField CUSTOMER_NAME_FIELD_DESC = new TField("customer_name", TType.STRING, (short)9);
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);
38
  private static final TField CUSTOMER_MOBILENUMBER_FIELD_DESC = new TField("customer_mobilenumber", TType.STRING, (short)10);
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);
39
  private static final TField CUSTOMER_PINCODE_FIELD_DESC = new TField("customer_pincode", TType.STRING, (short)11);
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);
40
  private static final TField CUSTOMER_ADDRESS1_FIELD_DESC = new TField("customer_address1", TType.STRING, (short)12);
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);
41
  private static final TField CUSTOMER_ADDRESS2_FIELD_DESC = new TField("customer_address2", TType.STRING, (short)13);
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);
42
  private static final TField CUSTOMER_EMAIL_FIELD_DESC = new TField("customer_email", TType.STRING, (short)14);
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);
43
  private static final TField CUSTOMER_CITY_FIELD_DESC = new TField("customer_city", TType.STRING, (short)15);
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);
44
  private static final TField CUSTOMER_STATE_FIELD_DESC = new TField("customer_state", TType.STRING, (short)16);
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);
45
  private static final TField STATUS_FIELD_DESC = new TField("status", TType.I32, (short)17);
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);
46
  private static final TField STATUS_DESCRIPTION_FIELD_DESC = new TField("statusDescription", TType.STRING, (short)18);
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);
47
  private static final TField TOTAL_AMOUNT_FIELD_DESC = new TField("total_amount", TType.DOUBLE, (short)19);
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);
48
  private static final TField TOTAL_WEIGHT_FIELD_DESC = new TField("total_weight", TType.DOUBLE, (short)20);
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);
49
  private static final TField INVOICE_NUMBER_FIELD_DESC = new TField("invoice_number", TType.STRING, (short)21);
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);
50
  private static final TField BILLED_BY_FIELD_DESC = new TField("billed_by", TType.STRING, (short)22);
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);
51
  private static final TField CREATED_TIMESTAMP_FIELD_DESC = new TField("created_timestamp", TType.I64, (short)23);
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);
52
  private static final TField ACCEPTED_TIMESTAMP_FIELD_DESC = new TField("accepted_timestamp", TType.I64, (short)24);
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);
53
  private static final TField BILLING_TIMESTAMP_FIELD_DESC = new TField("billing_timestamp", TType.I64, (short)25);
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);
54
  private static final TField SHIPPING_TIMESTAMP_FIELD_DESC = new TField("shipping_timestamp", TType.I64, (short)26);
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);
55
  private static final TField PICKUP_TIMESTAMP_FIELD_DESC = new TField("pickup_timestamp", TType.I64, (short)27);
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);
56
  private static final TField DELIVERY_TIMESTAMP_FIELD_DESC = new TField("delivery_timestamp", TType.I64, (short)28);
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);
57
  private static final TField OUTOFSTOCK_TIMESTAMP_FIELD_DESC = new TField("outofstock_timestamp", TType.I64, (short)29);
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);
58
  private static final TField JACKET_NUMBER_FIELD_DESC = new TField("jacket_number", TType.I64, (short)30);
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);
59
  private static final TField RECEIVER_FIELD_DESC = new TField("receiver", TType.STRING, (short)31);
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);
60
  private static final TField BATCH_NO_FIELD_DESC = new TField("batchNo", TType.I64, (short)32);
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);
61
  private static final TField SERIAL_NO_FIELD_DESC = new TField("serialNo", TType.I64, (short)33);
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);
62
  private static final TField DOA_FLAG_FIELD_DESC = new TField("doaFlag", TType.BOOL, (short)34);
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);
63
  private static final TField PICKUP_REQUEST_NO_FIELD_DESC = new TField("pickupRequestNo", TType.STRING, (short)35);
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);
64
  private static final TField TRANSACTION_ID_FIELD_DESC = new TField("transactionId", TType.I64, (short)36);
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);
65
  private static final TField PURCHASE_ORDER_NO_FIELD_DESC = new TField("purchaseOrderNo", TType.STRING, (short)37);
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);
66
  private static final TField COD_FIELD_DESC = new TField("cod", TType.BOOL, (short)38);
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);
67
 
64
 
68
  private long id;
65
  private long id; // required
69
  private long warehouse_id;
66
  private long warehouse_id; // required
70
  private List<LineItem> lineitems;
67
  private List<LineItem> lineitems; // required
71
  private long logistics_provider_id;
68
  private long logistics_provider_id; // required
72
  private String airwaybill_no;
69
  private String airwaybill_no; // required
73
  private String tracking_id;
70
  private String tracking_id; // required
74
  private long expected_delivery_time;
71
  private long expected_delivery_time; // required
75
  private long customer_id;
72
  private long customer_id; // required
76
  private String customer_name;
73
  private String customer_name; // required
77
  private String customer_mobilenumber;
74
  private String customer_mobilenumber; // required
78
  private String customer_pincode;
75
  private String customer_pincode; // required
79
  private String customer_address1;
76
  private String customer_address1; // required
80
  private String customer_address2;
77
  private String customer_address2; // required
81
  private String customer_email;
78
  private String customer_email; // required
82
  private String customer_city;
79
  private String customer_city; // required
83
  private String customer_state;
80
  private String customer_state; // required
84
  private OrderStatus status;
81
  private OrderStatus status; // required
85
  private String statusDescription;
82
  private String statusDescription; // required
86
  private double total_amount;
83
  private double total_amount; // required
87
  private double total_weight;
84
  private double total_weight; // required
88
  private String invoice_number;
85
  private String invoice_number; // required
89
  private String billed_by;
86
  private String billed_by; // required
90
  private long created_timestamp;
87
  private long created_timestamp; // required
91
  private long accepted_timestamp;
88
  private long accepted_timestamp; // required
92
  private long billing_timestamp;
89
  private long billing_timestamp; // required
93
  private long shipping_timestamp;
90
  private long shipping_timestamp; // required
94
  private long pickup_timestamp;
91
  private long pickup_timestamp; // required
95
  private long delivery_timestamp;
92
  private long delivery_timestamp; // required
96
  private long outofstock_timestamp;
93
  private long outofstock_timestamp; // required
97
  private long jacket_number;
94
  private long jacket_number; // required
98
  private String receiver;
95
  private String receiver; // required
99
  private long batchNo;
96
  private long batchNo; // required
100
  private long serialNo;
97
  private long serialNo; // required
101
  private boolean doaFlag;
98
  private boolean doaFlag; // required
102
  private String pickupRequestNo;
99
  private String pickupRequestNo; // required
103
  private long transactionId;
100
  private long transactionId; // required
104
  private String purchaseOrderNo;
101
  private String purchaseOrderNo; // required
105
  private boolean cod;
102
  private boolean cod; // required
106
 
103
 
107
  /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
104
  /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
108
  public enum _Fields implements TFieldIdEnum {
105
  public enum _Fields implements org.apache.thrift.TFieldIdEnum {
109
    ID((short)1, "id"),
106
    ID((short)1, "id"),
110
    WAREHOUSE_ID((short)2, "warehouse_id"),
107
    WAREHOUSE_ID((short)2, "warehouse_id"),
111
    /**
108
    /**
112
     * 	item info
109
     * 	item info
113
     * *
110
     * *
Line 169... Line 166...
169
    PICKUP_REQUEST_NO((short)35, "pickupRequestNo"),
166
    PICKUP_REQUEST_NO((short)35, "pickupRequestNo"),
170
    TRANSACTION_ID((short)36, "transactionId"),
167
    TRANSACTION_ID((short)36, "transactionId"),
171
    PURCHASE_ORDER_NO((short)37, "purchaseOrderNo"),
168
    PURCHASE_ORDER_NO((short)37, "purchaseOrderNo"),
172
    COD((short)38, "cod");
169
    COD((short)38, "cod");
173
 
170
 
174
    private static final Map<Integer, _Fields> byId = new HashMap<Integer, _Fields>();
-
 
175
    private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
171
    private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
176
 
172
 
177
    static {
173
    static {
178
      for (_Fields field : EnumSet.allOf(_Fields.class)) {
174
      for (_Fields field : EnumSet.allOf(_Fields.class)) {
179
        byId.put((int)field._thriftId, field);
-
 
180
        byName.put(field.getFieldName(), field);
175
        byName.put(field.getFieldName(), field);
181
      }
176
      }
182
    }
177
    }
183
 
178
 
184
    /**
179
    /**
185
     * Find the _Fields constant that matches fieldId, or null if its not found.
180
     * Find the _Fields constant that matches fieldId, or null if its not found.
186
     */
181
     */
187
    public static _Fields findByThriftId(int fieldId) {
182
    public static _Fields findByThriftId(int fieldId) {
-
 
183
      switch(fieldId) {
-
 
184
        case 1: // ID
-
 
185
          return ID;
-
 
186
        case 2: // WAREHOUSE_ID
-
 
187
          return WAREHOUSE_ID;
-
 
188
        case 3: // LINEITEMS
-
 
189
          return LINEITEMS;
-
 
190
        case 4: // LOGISTICS_PROVIDER_ID
-
 
191
          return LOGISTICS_PROVIDER_ID;
-
 
192
        case 5: // AIRWAYBILL_NO
-
 
193
          return AIRWAYBILL_NO;
-
 
194
        case 6: // TRACKING_ID
-
 
195
          return TRACKING_ID;
-
 
196
        case 7: // EXPECTED_DELIVERY_TIME
-
 
197
          return EXPECTED_DELIVERY_TIME;
-
 
198
        case 8: // CUSTOMER_ID
-
 
199
          return CUSTOMER_ID;
-
 
200
        case 9: // CUSTOMER_NAME
-
 
201
          return CUSTOMER_NAME;
-
 
202
        case 10: // CUSTOMER_MOBILENUMBER
-
 
203
          return CUSTOMER_MOBILENUMBER;
-
 
204
        case 11: // CUSTOMER_PINCODE
-
 
205
          return CUSTOMER_PINCODE;
-
 
206
        case 12: // CUSTOMER_ADDRESS1
-
 
207
          return CUSTOMER_ADDRESS1;
-
 
208
        case 13: // CUSTOMER_ADDRESS2
-
 
209
          return CUSTOMER_ADDRESS2;
-
 
210
        case 14: // CUSTOMER_EMAIL
-
 
211
          return CUSTOMER_EMAIL;
-
 
212
        case 15: // CUSTOMER_CITY
-
 
213
          return CUSTOMER_CITY;
-
 
214
        case 16: // CUSTOMER_STATE
-
 
215
          return CUSTOMER_STATE;
-
 
216
        case 17: // STATUS
-
 
217
          return STATUS;
-
 
218
        case 18: // STATUS_DESCRIPTION
-
 
219
          return STATUS_DESCRIPTION;
-
 
220
        case 19: // TOTAL_AMOUNT
-
 
221
          return TOTAL_AMOUNT;
-
 
222
        case 20: // TOTAL_WEIGHT
-
 
223
          return TOTAL_WEIGHT;
-
 
224
        case 21: // INVOICE_NUMBER
-
 
225
          return INVOICE_NUMBER;
-
 
226
        case 22: // BILLED_BY
-
 
227
          return BILLED_BY;
-
 
228
        case 23: // CREATED_TIMESTAMP
-
 
229
          return CREATED_TIMESTAMP;
-
 
230
        case 24: // ACCEPTED_TIMESTAMP
-
 
231
          return ACCEPTED_TIMESTAMP;
-
 
232
        case 25: // BILLING_TIMESTAMP
-
 
233
          return BILLING_TIMESTAMP;
-
 
234
        case 26: // SHIPPING_TIMESTAMP
-
 
235
          return SHIPPING_TIMESTAMP;
-
 
236
        case 27: // PICKUP_TIMESTAMP
188
      return byId.get(fieldId);
237
          return PICKUP_TIMESTAMP;
-
 
238
        case 28: // DELIVERY_TIMESTAMP
-
 
239
          return DELIVERY_TIMESTAMP;
-
 
240
        case 29: // OUTOFSTOCK_TIMESTAMP
-
 
241
          return OUTOFSTOCK_TIMESTAMP;
-
 
242
        case 30: // JACKET_NUMBER
-
 
243
          return JACKET_NUMBER;
-
 
244
        case 31: // RECEIVER
-
 
245
          return RECEIVER;
-
 
246
        case 32: // BATCH_NO
-
 
247
          return BATCH_NO;
-
 
248
        case 33: // SERIAL_NO
-
 
249
          return SERIAL_NO;
-
 
250
        case 34: // DOA_FLAG
-
 
251
          return DOA_FLAG;
-
 
252
        case 35: // PICKUP_REQUEST_NO
-
 
253
          return PICKUP_REQUEST_NO;
-
 
254
        case 36: // TRANSACTION_ID
-
 
255
          return TRANSACTION_ID;
-
 
256
        case 37: // PURCHASE_ORDER_NO
-
 
257
          return PURCHASE_ORDER_NO;
-
 
258
        case 38: // COD
-
 
259
          return COD;
-
 
260
        default:
-
 
261
          return null;
-
 
262
      }
189
    }
263
    }
190
 
264
 
191
    /**
265
    /**
192
     * Find the _Fields constant that matches fieldId, throwing an exception
266
     * Find the _Fields constant that matches fieldId, throwing an exception
193
     * if it is not found.
267
     * if it is not found.
Line 243... Line 317...
243
  private static final int __DOAFLAG_ISSET_ID = 17;
317
  private static final int __DOAFLAG_ISSET_ID = 17;
244
  private static final int __TRANSACTIONID_ISSET_ID = 18;
318
  private static final int __TRANSACTIONID_ISSET_ID = 18;
245
  private static final int __COD_ISSET_ID = 19;
319
  private static final int __COD_ISSET_ID = 19;
246
  private BitSet __isset_bit_vector = new BitSet(20);
320
  private BitSet __isset_bit_vector = new BitSet(20);
247
 
321
 
248
  public static final Map<_Fields, FieldMetaData> metaDataMap = Collections.unmodifiableMap(new EnumMap<_Fields, FieldMetaData>(_Fields.class) {{
322
  public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
249
    put(_Fields.ID, new FieldMetaData("id", TFieldRequirementType.DEFAULT, 
-
 
250
        new FieldValueMetaData(TType.I64)));
-
 
251
    put(_Fields.WAREHOUSE_ID, new FieldMetaData("warehouse_id", TFieldRequirementType.DEFAULT, 
-
 
252
        new FieldValueMetaData(TType.I64)));
-
 
253
    put(_Fields.LINEITEMS, new FieldMetaData("lineitems", TFieldRequirementType.DEFAULT, 
-
 
254
        new ListMetaData(TType.LIST, 
-
 
255
            new StructMetaData(TType.STRUCT, LineItem.class))));
-
 
256
    put(_Fields.LOGISTICS_PROVIDER_ID, new FieldMetaData("logistics_provider_id", TFieldRequirementType.DEFAULT, 
-
 
257
        new FieldValueMetaData(TType.I64)));
-
 
258
    put(_Fields.AIRWAYBILL_NO, new FieldMetaData("airwaybill_no", TFieldRequirementType.DEFAULT, 
-
 
259
        new FieldValueMetaData(TType.STRING)));
-
 
260
    put(_Fields.TRACKING_ID, new FieldMetaData("tracking_id", TFieldRequirementType.DEFAULT, 
-
 
261
        new FieldValueMetaData(TType.STRING)));
-
 
262
    put(_Fields.EXPECTED_DELIVERY_TIME, new FieldMetaData("expected_delivery_time", TFieldRequirementType.DEFAULT, 
-
 
263
        new FieldValueMetaData(TType.I64)));
-
 
264
    put(_Fields.CUSTOMER_ID, new FieldMetaData("customer_id", TFieldRequirementType.DEFAULT, 
-
 
265
        new FieldValueMetaData(TType.I64)));
-
 
266
    put(_Fields.CUSTOMER_NAME, new FieldMetaData("customer_name", TFieldRequirementType.DEFAULT, 
-
 
267
        new FieldValueMetaData(TType.STRING)));
-
 
268
    put(_Fields.CUSTOMER_MOBILENUMBER, new FieldMetaData("customer_mobilenumber", TFieldRequirementType.DEFAULT, 
-
 
269
        new FieldValueMetaData(TType.STRING)));
-
 
270
    put(_Fields.CUSTOMER_PINCODE, new FieldMetaData("customer_pincode", TFieldRequirementType.DEFAULT, 
-
 
271
        new FieldValueMetaData(TType.STRING)));
-
 
272
    put(_Fields.CUSTOMER_ADDRESS1, new FieldMetaData("customer_address1", TFieldRequirementType.DEFAULT, 
-
 
273
        new FieldValueMetaData(TType.STRING)));
-
 
274
    put(_Fields.CUSTOMER_ADDRESS2, new FieldMetaData("customer_address2", TFieldRequirementType.DEFAULT, 
-
 
275
        new FieldValueMetaData(TType.STRING)));
-
 
276
    put(_Fields.CUSTOMER_EMAIL, new FieldMetaData("customer_email", TFieldRequirementType.DEFAULT, 
-
 
277
        new FieldValueMetaData(TType.STRING)));
-
 
278
    put(_Fields.CUSTOMER_CITY, new FieldMetaData("customer_city", TFieldRequirementType.DEFAULT, 
-
 
279
        new FieldValueMetaData(TType.STRING)));
-
 
280
    put(_Fields.CUSTOMER_STATE, new FieldMetaData("customer_state", TFieldRequirementType.DEFAULT, 
-
 
281
        new FieldValueMetaData(TType.STRING)));
-
 
282
    put(_Fields.STATUS, new FieldMetaData("status", TFieldRequirementType.DEFAULT, 
-
 
283
        new EnumMetaData(TType.ENUM, OrderStatus.class)));
-
 
284
    put(_Fields.STATUS_DESCRIPTION, new FieldMetaData("statusDescription", TFieldRequirementType.DEFAULT, 
-
 
285
        new FieldValueMetaData(TType.STRING)));
-
 
286
    put(_Fields.TOTAL_AMOUNT, new FieldMetaData("total_amount", TFieldRequirementType.DEFAULT, 
-
 
287
        new FieldValueMetaData(TType.DOUBLE)));
-
 
288
    put(_Fields.TOTAL_WEIGHT, new FieldMetaData("total_weight", TFieldRequirementType.DEFAULT, 
-
 
289
        new FieldValueMetaData(TType.DOUBLE)));
-
 
290
    put(_Fields.INVOICE_NUMBER, new FieldMetaData("invoice_number", TFieldRequirementType.DEFAULT, 
-
 
291
        new FieldValueMetaData(TType.STRING)));
-
 
292
    put(_Fields.BILLED_BY, new FieldMetaData("billed_by", TFieldRequirementType.DEFAULT, 
-
 
293
        new FieldValueMetaData(TType.STRING)));
-
 
294
    put(_Fields.CREATED_TIMESTAMP, new FieldMetaData("created_timestamp", TFieldRequirementType.DEFAULT, 
-
 
295
        new FieldValueMetaData(TType.I64)));
-
 
296
    put(_Fields.ACCEPTED_TIMESTAMP, new FieldMetaData("accepted_timestamp", TFieldRequirementType.DEFAULT, 
-
 
297
        new FieldValueMetaData(TType.I64)));
-
 
298
    put(_Fields.BILLING_TIMESTAMP, new FieldMetaData("billing_timestamp", TFieldRequirementType.DEFAULT, 
-
 
299
        new FieldValueMetaData(TType.I64)));
-
 
300
    put(_Fields.SHIPPING_TIMESTAMP, new FieldMetaData("shipping_timestamp", TFieldRequirementType.DEFAULT, 
-
 
301
        new FieldValueMetaData(TType.I64)));
-
 
302
    put(_Fields.PICKUP_TIMESTAMP, new FieldMetaData("pickup_timestamp", TFieldRequirementType.DEFAULT, 
-
 
303
        new FieldValueMetaData(TType.I64)));
-
 
304
    put(_Fields.DELIVERY_TIMESTAMP, new FieldMetaData("delivery_timestamp", TFieldRequirementType.DEFAULT, 
-
 
305
        new FieldValueMetaData(TType.I64)));
-
 
306
    put(_Fields.OUTOFSTOCK_TIMESTAMP, new FieldMetaData("outofstock_timestamp", TFieldRequirementType.DEFAULT, 
-
 
307
        new FieldValueMetaData(TType.I64)));
-
 
308
    put(_Fields.JACKET_NUMBER, new FieldMetaData("jacket_number", TFieldRequirementType.DEFAULT, 
-
 
309
        new FieldValueMetaData(TType.I64)));
-
 
310
    put(_Fields.RECEIVER, new FieldMetaData("receiver", TFieldRequirementType.DEFAULT, 
-
 
311
        new FieldValueMetaData(TType.STRING)));
-
 
312
    put(_Fields.BATCH_NO, new FieldMetaData("batchNo", TFieldRequirementType.DEFAULT, 
-
 
313
        new FieldValueMetaData(TType.I64)));
-
 
314
    put(_Fields.SERIAL_NO, new FieldMetaData("serialNo", TFieldRequirementType.DEFAULT, 
-
 
315
        new FieldValueMetaData(TType.I64)));
-
 
316
    put(_Fields.DOA_FLAG, new FieldMetaData("doaFlag", TFieldRequirementType.DEFAULT, 
-
 
317
        new FieldValueMetaData(TType.BOOL)));
-
 
318
    put(_Fields.PICKUP_REQUEST_NO, new FieldMetaData("pickupRequestNo", TFieldRequirementType.DEFAULT, 
-
 
319
        new FieldValueMetaData(TType.STRING)));
-
 
320
    put(_Fields.TRANSACTION_ID, new FieldMetaData("transactionId", TFieldRequirementType.DEFAULT, 
-
 
321
        new FieldValueMetaData(TType.I64)));
-
 
322
    put(_Fields.PURCHASE_ORDER_NO, new FieldMetaData("purchaseOrderNo", TFieldRequirementType.DEFAULT, 
-
 
323
        new FieldValueMetaData(TType.STRING)));
-
 
324
    put(_Fields.COD, new FieldMetaData("cod", TFieldRequirementType.DEFAULT, 
-
 
325
        new FieldValueMetaData(TType.BOOL)));
-
 
326
  }});
-
 
327
 
-
 
328
  static {
323
  static {
-
 
324
    Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
325
    tmpMap.put(_Fields.ID, new org.apache.thrift.meta_data.FieldMetaData("id", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
326
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
327
    tmpMap.put(_Fields.WAREHOUSE_ID, new org.apache.thrift.meta_data.FieldMetaData("warehouse_id", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
328
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
329
    tmpMap.put(_Fields.LINEITEMS, new org.apache.thrift.meta_data.FieldMetaData("lineitems", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
330
        new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, 
-
 
331
            new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, LineItem.class))));
-
 
332
    tmpMap.put(_Fields.LOGISTICS_PROVIDER_ID, new org.apache.thrift.meta_data.FieldMetaData("logistics_provider_id", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
333
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
334
    tmpMap.put(_Fields.AIRWAYBILL_NO, new org.apache.thrift.meta_data.FieldMetaData("airwaybill_no", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
335
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
-
 
336
    tmpMap.put(_Fields.TRACKING_ID, new org.apache.thrift.meta_data.FieldMetaData("tracking_id", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
337
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
-
 
338
    tmpMap.put(_Fields.EXPECTED_DELIVERY_TIME, new org.apache.thrift.meta_data.FieldMetaData("expected_delivery_time", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
339
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
340
    tmpMap.put(_Fields.CUSTOMER_ID, new org.apache.thrift.meta_data.FieldMetaData("customer_id", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
341
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
342
    tmpMap.put(_Fields.CUSTOMER_NAME, new org.apache.thrift.meta_data.FieldMetaData("customer_name", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
343
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
-
 
344
    tmpMap.put(_Fields.CUSTOMER_MOBILENUMBER, new org.apache.thrift.meta_data.FieldMetaData("customer_mobilenumber", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
345
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
-
 
346
    tmpMap.put(_Fields.CUSTOMER_PINCODE, new org.apache.thrift.meta_data.FieldMetaData("customer_pincode", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
347
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
-
 
348
    tmpMap.put(_Fields.CUSTOMER_ADDRESS1, new org.apache.thrift.meta_data.FieldMetaData("customer_address1", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
349
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
-
 
350
    tmpMap.put(_Fields.CUSTOMER_ADDRESS2, new org.apache.thrift.meta_data.FieldMetaData("customer_address2", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
351
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
-
 
352
    tmpMap.put(_Fields.CUSTOMER_EMAIL, new org.apache.thrift.meta_data.FieldMetaData("customer_email", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
353
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
-
 
354
    tmpMap.put(_Fields.CUSTOMER_CITY, new org.apache.thrift.meta_data.FieldMetaData("customer_city", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
355
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
-
 
356
    tmpMap.put(_Fields.CUSTOMER_STATE, new org.apache.thrift.meta_data.FieldMetaData("customer_state", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
357
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
-
 
358
    tmpMap.put(_Fields.STATUS, new org.apache.thrift.meta_data.FieldMetaData("status", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
359
        new org.apache.thrift.meta_data.EnumMetaData(org.apache.thrift.protocol.TType.ENUM, OrderStatus.class)));
-
 
360
    tmpMap.put(_Fields.STATUS_DESCRIPTION, new org.apache.thrift.meta_data.FieldMetaData("statusDescription", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
361
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
-
 
362
    tmpMap.put(_Fields.TOTAL_AMOUNT, new org.apache.thrift.meta_data.FieldMetaData("total_amount", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
363
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
-
 
364
    tmpMap.put(_Fields.TOTAL_WEIGHT, new org.apache.thrift.meta_data.FieldMetaData("total_weight", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
365
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
-
 
366
    tmpMap.put(_Fields.INVOICE_NUMBER, new org.apache.thrift.meta_data.FieldMetaData("invoice_number", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
367
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
-
 
368
    tmpMap.put(_Fields.BILLED_BY, new org.apache.thrift.meta_data.FieldMetaData("billed_by", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
369
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
-
 
370
    tmpMap.put(_Fields.CREATED_TIMESTAMP, new org.apache.thrift.meta_data.FieldMetaData("created_timestamp", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
371
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
372
    tmpMap.put(_Fields.ACCEPTED_TIMESTAMP, new org.apache.thrift.meta_data.FieldMetaData("accepted_timestamp", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
373
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
374
    tmpMap.put(_Fields.BILLING_TIMESTAMP, new org.apache.thrift.meta_data.FieldMetaData("billing_timestamp", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
375
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
376
    tmpMap.put(_Fields.SHIPPING_TIMESTAMP, new org.apache.thrift.meta_data.FieldMetaData("shipping_timestamp", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
377
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
378
    tmpMap.put(_Fields.PICKUP_TIMESTAMP, new org.apache.thrift.meta_data.FieldMetaData("pickup_timestamp", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
379
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
380
    tmpMap.put(_Fields.DELIVERY_TIMESTAMP, new org.apache.thrift.meta_data.FieldMetaData("delivery_timestamp", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
381
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
382
    tmpMap.put(_Fields.OUTOFSTOCK_TIMESTAMP, new org.apache.thrift.meta_data.FieldMetaData("outofstock_timestamp", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
383
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
384
    tmpMap.put(_Fields.JACKET_NUMBER, new org.apache.thrift.meta_data.FieldMetaData("jacket_number", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
385
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
386
    tmpMap.put(_Fields.RECEIVER, new org.apache.thrift.meta_data.FieldMetaData("receiver", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
387
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
-
 
388
    tmpMap.put(_Fields.BATCH_NO, new org.apache.thrift.meta_data.FieldMetaData("batchNo", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
389
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
390
    tmpMap.put(_Fields.SERIAL_NO, new org.apache.thrift.meta_data.FieldMetaData("serialNo", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
391
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
392
    tmpMap.put(_Fields.DOA_FLAG, new org.apache.thrift.meta_data.FieldMetaData("doaFlag", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
393
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
-
 
394
    tmpMap.put(_Fields.PICKUP_REQUEST_NO, new org.apache.thrift.meta_data.FieldMetaData("pickupRequestNo", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
395
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
-
 
396
    tmpMap.put(_Fields.TRANSACTION_ID, new org.apache.thrift.meta_data.FieldMetaData("transactionId", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
397
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
398
    tmpMap.put(_Fields.PURCHASE_ORDER_NO, new org.apache.thrift.meta_data.FieldMetaData("purchaseOrderNo", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
399
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
-
 
400
    tmpMap.put(_Fields.COD, new org.apache.thrift.meta_data.FieldMetaData("cod", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
401
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
-
 
402
    metaDataMap = Collections.unmodifiableMap(tmpMap);
329
    FieldMetaData.addStructMetaDataMap(Order.class, metaDataMap);
403
    org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(Order.class, metaDataMap);
330
  }
404
  }
331
 
405
 
332
  public Order() {
406
  public Order() {
333
  }
407
  }
334
 
408
 
Line 521... Line 595...
521
 
595
 
522
  public Order deepCopy() {
596
  public Order deepCopy() {
523
    return new Order(this);
597
    return new Order(this);
524
  }
598
  }
525
 
599
 
526
  @Deprecated
600
  @Override
527
  public Order clone() {
601
  public void clear() {
-
 
602
    setIdIsSet(false);
-
 
603
    this.id = 0;
-
 
604
    setWarehouse_idIsSet(false);
-
 
605
    this.warehouse_id = 0;
-
 
606
    this.lineitems = null;
-
 
607
    setLogistics_provider_idIsSet(false);
-
 
608
    this.logistics_provider_id = 0;
-
 
609
    this.airwaybill_no = null;
-
 
610
    this.tracking_id = null;
-
 
611
    setExpected_delivery_timeIsSet(false);
-
 
612
    this.expected_delivery_time = 0;
-
 
613
    setCustomer_idIsSet(false);
-
 
614
    this.customer_id = 0;
-
 
615
    this.customer_name = null;
-
 
616
    this.customer_mobilenumber = null;
-
 
617
    this.customer_pincode = null;
-
 
618
    this.customer_address1 = null;
-
 
619
    this.customer_address2 = null;
-
 
620
    this.customer_email = null;
-
 
621
    this.customer_city = null;
-
 
622
    this.customer_state = null;
-
 
623
    this.status = null;
-
 
624
    this.statusDescription = null;
-
 
625
    setTotal_amountIsSet(false);
-
 
626
    this.total_amount = 0.0;
-
 
627
    setTotal_weightIsSet(false);
-
 
628
    this.total_weight = 0.0;
-
 
629
    this.invoice_number = null;
-
 
630
    this.billed_by = null;
-
 
631
    setCreated_timestampIsSet(false);
-
 
632
    this.created_timestamp = 0;
-
 
633
    setAccepted_timestampIsSet(false);
-
 
634
    this.accepted_timestamp = 0;
-
 
635
    setBilling_timestampIsSet(false);
-
 
636
    this.billing_timestamp = 0;
-
 
637
    setShipping_timestampIsSet(false);
-
 
638
    this.shipping_timestamp = 0;
-
 
639
    setPickup_timestampIsSet(false);
-
 
640
    this.pickup_timestamp = 0;
-
 
641
    setDelivery_timestampIsSet(false);
-
 
642
    this.delivery_timestamp = 0;
-
 
643
    setOutofstock_timestampIsSet(false);
-
 
644
    this.outofstock_timestamp = 0;
-
 
645
    setJacket_numberIsSet(false);
-
 
646
    this.jacket_number = 0;
-
 
647
    this.receiver = null;
-
 
648
    setBatchNoIsSet(false);
-
 
649
    this.batchNo = 0;
528
    return new Order(this);
650
    setSerialNoIsSet(false);
-
 
651
    this.serialNo = 0;
-
 
652
    setDoaFlagIsSet(false);
-
 
653
    this.doaFlag = false;
-
 
654
    this.pickupRequestNo = null;
-
 
655
    setTransactionIdIsSet(false);
-
 
656
    this.transactionId = 0;
-
 
657
    this.purchaseOrderNo = null;
-
 
658
    setCodIsSet(false);
-
 
659
    this.cod = false;
529
  }
660
  }
530
 
661
 
531
  public long getId() {
662
  public long getId() {
532
    return this.id;
663
    return this.id;
533
  }
664
  }
534
 
665
 
535
  public Order setId(long id) {
666
  public void setId(long id) {
536
    this.id = id;
667
    this.id = id;
537
    setIdIsSet(true);
668
    setIdIsSet(true);
538
    return this;
-
 
539
  }
669
  }
540
 
670
 
541
  public void unsetId() {
671
  public void unsetId() {
542
    __isset_bit_vector.clear(__ID_ISSET_ID);
672
    __isset_bit_vector.clear(__ID_ISSET_ID);
543
  }
673
  }
544
 
674
 
545
  /** Returns true if field id is set (has been asigned a value) and false otherwise */
675
  /** Returns true if field id is set (has been assigned a value) and false otherwise */
546
  public boolean isSetId() {
676
  public boolean isSetId() {
547
    return __isset_bit_vector.get(__ID_ISSET_ID);
677
    return __isset_bit_vector.get(__ID_ISSET_ID);
548
  }
678
  }
549
 
679
 
550
  public void setIdIsSet(boolean value) {
680
  public void setIdIsSet(boolean value) {
Line 553... Line 683...
553
 
683
 
554
  public long getWarehouse_id() {
684
  public long getWarehouse_id() {
555
    return this.warehouse_id;
685
    return this.warehouse_id;
556
  }
686
  }
557
 
687
 
558
  public Order setWarehouse_id(long warehouse_id) {
688
  public void setWarehouse_id(long warehouse_id) {
559
    this.warehouse_id = warehouse_id;
689
    this.warehouse_id = warehouse_id;
560
    setWarehouse_idIsSet(true);
690
    setWarehouse_idIsSet(true);
561
    return this;
-
 
562
  }
691
  }
563
 
692
 
564
  public void unsetWarehouse_id() {
693
  public void unsetWarehouse_id() {
565
    __isset_bit_vector.clear(__WAREHOUSE_ID_ISSET_ID);
694
    __isset_bit_vector.clear(__WAREHOUSE_ID_ISSET_ID);
566
  }
695
  }
567
 
696
 
568
  /** Returns true if field warehouse_id is set (has been asigned a value) and false otherwise */
697
  /** Returns true if field warehouse_id is set (has been assigned a value) and false otherwise */
569
  public boolean isSetWarehouse_id() {
698
  public boolean isSetWarehouse_id() {
570
    return __isset_bit_vector.get(__WAREHOUSE_ID_ISSET_ID);
699
    return __isset_bit_vector.get(__WAREHOUSE_ID_ISSET_ID);
571
  }
700
  }
572
 
701
 
573
  public void setWarehouse_idIsSet(boolean value) {
702
  public void setWarehouse_idIsSet(boolean value) {
Line 599... Line 728...
599
 
728
 
600
  /**
729
  /**
601
   * 	item info
730
   * 	item info
602
   * *
731
   * *
603
   */
732
   */
604
  public Order setLineitems(List<LineItem> lineitems) {
733
  public void setLineitems(List<LineItem> lineitems) {
605
    this.lineitems = lineitems;
734
    this.lineitems = lineitems;
606
    return this;
-
 
607
  }
735
  }
608
 
736
 
609
  public void unsetLineitems() {
737
  public void unsetLineitems() {
610
    this.lineitems = null;
738
    this.lineitems = null;
611
  }
739
  }
612
 
740
 
613
  /** Returns true if field lineitems is set (has been asigned a value) and false otherwise */
741
  /** Returns true if field lineitems is set (has been assigned a value) and false otherwise */
614
  public boolean isSetLineitems() {
742
  public boolean isSetLineitems() {
615
    return this.lineitems != null;
743
    return this.lineitems != null;
616
  }
744
  }
617
 
745
 
618
  public void setLineitemsIsSet(boolean value) {
746
  public void setLineitemsIsSet(boolean value) {
Line 631... Line 759...
631
 
759
 
632
  /**
760
  /**
633
   *   logistics info
761
   *   logistics info
634
   * *
762
   * *
635
   */
763
   */
636
  public Order setLogistics_provider_id(long logistics_provider_id) {
764
  public void setLogistics_provider_id(long logistics_provider_id) {
637
    this.logistics_provider_id = logistics_provider_id;
765
    this.logistics_provider_id = logistics_provider_id;
638
    setLogistics_provider_idIsSet(true);
766
    setLogistics_provider_idIsSet(true);
639
    return this;
-
 
640
  }
767
  }
641
 
768
 
642
  public void unsetLogistics_provider_id() {
769
  public void unsetLogistics_provider_id() {
643
    __isset_bit_vector.clear(__LOGISTICS_PROVIDER_ID_ISSET_ID);
770
    __isset_bit_vector.clear(__LOGISTICS_PROVIDER_ID_ISSET_ID);
644
  }
771
  }
645
 
772
 
646
  /** Returns true if field logistics_provider_id is set (has been asigned a value) and false otherwise */
773
  /** Returns true if field logistics_provider_id is set (has been assigned a value) and false otherwise */
647
  public boolean isSetLogistics_provider_id() {
774
  public boolean isSetLogistics_provider_id() {
648
    return __isset_bit_vector.get(__LOGISTICS_PROVIDER_ID_ISSET_ID);
775
    return __isset_bit_vector.get(__LOGISTICS_PROVIDER_ID_ISSET_ID);
649
  }
776
  }
650
 
777
 
651
  public void setLogistics_provider_idIsSet(boolean value) {
778
  public void setLogistics_provider_idIsSet(boolean value) {
Line 654... Line 781...
654
 
781
 
655
  public String getAirwaybill_no() {
782
  public String getAirwaybill_no() {
656
    return this.airwaybill_no;
783
    return this.airwaybill_no;
657
  }
784
  }
658
 
785
 
659
  public Order setAirwaybill_no(String airwaybill_no) {
786
  public void setAirwaybill_no(String airwaybill_no) {
660
    this.airwaybill_no = airwaybill_no;
787
    this.airwaybill_no = airwaybill_no;
661
    return this;
-
 
662
  }
788
  }
663
 
789
 
664
  public void unsetAirwaybill_no() {
790
  public void unsetAirwaybill_no() {
665
    this.airwaybill_no = null;
791
    this.airwaybill_no = null;
666
  }
792
  }
667
 
793
 
668
  /** Returns true if field airwaybill_no is set (has been asigned a value) and false otherwise */
794
  /** Returns true if field airwaybill_no is set (has been assigned a value) and false otherwise */
669
  public boolean isSetAirwaybill_no() {
795
  public boolean isSetAirwaybill_no() {
670
    return this.airwaybill_no != null;
796
    return this.airwaybill_no != null;
671
  }
797
  }
672
 
798
 
673
  public void setAirwaybill_noIsSet(boolean value) {
799
  public void setAirwaybill_noIsSet(boolean value) {
Line 678... Line 804...
678
 
804
 
679
  public String getTracking_id() {
805
  public String getTracking_id() {
680
    return this.tracking_id;
806
    return this.tracking_id;
681
  }
807
  }
682
 
808
 
683
  public Order setTracking_id(String tracking_id) {
809
  public void setTracking_id(String tracking_id) {
684
    this.tracking_id = tracking_id;
810
    this.tracking_id = tracking_id;
685
    return this;
-
 
686
  }
811
  }
687
 
812
 
688
  public void unsetTracking_id() {
813
  public void unsetTracking_id() {
689
    this.tracking_id = null;
814
    this.tracking_id = null;
690
  }
815
  }
691
 
816
 
692
  /** Returns true if field tracking_id is set (has been asigned a value) and false otherwise */
817
  /** Returns true if field tracking_id is set (has been assigned a value) and false otherwise */
693
  public boolean isSetTracking_id() {
818
  public boolean isSetTracking_id() {
694
    return this.tracking_id != null;
819
    return this.tracking_id != null;
695
  }
820
  }
696
 
821
 
697
  public void setTracking_idIsSet(boolean value) {
822
  public void setTracking_idIsSet(boolean value) {
Line 702... Line 827...
702
 
827
 
703
  public long getExpected_delivery_time() {
828
  public long getExpected_delivery_time() {
704
    return this.expected_delivery_time;
829
    return this.expected_delivery_time;
705
  }
830
  }
706
 
831
 
707
  public Order setExpected_delivery_time(long expected_delivery_time) {
832
  public void setExpected_delivery_time(long expected_delivery_time) {
708
    this.expected_delivery_time = expected_delivery_time;
833
    this.expected_delivery_time = expected_delivery_time;
709
    setExpected_delivery_timeIsSet(true);
834
    setExpected_delivery_timeIsSet(true);
710
    return this;
-
 
711
  }
835
  }
712
 
836
 
713
  public void unsetExpected_delivery_time() {
837
  public void unsetExpected_delivery_time() {
714
    __isset_bit_vector.clear(__EXPECTED_DELIVERY_TIME_ISSET_ID);
838
    __isset_bit_vector.clear(__EXPECTED_DELIVERY_TIME_ISSET_ID);
715
  }
839
  }
716
 
840
 
717
  /** Returns true if field expected_delivery_time is set (has been asigned a value) and false otherwise */
841
  /** Returns true if field expected_delivery_time is set (has been assigned a value) and false otherwise */
718
  public boolean isSetExpected_delivery_time() {
842
  public boolean isSetExpected_delivery_time() {
719
    return __isset_bit_vector.get(__EXPECTED_DELIVERY_TIME_ISSET_ID);
843
    return __isset_bit_vector.get(__EXPECTED_DELIVERY_TIME_ISSET_ID);
720
  }
844
  }
721
 
845
 
722
  public void setExpected_delivery_timeIsSet(boolean value) {
846
  public void setExpected_delivery_timeIsSet(boolean value) {
Line 733... Line 857...
733
 
857
 
734
  /**
858
  /**
735
   *   customer info
859
   *   customer info
736
   * *
860
   * *
737
   */
861
   */
738
  public Order setCustomer_id(long customer_id) {
862
  public void setCustomer_id(long customer_id) {
739
    this.customer_id = customer_id;
863
    this.customer_id = customer_id;
740
    setCustomer_idIsSet(true);
864
    setCustomer_idIsSet(true);
741
    return this;
-
 
742
  }
865
  }
743
 
866
 
744
  public void unsetCustomer_id() {
867
  public void unsetCustomer_id() {
745
    __isset_bit_vector.clear(__CUSTOMER_ID_ISSET_ID);
868
    __isset_bit_vector.clear(__CUSTOMER_ID_ISSET_ID);
746
  }
869
  }
747
 
870
 
748
  /** Returns true if field customer_id is set (has been asigned a value) and false otherwise */
871
  /** Returns true if field customer_id is set (has been assigned a value) and false otherwise */
749
  public boolean isSetCustomer_id() {
872
  public boolean isSetCustomer_id() {
750
    return __isset_bit_vector.get(__CUSTOMER_ID_ISSET_ID);
873
    return __isset_bit_vector.get(__CUSTOMER_ID_ISSET_ID);
751
  }
874
  }
752
 
875
 
753
  public void setCustomer_idIsSet(boolean value) {
876
  public void setCustomer_idIsSet(boolean value) {
Line 756... Line 879...
756
 
879
 
757
  public String getCustomer_name() {
880
  public String getCustomer_name() {
758
    return this.customer_name;
881
    return this.customer_name;
759
  }
882
  }
760
 
883
 
761
  public Order setCustomer_name(String customer_name) {
884
  public void setCustomer_name(String customer_name) {
762
    this.customer_name = customer_name;
885
    this.customer_name = customer_name;
763
    return this;
-
 
764
  }
886
  }
765
 
887
 
766
  public void unsetCustomer_name() {
888
  public void unsetCustomer_name() {
767
    this.customer_name = null;
889
    this.customer_name = null;
768
  }
890
  }
769
 
891
 
770
  /** Returns true if field customer_name is set (has been asigned a value) and false otherwise */
892
  /** Returns true if field customer_name is set (has been assigned a value) and false otherwise */
771
  public boolean isSetCustomer_name() {
893
  public boolean isSetCustomer_name() {
772
    return this.customer_name != null;
894
    return this.customer_name != null;
773
  }
895
  }
774
 
896
 
775
  public void setCustomer_nameIsSet(boolean value) {
897
  public void setCustomer_nameIsSet(boolean value) {
Line 780... Line 902...
780
 
902
 
781
  public String getCustomer_mobilenumber() {
903
  public String getCustomer_mobilenumber() {
782
    return this.customer_mobilenumber;
904
    return this.customer_mobilenumber;
783
  }
905
  }
784
 
906
 
785
  public Order setCustomer_mobilenumber(String customer_mobilenumber) {
907
  public void setCustomer_mobilenumber(String customer_mobilenumber) {
786
    this.customer_mobilenumber = customer_mobilenumber;
908
    this.customer_mobilenumber = customer_mobilenumber;
787
    return this;
-
 
788
  }
909
  }
789
 
910
 
790
  public void unsetCustomer_mobilenumber() {
911
  public void unsetCustomer_mobilenumber() {
791
    this.customer_mobilenumber = null;
912
    this.customer_mobilenumber = null;
792
  }
913
  }
793
 
914
 
794
  /** Returns true if field customer_mobilenumber is set (has been asigned a value) and false otherwise */
915
  /** Returns true if field customer_mobilenumber is set (has been assigned a value) and false otherwise */
795
  public boolean isSetCustomer_mobilenumber() {
916
  public boolean isSetCustomer_mobilenumber() {
796
    return this.customer_mobilenumber != null;
917
    return this.customer_mobilenumber != null;
797
  }
918
  }
798
 
919
 
799
  public void setCustomer_mobilenumberIsSet(boolean value) {
920
  public void setCustomer_mobilenumberIsSet(boolean value) {
Line 804... Line 925...
804
 
925
 
805
  public String getCustomer_pincode() {
926
  public String getCustomer_pincode() {
806
    return this.customer_pincode;
927
    return this.customer_pincode;
807
  }
928
  }
808
 
929
 
809
  public Order setCustomer_pincode(String customer_pincode) {
930
  public void setCustomer_pincode(String customer_pincode) {
810
    this.customer_pincode = customer_pincode;
931
    this.customer_pincode = customer_pincode;
811
    return this;
-
 
812
  }
932
  }
813
 
933
 
814
  public void unsetCustomer_pincode() {
934
  public void unsetCustomer_pincode() {
815
    this.customer_pincode = null;
935
    this.customer_pincode = null;
816
  }
936
  }
817
 
937
 
818
  /** Returns true if field customer_pincode is set (has been asigned a value) and false otherwise */
938
  /** Returns true if field customer_pincode is set (has been assigned a value) and false otherwise */
819
  public boolean isSetCustomer_pincode() {
939
  public boolean isSetCustomer_pincode() {
820
    return this.customer_pincode != null;
940
    return this.customer_pincode != null;
821
  }
941
  }
822
 
942
 
823
  public void setCustomer_pincodeIsSet(boolean value) {
943
  public void setCustomer_pincodeIsSet(boolean value) {
Line 828... Line 948...
828
 
948
 
829
  public String getCustomer_address1() {
949
  public String getCustomer_address1() {
830
    return this.customer_address1;
950
    return this.customer_address1;
831
  }
951
  }
832
 
952
 
833
  public Order setCustomer_address1(String customer_address1) {
953
  public void setCustomer_address1(String customer_address1) {
834
    this.customer_address1 = customer_address1;
954
    this.customer_address1 = customer_address1;
835
    return this;
-
 
836
  }
955
  }
837
 
956
 
838
  public void unsetCustomer_address1() {
957
  public void unsetCustomer_address1() {
839
    this.customer_address1 = null;
958
    this.customer_address1 = null;
840
  }
959
  }
841
 
960
 
842
  /** Returns true if field customer_address1 is set (has been asigned a value) and false otherwise */
961
  /** Returns true if field customer_address1 is set (has been assigned a value) and false otherwise */
843
  public boolean isSetCustomer_address1() {
962
  public boolean isSetCustomer_address1() {
844
    return this.customer_address1 != null;
963
    return this.customer_address1 != null;
845
  }
964
  }
846
 
965
 
847
  public void setCustomer_address1IsSet(boolean value) {
966
  public void setCustomer_address1IsSet(boolean value) {
Line 852... Line 971...
852
 
971
 
853
  public String getCustomer_address2() {
972
  public String getCustomer_address2() {
854
    return this.customer_address2;
973
    return this.customer_address2;
855
  }
974
  }
856
 
975
 
857
  public Order setCustomer_address2(String customer_address2) {
976
  public void setCustomer_address2(String customer_address2) {
858
    this.customer_address2 = customer_address2;
977
    this.customer_address2 = customer_address2;
859
    return this;
-
 
860
  }
978
  }
861
 
979
 
862
  public void unsetCustomer_address2() {
980
  public void unsetCustomer_address2() {
863
    this.customer_address2 = null;
981
    this.customer_address2 = null;
864
  }
982
  }
865
 
983
 
866
  /** Returns true if field customer_address2 is set (has been asigned a value) and false otherwise */
984
  /** Returns true if field customer_address2 is set (has been assigned a value) and false otherwise */
867
  public boolean isSetCustomer_address2() {
985
  public boolean isSetCustomer_address2() {
868
    return this.customer_address2 != null;
986
    return this.customer_address2 != null;
869
  }
987
  }
870
 
988
 
871
  public void setCustomer_address2IsSet(boolean value) {
989
  public void setCustomer_address2IsSet(boolean value) {
Line 876... Line 994...
876
 
994
 
877
  public String getCustomer_email() {
995
  public String getCustomer_email() {
878
    return this.customer_email;
996
    return this.customer_email;
879
  }
997
  }
880
 
998
 
881
  public Order setCustomer_email(String customer_email) {
999
  public void setCustomer_email(String customer_email) {
882
    this.customer_email = customer_email;
1000
    this.customer_email = customer_email;
883
    return this;
-
 
884
  }
1001
  }
885
 
1002
 
886
  public void unsetCustomer_email() {
1003
  public void unsetCustomer_email() {
887
    this.customer_email = null;
1004
    this.customer_email = null;
888
  }
1005
  }
889
 
1006
 
890
  /** Returns true if field customer_email is set (has been asigned a value) and false otherwise */
1007
  /** Returns true if field customer_email is set (has been assigned a value) and false otherwise */
891
  public boolean isSetCustomer_email() {
1008
  public boolean isSetCustomer_email() {
892
    return this.customer_email != null;
1009
    return this.customer_email != null;
893
  }
1010
  }
894
 
1011
 
895
  public void setCustomer_emailIsSet(boolean value) {
1012
  public void setCustomer_emailIsSet(boolean value) {
Line 900... Line 1017...
900
 
1017
 
901
  public String getCustomer_city() {
1018
  public String getCustomer_city() {
902
    return this.customer_city;
1019
    return this.customer_city;
903
  }
1020
  }
904
 
1021
 
905
  public Order setCustomer_city(String customer_city) {
1022
  public void setCustomer_city(String customer_city) {
906
    this.customer_city = customer_city;
1023
    this.customer_city = customer_city;
907
    return this;
-
 
908
  }
1024
  }
909
 
1025
 
910
  public void unsetCustomer_city() {
1026
  public void unsetCustomer_city() {
911
    this.customer_city = null;
1027
    this.customer_city = null;
912
  }
1028
  }
913
 
1029
 
914
  /** Returns true if field customer_city is set (has been asigned a value) and false otherwise */
1030
  /** Returns true if field customer_city is set (has been assigned a value) and false otherwise */
915
  public boolean isSetCustomer_city() {
1031
  public boolean isSetCustomer_city() {
916
    return this.customer_city != null;
1032
    return this.customer_city != null;
917
  }
1033
  }
918
 
1034
 
919
  public void setCustomer_cityIsSet(boolean value) {
1035
  public void setCustomer_cityIsSet(boolean value) {
Line 924... Line 1040...
924
 
1040
 
925
  public String getCustomer_state() {
1041
  public String getCustomer_state() {
926
    return this.customer_state;
1042
    return this.customer_state;
927
  }
1043
  }
928
 
1044
 
929
  public Order setCustomer_state(String customer_state) {
1045
  public void setCustomer_state(String customer_state) {
930
    this.customer_state = customer_state;
1046
    this.customer_state = customer_state;
931
    return this;
-
 
932
  }
1047
  }
933
 
1048
 
934
  public void unsetCustomer_state() {
1049
  public void unsetCustomer_state() {
935
    this.customer_state = null;
1050
    this.customer_state = null;
936
  }
1051
  }
937
 
1052
 
938
  /** Returns true if field customer_state is set (has been asigned a value) and false otherwise */
1053
  /** Returns true if field customer_state is set (has been assigned a value) and false otherwise */
939
  public boolean isSetCustomer_state() {
1054
  public boolean isSetCustomer_state() {
940
    return this.customer_state != null;
1055
    return this.customer_state != null;
941
  }
1056
  }
942
 
1057
 
943
  public void setCustomer_stateIsSet(boolean value) {
1058
  public void setCustomer_stateIsSet(boolean value) {
Line 960... Line 1075...
960
   * 	status and misc info
1075
   * 	status and misc info
961
   * *
1076
   * *
962
   * 
1077
   * 
963
   * @see OrderStatus
1078
   * @see OrderStatus
964
   */
1079
   */
965
  public Order setStatus(OrderStatus status) {
1080
  public void setStatus(OrderStatus status) {
966
    this.status = status;
1081
    this.status = status;
967
    return this;
-
 
968
  }
1082
  }
969
 
1083
 
970
  public void unsetStatus() {
1084
  public void unsetStatus() {
971
    this.status = null;
1085
    this.status = null;
972
  }
1086
  }
973
 
1087
 
974
  /** Returns true if field status is set (has been asigned a value) and false otherwise */
1088
  /** Returns true if field status is set (has been assigned a value) and false otherwise */
975
  public boolean isSetStatus() {
1089
  public boolean isSetStatus() {
976
    return this.status != null;
1090
    return this.status != null;
977
  }
1091
  }
978
 
1092
 
979
  public void setStatusIsSet(boolean value) {
1093
  public void setStatusIsSet(boolean value) {
Line 984... Line 1098...
984
 
1098
 
985
  public String getStatusDescription() {
1099
  public String getStatusDescription() {
986
    return this.statusDescription;
1100
    return this.statusDescription;
987
  }
1101
  }
988
 
1102
 
989
  public Order setStatusDescription(String statusDescription) {
1103
  public void setStatusDescription(String statusDescription) {
990
    this.statusDescription = statusDescription;
1104
    this.statusDescription = statusDescription;
991
    return this;
-
 
992
  }
1105
  }
993
 
1106
 
994
  public void unsetStatusDescription() {
1107
  public void unsetStatusDescription() {
995
    this.statusDescription = null;
1108
    this.statusDescription = null;
996
  }
1109
  }
997
 
1110
 
998
  /** Returns true if field statusDescription is set (has been asigned a value) and false otherwise */
1111
  /** Returns true if field statusDescription is set (has been assigned a value) and false otherwise */
999
  public boolean isSetStatusDescription() {
1112
  public boolean isSetStatusDescription() {
1000
    return this.statusDescription != null;
1113
    return this.statusDescription != null;
1001
  }
1114
  }
1002
 
1115
 
1003
  public void setStatusDescriptionIsSet(boolean value) {
1116
  public void setStatusDescriptionIsSet(boolean value) {
Line 1008... Line 1121...
1008
 
1121
 
1009
  public double getTotal_amount() {
1122
  public double getTotal_amount() {
1010
    return this.total_amount;
1123
    return this.total_amount;
1011
  }
1124
  }
1012
 
1125
 
1013
  public Order setTotal_amount(double total_amount) {
1126
  public void setTotal_amount(double total_amount) {
1014
    this.total_amount = total_amount;
1127
    this.total_amount = total_amount;
1015
    setTotal_amountIsSet(true);
1128
    setTotal_amountIsSet(true);
1016
    return this;
-
 
1017
  }
1129
  }
1018
 
1130
 
1019
  public void unsetTotal_amount() {
1131
  public void unsetTotal_amount() {
1020
    __isset_bit_vector.clear(__TOTAL_AMOUNT_ISSET_ID);
1132
    __isset_bit_vector.clear(__TOTAL_AMOUNT_ISSET_ID);
1021
  }
1133
  }
1022
 
1134
 
1023
  /** Returns true if field total_amount is set (has been asigned a value) and false otherwise */
1135
  /** Returns true if field total_amount is set (has been assigned a value) and false otherwise */
1024
  public boolean isSetTotal_amount() {
1136
  public boolean isSetTotal_amount() {
1025
    return __isset_bit_vector.get(__TOTAL_AMOUNT_ISSET_ID);
1137
    return __isset_bit_vector.get(__TOTAL_AMOUNT_ISSET_ID);
1026
  }
1138
  }
1027
 
1139
 
1028
  public void setTotal_amountIsSet(boolean value) {
1140
  public void setTotal_amountIsSet(boolean value) {
Line 1031... Line 1143...
1031
 
1143
 
1032
  public double getTotal_weight() {
1144
  public double getTotal_weight() {
1033
    return this.total_weight;
1145
    return this.total_weight;
1034
  }
1146
  }
1035
 
1147
 
1036
  public Order setTotal_weight(double total_weight) {
1148
  public void setTotal_weight(double total_weight) {
1037
    this.total_weight = total_weight;
1149
    this.total_weight = total_weight;
1038
    setTotal_weightIsSet(true);
1150
    setTotal_weightIsSet(true);
1039
    return this;
-
 
1040
  }
1151
  }
1041
 
1152
 
1042
  public void unsetTotal_weight() {
1153
  public void unsetTotal_weight() {
1043
    __isset_bit_vector.clear(__TOTAL_WEIGHT_ISSET_ID);
1154
    __isset_bit_vector.clear(__TOTAL_WEIGHT_ISSET_ID);
1044
  }
1155
  }
1045
 
1156
 
1046
  /** Returns true if field total_weight is set (has been asigned a value) and false otherwise */
1157
  /** Returns true if field total_weight is set (has been assigned a value) and false otherwise */
1047
  public boolean isSetTotal_weight() {
1158
  public boolean isSetTotal_weight() {
1048
    return __isset_bit_vector.get(__TOTAL_WEIGHT_ISSET_ID);
1159
    return __isset_bit_vector.get(__TOTAL_WEIGHT_ISSET_ID);
1049
  }
1160
  }
1050
 
1161
 
1051
  public void setTotal_weightIsSet(boolean value) {
1162
  public void setTotal_weightIsSet(boolean value) {
Line 1062... Line 1173...
1062
 
1173
 
1063
  /**
1174
  /**
1064
   * 	billing info
1175
   * 	billing info
1065
   * *
1176
   * *
1066
   */
1177
   */
1067
  public Order setInvoice_number(String invoice_number) {
1178
  public void setInvoice_number(String invoice_number) {
1068
    this.invoice_number = invoice_number;
1179
    this.invoice_number = invoice_number;
1069
    return this;
-
 
1070
  }
1180
  }
1071
 
1181
 
1072
  public void unsetInvoice_number() {
1182
  public void unsetInvoice_number() {
1073
    this.invoice_number = null;
1183
    this.invoice_number = null;
1074
  }
1184
  }
1075
 
1185
 
1076
  /** Returns true if field invoice_number is set (has been asigned a value) and false otherwise */
1186
  /** Returns true if field invoice_number is set (has been assigned a value) and false otherwise */
1077
  public boolean isSetInvoice_number() {
1187
  public boolean isSetInvoice_number() {
1078
    return this.invoice_number != null;
1188
    return this.invoice_number != null;
1079
  }
1189
  }
1080
 
1190
 
1081
  public void setInvoice_numberIsSet(boolean value) {
1191
  public void setInvoice_numberIsSet(boolean value) {
Line 1086... Line 1196...
1086
 
1196
 
1087
  public String getBilled_by() {
1197
  public String getBilled_by() {
1088
    return this.billed_by;
1198
    return this.billed_by;
1089
  }
1199
  }
1090
 
1200
 
1091
  public Order setBilled_by(String billed_by) {
1201
  public void setBilled_by(String billed_by) {
1092
    this.billed_by = billed_by;
1202
    this.billed_by = billed_by;
1093
    return this;
-
 
1094
  }
1203
  }
1095
 
1204
 
1096
  public void unsetBilled_by() {
1205
  public void unsetBilled_by() {
1097
    this.billed_by = null;
1206
    this.billed_by = null;
1098
  }
1207
  }
1099
 
1208
 
1100
  /** Returns true if field billed_by is set (has been asigned a value) and false otherwise */
1209
  /** Returns true if field billed_by is set (has been assigned a value) and false otherwise */
1101
  public boolean isSetBilled_by() {
1210
  public boolean isSetBilled_by() {
1102
    return this.billed_by != null;
1211
    return this.billed_by != null;
1103
  }
1212
  }
1104
 
1213
 
1105
  public void setBilled_byIsSet(boolean value) {
1214
  public void setBilled_byIsSet(boolean value) {
Line 1118... Line 1227...
1118
 
1227
 
1119
  /**
1228
  /**
1120
   * 	timestamps
1229
   * 	timestamps
1121
   * *
1230
   * *
1122
   */
1231
   */
1123
  public Order setCreated_timestamp(long created_timestamp) {
1232
  public void setCreated_timestamp(long created_timestamp) {
1124
    this.created_timestamp = created_timestamp;
1233
    this.created_timestamp = created_timestamp;
1125
    setCreated_timestampIsSet(true);
1234
    setCreated_timestampIsSet(true);
1126
    return this;
-
 
1127
  }
1235
  }
1128
 
1236
 
1129
  public void unsetCreated_timestamp() {
1237
  public void unsetCreated_timestamp() {
1130
    __isset_bit_vector.clear(__CREATED_TIMESTAMP_ISSET_ID);
1238
    __isset_bit_vector.clear(__CREATED_TIMESTAMP_ISSET_ID);
1131
  }
1239
  }
1132
 
1240
 
1133
  /** Returns true if field created_timestamp is set (has been asigned a value) and false otherwise */
1241
  /** Returns true if field created_timestamp is set (has been assigned a value) and false otherwise */
1134
  public boolean isSetCreated_timestamp() {
1242
  public boolean isSetCreated_timestamp() {
1135
    return __isset_bit_vector.get(__CREATED_TIMESTAMP_ISSET_ID);
1243
    return __isset_bit_vector.get(__CREATED_TIMESTAMP_ISSET_ID);
1136
  }
1244
  }
1137
 
1245
 
1138
  public void setCreated_timestampIsSet(boolean value) {
1246
  public void setCreated_timestampIsSet(boolean value) {
Line 1141... Line 1249...
1141
 
1249
 
1142
  public long getAccepted_timestamp() {
1250
  public long getAccepted_timestamp() {
1143
    return this.accepted_timestamp;
1251
    return this.accepted_timestamp;
1144
  }
1252
  }
1145
 
1253
 
1146
  public Order setAccepted_timestamp(long accepted_timestamp) {
1254
  public void setAccepted_timestamp(long accepted_timestamp) {
1147
    this.accepted_timestamp = accepted_timestamp;
1255
    this.accepted_timestamp = accepted_timestamp;
1148
    setAccepted_timestampIsSet(true);
1256
    setAccepted_timestampIsSet(true);
1149
    return this;
-
 
1150
  }
1257
  }
1151
 
1258
 
1152
  public void unsetAccepted_timestamp() {
1259
  public void unsetAccepted_timestamp() {
1153
    __isset_bit_vector.clear(__ACCEPTED_TIMESTAMP_ISSET_ID);
1260
    __isset_bit_vector.clear(__ACCEPTED_TIMESTAMP_ISSET_ID);
1154
  }
1261
  }
1155
 
1262
 
1156
  /** Returns true if field accepted_timestamp is set (has been asigned a value) and false otherwise */
1263
  /** Returns true if field accepted_timestamp is set (has been assigned a value) and false otherwise */
1157
  public boolean isSetAccepted_timestamp() {
1264
  public boolean isSetAccepted_timestamp() {
1158
    return __isset_bit_vector.get(__ACCEPTED_TIMESTAMP_ISSET_ID);
1265
    return __isset_bit_vector.get(__ACCEPTED_TIMESTAMP_ISSET_ID);
1159
  }
1266
  }
1160
 
1267
 
1161
  public void setAccepted_timestampIsSet(boolean value) {
1268
  public void setAccepted_timestampIsSet(boolean value) {
Line 1164... Line 1271...
1164
 
1271
 
1165
  public long getBilling_timestamp() {
1272
  public long getBilling_timestamp() {
1166
    return this.billing_timestamp;
1273
    return this.billing_timestamp;
1167
  }
1274
  }
1168
 
1275
 
1169
  public Order setBilling_timestamp(long billing_timestamp) {
1276
  public void setBilling_timestamp(long billing_timestamp) {
1170
    this.billing_timestamp = billing_timestamp;
1277
    this.billing_timestamp = billing_timestamp;
1171
    setBilling_timestampIsSet(true);
1278
    setBilling_timestampIsSet(true);
1172
    return this;
-
 
1173
  }
1279
  }
1174
 
1280
 
1175
  public void unsetBilling_timestamp() {
1281
  public void unsetBilling_timestamp() {
1176
    __isset_bit_vector.clear(__BILLING_TIMESTAMP_ISSET_ID);
1282
    __isset_bit_vector.clear(__BILLING_TIMESTAMP_ISSET_ID);
1177
  }
1283
  }
1178
 
1284
 
1179
  /** Returns true if field billing_timestamp is set (has been asigned a value) and false otherwise */
1285
  /** Returns true if field billing_timestamp is set (has been assigned a value) and false otherwise */
1180
  public boolean isSetBilling_timestamp() {
1286
  public boolean isSetBilling_timestamp() {
1181
    return __isset_bit_vector.get(__BILLING_TIMESTAMP_ISSET_ID);
1287
    return __isset_bit_vector.get(__BILLING_TIMESTAMP_ISSET_ID);
1182
  }
1288
  }
1183
 
1289
 
1184
  public void setBilling_timestampIsSet(boolean value) {
1290
  public void setBilling_timestampIsSet(boolean value) {
Line 1187... Line 1293...
1187
 
1293
 
1188
  public long getShipping_timestamp() {
1294
  public long getShipping_timestamp() {
1189
    return this.shipping_timestamp;
1295
    return this.shipping_timestamp;
1190
  }
1296
  }
1191
 
1297
 
1192
  public Order setShipping_timestamp(long shipping_timestamp) {
1298
  public void setShipping_timestamp(long shipping_timestamp) {
1193
    this.shipping_timestamp = shipping_timestamp;
1299
    this.shipping_timestamp = shipping_timestamp;
1194
    setShipping_timestampIsSet(true);
1300
    setShipping_timestampIsSet(true);
1195
    return this;
-
 
1196
  }
1301
  }
1197
 
1302
 
1198
  public void unsetShipping_timestamp() {
1303
  public void unsetShipping_timestamp() {
1199
    __isset_bit_vector.clear(__SHIPPING_TIMESTAMP_ISSET_ID);
1304
    __isset_bit_vector.clear(__SHIPPING_TIMESTAMP_ISSET_ID);
1200
  }
1305
  }
1201
 
1306
 
1202
  /** Returns true if field shipping_timestamp is set (has been asigned a value) and false otherwise */
1307
  /** Returns true if field shipping_timestamp is set (has been assigned a value) and false otherwise */
1203
  public boolean isSetShipping_timestamp() {
1308
  public boolean isSetShipping_timestamp() {
1204
    return __isset_bit_vector.get(__SHIPPING_TIMESTAMP_ISSET_ID);
1309
    return __isset_bit_vector.get(__SHIPPING_TIMESTAMP_ISSET_ID);
1205
  }
1310
  }
1206
 
1311
 
1207
  public void setShipping_timestampIsSet(boolean value) {
1312
  public void setShipping_timestampIsSet(boolean value) {
Line 1210... Line 1315...
1210
 
1315
 
1211
  public long getPickup_timestamp() {
1316
  public long getPickup_timestamp() {
1212
    return this.pickup_timestamp;
1317
    return this.pickup_timestamp;
1213
  }
1318
  }
1214
 
1319
 
1215
  public Order setPickup_timestamp(long pickup_timestamp) {
1320
  public void setPickup_timestamp(long pickup_timestamp) {
1216
    this.pickup_timestamp = pickup_timestamp;
1321
    this.pickup_timestamp = pickup_timestamp;
1217
    setPickup_timestampIsSet(true);
1322
    setPickup_timestampIsSet(true);
1218
    return this;
-
 
1219
  }
1323
  }
1220
 
1324
 
1221
  public void unsetPickup_timestamp() {
1325
  public void unsetPickup_timestamp() {
1222
    __isset_bit_vector.clear(__PICKUP_TIMESTAMP_ISSET_ID);
1326
    __isset_bit_vector.clear(__PICKUP_TIMESTAMP_ISSET_ID);
1223
  }
1327
  }
1224
 
1328
 
1225
  /** Returns true if field pickup_timestamp is set (has been asigned a value) and false otherwise */
1329
  /** Returns true if field pickup_timestamp is set (has been assigned a value) and false otherwise */
1226
  public boolean isSetPickup_timestamp() {
1330
  public boolean isSetPickup_timestamp() {
1227
    return __isset_bit_vector.get(__PICKUP_TIMESTAMP_ISSET_ID);
1331
    return __isset_bit_vector.get(__PICKUP_TIMESTAMP_ISSET_ID);
1228
  }
1332
  }
1229
 
1333
 
1230
  public void setPickup_timestampIsSet(boolean value) {
1334
  public void setPickup_timestampIsSet(boolean value) {
Line 1233... Line 1337...
1233
 
1337
 
1234
  public long getDelivery_timestamp() {
1338
  public long getDelivery_timestamp() {
1235
    return this.delivery_timestamp;
1339
    return this.delivery_timestamp;
1236
  }
1340
  }
1237
 
1341
 
1238
  public Order setDelivery_timestamp(long delivery_timestamp) {
1342
  public void setDelivery_timestamp(long delivery_timestamp) {
1239
    this.delivery_timestamp = delivery_timestamp;
1343
    this.delivery_timestamp = delivery_timestamp;
1240
    setDelivery_timestampIsSet(true);
1344
    setDelivery_timestampIsSet(true);
1241
    return this;
-
 
1242
  }
1345
  }
1243
 
1346
 
1244
  public void unsetDelivery_timestamp() {
1347
  public void unsetDelivery_timestamp() {
1245
    __isset_bit_vector.clear(__DELIVERY_TIMESTAMP_ISSET_ID);
1348
    __isset_bit_vector.clear(__DELIVERY_TIMESTAMP_ISSET_ID);
1246
  }
1349
  }
1247
 
1350
 
1248
  /** Returns true if field delivery_timestamp is set (has been asigned a value) and false otherwise */
1351
  /** Returns true if field delivery_timestamp is set (has been assigned a value) and false otherwise */
1249
  public boolean isSetDelivery_timestamp() {
1352
  public boolean isSetDelivery_timestamp() {
1250
    return __isset_bit_vector.get(__DELIVERY_TIMESTAMP_ISSET_ID);
1353
    return __isset_bit_vector.get(__DELIVERY_TIMESTAMP_ISSET_ID);
1251
  }
1354
  }
1252
 
1355
 
1253
  public void setDelivery_timestampIsSet(boolean value) {
1356
  public void setDelivery_timestampIsSet(boolean value) {
Line 1256... Line 1359...
1256
 
1359
 
1257
  public long getOutofstock_timestamp() {
1360
  public long getOutofstock_timestamp() {
1258
    return this.outofstock_timestamp;
1361
    return this.outofstock_timestamp;
1259
  }
1362
  }
1260
 
1363
 
1261
  public Order setOutofstock_timestamp(long outofstock_timestamp) {
1364
  public void setOutofstock_timestamp(long outofstock_timestamp) {
1262
    this.outofstock_timestamp = outofstock_timestamp;
1365
    this.outofstock_timestamp = outofstock_timestamp;
1263
    setOutofstock_timestampIsSet(true);
1366
    setOutofstock_timestampIsSet(true);
1264
    return this;
-
 
1265
  }
1367
  }
1266
 
1368
 
1267
  public void unsetOutofstock_timestamp() {
1369
  public void unsetOutofstock_timestamp() {
1268
    __isset_bit_vector.clear(__OUTOFSTOCK_TIMESTAMP_ISSET_ID);
1370
    __isset_bit_vector.clear(__OUTOFSTOCK_TIMESTAMP_ISSET_ID);
1269
  }
1371
  }
1270
 
1372
 
1271
  /** Returns true if field outofstock_timestamp is set (has been asigned a value) and false otherwise */
1373
  /** Returns true if field outofstock_timestamp is set (has been assigned a value) and false otherwise */
1272
  public boolean isSetOutofstock_timestamp() {
1374
  public boolean isSetOutofstock_timestamp() {
1273
    return __isset_bit_vector.get(__OUTOFSTOCK_TIMESTAMP_ISSET_ID);
1375
    return __isset_bit_vector.get(__OUTOFSTOCK_TIMESTAMP_ISSET_ID);
1274
  }
1376
  }
1275
 
1377
 
1276
  public void setOutofstock_timestampIsSet(boolean value) {
1378
  public void setOutofstock_timestampIsSet(boolean value) {
Line 1279... Line 1381...
1279
 
1381
 
1280
  public long getJacket_number() {
1382
  public long getJacket_number() {
1281
    return this.jacket_number;
1383
    return this.jacket_number;
1282
  }
1384
  }
1283
 
1385
 
1284
  public Order setJacket_number(long jacket_number) {
1386
  public void setJacket_number(long jacket_number) {
1285
    this.jacket_number = jacket_number;
1387
    this.jacket_number = jacket_number;
1286
    setJacket_numberIsSet(true);
1388
    setJacket_numberIsSet(true);
1287
    return this;
-
 
1288
  }
1389
  }
1289
 
1390
 
1290
  public void unsetJacket_number() {
1391
  public void unsetJacket_number() {
1291
    __isset_bit_vector.clear(__JACKET_NUMBER_ISSET_ID);
1392
    __isset_bit_vector.clear(__JACKET_NUMBER_ISSET_ID);
1292
  }
1393
  }
1293
 
1394
 
1294
  /** Returns true if field jacket_number is set (has been asigned a value) and false otherwise */
1395
  /** Returns true if field jacket_number is set (has been assigned a value) and false otherwise */
1295
  public boolean isSetJacket_number() {
1396
  public boolean isSetJacket_number() {
1296
    return __isset_bit_vector.get(__JACKET_NUMBER_ISSET_ID);
1397
    return __isset_bit_vector.get(__JACKET_NUMBER_ISSET_ID);
1297
  }
1398
  }
1298
 
1399
 
1299
  public void setJacket_numberIsSet(boolean value) {
1400
  public void setJacket_numberIsSet(boolean value) {
Line 1302... Line 1403...
1302
 
1403
 
1303
  public String getReceiver() {
1404
  public String getReceiver() {
1304
    return this.receiver;
1405
    return this.receiver;
1305
  }
1406
  }
1306
 
1407
 
1307
  public Order setReceiver(String receiver) {
1408
  public void setReceiver(String receiver) {
1308
    this.receiver = receiver;
1409
    this.receiver = receiver;
1309
    return this;
-
 
1310
  }
1410
  }
1311
 
1411
 
1312
  public void unsetReceiver() {
1412
  public void unsetReceiver() {
1313
    this.receiver = null;
1413
    this.receiver = null;
1314
  }
1414
  }
1315
 
1415
 
1316
  /** Returns true if field receiver is set (has been asigned a value) and false otherwise */
1416
  /** Returns true if field receiver is set (has been assigned a value) and false otherwise */
1317
  public boolean isSetReceiver() {
1417
  public boolean isSetReceiver() {
1318
    return this.receiver != null;
1418
    return this.receiver != null;
1319
  }
1419
  }
1320
 
1420
 
1321
  public void setReceiverIsSet(boolean value) {
1421
  public void setReceiverIsSet(boolean value) {
Line 1326... Line 1426...
1326
 
1426
 
1327
  public long getBatchNo() {
1427
  public long getBatchNo() {
1328
    return this.batchNo;
1428
    return this.batchNo;
1329
  }
1429
  }
1330
 
1430
 
1331
  public Order setBatchNo(long batchNo) {
1431
  public void setBatchNo(long batchNo) {
1332
    this.batchNo = batchNo;
1432
    this.batchNo = batchNo;
1333
    setBatchNoIsSet(true);
1433
    setBatchNoIsSet(true);
1334
    return this;
-
 
1335
  }
1434
  }
1336
 
1435
 
1337
  public void unsetBatchNo() {
1436
  public void unsetBatchNo() {
1338
    __isset_bit_vector.clear(__BATCHNO_ISSET_ID);
1437
    __isset_bit_vector.clear(__BATCHNO_ISSET_ID);
1339
  }
1438
  }
1340
 
1439
 
1341
  /** Returns true if field batchNo is set (has been asigned a value) and false otherwise */
1440
  /** Returns true if field batchNo is set (has been assigned a value) and false otherwise */
1342
  public boolean isSetBatchNo() {
1441
  public boolean isSetBatchNo() {
1343
    return __isset_bit_vector.get(__BATCHNO_ISSET_ID);
1442
    return __isset_bit_vector.get(__BATCHNO_ISSET_ID);
1344
  }
1443
  }
1345
 
1444
 
1346
  public void setBatchNoIsSet(boolean value) {
1445
  public void setBatchNoIsSet(boolean value) {
Line 1349... Line 1448...
1349
 
1448
 
1350
  public long getSerialNo() {
1449
  public long getSerialNo() {
1351
    return this.serialNo;
1450
    return this.serialNo;
1352
  }
1451
  }
1353
 
1452
 
1354
  public Order setSerialNo(long serialNo) {
1453
  public void setSerialNo(long serialNo) {
1355
    this.serialNo = serialNo;
1454
    this.serialNo = serialNo;
1356
    setSerialNoIsSet(true);
1455
    setSerialNoIsSet(true);
1357
    return this;
-
 
1358
  }
1456
  }
1359
 
1457
 
1360
  public void unsetSerialNo() {
1458
  public void unsetSerialNo() {
1361
    __isset_bit_vector.clear(__SERIALNO_ISSET_ID);
1459
    __isset_bit_vector.clear(__SERIALNO_ISSET_ID);
1362
  }
1460
  }
1363
 
1461
 
1364
  /** Returns true if field serialNo is set (has been asigned a value) and false otherwise */
1462
  /** Returns true if field serialNo is set (has been assigned a value) and false otherwise */
1365
  public boolean isSetSerialNo() {
1463
  public boolean isSetSerialNo() {
1366
    return __isset_bit_vector.get(__SERIALNO_ISSET_ID);
1464
    return __isset_bit_vector.get(__SERIALNO_ISSET_ID);
1367
  }
1465
  }
1368
 
1466
 
1369
  public void setSerialNoIsSet(boolean value) {
1467
  public void setSerialNoIsSet(boolean value) {
Line 1372... Line 1470...
1372
 
1470
 
1373
  public boolean isDoaFlag() {
1471
  public boolean isDoaFlag() {
1374
    return this.doaFlag;
1472
    return this.doaFlag;
1375
  }
1473
  }
1376
 
1474
 
1377
  public Order setDoaFlag(boolean doaFlag) {
1475
  public void setDoaFlag(boolean doaFlag) {
1378
    this.doaFlag = doaFlag;
1476
    this.doaFlag = doaFlag;
1379
    setDoaFlagIsSet(true);
1477
    setDoaFlagIsSet(true);
1380
    return this;
-
 
1381
  }
1478
  }
1382
 
1479
 
1383
  public void unsetDoaFlag() {
1480
  public void unsetDoaFlag() {
1384
    __isset_bit_vector.clear(__DOAFLAG_ISSET_ID);
1481
    __isset_bit_vector.clear(__DOAFLAG_ISSET_ID);
1385
  }
1482
  }
1386
 
1483
 
1387
  /** Returns true if field doaFlag is set (has been asigned a value) and false otherwise */
1484
  /** Returns true if field doaFlag is set (has been assigned a value) and false otherwise */
1388
  public boolean isSetDoaFlag() {
1485
  public boolean isSetDoaFlag() {
1389
    return __isset_bit_vector.get(__DOAFLAG_ISSET_ID);
1486
    return __isset_bit_vector.get(__DOAFLAG_ISSET_ID);
1390
  }
1487
  }
1391
 
1488
 
1392
  public void setDoaFlagIsSet(boolean value) {
1489
  public void setDoaFlagIsSet(boolean value) {
Line 1395... Line 1492...
1395
 
1492
 
1396
  public String getPickupRequestNo() {
1493
  public String getPickupRequestNo() {
1397
    return this.pickupRequestNo;
1494
    return this.pickupRequestNo;
1398
  }
1495
  }
1399
 
1496
 
1400
  public Order setPickupRequestNo(String pickupRequestNo) {
1497
  public void setPickupRequestNo(String pickupRequestNo) {
1401
    this.pickupRequestNo = pickupRequestNo;
1498
    this.pickupRequestNo = pickupRequestNo;
1402
    return this;
-
 
1403
  }
1499
  }
1404
 
1500
 
1405
  public void unsetPickupRequestNo() {
1501
  public void unsetPickupRequestNo() {
1406
    this.pickupRequestNo = null;
1502
    this.pickupRequestNo = null;
1407
  }
1503
  }
1408
 
1504
 
1409
  /** Returns true if field pickupRequestNo is set (has been asigned a value) and false otherwise */
1505
  /** Returns true if field pickupRequestNo is set (has been assigned a value) and false otherwise */
1410
  public boolean isSetPickupRequestNo() {
1506
  public boolean isSetPickupRequestNo() {
1411
    return this.pickupRequestNo != null;
1507
    return this.pickupRequestNo != null;
1412
  }
1508
  }
1413
 
1509
 
1414
  public void setPickupRequestNoIsSet(boolean value) {
1510
  public void setPickupRequestNoIsSet(boolean value) {
Line 1419... Line 1515...
1419
 
1515
 
1420
  public long getTransactionId() {
1516
  public long getTransactionId() {
1421
    return this.transactionId;
1517
    return this.transactionId;
1422
  }
1518
  }
1423
 
1519
 
1424
  public Order setTransactionId(long transactionId) {
1520
  public void setTransactionId(long transactionId) {
1425
    this.transactionId = transactionId;
1521
    this.transactionId = transactionId;
1426
    setTransactionIdIsSet(true);
1522
    setTransactionIdIsSet(true);
1427
    return this;
-
 
1428
  }
1523
  }
1429
 
1524
 
1430
  public void unsetTransactionId() {
1525
  public void unsetTransactionId() {
1431
    __isset_bit_vector.clear(__TRANSACTIONID_ISSET_ID);
1526
    __isset_bit_vector.clear(__TRANSACTIONID_ISSET_ID);
1432
  }
1527
  }
1433
 
1528
 
1434
  /** Returns true if field transactionId is set (has been asigned a value) and false otherwise */
1529
  /** Returns true if field transactionId is set (has been assigned a value) and false otherwise */
1435
  public boolean isSetTransactionId() {
1530
  public boolean isSetTransactionId() {
1436
    return __isset_bit_vector.get(__TRANSACTIONID_ISSET_ID);
1531
    return __isset_bit_vector.get(__TRANSACTIONID_ISSET_ID);
1437
  }
1532
  }
1438
 
1533
 
1439
  public void setTransactionIdIsSet(boolean value) {
1534
  public void setTransactionIdIsSet(boolean value) {
Line 1442... Line 1537...
1442
 
1537
 
1443
  public String getPurchaseOrderNo() {
1538
  public String getPurchaseOrderNo() {
1444
    return this.purchaseOrderNo;
1539
    return this.purchaseOrderNo;
1445
  }
1540
  }
1446
 
1541
 
1447
  public Order setPurchaseOrderNo(String purchaseOrderNo) {
1542
  public void setPurchaseOrderNo(String purchaseOrderNo) {
1448
    this.purchaseOrderNo = purchaseOrderNo;
1543
    this.purchaseOrderNo = purchaseOrderNo;
1449
    return this;
-
 
1450
  }
1544
  }
1451
 
1545
 
1452
  public void unsetPurchaseOrderNo() {
1546
  public void unsetPurchaseOrderNo() {
1453
    this.purchaseOrderNo = null;
1547
    this.purchaseOrderNo = null;
1454
  }
1548
  }
1455
 
1549
 
1456
  /** Returns true if field purchaseOrderNo is set (has been asigned a value) and false otherwise */
1550
  /** Returns true if field purchaseOrderNo is set (has been assigned a value) and false otherwise */
1457
  public boolean isSetPurchaseOrderNo() {
1551
  public boolean isSetPurchaseOrderNo() {
1458
    return this.purchaseOrderNo != null;
1552
    return this.purchaseOrderNo != null;
1459
  }
1553
  }
1460
 
1554
 
1461
  public void setPurchaseOrderNoIsSet(boolean value) {
1555
  public void setPurchaseOrderNoIsSet(boolean value) {
Line 1466... Line 1560...
1466
 
1560
 
1467
  public boolean isCod() {
1561
  public boolean isCod() {
1468
    return this.cod;
1562
    return this.cod;
1469
  }
1563
  }
1470
 
1564
 
1471
  public Order setCod(boolean cod) {
1565
  public void setCod(boolean cod) {
1472
    this.cod = cod;
1566
    this.cod = cod;
1473
    setCodIsSet(true);
1567
    setCodIsSet(true);
1474
    return this;
-
 
1475
  }
1568
  }
1476
 
1569
 
1477
  public void unsetCod() {
1570
  public void unsetCod() {
1478
    __isset_bit_vector.clear(__COD_ISSET_ID);
1571
    __isset_bit_vector.clear(__COD_ISSET_ID);
1479
  }
1572
  }
1480
 
1573
 
1481
  /** Returns true if field cod is set (has been asigned a value) and false otherwise */
1574
  /** Returns true if field cod is set (has been assigned a value) and false otherwise */
1482
  public boolean isSetCod() {
1575
  public boolean isSetCod() {
1483
    return __isset_bit_vector.get(__COD_ISSET_ID);
1576
    return __isset_bit_vector.get(__COD_ISSET_ID);
1484
  }
1577
  }
1485
 
1578
 
1486
  public void setCodIsSet(boolean value) {
1579
  public void setCodIsSet(boolean value) {
Line 1794... Line 1887...
1794
      break;
1887
      break;
1795
 
1888
 
1796
    }
1889
    }
1797
  }
1890
  }
1798
 
1891
 
1799
  public void setFieldValue(int fieldID, Object value) {
-
 
1800
    setFieldValue(_Fields.findByThriftIdOrThrow(fieldID), value);
-
 
1801
  }
-
 
1802
 
-
 
1803
  public Object getFieldValue(_Fields field) {
1892
  public Object getFieldValue(_Fields field) {
1804
    switch (field) {
1893
    switch (field) {
1805
    case ID:
1894
    case ID:
1806
      return new Long(getId());
1895
      return Long.valueOf(getId());
1807
 
1896
 
1808
    case WAREHOUSE_ID:
1897
    case WAREHOUSE_ID:
1809
      return new Long(getWarehouse_id());
1898
      return Long.valueOf(getWarehouse_id());
1810
 
1899
 
1811
    case LINEITEMS:
1900
    case LINEITEMS:
1812
      return getLineitems();
1901
      return getLineitems();
1813
 
1902
 
1814
    case LOGISTICS_PROVIDER_ID:
1903
    case LOGISTICS_PROVIDER_ID:
1815
      return new Long(getLogistics_provider_id());
1904
      return Long.valueOf(getLogistics_provider_id());
1816
 
1905
 
1817
    case AIRWAYBILL_NO:
1906
    case AIRWAYBILL_NO:
1818
      return getAirwaybill_no();
1907
      return getAirwaybill_no();
1819
 
1908
 
1820
    case TRACKING_ID:
1909
    case TRACKING_ID:
1821
      return getTracking_id();
1910
      return getTracking_id();
1822
 
1911
 
1823
    case EXPECTED_DELIVERY_TIME:
1912
    case EXPECTED_DELIVERY_TIME:
1824
      return new Long(getExpected_delivery_time());
1913
      return Long.valueOf(getExpected_delivery_time());
1825
 
1914
 
1826
    case CUSTOMER_ID:
1915
    case CUSTOMER_ID:
1827
      return new Long(getCustomer_id());
1916
      return Long.valueOf(getCustomer_id());
1828
 
1917
 
1829
    case CUSTOMER_NAME:
1918
    case CUSTOMER_NAME:
1830
      return getCustomer_name();
1919
      return getCustomer_name();
1831
 
1920
 
1832
    case CUSTOMER_MOBILENUMBER:
1921
    case CUSTOMER_MOBILENUMBER:
Line 1855... Line 1944...
1855
 
1944
 
1856
    case STATUS_DESCRIPTION:
1945
    case STATUS_DESCRIPTION:
1857
      return getStatusDescription();
1946
      return getStatusDescription();
1858
 
1947
 
1859
    case TOTAL_AMOUNT:
1948
    case TOTAL_AMOUNT:
1860
      return new Double(getTotal_amount());
1949
      return Double.valueOf(getTotal_amount());
1861
 
1950
 
1862
    case TOTAL_WEIGHT:
1951
    case TOTAL_WEIGHT:
1863
      return new Double(getTotal_weight());
1952
      return Double.valueOf(getTotal_weight());
1864
 
1953
 
1865
    case INVOICE_NUMBER:
1954
    case INVOICE_NUMBER:
1866
      return getInvoice_number();
1955
      return getInvoice_number();
1867
 
1956
 
1868
    case BILLED_BY:
1957
    case BILLED_BY:
1869
      return getBilled_by();
1958
      return getBilled_by();
1870
 
1959
 
1871
    case CREATED_TIMESTAMP:
1960
    case CREATED_TIMESTAMP:
1872
      return new Long(getCreated_timestamp());
1961
      return Long.valueOf(getCreated_timestamp());
1873
 
1962
 
1874
    case ACCEPTED_TIMESTAMP:
1963
    case ACCEPTED_TIMESTAMP:
1875
      return new Long(getAccepted_timestamp());
1964
      return Long.valueOf(getAccepted_timestamp());
1876
 
1965
 
1877
    case BILLING_TIMESTAMP:
1966
    case BILLING_TIMESTAMP:
1878
      return new Long(getBilling_timestamp());
1967
      return Long.valueOf(getBilling_timestamp());
1879
 
1968
 
1880
    case SHIPPING_TIMESTAMP:
1969
    case SHIPPING_TIMESTAMP:
1881
      return new Long(getShipping_timestamp());
1970
      return Long.valueOf(getShipping_timestamp());
1882
 
1971
 
1883
    case PICKUP_TIMESTAMP:
1972
    case PICKUP_TIMESTAMP:
1884
      return new Long(getPickup_timestamp());
1973
      return Long.valueOf(getPickup_timestamp());
1885
 
1974
 
1886
    case DELIVERY_TIMESTAMP:
1975
    case DELIVERY_TIMESTAMP:
1887
      return new Long(getDelivery_timestamp());
1976
      return Long.valueOf(getDelivery_timestamp());
1888
 
1977
 
1889
    case OUTOFSTOCK_TIMESTAMP:
1978
    case OUTOFSTOCK_TIMESTAMP:
1890
      return new Long(getOutofstock_timestamp());
1979
      return Long.valueOf(getOutofstock_timestamp());
1891
 
1980
 
1892
    case JACKET_NUMBER:
1981
    case JACKET_NUMBER:
1893
      return new Long(getJacket_number());
1982
      return Long.valueOf(getJacket_number());
1894
 
1983
 
1895
    case RECEIVER:
1984
    case RECEIVER:
1896
      return getReceiver();
1985
      return getReceiver();
1897
 
1986
 
1898
    case BATCH_NO:
1987
    case BATCH_NO:
1899
      return new Long(getBatchNo());
1988
      return Long.valueOf(getBatchNo());
1900
 
1989
 
1901
    case SERIAL_NO:
1990
    case SERIAL_NO:
1902
      return new Long(getSerialNo());
1991
      return Long.valueOf(getSerialNo());
1903
 
1992
 
1904
    case DOA_FLAG:
1993
    case DOA_FLAG:
1905
      return new Boolean(isDoaFlag());
1994
      return Boolean.valueOf(isDoaFlag());
1906
 
1995
 
1907
    case PICKUP_REQUEST_NO:
1996
    case PICKUP_REQUEST_NO:
1908
      return getPickupRequestNo();
1997
      return getPickupRequestNo();
1909
 
1998
 
1910
    case TRANSACTION_ID:
1999
    case TRANSACTION_ID:
1911
      return new Long(getTransactionId());
2000
      return Long.valueOf(getTransactionId());
1912
 
2001
 
1913
    case PURCHASE_ORDER_NO:
2002
    case PURCHASE_ORDER_NO:
1914
      return getPurchaseOrderNo();
2003
      return getPurchaseOrderNo();
1915
 
2004
 
1916
    case COD:
2005
    case COD:
1917
      return new Boolean(isCod());
2006
      return Boolean.valueOf(isCod());
1918
 
2007
 
1919
    }
2008
    }
1920
    throw new IllegalStateException();
2009
    throw new IllegalStateException();
1921
  }
2010
  }
1922
 
2011
 
1923
  public Object getFieldValue(int fieldId) {
-
 
1924
    return getFieldValue(_Fields.findByThriftIdOrThrow(fieldId));
-
 
1925
  }
-
 
1926
 
-
 
1927
  /** Returns true if field corresponding to fieldID is set (has been asigned a value) and false otherwise */
2012
  /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
1928
  public boolean isSet(_Fields field) {
2013
  public boolean isSet(_Fields field) {
-
 
2014
    if (field == null) {
-
 
2015
      throw new IllegalArgumentException();
-
 
2016
    }
-
 
2017
 
1929
    switch (field) {
2018
    switch (field) {
1930
    case ID:
2019
    case ID:
1931
      return isSetId();
2020
      return isSetId();
1932
    case WAREHOUSE_ID:
2021
    case WAREHOUSE_ID:
1933
      return isSetWarehouse_id();
2022
      return isSetWarehouse_id();
Line 2005... Line 2094...
2005
      return isSetCod();
2094
      return isSetCod();
2006
    }
2095
    }
2007
    throw new IllegalStateException();
2096
    throw new IllegalStateException();
2008
  }
2097
  }
2009
 
2098
 
2010
  public boolean isSet(int fieldID) {
-
 
2011
    return isSet(_Fields.findByThriftIdOrThrow(fieldID));
-
 
2012
  }
-
 
2013
 
-
 
2014
  @Override
2099
  @Override
2015
  public boolean equals(Object that) {
2100
  public boolean equals(Object that) {
2016
    if (that == null)
2101
    if (that == null)
2017
      return false;
2102
      return false;
2018
    if (that instanceof Order)
2103
    if (that instanceof Order)
Line 2380... Line 2465...
2380
    }
2465
    }
2381
 
2466
 
2382
    int lastComparison = 0;
2467
    int lastComparison = 0;
2383
    Order typedOther = (Order)other;
2468
    Order typedOther = (Order)other;
2384
 
2469
 
2385
    lastComparison = Boolean.valueOf(isSetId()).compareTo(isSetId());
2470
    lastComparison = Boolean.valueOf(isSetId()).compareTo(typedOther.isSetId());
2386
    if (lastComparison != 0) {
2471
    if (lastComparison != 0) {
2387
      return lastComparison;
2472
      return lastComparison;
2388
    }
2473
    }
-
 
2474
    if (isSetId()) {
2389
    lastComparison = TBaseHelper.compareTo(id, typedOther.id);
2475
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.id, typedOther.id);
2390
    if (lastComparison != 0) {
2476
      if (lastComparison != 0) {
2391
      return lastComparison;
2477
        return lastComparison;
-
 
2478
      }
2392
    }
2479
    }
2393
    lastComparison = Boolean.valueOf(isSetWarehouse_id()).compareTo(isSetWarehouse_id());
2480
    lastComparison = Boolean.valueOf(isSetWarehouse_id()).compareTo(typedOther.isSetWarehouse_id());
2394
    if (lastComparison != 0) {
2481
    if (lastComparison != 0) {
2395
      return lastComparison;
2482
      return lastComparison;
2396
    }
2483
    }
-
 
2484
    if (isSetWarehouse_id()) {
2397
    lastComparison = TBaseHelper.compareTo(warehouse_id, typedOther.warehouse_id);
2485
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.warehouse_id, typedOther.warehouse_id);
2398
    if (lastComparison != 0) {
2486
      if (lastComparison != 0) {
2399
      return lastComparison;
2487
        return lastComparison;
-
 
2488
      }
2400
    }
2489
    }
2401
    lastComparison = Boolean.valueOf(isSetLineitems()).compareTo(isSetLineitems());
2490
    lastComparison = Boolean.valueOf(isSetLineitems()).compareTo(typedOther.isSetLineitems());
2402
    if (lastComparison != 0) {
2491
    if (lastComparison != 0) {
2403
      return lastComparison;
2492
      return lastComparison;
2404
    }
2493
    }
-
 
2494
    if (isSetLineitems()) {
2405
    lastComparison = TBaseHelper.compareTo(lineitems, typedOther.lineitems);
2495
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.lineitems, typedOther.lineitems);
2406
    if (lastComparison != 0) {
2496
      if (lastComparison != 0) {
2407
      return lastComparison;
2497
        return lastComparison;
-
 
2498
      }
2408
    }
2499
    }
2409
    lastComparison = Boolean.valueOf(isSetLogistics_provider_id()).compareTo(isSetLogistics_provider_id());
2500
    lastComparison = Boolean.valueOf(isSetLogistics_provider_id()).compareTo(typedOther.isSetLogistics_provider_id());
2410
    if (lastComparison != 0) {
2501
    if (lastComparison != 0) {
2411
      return lastComparison;
2502
      return lastComparison;
2412
    }
2503
    }
-
 
2504
    if (isSetLogistics_provider_id()) {
2413
    lastComparison = TBaseHelper.compareTo(logistics_provider_id, typedOther.logistics_provider_id);
2505
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.logistics_provider_id, typedOther.logistics_provider_id);
2414
    if (lastComparison != 0) {
2506
      if (lastComparison != 0) {
2415
      return lastComparison;
2507
        return lastComparison;
-
 
2508
      }
2416
    }
2509
    }
2417
    lastComparison = Boolean.valueOf(isSetAirwaybill_no()).compareTo(isSetAirwaybill_no());
2510
    lastComparison = Boolean.valueOf(isSetAirwaybill_no()).compareTo(typedOther.isSetAirwaybill_no());
2418
    if (lastComparison != 0) {
2511
    if (lastComparison != 0) {
2419
      return lastComparison;
2512
      return lastComparison;
2420
    }
2513
    }
-
 
2514
    if (isSetAirwaybill_no()) {
2421
    lastComparison = TBaseHelper.compareTo(airwaybill_no, typedOther.airwaybill_no);
2515
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.airwaybill_no, typedOther.airwaybill_no);
2422
    if (lastComparison != 0) {
2516
      if (lastComparison != 0) {
2423
      return lastComparison;
2517
        return lastComparison;
-
 
2518
      }
2424
    }
2519
    }
2425
    lastComparison = Boolean.valueOf(isSetTracking_id()).compareTo(isSetTracking_id());
2520
    lastComparison = Boolean.valueOf(isSetTracking_id()).compareTo(typedOther.isSetTracking_id());
2426
    if (lastComparison != 0) {
2521
    if (lastComparison != 0) {
2427
      return lastComparison;
2522
      return lastComparison;
2428
    }
2523
    }
-
 
2524
    if (isSetTracking_id()) {
2429
    lastComparison = TBaseHelper.compareTo(tracking_id, typedOther.tracking_id);
2525
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tracking_id, typedOther.tracking_id);
2430
    if (lastComparison != 0) {
2526
      if (lastComparison != 0) {
2431
      return lastComparison;
2527
        return lastComparison;
-
 
2528
      }
2432
    }
2529
    }
2433
    lastComparison = Boolean.valueOf(isSetExpected_delivery_time()).compareTo(isSetExpected_delivery_time());
2530
    lastComparison = Boolean.valueOf(isSetExpected_delivery_time()).compareTo(typedOther.isSetExpected_delivery_time());
2434
    if (lastComparison != 0) {
2531
    if (lastComparison != 0) {
2435
      return lastComparison;
2532
      return lastComparison;
2436
    }
2533
    }
-
 
2534
    if (isSetExpected_delivery_time()) {
2437
    lastComparison = TBaseHelper.compareTo(expected_delivery_time, typedOther.expected_delivery_time);
2535
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.expected_delivery_time, typedOther.expected_delivery_time);
2438
    if (lastComparison != 0) {
2536
      if (lastComparison != 0) {
2439
      return lastComparison;
2537
        return lastComparison;
-
 
2538
      }
2440
    }
2539
    }
2441
    lastComparison = Boolean.valueOf(isSetCustomer_id()).compareTo(isSetCustomer_id());
2540
    lastComparison = Boolean.valueOf(isSetCustomer_id()).compareTo(typedOther.isSetCustomer_id());
2442
    if (lastComparison != 0) {
2541
    if (lastComparison != 0) {
2443
      return lastComparison;
2542
      return lastComparison;
2444
    }
2543
    }
-
 
2544
    if (isSetCustomer_id()) {
2445
    lastComparison = TBaseHelper.compareTo(customer_id, typedOther.customer_id);
2545
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.customer_id, typedOther.customer_id);
2446
    if (lastComparison != 0) {
2546
      if (lastComparison != 0) {
2447
      return lastComparison;
2547
        return lastComparison;
-
 
2548
      }
2448
    }
2549
    }
2449
    lastComparison = Boolean.valueOf(isSetCustomer_name()).compareTo(isSetCustomer_name());
2550
    lastComparison = Boolean.valueOf(isSetCustomer_name()).compareTo(typedOther.isSetCustomer_name());
2450
    if (lastComparison != 0) {
2551
    if (lastComparison != 0) {
2451
      return lastComparison;
2552
      return lastComparison;
2452
    }
2553
    }
-
 
2554
    if (isSetCustomer_name()) {
2453
    lastComparison = TBaseHelper.compareTo(customer_name, typedOther.customer_name);
2555
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.customer_name, typedOther.customer_name);
2454
    if (lastComparison != 0) {
2556
      if (lastComparison != 0) {
2455
      return lastComparison;
2557
        return lastComparison;
-
 
2558
      }
2456
    }
2559
    }
2457
    lastComparison = Boolean.valueOf(isSetCustomer_mobilenumber()).compareTo(isSetCustomer_mobilenumber());
2560
    lastComparison = Boolean.valueOf(isSetCustomer_mobilenumber()).compareTo(typedOther.isSetCustomer_mobilenumber());
2458
    if (lastComparison != 0) {
2561
    if (lastComparison != 0) {
2459
      return lastComparison;
2562
      return lastComparison;
2460
    }
2563
    }
-
 
2564
    if (isSetCustomer_mobilenumber()) {
2461
    lastComparison = TBaseHelper.compareTo(customer_mobilenumber, typedOther.customer_mobilenumber);
2565
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.customer_mobilenumber, typedOther.customer_mobilenumber);
2462
    if (lastComparison != 0) {
2566
      if (lastComparison != 0) {
2463
      return lastComparison;
2567
        return lastComparison;
-
 
2568
      }
2464
    }
2569
    }
2465
    lastComparison = Boolean.valueOf(isSetCustomer_pincode()).compareTo(isSetCustomer_pincode());
2570
    lastComparison = Boolean.valueOf(isSetCustomer_pincode()).compareTo(typedOther.isSetCustomer_pincode());
2466
    if (lastComparison != 0) {
2571
    if (lastComparison != 0) {
2467
      return lastComparison;
2572
      return lastComparison;
2468
    }
2573
    }
-
 
2574
    if (isSetCustomer_pincode()) {
2469
    lastComparison = TBaseHelper.compareTo(customer_pincode, typedOther.customer_pincode);
2575
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.customer_pincode, typedOther.customer_pincode);
2470
    if (lastComparison != 0) {
2576
      if (lastComparison != 0) {
2471
      return lastComparison;
2577
        return lastComparison;
-
 
2578
      }
2472
    }
2579
    }
2473
    lastComparison = Boolean.valueOf(isSetCustomer_address1()).compareTo(isSetCustomer_address1());
2580
    lastComparison = Boolean.valueOf(isSetCustomer_address1()).compareTo(typedOther.isSetCustomer_address1());
2474
    if (lastComparison != 0) {
2581
    if (lastComparison != 0) {
2475
      return lastComparison;
2582
      return lastComparison;
2476
    }
2583
    }
-
 
2584
    if (isSetCustomer_address1()) {
2477
    lastComparison = TBaseHelper.compareTo(customer_address1, typedOther.customer_address1);
2585
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.customer_address1, typedOther.customer_address1);
2478
    if (lastComparison != 0) {
2586
      if (lastComparison != 0) {
2479
      return lastComparison;
2587
        return lastComparison;
-
 
2588
      }
2480
    }
2589
    }
2481
    lastComparison = Boolean.valueOf(isSetCustomer_address2()).compareTo(isSetCustomer_address2());
2590
    lastComparison = Boolean.valueOf(isSetCustomer_address2()).compareTo(typedOther.isSetCustomer_address2());
2482
    if (lastComparison != 0) {
2591
    if (lastComparison != 0) {
2483
      return lastComparison;
2592
      return lastComparison;
2484
    }
2593
    }
-
 
2594
    if (isSetCustomer_address2()) {
2485
    lastComparison = TBaseHelper.compareTo(customer_address2, typedOther.customer_address2);
2595
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.customer_address2, typedOther.customer_address2);
2486
    if (lastComparison != 0) {
2596
      if (lastComparison != 0) {
2487
      return lastComparison;
2597
        return lastComparison;
-
 
2598
      }
2488
    }
2599
    }
2489
    lastComparison = Boolean.valueOf(isSetCustomer_email()).compareTo(isSetCustomer_email());
2600
    lastComparison = Boolean.valueOf(isSetCustomer_email()).compareTo(typedOther.isSetCustomer_email());
2490
    if (lastComparison != 0) {
2601
    if (lastComparison != 0) {
2491
      return lastComparison;
2602
      return lastComparison;
2492
    }
2603
    }
-
 
2604
    if (isSetCustomer_email()) {
2493
    lastComparison = TBaseHelper.compareTo(customer_email, typedOther.customer_email);
2605
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.customer_email, typedOther.customer_email);
2494
    if (lastComparison != 0) {
2606
      if (lastComparison != 0) {
2495
      return lastComparison;
2607
        return lastComparison;
-
 
2608
      }
2496
    }
2609
    }
2497
    lastComparison = Boolean.valueOf(isSetCustomer_city()).compareTo(isSetCustomer_city());
2610
    lastComparison = Boolean.valueOf(isSetCustomer_city()).compareTo(typedOther.isSetCustomer_city());
2498
    if (lastComparison != 0) {
2611
    if (lastComparison != 0) {
2499
      return lastComparison;
2612
      return lastComparison;
2500
    }
2613
    }
-
 
2614
    if (isSetCustomer_city()) {
2501
    lastComparison = TBaseHelper.compareTo(customer_city, typedOther.customer_city);
2615
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.customer_city, typedOther.customer_city);
2502
    if (lastComparison != 0) {
2616
      if (lastComparison != 0) {
2503
      return lastComparison;
2617
        return lastComparison;
-
 
2618
      }
2504
    }
2619
    }
2505
    lastComparison = Boolean.valueOf(isSetCustomer_state()).compareTo(isSetCustomer_state());
2620
    lastComparison = Boolean.valueOf(isSetCustomer_state()).compareTo(typedOther.isSetCustomer_state());
2506
    if (lastComparison != 0) {
2621
    if (lastComparison != 0) {
2507
      return lastComparison;
2622
      return lastComparison;
2508
    }
2623
    }
-
 
2624
    if (isSetCustomer_state()) {
2509
    lastComparison = TBaseHelper.compareTo(customer_state, typedOther.customer_state);
2625
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.customer_state, typedOther.customer_state);
2510
    if (lastComparison != 0) {
2626
      if (lastComparison != 0) {
2511
      return lastComparison;
2627
        return lastComparison;
-
 
2628
      }
2512
    }
2629
    }
2513
    lastComparison = Boolean.valueOf(isSetStatus()).compareTo(isSetStatus());
2630
    lastComparison = Boolean.valueOf(isSetStatus()).compareTo(typedOther.isSetStatus());
2514
    if (lastComparison != 0) {
2631
    if (lastComparison != 0) {
2515
      return lastComparison;
2632
      return lastComparison;
2516
    }
2633
    }
-
 
2634
    if (isSetStatus()) {
2517
    lastComparison = TBaseHelper.compareTo(status, typedOther.status);
2635
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.status, typedOther.status);
2518
    if (lastComparison != 0) {
2636
      if (lastComparison != 0) {
2519
      return lastComparison;
2637
        return lastComparison;
-
 
2638
      }
2520
    }
2639
    }
2521
    lastComparison = Boolean.valueOf(isSetStatusDescription()).compareTo(isSetStatusDescription());
2640
    lastComparison = Boolean.valueOf(isSetStatusDescription()).compareTo(typedOther.isSetStatusDescription());
2522
    if (lastComparison != 0) {
2641
    if (lastComparison != 0) {
2523
      return lastComparison;
2642
      return lastComparison;
2524
    }
2643
    }
-
 
2644
    if (isSetStatusDescription()) {
2525
    lastComparison = TBaseHelper.compareTo(statusDescription, typedOther.statusDescription);
2645
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.statusDescription, typedOther.statusDescription);
2526
    if (lastComparison != 0) {
2646
      if (lastComparison != 0) {
2527
      return lastComparison;
2647
        return lastComparison;
-
 
2648
      }
2528
    }
2649
    }
2529
    lastComparison = Boolean.valueOf(isSetTotal_amount()).compareTo(isSetTotal_amount());
2650
    lastComparison = Boolean.valueOf(isSetTotal_amount()).compareTo(typedOther.isSetTotal_amount());
2530
    if (lastComparison != 0) {
2651
    if (lastComparison != 0) {
2531
      return lastComparison;
2652
      return lastComparison;
2532
    }
2653
    }
-
 
2654
    if (isSetTotal_amount()) {
2533
    lastComparison = TBaseHelper.compareTo(total_amount, typedOther.total_amount);
2655
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.total_amount, typedOther.total_amount);
2534
    if (lastComparison != 0) {
2656
      if (lastComparison != 0) {
2535
      return lastComparison;
2657
        return lastComparison;
-
 
2658
      }
2536
    }
2659
    }
2537
    lastComparison = Boolean.valueOf(isSetTotal_weight()).compareTo(isSetTotal_weight());
2660
    lastComparison = Boolean.valueOf(isSetTotal_weight()).compareTo(typedOther.isSetTotal_weight());
2538
    if (lastComparison != 0) {
2661
    if (lastComparison != 0) {
2539
      return lastComparison;
2662
      return lastComparison;
2540
    }
2663
    }
-
 
2664
    if (isSetTotal_weight()) {
2541
    lastComparison = TBaseHelper.compareTo(total_weight, typedOther.total_weight);
2665
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.total_weight, typedOther.total_weight);
2542
    if (lastComparison != 0) {
2666
      if (lastComparison != 0) {
2543
      return lastComparison;
2667
        return lastComparison;
-
 
2668
      }
2544
    }
2669
    }
2545
    lastComparison = Boolean.valueOf(isSetInvoice_number()).compareTo(isSetInvoice_number());
2670
    lastComparison = Boolean.valueOf(isSetInvoice_number()).compareTo(typedOther.isSetInvoice_number());
2546
    if (lastComparison != 0) {
2671
    if (lastComparison != 0) {
2547
      return lastComparison;
2672
      return lastComparison;
2548
    }
2673
    }
-
 
2674
    if (isSetInvoice_number()) {
2549
    lastComparison = TBaseHelper.compareTo(invoice_number, typedOther.invoice_number);
2675
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.invoice_number, typedOther.invoice_number);
2550
    if (lastComparison != 0) {
2676
      if (lastComparison != 0) {
2551
      return lastComparison;
2677
        return lastComparison;
-
 
2678
      }
2552
    }
2679
    }
2553
    lastComparison = Boolean.valueOf(isSetBilled_by()).compareTo(isSetBilled_by());
2680
    lastComparison = Boolean.valueOf(isSetBilled_by()).compareTo(typedOther.isSetBilled_by());
2554
    if (lastComparison != 0) {
2681
    if (lastComparison != 0) {
2555
      return lastComparison;
2682
      return lastComparison;
2556
    }
2683
    }
-
 
2684
    if (isSetBilled_by()) {
2557
    lastComparison = TBaseHelper.compareTo(billed_by, typedOther.billed_by);
2685
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.billed_by, typedOther.billed_by);
2558
    if (lastComparison != 0) {
2686
      if (lastComparison != 0) {
2559
      return lastComparison;
2687
        return lastComparison;
-
 
2688
      }
2560
    }
2689
    }
2561
    lastComparison = Boolean.valueOf(isSetCreated_timestamp()).compareTo(isSetCreated_timestamp());
2690
    lastComparison = Boolean.valueOf(isSetCreated_timestamp()).compareTo(typedOther.isSetCreated_timestamp());
2562
    if (lastComparison != 0) {
2691
    if (lastComparison != 0) {
2563
      return lastComparison;
2692
      return lastComparison;
2564
    }
2693
    }
-
 
2694
    if (isSetCreated_timestamp()) {
2565
    lastComparison = TBaseHelper.compareTo(created_timestamp, typedOther.created_timestamp);
2695
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.created_timestamp, typedOther.created_timestamp);
2566
    if (lastComparison != 0) {
2696
      if (lastComparison != 0) {
2567
      return lastComparison;
2697
        return lastComparison;
-
 
2698
      }
2568
    }
2699
    }
2569
    lastComparison = Boolean.valueOf(isSetAccepted_timestamp()).compareTo(isSetAccepted_timestamp());
2700
    lastComparison = Boolean.valueOf(isSetAccepted_timestamp()).compareTo(typedOther.isSetAccepted_timestamp());
2570
    if (lastComparison != 0) {
2701
    if (lastComparison != 0) {
2571
      return lastComparison;
2702
      return lastComparison;
2572
    }
2703
    }
-
 
2704
    if (isSetAccepted_timestamp()) {
2573
    lastComparison = TBaseHelper.compareTo(accepted_timestamp, typedOther.accepted_timestamp);
2705
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.accepted_timestamp, typedOther.accepted_timestamp);
2574
    if (lastComparison != 0) {
2706
      if (lastComparison != 0) {
2575
      return lastComparison;
2707
        return lastComparison;
-
 
2708
      }
2576
    }
2709
    }
2577
    lastComparison = Boolean.valueOf(isSetBilling_timestamp()).compareTo(isSetBilling_timestamp());
2710
    lastComparison = Boolean.valueOf(isSetBilling_timestamp()).compareTo(typedOther.isSetBilling_timestamp());
2578
    if (lastComparison != 0) {
2711
    if (lastComparison != 0) {
2579
      return lastComparison;
2712
      return lastComparison;
2580
    }
2713
    }
-
 
2714
    if (isSetBilling_timestamp()) {
2581
    lastComparison = TBaseHelper.compareTo(billing_timestamp, typedOther.billing_timestamp);
2715
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.billing_timestamp, typedOther.billing_timestamp);
2582
    if (lastComparison != 0) {
2716
      if (lastComparison != 0) {
2583
      return lastComparison;
2717
        return lastComparison;
-
 
2718
      }
2584
    }
2719
    }
2585
    lastComparison = Boolean.valueOf(isSetShipping_timestamp()).compareTo(isSetShipping_timestamp());
2720
    lastComparison = Boolean.valueOf(isSetShipping_timestamp()).compareTo(typedOther.isSetShipping_timestamp());
2586
    if (lastComparison != 0) {
2721
    if (lastComparison != 0) {
2587
      return lastComparison;
2722
      return lastComparison;
2588
    }
2723
    }
-
 
2724
    if (isSetShipping_timestamp()) {
2589
    lastComparison = TBaseHelper.compareTo(shipping_timestamp, typedOther.shipping_timestamp);
2725
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.shipping_timestamp, typedOther.shipping_timestamp);
2590
    if (lastComparison != 0) {
2726
      if (lastComparison != 0) {
2591
      return lastComparison;
2727
        return lastComparison;
-
 
2728
      }
2592
    }
2729
    }
2593
    lastComparison = Boolean.valueOf(isSetPickup_timestamp()).compareTo(isSetPickup_timestamp());
2730
    lastComparison = Boolean.valueOf(isSetPickup_timestamp()).compareTo(typedOther.isSetPickup_timestamp());
2594
    if (lastComparison != 0) {
2731
    if (lastComparison != 0) {
2595
      return lastComparison;
2732
      return lastComparison;
2596
    }
2733
    }
-
 
2734
    if (isSetPickup_timestamp()) {
2597
    lastComparison = TBaseHelper.compareTo(pickup_timestamp, typedOther.pickup_timestamp);
2735
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.pickup_timestamp, typedOther.pickup_timestamp);
2598
    if (lastComparison != 0) {
2736
      if (lastComparison != 0) {
2599
      return lastComparison;
2737
        return lastComparison;
-
 
2738
      }
2600
    }
2739
    }
2601
    lastComparison = Boolean.valueOf(isSetDelivery_timestamp()).compareTo(isSetDelivery_timestamp());
2740
    lastComparison = Boolean.valueOf(isSetDelivery_timestamp()).compareTo(typedOther.isSetDelivery_timestamp());
2602
    if (lastComparison != 0) {
2741
    if (lastComparison != 0) {
2603
      return lastComparison;
2742
      return lastComparison;
2604
    }
2743
    }
-
 
2744
    if (isSetDelivery_timestamp()) {
2605
    lastComparison = TBaseHelper.compareTo(delivery_timestamp, typedOther.delivery_timestamp);
2745
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.delivery_timestamp, typedOther.delivery_timestamp);
2606
    if (lastComparison != 0) {
2746
      if (lastComparison != 0) {
2607
      return lastComparison;
2747
        return lastComparison;
-
 
2748
      }
2608
    }
2749
    }
2609
    lastComparison = Boolean.valueOf(isSetOutofstock_timestamp()).compareTo(isSetOutofstock_timestamp());
2750
    lastComparison = Boolean.valueOf(isSetOutofstock_timestamp()).compareTo(typedOther.isSetOutofstock_timestamp());
2610
    if (lastComparison != 0) {
2751
    if (lastComparison != 0) {
2611
      return lastComparison;
2752
      return lastComparison;
2612
    }
2753
    }
-
 
2754
    if (isSetOutofstock_timestamp()) {
2613
    lastComparison = TBaseHelper.compareTo(outofstock_timestamp, typedOther.outofstock_timestamp);
2755
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.outofstock_timestamp, typedOther.outofstock_timestamp);
2614
    if (lastComparison != 0) {
2756
      if (lastComparison != 0) {
2615
      return lastComparison;
2757
        return lastComparison;
-
 
2758
      }
2616
    }
2759
    }
2617
    lastComparison = Boolean.valueOf(isSetJacket_number()).compareTo(isSetJacket_number());
2760
    lastComparison = Boolean.valueOf(isSetJacket_number()).compareTo(typedOther.isSetJacket_number());
2618
    if (lastComparison != 0) {
2761
    if (lastComparison != 0) {
2619
      return lastComparison;
2762
      return lastComparison;
2620
    }
2763
    }
-
 
2764
    if (isSetJacket_number()) {
2621
    lastComparison = TBaseHelper.compareTo(jacket_number, typedOther.jacket_number);
2765
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.jacket_number, typedOther.jacket_number);
2622
    if (lastComparison != 0) {
2766
      if (lastComparison != 0) {
2623
      return lastComparison;
2767
        return lastComparison;
-
 
2768
      }
2624
    }
2769
    }
2625
    lastComparison = Boolean.valueOf(isSetReceiver()).compareTo(isSetReceiver());
2770
    lastComparison = Boolean.valueOf(isSetReceiver()).compareTo(typedOther.isSetReceiver());
2626
    if (lastComparison != 0) {
2771
    if (lastComparison != 0) {
2627
      return lastComparison;
2772
      return lastComparison;
2628
    }
2773
    }
-
 
2774
    if (isSetReceiver()) {
2629
    lastComparison = TBaseHelper.compareTo(receiver, typedOther.receiver);
2775
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.receiver, typedOther.receiver);
2630
    if (lastComparison != 0) {
2776
      if (lastComparison != 0) {
2631
      return lastComparison;
2777
        return lastComparison;
-
 
2778
      }
2632
    }
2779
    }
2633
    lastComparison = Boolean.valueOf(isSetBatchNo()).compareTo(isSetBatchNo());
2780
    lastComparison = Boolean.valueOf(isSetBatchNo()).compareTo(typedOther.isSetBatchNo());
2634
    if (lastComparison != 0) {
2781
    if (lastComparison != 0) {
2635
      return lastComparison;
2782
      return lastComparison;
2636
    }
2783
    }
-
 
2784
    if (isSetBatchNo()) {
2637
    lastComparison = TBaseHelper.compareTo(batchNo, typedOther.batchNo);
2785
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.batchNo, typedOther.batchNo);
2638
    if (lastComparison != 0) {
2786
      if (lastComparison != 0) {
2639
      return lastComparison;
2787
        return lastComparison;
-
 
2788
      }
2640
    }
2789
    }
2641
    lastComparison = Boolean.valueOf(isSetSerialNo()).compareTo(isSetSerialNo());
2790
    lastComparison = Boolean.valueOf(isSetSerialNo()).compareTo(typedOther.isSetSerialNo());
2642
    if (lastComparison != 0) {
2791
    if (lastComparison != 0) {
2643
      return lastComparison;
2792
      return lastComparison;
2644
    }
2793
    }
-
 
2794
    if (isSetSerialNo()) {
2645
    lastComparison = TBaseHelper.compareTo(serialNo, typedOther.serialNo);
2795
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.serialNo, typedOther.serialNo);
2646
    if (lastComparison != 0) {
2796
      if (lastComparison != 0) {
2647
      return lastComparison;
2797
        return lastComparison;
-
 
2798
      }
2648
    }
2799
    }
2649
    lastComparison = Boolean.valueOf(isSetDoaFlag()).compareTo(isSetDoaFlag());
2800
    lastComparison = Boolean.valueOf(isSetDoaFlag()).compareTo(typedOther.isSetDoaFlag());
2650
    if (lastComparison != 0) {
2801
    if (lastComparison != 0) {
2651
      return lastComparison;
2802
      return lastComparison;
2652
    }
2803
    }
-
 
2804
    if (isSetDoaFlag()) {
2653
    lastComparison = TBaseHelper.compareTo(doaFlag, typedOther.doaFlag);
2805
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.doaFlag, typedOther.doaFlag);
2654
    if (lastComparison != 0) {
2806
      if (lastComparison != 0) {
2655
      return lastComparison;
2807
        return lastComparison;
-
 
2808
      }
2656
    }
2809
    }
2657
    lastComparison = Boolean.valueOf(isSetPickupRequestNo()).compareTo(isSetPickupRequestNo());
2810
    lastComparison = Boolean.valueOf(isSetPickupRequestNo()).compareTo(typedOther.isSetPickupRequestNo());
2658
    if (lastComparison != 0) {
2811
    if (lastComparison != 0) {
2659
      return lastComparison;
2812
      return lastComparison;
2660
    }
2813
    }
-
 
2814
    if (isSetPickupRequestNo()) {
2661
    lastComparison = TBaseHelper.compareTo(pickupRequestNo, typedOther.pickupRequestNo);
2815
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.pickupRequestNo, typedOther.pickupRequestNo);
2662
    if (lastComparison != 0) {
2816
      if (lastComparison != 0) {
2663
      return lastComparison;
2817
        return lastComparison;
-
 
2818
      }
2664
    }
2819
    }
2665
    lastComparison = Boolean.valueOf(isSetTransactionId()).compareTo(isSetTransactionId());
2820
    lastComparison = Boolean.valueOf(isSetTransactionId()).compareTo(typedOther.isSetTransactionId());
2666
    if (lastComparison != 0) {
2821
    if (lastComparison != 0) {
2667
      return lastComparison;
2822
      return lastComparison;
2668
    }
2823
    }
-
 
2824
    if (isSetTransactionId()) {
2669
    lastComparison = TBaseHelper.compareTo(transactionId, typedOther.transactionId);
2825
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.transactionId, typedOther.transactionId);
2670
    if (lastComparison != 0) {
2826
      if (lastComparison != 0) {
2671
      return lastComparison;
2827
        return lastComparison;
-
 
2828
      }
2672
    }
2829
    }
2673
    lastComparison = Boolean.valueOf(isSetPurchaseOrderNo()).compareTo(isSetPurchaseOrderNo());
2830
    lastComparison = Boolean.valueOf(isSetPurchaseOrderNo()).compareTo(typedOther.isSetPurchaseOrderNo());
2674
    if (lastComparison != 0) {
2831
    if (lastComparison != 0) {
2675
      return lastComparison;
2832
      return lastComparison;
2676
    }
2833
    }
-
 
2834
    if (isSetPurchaseOrderNo()) {
2677
    lastComparison = TBaseHelper.compareTo(purchaseOrderNo, typedOther.purchaseOrderNo);
2835
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.purchaseOrderNo, typedOther.purchaseOrderNo);
2678
    if (lastComparison != 0) {
2836
      if (lastComparison != 0) {
2679
      return lastComparison;
2837
        return lastComparison;
-
 
2838
      }
2680
    }
2839
    }
2681
    lastComparison = Boolean.valueOf(isSetCod()).compareTo(isSetCod());
2840
    lastComparison = Boolean.valueOf(isSetCod()).compareTo(typedOther.isSetCod());
2682
    if (lastComparison != 0) {
2841
    if (lastComparison != 0) {
2683
      return lastComparison;
2842
      return lastComparison;
2684
    }
2843
    }
-
 
2844
    if (isSetCod()) {
2685
    lastComparison = TBaseHelper.compareTo(cod, typedOther.cod);
2845
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.cod, typedOther.cod);
2686
    if (lastComparison != 0) {
2846
      if (lastComparison != 0) {
2687
      return lastComparison;
2847
        return lastComparison;
-
 
2848
      }
2688
    }
2849
    }
2689
    return 0;
2850
    return 0;
2690
  }
2851
  }
2691
 
2852
 
-
 
2853
  public _Fields fieldForId(int fieldId) {
-
 
2854
    return _Fields.findByThriftId(fieldId);
-
 
2855
  }
-
 
2856
 
2692
  public void read(TProtocol iprot) throws TException {
2857
  public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
2693
    TField field;
2858
    org.apache.thrift.protocol.TField field;
2694
    iprot.readStructBegin();
2859
    iprot.readStructBegin();
2695
    while (true)
2860
    while (true)
2696
    {
2861
    {
2697
      field = iprot.readFieldBegin();
2862
      field = iprot.readFieldBegin();
2698
      if (field.type == TType.STOP) { 
2863
      if (field.type == org.apache.thrift.protocol.TType.STOP) { 
2699
        break;
2864
        break;
2700
      }
2865
      }
2701
      _Fields fieldId = _Fields.findByThriftId(field.id);
-
 
2702
      if (fieldId == null) {
-
 
2703
        TProtocolUtil.skip(iprot, field.type);
-
 
2704
      } else {
-
 
2705
        switch (fieldId) {
2866
      switch (field.id) {
2706
          case ID:
2867
        case 1: // ID
2707
            if (field.type == TType.I64) {
2868
          if (field.type == org.apache.thrift.protocol.TType.I64) {
2708
              this.id = iprot.readI64();
2869
            this.id = iprot.readI64();
2709
              setIdIsSet(true);
2870
            setIdIsSet(true);
2710
            } else { 
2871
          } else { 
2711
              TProtocolUtil.skip(iprot, field.type);
2872
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
2712
            }
2873
          }
2713
            break;
2874
          break;
2714
          case WAREHOUSE_ID:
2875
        case 2: // WAREHOUSE_ID
2715
            if (field.type == TType.I64) {
2876
          if (field.type == org.apache.thrift.protocol.TType.I64) {
2716
              this.warehouse_id = iprot.readI64();
2877
            this.warehouse_id = iprot.readI64();
2717
              setWarehouse_idIsSet(true);
2878
            setWarehouse_idIsSet(true);
2718
            } else { 
2879
          } else { 
2719
              TProtocolUtil.skip(iprot, field.type);
2880
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
2720
            }
2881
          }
2721
            break;
2882
          break;
2722
          case LINEITEMS:
2883
        case 3: // LINEITEMS
2723
            if (field.type == TType.LIST) {
2884
          if (field.type == org.apache.thrift.protocol.TType.LIST) {
-
 
2885
            {
-
 
2886
              org.apache.thrift.protocol.TList _list0 = iprot.readListBegin();
-
 
2887
              this.lineitems = new ArrayList<LineItem>(_list0.size);
-
 
2888
              for (int _i1 = 0; _i1 < _list0.size; ++_i1)
2724
              {
2889
              {
2725
                TList _list0 = iprot.readListBegin();
-
 
2726
                this.lineitems = new ArrayList<LineItem>(_list0.size);
-
 
2727
                for (int _i1 = 0; _i1 < _list0.size; ++_i1)
-
 
2728
                {
-
 
2729
                  LineItem _elem2;
2890
                LineItem _elem2; // required
2730
                  _elem2 = new LineItem();
2891
                _elem2 = new LineItem();
2731
                  _elem2.read(iprot);
2892
                _elem2.read(iprot);
2732
                  this.lineitems.add(_elem2);
2893
                this.lineitems.add(_elem2);
2733
                }
-
 
2734
                iprot.readListEnd();
-
 
2735
              }
2894
              }
2736
            } else { 
-
 
2737
              TProtocolUtil.skip(iprot, field.type);
-
 
2738
            }
-
 
2739
            break;
-
 
2740
          case LOGISTICS_PROVIDER_ID:
-
 
2741
            if (field.type == TType.I64) {
-
 
2742
              this.logistics_provider_id = iprot.readI64();
-
 
2743
              setLogistics_provider_idIsSet(true);
-
 
2744
            } else { 
-
 
2745
              TProtocolUtil.skip(iprot, field.type);
-
 
2746
            }
-
 
2747
            break;
-
 
2748
          case AIRWAYBILL_NO:
-
 
2749
            if (field.type == TType.STRING) {
-
 
2750
              this.airwaybill_no = iprot.readString();
-
 
2751
            } else { 
-
 
2752
              TProtocolUtil.skip(iprot, field.type);
-
 
2753
            }
-
 
2754
            break;
-
 
2755
          case TRACKING_ID:
-
 
2756
            if (field.type == TType.STRING) {
-
 
2757
              this.tracking_id = iprot.readString();
-
 
2758
            } else { 
-
 
2759
              TProtocolUtil.skip(iprot, field.type);
-
 
2760
            }
-
 
2761
            break;
-
 
2762
          case EXPECTED_DELIVERY_TIME:
-
 
2763
            if (field.type == TType.I64) {
-
 
2764
              this.expected_delivery_time = iprot.readI64();
-
 
2765
              setExpected_delivery_timeIsSet(true);
-
 
2766
            } else { 
-
 
2767
              TProtocolUtil.skip(iprot, field.type);
-
 
2768
            }
-
 
2769
            break;
-
 
2770
          case CUSTOMER_ID:
-
 
2771
            if (field.type == TType.I64) {
-
 
2772
              this.customer_id = iprot.readI64();
-
 
2773
              setCustomer_idIsSet(true);
-
 
2774
            } else { 
-
 
2775
              TProtocolUtil.skip(iprot, field.type);
-
 
2776
            }
-
 
2777
            break;
-
 
2778
          case CUSTOMER_NAME:
-
 
2779
            if (field.type == TType.STRING) {
-
 
2780
              this.customer_name = iprot.readString();
-
 
2781
            } else { 
-
 
2782
              TProtocolUtil.skip(iprot, field.type);
-
 
2783
            }
-
 
2784
            break;
-
 
2785
          case CUSTOMER_MOBILENUMBER:
-
 
2786
            if (field.type == TType.STRING) {
-
 
2787
              this.customer_mobilenumber = iprot.readString();
-
 
2788
            } else { 
-
 
2789
              TProtocolUtil.skip(iprot, field.type);
-
 
2790
            }
-
 
2791
            break;
-
 
2792
          case CUSTOMER_PINCODE:
-
 
2793
            if (field.type == TType.STRING) {
-
 
2794
              this.customer_pincode = iprot.readString();
-
 
2795
            } else { 
-
 
2796
              TProtocolUtil.skip(iprot, field.type);
-
 
2797
            }
-
 
2798
            break;
-
 
2799
          case CUSTOMER_ADDRESS1:
-
 
2800
            if (field.type == TType.STRING) {
-
 
2801
              this.customer_address1 = iprot.readString();
-
 
2802
            } else { 
-
 
2803
              TProtocolUtil.skip(iprot, field.type);
-
 
2804
            }
-
 
2805
            break;
-
 
2806
          case CUSTOMER_ADDRESS2:
-
 
2807
            if (field.type == TType.STRING) {
-
 
2808
              this.customer_address2 = iprot.readString();
-
 
2809
            } else { 
-
 
2810
              TProtocolUtil.skip(iprot, field.type);
-
 
2811
            }
-
 
2812
            break;
-
 
2813
          case CUSTOMER_EMAIL:
-
 
2814
            if (field.type == TType.STRING) {
-
 
2815
              this.customer_email = iprot.readString();
-
 
2816
            } else { 
-
 
2817
              TProtocolUtil.skip(iprot, field.type);
-
 
2818
            }
-
 
2819
            break;
-
 
2820
          case CUSTOMER_CITY:
-
 
2821
            if (field.type == TType.STRING) {
-
 
2822
              this.customer_city = iprot.readString();
-
 
2823
            } else { 
-
 
2824
              TProtocolUtil.skip(iprot, field.type);
-
 
2825
            }
-
 
2826
            break;
-
 
2827
          case CUSTOMER_STATE:
-
 
2828
            if (field.type == TType.STRING) {
-
 
2829
              this.customer_state = iprot.readString();
-
 
2830
            } else { 
-
 
2831
              TProtocolUtil.skip(iprot, field.type);
-
 
2832
            }
-
 
2833
            break;
-
 
2834
          case STATUS:
-
 
2835
            if (field.type == TType.I32) {
-
 
2836
              this.status = OrderStatus.findByValue(iprot.readI32());
-
 
2837
            } else { 
-
 
2838
              TProtocolUtil.skip(iprot, field.type);
-
 
2839
            }
-
 
2840
            break;
-
 
2841
          case STATUS_DESCRIPTION:
-
 
2842
            if (field.type == TType.STRING) {
-
 
2843
              this.statusDescription = iprot.readString();
-
 
2844
            } else { 
-
 
2845
              TProtocolUtil.skip(iprot, field.type);
-
 
2846
            }
-
 
2847
            break;
-
 
2848
          case TOTAL_AMOUNT:
-
 
2849
            if (field.type == TType.DOUBLE) {
-
 
2850
              this.total_amount = iprot.readDouble();
-
 
2851
              setTotal_amountIsSet(true);
-
 
2852
            } else { 
-
 
2853
              TProtocolUtil.skip(iprot, field.type);
-
 
2854
            }
-
 
2855
            break;
-
 
2856
          case TOTAL_WEIGHT:
-
 
2857
            if (field.type == TType.DOUBLE) {
-
 
2858
              this.total_weight = iprot.readDouble();
-
 
2859
              setTotal_weightIsSet(true);
2895
              iprot.readListEnd();
2860
            } else { 
-
 
2861
              TProtocolUtil.skip(iprot, field.type);
-
 
2862
            }
-
 
2863
            break;
-
 
2864
          case INVOICE_NUMBER:
-
 
2865
            if (field.type == TType.STRING) {
-
 
2866
              this.invoice_number = iprot.readString();
-
 
2867
            } else { 
-
 
2868
              TProtocolUtil.skip(iprot, field.type);
-
 
2869
            }
-
 
2870
            break;
-
 
2871
          case BILLED_BY:
-
 
2872
            if (field.type == TType.STRING) {
-
 
2873
              this.billed_by = iprot.readString();
-
 
2874
            } else { 
-
 
2875
              TProtocolUtil.skip(iprot, field.type);
-
 
2876
            }
-
 
2877
            break;
-
 
2878
          case CREATED_TIMESTAMP:
-
 
2879
            if (field.type == TType.I64) {
-
 
2880
              this.created_timestamp = iprot.readI64();
-
 
2881
              setCreated_timestampIsSet(true);
-
 
2882
            } else { 
-
 
2883
              TProtocolUtil.skip(iprot, field.type);
-
 
2884
            }
2896
            }
2885
            break;
2897
          } else { 
2886
          case ACCEPTED_TIMESTAMP:
2898
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
2887
            if (field.type == TType.I64) {
2899
          }
2888
              this.accepted_timestamp = iprot.readI64();
2900
          break;
2889
              setAccepted_timestampIsSet(true);
2901
        case 4: // LOGISTICS_PROVIDER_ID
2890
            } else { 
2902
          if (field.type == org.apache.thrift.protocol.TType.I64) {
2891
              TProtocolUtil.skip(iprot, field.type);
2903
            this.logistics_provider_id = iprot.readI64();
2892
            }
2904
            setLogistics_provider_idIsSet(true);
2893
            break;
2905
          } else { 
2894
          case BILLING_TIMESTAMP:
2906
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
2895
            if (field.type == TType.I64) {
2907
          }
2896
              this.billing_timestamp = iprot.readI64();
2908
          break;
2897
              setBilling_timestampIsSet(true);
2909
        case 5: // AIRWAYBILL_NO
2898
            } else { 
2910
          if (field.type == org.apache.thrift.protocol.TType.STRING) {
2899
              TProtocolUtil.skip(iprot, field.type);
2911
            this.airwaybill_no = iprot.readString();
2900
            }
2912
          } else { 
2901
            break;
2913
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
2902
          case SHIPPING_TIMESTAMP:
2914
          }
2903
            if (field.type == TType.I64) {
2915
          break;
2904
              this.shipping_timestamp = iprot.readI64();
2916
        case 6: // TRACKING_ID
2905
              setShipping_timestampIsSet(true);
2917
          if (field.type == org.apache.thrift.protocol.TType.STRING) {
2906
            } else { 
2918
            this.tracking_id = iprot.readString();
2907
              TProtocolUtil.skip(iprot, field.type);
2919
          } else { 
2908
            }
2920
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
2909
            break;
2921
          }
2910
          case PICKUP_TIMESTAMP:
2922
          break;
2911
            if (field.type == TType.I64) {
2923
        case 7: // EXPECTED_DELIVERY_TIME
2912
              this.pickup_timestamp = iprot.readI64();
2924
          if (field.type == org.apache.thrift.protocol.TType.I64) {
2913
              setPickup_timestampIsSet(true);
2925
            this.expected_delivery_time = iprot.readI64();
2914
            } else { 
2926
            setExpected_delivery_timeIsSet(true);
2915
              TProtocolUtil.skip(iprot, field.type);
2927
          } else { 
2916
            }
2928
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
2917
            break;
2929
          }
2918
          case DELIVERY_TIMESTAMP:
2930
          break;
2919
            if (field.type == TType.I64) {
2931
        case 8: // CUSTOMER_ID
2920
              this.delivery_timestamp = iprot.readI64();
2932
          if (field.type == org.apache.thrift.protocol.TType.I64) {
2921
              setDelivery_timestampIsSet(true);
2933
            this.customer_id = iprot.readI64();
2922
            } else { 
2934
            setCustomer_idIsSet(true);
2923
              TProtocolUtil.skip(iprot, field.type);
2935
          } else { 
2924
            }
2936
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
2925
            break;
2937
          }
2926
          case OUTOFSTOCK_TIMESTAMP:
2938
          break;
2927
            if (field.type == TType.I64) {
2939
        case 9: // CUSTOMER_NAME
2928
              this.outofstock_timestamp = iprot.readI64();
2940
          if (field.type == org.apache.thrift.protocol.TType.STRING) {
2929
              setOutofstock_timestampIsSet(true);
2941
            this.customer_name = iprot.readString();
2930
            } else { 
2942
          } else { 
2931
              TProtocolUtil.skip(iprot, field.type);
2943
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
2932
            }
2944
          }
2933
            break;
2945
          break;
2934
          case JACKET_NUMBER:
2946
        case 10: // CUSTOMER_MOBILENUMBER
2935
            if (field.type == TType.I64) {
2947
          if (field.type == org.apache.thrift.protocol.TType.STRING) {
2936
              this.jacket_number = iprot.readI64();
2948
            this.customer_mobilenumber = iprot.readString();
2937
              setJacket_numberIsSet(true);
2949
          } else { 
2938
            } else { 
2950
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
2939
              TProtocolUtil.skip(iprot, field.type);
2951
          }
2940
            }
2952
          break;
2941
            break;
2953
        case 11: // CUSTOMER_PINCODE
2942
          case RECEIVER:
2954
          if (field.type == org.apache.thrift.protocol.TType.STRING) {
2943
            if (field.type == TType.STRING) {
2955
            this.customer_pincode = iprot.readString();
2944
              this.receiver = iprot.readString();
2956
          } else { 
2945
            } else { 
2957
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
2946
              TProtocolUtil.skip(iprot, field.type);
2958
          }
2947
            }
2959
          break;
2948
            break;
2960
        case 12: // CUSTOMER_ADDRESS1
2949
          case BATCH_NO:
2961
          if (field.type == org.apache.thrift.protocol.TType.STRING) {
2950
            if (field.type == TType.I64) {
2962
            this.customer_address1 = iprot.readString();
2951
              this.batchNo = iprot.readI64();
2963
          } else { 
2952
              setBatchNoIsSet(true);
2964
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
2953
            } else { 
2965
          }
2954
              TProtocolUtil.skip(iprot, field.type);
2966
          break;
2955
            }
2967
        case 13: // CUSTOMER_ADDRESS2
2956
            break;
2968
          if (field.type == org.apache.thrift.protocol.TType.STRING) {
2957
          case SERIAL_NO:
2969
            this.customer_address2 = iprot.readString();
2958
            if (field.type == TType.I64) {
2970
          } else { 
2959
              this.serialNo = iprot.readI64();
2971
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
2960
              setSerialNoIsSet(true);
2972
          }
2961
            } else { 
2973
          break;
2962
              TProtocolUtil.skip(iprot, field.type);
2974
        case 14: // CUSTOMER_EMAIL
2963
            }
2975
          if (field.type == org.apache.thrift.protocol.TType.STRING) {
2964
            break;
2976
            this.customer_email = iprot.readString();
2965
          case DOA_FLAG:
2977
          } else { 
2966
            if (field.type == TType.BOOL) {
2978
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
2967
              this.doaFlag = iprot.readBool();
2979
          }
2968
              setDoaFlagIsSet(true);
2980
          break;
2969
            } else { 
2981
        case 15: // CUSTOMER_CITY
2970
              TProtocolUtil.skip(iprot, field.type);
2982
          if (field.type == org.apache.thrift.protocol.TType.STRING) {
2971
            }
2983
            this.customer_city = iprot.readString();
2972
            break;
2984
          } else { 
2973
          case PICKUP_REQUEST_NO:
2985
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
2974
            if (field.type == TType.STRING) {
2986
          }
2975
              this.pickupRequestNo = iprot.readString();
2987
          break;
2976
            } else { 
2988
        case 16: // CUSTOMER_STATE
2977
              TProtocolUtil.skip(iprot, field.type);
2989
          if (field.type == org.apache.thrift.protocol.TType.STRING) {
2978
            }
2990
            this.customer_state = iprot.readString();
2979
            break;
2991
          } else { 
2980
          case TRANSACTION_ID:
2992
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
2981
            if (field.type == TType.I64) {
2993
          }
2982
              this.transactionId = iprot.readI64();
2994
          break;
2983
              setTransactionIdIsSet(true);
2995
        case 17: // STATUS
2984
            } else { 
2996
          if (field.type == org.apache.thrift.protocol.TType.I32) {
2985
              TProtocolUtil.skip(iprot, field.type);
2997
            this.status = OrderStatus.findByValue(iprot.readI32());
2986
            }
2998
          } else { 
2987
            break;
2999
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
2988
          case PURCHASE_ORDER_NO:
3000
          }
2989
            if (field.type == TType.STRING) {
3001
          break;
2990
              this.purchaseOrderNo = iprot.readString();
3002
        case 18: // STATUS_DESCRIPTION
2991
            } else { 
3003
          if (field.type == org.apache.thrift.protocol.TType.STRING) {
2992
              TProtocolUtil.skip(iprot, field.type);
3004
            this.statusDescription = iprot.readString();
2993
            }
3005
          } else { 
2994
            break;
3006
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
2995
          case COD:
3007
          }
2996
            if (field.type == TType.BOOL) {
3008
          break;
2997
              this.cod = iprot.readBool();
3009
        case 19: // TOTAL_AMOUNT
2998
              setCodIsSet(true);
3010
          if (field.type == org.apache.thrift.protocol.TType.DOUBLE) {
2999
            } else { 
3011
            this.total_amount = iprot.readDouble();
3000
              TProtocolUtil.skip(iprot, field.type);
3012
            setTotal_amountIsSet(true);
3001
            }
3013
          } else { 
3002
            break;
3014
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
3003
        }
3015
          }
3004
        iprot.readFieldEnd();
3016
          break;
-
 
3017
        case 20: // TOTAL_WEIGHT
-
 
3018
          if (field.type == org.apache.thrift.protocol.TType.DOUBLE) {
-
 
3019
            this.total_weight = iprot.readDouble();
-
 
3020
            setTotal_weightIsSet(true);
-
 
3021
          } else { 
-
 
3022
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
3023
          }
-
 
3024
          break;
-
 
3025
        case 21: // INVOICE_NUMBER
-
 
3026
          if (field.type == org.apache.thrift.protocol.TType.STRING) {
-
 
3027
            this.invoice_number = iprot.readString();
-
 
3028
          } else { 
-
 
3029
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
3030
          }
-
 
3031
          break;
-
 
3032
        case 22: // BILLED_BY
-
 
3033
          if (field.type == org.apache.thrift.protocol.TType.STRING) {
-
 
3034
            this.billed_by = iprot.readString();
-
 
3035
          } else { 
-
 
3036
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
3037
          }
-
 
3038
          break;
-
 
3039
        case 23: // CREATED_TIMESTAMP
-
 
3040
          if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
3041
            this.created_timestamp = iprot.readI64();
-
 
3042
            setCreated_timestampIsSet(true);
-
 
3043
          } else { 
-
 
3044
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
3045
          }
-
 
3046
          break;
-
 
3047
        case 24: // ACCEPTED_TIMESTAMP
-
 
3048
          if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
3049
            this.accepted_timestamp = iprot.readI64();
-
 
3050
            setAccepted_timestampIsSet(true);
-
 
3051
          } else { 
-
 
3052
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
3053
          }
-
 
3054
          break;
-
 
3055
        case 25: // BILLING_TIMESTAMP
-
 
3056
          if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
3057
            this.billing_timestamp = iprot.readI64();
-
 
3058
            setBilling_timestampIsSet(true);
-
 
3059
          } else { 
-
 
3060
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
3061
          }
-
 
3062
          break;
-
 
3063
        case 26: // SHIPPING_TIMESTAMP
-
 
3064
          if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
3065
            this.shipping_timestamp = iprot.readI64();
-
 
3066
            setShipping_timestampIsSet(true);
-
 
3067
          } else { 
-
 
3068
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
3069
          }
-
 
3070
          break;
-
 
3071
        case 27: // PICKUP_TIMESTAMP
-
 
3072
          if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
3073
            this.pickup_timestamp = iprot.readI64();
-
 
3074
            setPickup_timestampIsSet(true);
-
 
3075
          } else { 
-
 
3076
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
3077
          }
-
 
3078
          break;
-
 
3079
        case 28: // DELIVERY_TIMESTAMP
-
 
3080
          if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
3081
            this.delivery_timestamp = iprot.readI64();
-
 
3082
            setDelivery_timestampIsSet(true);
-
 
3083
          } else { 
-
 
3084
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
3085
          }
-
 
3086
          break;
-
 
3087
        case 29: // OUTOFSTOCK_TIMESTAMP
-
 
3088
          if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
3089
            this.outofstock_timestamp = iprot.readI64();
-
 
3090
            setOutofstock_timestampIsSet(true);
-
 
3091
          } else { 
-
 
3092
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
3093
          }
-
 
3094
          break;
-
 
3095
        case 30: // JACKET_NUMBER
-
 
3096
          if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
3097
            this.jacket_number = iprot.readI64();
-
 
3098
            setJacket_numberIsSet(true);
-
 
3099
          } else { 
-
 
3100
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
3101
          }
-
 
3102
          break;
-
 
3103
        case 31: // RECEIVER
-
 
3104
          if (field.type == org.apache.thrift.protocol.TType.STRING) {
-
 
3105
            this.receiver = iprot.readString();
-
 
3106
          } else { 
-
 
3107
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
3108
          }
-
 
3109
          break;
-
 
3110
        case 32: // BATCH_NO
-
 
3111
          if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
3112
            this.batchNo = iprot.readI64();
-
 
3113
            setBatchNoIsSet(true);
-
 
3114
          } else { 
-
 
3115
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
3116
          }
-
 
3117
          break;
-
 
3118
        case 33: // SERIAL_NO
-
 
3119
          if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
3120
            this.serialNo = iprot.readI64();
-
 
3121
            setSerialNoIsSet(true);
-
 
3122
          } else { 
-
 
3123
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
3124
          }
-
 
3125
          break;
-
 
3126
        case 34: // DOA_FLAG
-
 
3127
          if (field.type == org.apache.thrift.protocol.TType.BOOL) {
-
 
3128
            this.doaFlag = iprot.readBool();
-
 
3129
            setDoaFlagIsSet(true);
-
 
3130
          } else { 
-
 
3131
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
3132
          }
-
 
3133
          break;
-
 
3134
        case 35: // PICKUP_REQUEST_NO
-
 
3135
          if (field.type == org.apache.thrift.protocol.TType.STRING) {
-
 
3136
            this.pickupRequestNo = iprot.readString();
-
 
3137
          } else { 
-
 
3138
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
3139
          }
-
 
3140
          break;
-
 
3141
        case 36: // TRANSACTION_ID
-
 
3142
          if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
3143
            this.transactionId = iprot.readI64();
-
 
3144
            setTransactionIdIsSet(true);
-
 
3145
          } else { 
-
 
3146
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
3147
          }
-
 
3148
          break;
-
 
3149
        case 37: // PURCHASE_ORDER_NO
-
 
3150
          if (field.type == org.apache.thrift.protocol.TType.STRING) {
-
 
3151
            this.purchaseOrderNo = iprot.readString();
-
 
3152
          } else { 
-
 
3153
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
3154
          }
-
 
3155
          break;
-
 
3156
        case 38: // COD
-
 
3157
          if (field.type == org.apache.thrift.protocol.TType.BOOL) {
-
 
3158
            this.cod = iprot.readBool();
-
 
3159
            setCodIsSet(true);
-
 
3160
          } else { 
-
 
3161
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
3162
          }
-
 
3163
          break;
-
 
3164
        default:
-
 
3165
          org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
3005
      }
3166
      }
-
 
3167
      iprot.readFieldEnd();
3006
    }
3168
    }
3007
    iprot.readStructEnd();
3169
    iprot.readStructEnd();
3008
    validate();
3170
    validate();
3009
  }
3171
  }
3010
 
3172
 
3011
  public void write(TProtocol oprot) throws TException {
3173
  public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
3012
    validate();
3174
    validate();
3013
 
3175
 
3014
    oprot.writeStructBegin(STRUCT_DESC);
3176
    oprot.writeStructBegin(STRUCT_DESC);
3015
    oprot.writeFieldBegin(ID_FIELD_DESC);
3177
    oprot.writeFieldBegin(ID_FIELD_DESC);
3016
    oprot.writeI64(this.id);
3178
    oprot.writeI64(this.id);
Line 3019... Line 3181...
3019
    oprot.writeI64(this.warehouse_id);
3181
    oprot.writeI64(this.warehouse_id);
3020
    oprot.writeFieldEnd();
3182
    oprot.writeFieldEnd();
3021
    if (this.lineitems != null) {
3183
    if (this.lineitems != null) {
3022
      oprot.writeFieldBegin(LINEITEMS_FIELD_DESC);
3184
      oprot.writeFieldBegin(LINEITEMS_FIELD_DESC);
3023
      {
3185
      {
3024
        oprot.writeListBegin(new TList(TType.STRUCT, this.lineitems.size()));
3186
        oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.lineitems.size()));
3025
        for (LineItem _iter3 : this.lineitems)
3187
        for (LineItem _iter3 : this.lineitems)
3026
        {
3188
        {
3027
          _iter3.write(oprot);
3189
          _iter3.write(oprot);
3028
        }
3190
        }
3029
        oprot.writeListEnd();
3191
        oprot.writeListEnd();
Line 3288... Line 3450...
3288
    if (!first) sb.append(", ");
3450
    if (!first) sb.append(", ");
3289
    sb.append("status:");
3451
    sb.append("status:");
3290
    if (this.status == null) {
3452
    if (this.status == null) {
3291
      sb.append("null");
3453
      sb.append("null");
3292
    } else {
3454
    } else {
3293
      String status_name = status.name();
-
 
3294
      if (status_name != null) {
-
 
3295
        sb.append(status_name);
-
 
3296
        sb.append(" (");
-
 
3297
      }
-
 
3298
      sb.append(this.status);
3455
      sb.append(this.status);
3299
      if (status_name != null) {
-
 
3300
        sb.append(")");
-
 
3301
      }
-
 
3302
    }
3456
    }
3303
    first = false;
3457
    first = false;
3304
    if (!first) sb.append(", ");
3458
    if (!first) sb.append(", ");
3305
    sb.append("statusDescription:");
3459
    sb.append("statusDescription:");
3306
    if (this.statusDescription == null) {
3460
    if (this.statusDescription == null) {
Line 3411... Line 3565...
3411
    first = false;
3565
    first = false;
3412
    sb.append(")");
3566
    sb.append(")");
3413
    return sb.toString();
3567
    return sb.toString();
3414
  }
3568
  }
3415
 
3569
 
3416
  public void validate() throws TException {
3570
  public void validate() throws org.apache.thrift.TException {
3417
    // check for required fields
3571
    // check for required fields
3418
  }
3572
  }
3419
 
3573
 
-
 
3574
  private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
3575
    try {
-
 
3576
      write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
3577
    } catch (org.apache.thrift.TException te) {
-
 
3578
      throw new java.io.IOException(te);
-
 
3579
    }
-
 
3580
  }
-
 
3581
 
-
 
3582
  private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
3583
    try {
-
 
3584
      // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
3585
      __isset_bit_vector = new BitSet(1);
-
 
3586
      read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
3587
    } catch (org.apache.thrift.TException te) {
-
 
3588
      throw new java.io.IOException(te);
-
 
3589
    }
-
 
3590
  }
-
 
3591
 
3420
}
3592
}
3421
 
3593