Subversion Repositories SmartDukaan

Rev

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

Rev 9416 Rev 12357
Line 47... Line 47...
47
  private static final org.apache.thrift.protocol.TField RTO_ORDERS_FIELD_DESC = new org.apache.thrift.protocol.TField("rtoOrders", org.apache.thrift.protocol.TType.I64, (short)22);
47
  private static final org.apache.thrift.protocol.TField RTO_ORDERS_FIELD_DESC = new org.apache.thrift.protocol.TField("rtoOrders", org.apache.thrift.protocol.TType.I64, (short)22);
48
  private static final org.apache.thrift.protocol.TField LAST_XDAYS_SALE_FIELD_DESC = new org.apache.thrift.protocol.TField("lastXdaysSale", org.apache.thrift.protocol.TType.STRING, (short)23);
48
  private static final org.apache.thrift.protocol.TField LAST_XDAYS_SALE_FIELD_DESC = new org.apache.thrift.protocol.TField("lastXdaysSale", org.apache.thrift.protocol.TType.STRING, (short)23);
49
  private static final org.apache.thrift.protocol.TField PREVIOUSLY_ORDERED_QTY_FIELD_DESC = new org.apache.thrift.protocol.TField("previouslyOrderedQty", org.apache.thrift.protocol.TType.I64, (short)24);
49
  private static final org.apache.thrift.protocol.TField PREVIOUSLY_ORDERED_QTY_FIELD_DESC = new org.apache.thrift.protocol.TField("previouslyOrderedQty", org.apache.thrift.protocol.TType.I64, (short)24);
50
  private static final org.apache.thrift.protocol.TField NLC_FIELD_DESC = new org.apache.thrift.protocol.TField("nlc", org.apache.thrift.protocol.TType.DOUBLE, (short)25);
50
  private static final org.apache.thrift.protocol.TField NLC_FIELD_DESC = new org.apache.thrift.protocol.TField("nlc", org.apache.thrift.protocol.TType.DOUBLE, (short)25);
51
  private static final org.apache.thrift.protocol.TField MRP_FIELD_DESC = new org.apache.thrift.protocol.TField("mrp", org.apache.thrift.protocol.TType.DOUBLE, (short)26);
51
  private static final org.apache.thrift.protocol.TField MRP_FIELD_DESC = new org.apache.thrift.protocol.TField("mrp", org.apache.thrift.protocol.TType.DOUBLE, (short)26);
-
 
52
  private static final org.apache.thrift.protocol.TField NLC_P_FIELD_DESC = new org.apache.thrift.protocol.TField("nlcP", org.apache.thrift.protocol.TType.DOUBLE, (short)27);
-
 
53
  private static final org.apache.thrift.protocol.TField VAT_DIFF_FIELD_DESC = new org.apache.thrift.protocol.TField("vatDiff", org.apache.thrift.protocol.TType.DOUBLE, (short)28);
52
 
54
 
53
  private long orderId; // required
55
  private long orderId; // required
54
  private long itemId; // required
56
  private long itemId; // required
55
  private String productGroup; // required
57
  private String productGroup; // required
56
  private String brand; // required
58
  private String brand; // required
Line 74... Line 76...
74
  private long rtoOrders; // required
76
  private long rtoOrders; // required
75
  private String lastXdaysSale; // required
77
  private String lastXdaysSale; // required
76
  private long previouslyOrderedQty; // required
78
  private long previouslyOrderedQty; // required
77
  private double nlc; // required
79
  private double nlc; // required
78
  private double mrp; // required
80
  private double mrp; // required
-
 
81
  private double nlcP; // required
-
 
82
  private double vatDiff; // required
79
 
83
 
80
  /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
84
  /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
81
  public enum _Fields implements org.apache.thrift.TFieldIdEnum {
85
  public enum _Fields implements org.apache.thrift.TFieldIdEnum {
82
    ORDER_ID((short)1, "orderId"),
86
    ORDER_ID((short)1, "orderId"),
83
    ITEM_ID((short)2, "itemId"),
87
    ITEM_ID((short)2, "itemId"),
Line 102... Line 106...
102
    NUMBER_OF_DAYS_IN_STOCK((short)21, "numberOfDaysInStock"),
106
    NUMBER_OF_DAYS_IN_STOCK((short)21, "numberOfDaysInStock"),
103
    RTO_ORDERS((short)22, "rtoOrders"),
107
    RTO_ORDERS((short)22, "rtoOrders"),
104
    LAST_XDAYS_SALE((short)23, "lastXdaysSale"),
108
    LAST_XDAYS_SALE((short)23, "lastXdaysSale"),
105
    PREVIOUSLY_ORDERED_QTY((short)24, "previouslyOrderedQty"),
109
    PREVIOUSLY_ORDERED_QTY((short)24, "previouslyOrderedQty"),
106
    NLC((short)25, "nlc"),
110
    NLC((short)25, "nlc"),
107
    MRP((short)26, "mrp");
111
    MRP((short)26, "mrp"),
-
 
112
    NLC_P((short)27, "nlcP"),
-
 
113
    VAT_DIFF((short)28, "vatDiff");
108
 
114
 
109
    private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
115
    private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
110
 
116
 
111
    static {
117
    static {
112
      for (_Fields field : EnumSet.allOf(_Fields.class)) {
118
      for (_Fields field : EnumSet.allOf(_Fields.class)) {
Line 169... Line 175...
169
          return PREVIOUSLY_ORDERED_QTY;
175
          return PREVIOUSLY_ORDERED_QTY;
170
        case 25: // NLC
176
        case 25: // NLC
171
          return NLC;
177
          return NLC;
172
        case 26: // MRP
178
        case 26: // MRP
173
          return MRP;
179
          return MRP;
-
 
180
        case 27: // NLC_P
-
 
181
          return NLC_P;
-
 
182
        case 28: // VAT_DIFF
-
 
183
          return VAT_DIFF;
174
        default:
184
        default:
175
          return null;
185
          return null;
176
      }
186
      }
177
    }
187
    }
178
 
188
 
Line 228... Line 238...
228
  private static final int __NUMBEROFDAYSINSTOCK_ISSET_ID = 14;
238
  private static final int __NUMBEROFDAYSINSTOCK_ISSET_ID = 14;
229
  private static final int __RTOORDERS_ISSET_ID = 15;
239
  private static final int __RTOORDERS_ISSET_ID = 15;
230
  private static final int __PREVIOUSLYORDEREDQTY_ISSET_ID = 16;
240
  private static final int __PREVIOUSLYORDEREDQTY_ISSET_ID = 16;
231
  private static final int __NLC_ISSET_ID = 17;
241
  private static final int __NLC_ISSET_ID = 17;
232
  private static final int __MRP_ISSET_ID = 18;
242
  private static final int __MRP_ISSET_ID = 18;
-
 
243
  private static final int __NLCP_ISSET_ID = 19;
-
 
244
  private static final int __VATDIFF_ISSET_ID = 20;
233
  private BitSet __isset_bit_vector = new BitSet(19);
245
  private BitSet __isset_bit_vector = new BitSet(21);
234
 
246
 
235
  public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
247
  public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
236
  static {
248
  static {
237
    Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
249
    Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
238
    tmpMap.put(_Fields.ORDER_ID, new org.apache.thrift.meta_data.FieldMetaData("orderId", org.apache.thrift.TFieldRequirementType.DEFAULT, 
250
    tmpMap.put(_Fields.ORDER_ID, new org.apache.thrift.meta_data.FieldMetaData("orderId", org.apache.thrift.TFieldRequirementType.DEFAULT, 
Line 285... Line 297...
285
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
297
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
286
    tmpMap.put(_Fields.NLC, new org.apache.thrift.meta_data.FieldMetaData("nlc", org.apache.thrift.TFieldRequirementType.DEFAULT, 
298
    tmpMap.put(_Fields.NLC, new org.apache.thrift.meta_data.FieldMetaData("nlc", org.apache.thrift.TFieldRequirementType.DEFAULT, 
287
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
299
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
288
    tmpMap.put(_Fields.MRP, new org.apache.thrift.meta_data.FieldMetaData("mrp", org.apache.thrift.TFieldRequirementType.DEFAULT, 
300
    tmpMap.put(_Fields.MRP, new org.apache.thrift.meta_data.FieldMetaData("mrp", org.apache.thrift.TFieldRequirementType.DEFAULT, 
289
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
301
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
-
 
302
    tmpMap.put(_Fields.NLC_P, new org.apache.thrift.meta_data.FieldMetaData("nlcP", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
303
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
-
 
304
    tmpMap.put(_Fields.VAT_DIFF, new org.apache.thrift.meta_data.FieldMetaData("vatDiff", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
305
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
290
    metaDataMap = Collections.unmodifiableMap(tmpMap);
306
    metaDataMap = Collections.unmodifiableMap(tmpMap);
291
    org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(LineItem.class, metaDataMap);
307
    org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(LineItem.class, metaDataMap);
292
  }
308
  }
293
 
309
 
294
  public LineItem() {
310
  public LineItem() {
Line 318... Line 334...
318
    long numberOfDaysInStock,
334
    long numberOfDaysInStock,
319
    long rtoOrders,
335
    long rtoOrders,
320
    String lastXdaysSale,
336
    String lastXdaysSale,
321
    long previouslyOrderedQty,
337
    long previouslyOrderedQty,
322
    double nlc,
338
    double nlc,
323
    double mrp)
339
    double mrp,
-
 
340
    double nlcP,
-
 
341
    double vatDiff)
324
  {
342
  {
325
    this();
343
    this();
326
    this.orderId = orderId;
344
    this.orderId = orderId;
327
    setOrderIdIsSet(true);
345
    setOrderIdIsSet(true);
328
    this.itemId = itemId;
346
    this.itemId = itemId;
Line 366... Line 384...
366
    setPreviouslyOrderedQtyIsSet(true);
384
    setPreviouslyOrderedQtyIsSet(true);
367
    this.nlc = nlc;
385
    this.nlc = nlc;
368
    setNlcIsSet(true);
386
    setNlcIsSet(true);
369
    this.mrp = mrp;
387
    this.mrp = mrp;
370
    setMrpIsSet(true);
388
    setMrpIsSet(true);
-
 
389
    this.nlcP = nlcP;
-
 
390
    setNlcPIsSet(true);
-
 
391
    this.vatDiff = vatDiff;
-
 
392
    setVatDiffIsSet(true);
371
  }
393
  }
372
 
394
 
373
  /**
395
  /**
374
   * Performs a deep copy on <i>other</i>.
396
   * Performs a deep copy on <i>other</i>.
375
   */
397
   */
Line 414... Line 436...
414
      this.lastXdaysSale = other.lastXdaysSale;
436
      this.lastXdaysSale = other.lastXdaysSale;
415
    }
437
    }
416
    this.previouslyOrderedQty = other.previouslyOrderedQty;
438
    this.previouslyOrderedQty = other.previouslyOrderedQty;
417
    this.nlc = other.nlc;
439
    this.nlc = other.nlc;
418
    this.mrp = other.mrp;
440
    this.mrp = other.mrp;
-
 
441
    this.nlcP = other.nlcP;
-
 
442
    this.vatDiff = other.vatDiff;
419
  }
443
  }
420
 
444
 
421
  public LineItem deepCopy() {
445
  public LineItem deepCopy() {
422
    return new LineItem(this);
446
    return new LineItem(this);
423
  }
447
  }
Line 467... Line 491...
467
    this.previouslyOrderedQty = 0;
491
    this.previouslyOrderedQty = 0;
468
    setNlcIsSet(false);
492
    setNlcIsSet(false);
469
    this.nlc = 0.0;
493
    this.nlc = 0.0;
470
    setMrpIsSet(false);
494
    setMrpIsSet(false);
471
    this.mrp = 0.0;
495
    this.mrp = 0.0;
-
 
496
    setNlcPIsSet(false);
-
 
497
    this.nlcP = 0.0;
-
 
498
    setVatDiffIsSet(false);
-
 
499
    this.vatDiff = 0.0;
472
  }
500
  }
473
 
501
 
474
  public long getOrderId() {
502
  public long getOrderId() {
475
    return this.orderId;
503
    return this.orderId;
476
  }
504
  }
Line 1048... Line 1076...
1048
 
1076
 
1049
  public void setMrpIsSet(boolean value) {
1077
  public void setMrpIsSet(boolean value) {
1050
    __isset_bit_vector.set(__MRP_ISSET_ID, value);
1078
    __isset_bit_vector.set(__MRP_ISSET_ID, value);
1051
  }
1079
  }
1052
 
1080
 
-
 
1081
  public double getNlcP() {
-
 
1082
    return this.nlcP;
-
 
1083
  }
-
 
1084
 
-
 
1085
  public void setNlcP(double nlcP) {
-
 
1086
    this.nlcP = nlcP;
-
 
1087
    setNlcPIsSet(true);
-
 
1088
  }
-
 
1089
 
-
 
1090
  public void unsetNlcP() {
-
 
1091
    __isset_bit_vector.clear(__NLCP_ISSET_ID);
-
 
1092
  }
-
 
1093
 
-
 
1094
  /** Returns true if field nlcP is set (has been assigned a value) and false otherwise */
-
 
1095
  public boolean isSetNlcP() {
-
 
1096
    return __isset_bit_vector.get(__NLCP_ISSET_ID);
-
 
1097
  }
-
 
1098
 
-
 
1099
  public void setNlcPIsSet(boolean value) {
-
 
1100
    __isset_bit_vector.set(__NLCP_ISSET_ID, value);
-
 
1101
  }
-
 
1102
 
-
 
1103
  public double getVatDiff() {
-
 
1104
    return this.vatDiff;
-
 
1105
  }
-
 
1106
 
-
 
1107
  public void setVatDiff(double vatDiff) {
-
 
1108
    this.vatDiff = vatDiff;
-
 
1109
    setVatDiffIsSet(true);
-
 
1110
  }
-
 
1111
 
-
 
1112
  public void unsetVatDiff() {
-
 
1113
    __isset_bit_vector.clear(__VATDIFF_ISSET_ID);
-
 
1114
  }
-
 
1115
 
-
 
1116
  /** Returns true if field vatDiff is set (has been assigned a value) and false otherwise */
-
 
1117
  public boolean isSetVatDiff() {
-
 
1118
    return __isset_bit_vector.get(__VATDIFF_ISSET_ID);
-
 
1119
  }
-
 
1120
 
-
 
1121
  public void setVatDiffIsSet(boolean value) {
-
 
1122
    __isset_bit_vector.set(__VATDIFF_ISSET_ID, value);
-
 
1123
  }
-
 
1124
 
1053
  public void setFieldValue(_Fields field, Object value) {
1125
  public void setFieldValue(_Fields field, Object value) {
1054
    switch (field) {
1126
    switch (field) {
1055
    case ORDER_ID:
1127
    case ORDER_ID:
1056
      if (value == null) {
1128
      if (value == null) {
1057
        unsetOrderId();
1129
        unsetOrderId();
Line 1258... Line 1330...
1258
      } else {
1330
      } else {
1259
        setMrp((Double)value);
1331
        setMrp((Double)value);
1260
      }
1332
      }
1261
      break;
1333
      break;
1262
 
1334
 
-
 
1335
    case NLC_P:
-
 
1336
      if (value == null) {
-
 
1337
        unsetNlcP();
-
 
1338
      } else {
-
 
1339
        setNlcP((Double)value);
-
 
1340
      }
-
 
1341
      break;
-
 
1342
 
-
 
1343
    case VAT_DIFF:
-
 
1344
      if (value == null) {
-
 
1345
        unsetVatDiff();
-
 
1346
      } else {
-
 
1347
        setVatDiff((Double)value);
-
 
1348
      }
-
 
1349
      break;
-
 
1350
 
1263
    }
1351
    }
1264
  }
1352
  }
1265
 
1353
 
1266
  public Object getFieldValue(_Fields field) {
1354
  public Object getFieldValue(_Fields field) {
1267
    switch (field) {
1355
    switch (field) {
Line 1341... Line 1429...
1341
      return Double.valueOf(getNlc());
1429
      return Double.valueOf(getNlc());
1342
 
1430
 
1343
    case MRP:
1431
    case MRP:
1344
      return Double.valueOf(getMrp());
1432
      return Double.valueOf(getMrp());
1345
 
1433
 
-
 
1434
    case NLC_P:
-
 
1435
      return Double.valueOf(getNlcP());
-
 
1436
 
-
 
1437
    case VAT_DIFF:
-
 
1438
      return Double.valueOf(getVatDiff());
-
 
1439
 
1346
    }
1440
    }
1347
    throw new IllegalStateException();
1441
    throw new IllegalStateException();
1348
  }
1442
  }
1349
 
1443
 
1350
  /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
1444
  /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
Line 1404... Line 1498...
1404
      return isSetPreviouslyOrderedQty();
1498
      return isSetPreviouslyOrderedQty();
1405
    case NLC:
1499
    case NLC:
1406
      return isSetNlc();
1500
      return isSetNlc();
1407
    case MRP:
1501
    case MRP:
1408
      return isSetMrp();
1502
      return isSetMrp();
-
 
1503
    case NLC_P:
-
 
1504
      return isSetNlcP();
-
 
1505
    case VAT_DIFF:
-
 
1506
      return isSetVatDiff();
1409
    }
1507
    }
1410
    throw new IllegalStateException();
1508
    throw new IllegalStateException();
1411
  }
1509
  }
1412
 
1510
 
1413
  @Override
1511
  @Override
Line 1655... Line 1753...
1655
        return false;
1753
        return false;
1656
      if (this.mrp != that.mrp)
1754
      if (this.mrp != that.mrp)
1657
        return false;
1755
        return false;
1658
    }
1756
    }
1659
 
1757
 
-
 
1758
    boolean this_present_nlcP = true;
-
 
1759
    boolean that_present_nlcP = true;
-
 
1760
    if (this_present_nlcP || that_present_nlcP) {
-
 
1761
      if (!(this_present_nlcP && that_present_nlcP))
-
 
1762
        return false;
-
 
1763
      if (this.nlcP != that.nlcP)
-
 
1764
        return false;
-
 
1765
    }
-
 
1766
 
-
 
1767
    boolean this_present_vatDiff = true;
-
 
1768
    boolean that_present_vatDiff = true;
-
 
1769
    if (this_present_vatDiff || that_present_vatDiff) {
-
 
1770
      if (!(this_present_vatDiff && that_present_vatDiff))
-
 
1771
        return false;
-
 
1772
      if (this.vatDiff != that.vatDiff)
-
 
1773
        return false;
-
 
1774
    }
-
 
1775
 
1660
    return true;
1776
    return true;
1661
  }
1777
  }
1662
 
1778
 
1663
  @Override
1779
  @Override
1664
  public int hashCode() {
1780
  public int hashCode() {
Line 1931... Line 2047...
1931
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.mrp, typedOther.mrp);
2047
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.mrp, typedOther.mrp);
1932
      if (lastComparison != 0) {
2048
      if (lastComparison != 0) {
1933
        return lastComparison;
2049
        return lastComparison;
1934
      }
2050
      }
1935
    }
2051
    }
-
 
2052
    lastComparison = Boolean.valueOf(isSetNlcP()).compareTo(typedOther.isSetNlcP());
-
 
2053
    if (lastComparison != 0) {
-
 
2054
      return lastComparison;
-
 
2055
    }
-
 
2056
    if (isSetNlcP()) {
-
 
2057
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.nlcP, typedOther.nlcP);
-
 
2058
      if (lastComparison != 0) {
-
 
2059
        return lastComparison;
-
 
2060
      }
-
 
2061
    }
-
 
2062
    lastComparison = Boolean.valueOf(isSetVatDiff()).compareTo(typedOther.isSetVatDiff());
-
 
2063
    if (lastComparison != 0) {
-
 
2064
      return lastComparison;
-
 
2065
    }
-
 
2066
    if (isSetVatDiff()) {
-
 
2067
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.vatDiff, typedOther.vatDiff);
-
 
2068
      if (lastComparison != 0) {
-
 
2069
        return lastComparison;
-
 
2070
      }
-
 
2071
    }
1936
    return 0;
2072
    return 0;
1937
  }
2073
  }
1938
 
2074
 
1939
  public _Fields fieldForId(int fieldId) {
2075
  public _Fields fieldForId(int fieldId) {
1940
    return _Fields.findByThriftId(fieldId);
2076
    return _Fields.findByThriftId(fieldId);
Line 2149... Line 2285...
2149
            setMrpIsSet(true);
2285
            setMrpIsSet(true);
2150
          } else { 
2286
          } else { 
2151
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
2287
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
2152
          }
2288
          }
2153
          break;
2289
          break;
-
 
2290
        case 27: // NLC_P
-
 
2291
          if (field.type == org.apache.thrift.protocol.TType.DOUBLE) {
-
 
2292
            this.nlcP = iprot.readDouble();
-
 
2293
            setNlcPIsSet(true);
-
 
2294
          } else { 
-
 
2295
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
2296
          }
-
 
2297
          break;
-
 
2298
        case 28: // VAT_DIFF
-
 
2299
          if (field.type == org.apache.thrift.protocol.TType.DOUBLE) {
-
 
2300
            this.vatDiff = iprot.readDouble();
-
 
2301
            setVatDiffIsSet(true);
-
 
2302
          } else { 
-
 
2303
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
2304
          }
-
 
2305
          break;
2154
        default:
2306
        default:
2155
          org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
2307
          org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
2156
      }
2308
      }
2157
      iprot.readFieldEnd();
2309
      iprot.readFieldEnd();
2158
    }
2310
    }
Line 2254... Line 2406...
2254
    oprot.writeDouble(this.nlc);
2406
    oprot.writeDouble(this.nlc);
2255
    oprot.writeFieldEnd();
2407
    oprot.writeFieldEnd();
2256
    oprot.writeFieldBegin(MRP_FIELD_DESC);
2408
    oprot.writeFieldBegin(MRP_FIELD_DESC);
2257
    oprot.writeDouble(this.mrp);
2409
    oprot.writeDouble(this.mrp);
2258
    oprot.writeFieldEnd();
2410
    oprot.writeFieldEnd();
-
 
2411
    oprot.writeFieldBegin(NLC_P_FIELD_DESC);
-
 
2412
    oprot.writeDouble(this.nlcP);
-
 
2413
    oprot.writeFieldEnd();
-
 
2414
    oprot.writeFieldBegin(VAT_DIFF_FIELD_DESC);
-
 
2415
    oprot.writeDouble(this.vatDiff);
-
 
2416
    oprot.writeFieldEnd();
2259
    oprot.writeFieldStop();
2417
    oprot.writeFieldStop();
2260
    oprot.writeStructEnd();
2418
    oprot.writeStructEnd();
2261
  }
2419
  }
2262
 
2420
 
2263
  @Override
2421
  @Override
Line 2394... Line 2552...
2394
    first = false;
2552
    first = false;
2395
    if (!first) sb.append(", ");
2553
    if (!first) sb.append(", ");
2396
    sb.append("mrp:");
2554
    sb.append("mrp:");
2397
    sb.append(this.mrp);
2555
    sb.append(this.mrp);
2398
    first = false;
2556
    first = false;
-
 
2557
    if (!first) sb.append(", ");
-
 
2558
    sb.append("nlcP:");
-
 
2559
    sb.append(this.nlcP);
-
 
2560
    first = false;
-
 
2561
    if (!first) sb.append(", ");
-
 
2562
    sb.append("vatDiff:");
-
 
2563
    sb.append(this.vatDiff);
-
 
2564
    first = false;
2399
    sb.append(")");
2565
    sb.append(")");
2400
    return sb.toString();
2566
    return sb.toString();
2401
  }
2567
  }
2402
 
2568
 
2403
  public void validate() throws org.apache.thrift.TException {
2569
  public void validate() throws org.apache.thrift.TException {