Subversion Repositories SmartDukaan

Rev

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

Rev 12280 Rev 19421
Line 42... Line 42...
42
  private static final org.apache.thrift.protocol.TField ITEM_NUMBER_FIELD_DESC = new org.apache.thrift.protocol.TField("item_number", org.apache.thrift.protocol.TType.STRING, (short)17);
42
  private static final org.apache.thrift.protocol.TField ITEM_NUMBER_FIELD_DESC = new org.apache.thrift.protocol.TField("item_number", org.apache.thrift.protocol.TType.STRING, (short)17);
43
  private static final org.apache.thrift.protocol.TField DEAL_TEXT_FIELD_DESC = new org.apache.thrift.protocol.TField("dealText", org.apache.thrift.protocol.TType.STRING, (short)18);
43
  private static final org.apache.thrift.protocol.TField DEAL_TEXT_FIELD_DESC = new org.apache.thrift.protocol.TField("dealText", org.apache.thrift.protocol.TType.STRING, (short)18);
44
  private static final org.apache.thrift.protocol.TField WARRANTRY_EXPIRY_TIMESTAMP_FIELD_DESC = new org.apache.thrift.protocol.TField("warrantry_expiry_timestamp", org.apache.thrift.protocol.TType.I64, (short)19);
44
  private static final org.apache.thrift.protocol.TField WARRANTRY_EXPIRY_TIMESTAMP_FIELD_DESC = new org.apache.thrift.protocol.TField("warrantry_expiry_timestamp", org.apache.thrift.protocol.TType.I64, (short)19);
45
  private static final org.apache.thrift.protocol.TField VAT_RATE_FIELD_DESC = new org.apache.thrift.protocol.TField("vatRate", org.apache.thrift.protocol.TType.DOUBLE, (short)20);
45
  private static final org.apache.thrift.protocol.TField VAT_RATE_FIELD_DESC = new org.apache.thrift.protocol.TField("vatRate", org.apache.thrift.protocol.TType.DOUBLE, (short)20);
46
  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)21);
46
  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)21);
-
 
47
  private static final org.apache.thrift.protocol.TField LOGISTICS_COST_FIELD_DESC = new org.apache.thrift.protocol.TField("logisticsCost", org.apache.thrift.protocol.TType.DOUBLE, (short)22);
-
 
48
  private static final org.apache.thrift.protocol.TField COD_COLLECTION_CHARGES_FIELD_DESC = new org.apache.thrift.protocol.TField("codCollectionCharges", org.apache.thrift.protocol.TType.DOUBLE, (short)23);
47
 
49
 
48
  private long id; // required
50
  private long id; // required
49
  private long item_id; // required
51
  private long item_id; // required
50
  private String productGroup; // required
52
  private String productGroup; // required
51
  private String brand; // required
53
  private String brand; // required
Line 64... Line 66...
64
  private String item_number; // required
66
  private String item_number; // required
65
  private String dealText; // required
67
  private String dealText; // required
66
  private long warrantry_expiry_timestamp; // required
68
  private long warrantry_expiry_timestamp; // required
67
  private double vatRate; // required
69
  private double vatRate; // required
68
  private double nlc; // required
70
  private double nlc; // required
-
 
71
  private double logisticsCost; // required
-
 
72
  private double codCollectionCharges; // required
69
 
73
 
70
  /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
74
  /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
71
  public enum _Fields implements org.apache.thrift.TFieldIdEnum {
75
  public enum _Fields implements org.apache.thrift.TFieldIdEnum {
72
    ID((short)1, "id"),
76
    ID((short)1, "id"),
73
    ITEM_ID((short)2, "item_id"),
77
    ITEM_ID((short)2, "item_id"),
Line 87... Line 91...
87
    SERIAL_NUMBER((short)16, "serial_number"),
91
    SERIAL_NUMBER((short)16, "serial_number"),
88
    ITEM_NUMBER((short)17, "item_number"),
92
    ITEM_NUMBER((short)17, "item_number"),
89
    DEAL_TEXT((short)18, "dealText"),
93
    DEAL_TEXT((short)18, "dealText"),
90
    WARRANTRY_EXPIRY_TIMESTAMP((short)19, "warrantry_expiry_timestamp"),
94
    WARRANTRY_EXPIRY_TIMESTAMP((short)19, "warrantry_expiry_timestamp"),
91
    VAT_RATE((short)20, "vatRate"),
95
    VAT_RATE((short)20, "vatRate"),
92
    NLC((short)21, "nlc");
96
    NLC((short)21, "nlc"),
-
 
97
    LOGISTICS_COST((short)22, "logisticsCost"),
-
 
98
    COD_COLLECTION_CHARGES((short)23, "codCollectionCharges");
93
 
99
 
94
    private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
100
    private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
95
 
101
 
96
    static {
102
    static {
97
      for (_Fields field : EnumSet.allOf(_Fields.class)) {
103
      for (_Fields field : EnumSet.allOf(_Fields.class)) {
Line 144... Line 150...
144
          return WARRANTRY_EXPIRY_TIMESTAMP;
150
          return WARRANTRY_EXPIRY_TIMESTAMP;
145
        case 20: // VAT_RATE
151
        case 20: // VAT_RATE
146
          return VAT_RATE;
152
          return VAT_RATE;
147
        case 21: // NLC
153
        case 21: // NLC
148
          return NLC;
154
          return NLC;
-
 
155
        case 22: // LOGISTICS_COST
-
 
156
          return LOGISTICS_COST;
-
 
157
        case 23: // COD_COLLECTION_CHARGES
-
 
158
          return COD_COLLECTION_CHARGES;
149
        default:
159
        default:
150
          return null;
160
          return null;
151
      }
161
      }
152
    }
162
    }
153
 
163
 
Line 196... Line 206...
196
  private static final int __TRANSFER_PRICE_ISSET_ID = 7;
206
  private static final int __TRANSFER_PRICE_ISSET_ID = 7;
197
  private static final int __TOTAL_WEIGHT_ISSET_ID = 8;
207
  private static final int __TOTAL_WEIGHT_ISSET_ID = 8;
198
  private static final int __WARRANTRY_EXPIRY_TIMESTAMP_ISSET_ID = 9;
208
  private static final int __WARRANTRY_EXPIRY_TIMESTAMP_ISSET_ID = 9;
199
  private static final int __VATRATE_ISSET_ID = 10;
209
  private static final int __VATRATE_ISSET_ID = 10;
200
  private static final int __NLC_ISSET_ID = 11;
210
  private static final int __NLC_ISSET_ID = 11;
-
 
211
  private static final int __LOGISTICSCOST_ISSET_ID = 12;
-
 
212
  private static final int __CODCOLLECTIONCHARGES_ISSET_ID = 13;
201
  private BitSet __isset_bit_vector = new BitSet(12);
213
  private BitSet __isset_bit_vector = new BitSet(14);
202
 
214
 
203
  public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
215
  public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
204
  static {
216
  static {
205
    Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
217
    Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
206
    tmpMap.put(_Fields.ID, new org.apache.thrift.meta_data.FieldMetaData("id", org.apache.thrift.TFieldRequirementType.DEFAULT, 
218
    tmpMap.put(_Fields.ID, new org.apache.thrift.meta_data.FieldMetaData("id", org.apache.thrift.TFieldRequirementType.DEFAULT, 
Line 243... Line 255...
243
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
255
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
244
    tmpMap.put(_Fields.VAT_RATE, new org.apache.thrift.meta_data.FieldMetaData("vatRate", org.apache.thrift.TFieldRequirementType.DEFAULT, 
256
    tmpMap.put(_Fields.VAT_RATE, new org.apache.thrift.meta_data.FieldMetaData("vatRate", org.apache.thrift.TFieldRequirementType.DEFAULT, 
245
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
257
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
246
    tmpMap.put(_Fields.NLC, new org.apache.thrift.meta_data.FieldMetaData("nlc", org.apache.thrift.TFieldRequirementType.DEFAULT, 
258
    tmpMap.put(_Fields.NLC, new org.apache.thrift.meta_data.FieldMetaData("nlc", org.apache.thrift.TFieldRequirementType.DEFAULT, 
247
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
259
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
-
 
260
    tmpMap.put(_Fields.LOGISTICS_COST, new org.apache.thrift.meta_data.FieldMetaData("logisticsCost", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
261
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
-
 
262
    tmpMap.put(_Fields.COD_COLLECTION_CHARGES, new org.apache.thrift.meta_data.FieldMetaData("codCollectionCharges", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
263
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
248
    metaDataMap = Collections.unmodifiableMap(tmpMap);
264
    metaDataMap = Collections.unmodifiableMap(tmpMap);
249
    org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(LineItem.class, metaDataMap);
265
    org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(LineItem.class, metaDataMap);
250
  }
266
  }
251
 
267
 
252
  public LineItem() {
268
  public LineItem() {
Line 268... Line 284...
268
    double total_price,
284
    double total_price,
269
    double transfer_price,
285
    double transfer_price,
270
    double total_weight,
286
    double total_weight,
271
    long warrantry_expiry_timestamp,
287
    long warrantry_expiry_timestamp,
272
    double vatRate,
288
    double vatRate,
273
    double nlc)
289
    double nlc,
-
 
290
    double logisticsCost,
-
 
291
    double codCollectionCharges)
274
  {
292
  {
275
    this();
293
    this();
276
    this.id = id;
294
    this.id = id;
277
    setIdIsSet(true);
295
    setIdIsSet(true);
278
    this.item_id = item_id;
296
    this.item_id = item_id;
Line 301... Line 319...
301
    setWarrantry_expiry_timestampIsSet(true);
319
    setWarrantry_expiry_timestampIsSet(true);
302
    this.vatRate = vatRate;
320
    this.vatRate = vatRate;
303
    setVatRateIsSet(true);
321
    setVatRateIsSet(true);
304
    this.nlc = nlc;
322
    this.nlc = nlc;
305
    setNlcIsSet(true);
323
    setNlcIsSet(true);
-
 
324
    this.logisticsCost = logisticsCost;
-
 
325
    setLogisticsCostIsSet(true);
-
 
326
    this.codCollectionCharges = codCollectionCharges;
-
 
327
    setCodCollectionChargesIsSet(true);
306
  }
328
  }
307
 
329
 
308
  /**
330
  /**
309
   * Performs a deep copy on <i>other</i>.
331
   * Performs a deep copy on <i>other</i>.
310
   */
332
   */
Line 348... Line 370...
348
      this.dealText = other.dealText;
370
      this.dealText = other.dealText;
349
    }
371
    }
350
    this.warrantry_expiry_timestamp = other.warrantry_expiry_timestamp;
372
    this.warrantry_expiry_timestamp = other.warrantry_expiry_timestamp;
351
    this.vatRate = other.vatRate;
373
    this.vatRate = other.vatRate;
352
    this.nlc = other.nlc;
374
    this.nlc = other.nlc;
-
 
375
    this.logisticsCost = other.logisticsCost;
-
 
376
    this.codCollectionCharges = other.codCollectionCharges;
353
  }
377
  }
354
 
378
 
355
  public LineItem deepCopy() {
379
  public LineItem deepCopy() {
356
    return new LineItem(this);
380
    return new LineItem(this);
357
  }
381
  }
Line 389... Line 413...
389
    this.warrantry_expiry_timestamp = 0;
413
    this.warrantry_expiry_timestamp = 0;
390
    setVatRateIsSet(false);
414
    setVatRateIsSet(false);
391
    this.vatRate = 0.0;
415
    this.vatRate = 0.0;
392
    setNlcIsSet(false);
416
    setNlcIsSet(false);
393
    this.nlc = 0.0;
417
    this.nlc = 0.0;
-
 
418
    setLogisticsCostIsSet(false);
-
 
419
    this.logisticsCost = 0.0;
-
 
420
    setCodCollectionChargesIsSet(false);
-
 
421
    this.codCollectionCharges = 0.0;
394
  }
422
  }
395
 
423
 
396
  public long getId() {
424
  public long getId() {
397
    return this.id;
425
    return this.id;
398
  }
426
  }
Line 862... Line 890...
862
 
890
 
863
  public void setNlcIsSet(boolean value) {
891
  public void setNlcIsSet(boolean value) {
864
    __isset_bit_vector.set(__NLC_ISSET_ID, value);
892
    __isset_bit_vector.set(__NLC_ISSET_ID, value);
865
  }
893
  }
866
 
894
 
-
 
895
  public double getLogisticsCost() {
-
 
896
    return this.logisticsCost;
-
 
897
  }
-
 
898
 
-
 
899
  public void setLogisticsCost(double logisticsCost) {
-
 
900
    this.logisticsCost = logisticsCost;
-
 
901
    setLogisticsCostIsSet(true);
-
 
902
  }
-
 
903
 
-
 
904
  public void unsetLogisticsCost() {
-
 
905
    __isset_bit_vector.clear(__LOGISTICSCOST_ISSET_ID);
-
 
906
  }
-
 
907
 
-
 
908
  /** Returns true if field logisticsCost is set (has been assigned a value) and false otherwise */
-
 
909
  public boolean isSetLogisticsCost() {
-
 
910
    return __isset_bit_vector.get(__LOGISTICSCOST_ISSET_ID);
-
 
911
  }
-
 
912
 
-
 
913
  public void setLogisticsCostIsSet(boolean value) {
-
 
914
    __isset_bit_vector.set(__LOGISTICSCOST_ISSET_ID, value);
-
 
915
  }
-
 
916
 
-
 
917
  public double getCodCollectionCharges() {
-
 
918
    return this.codCollectionCharges;
-
 
919
  }
-
 
920
 
-
 
921
  public void setCodCollectionCharges(double codCollectionCharges) {
-
 
922
    this.codCollectionCharges = codCollectionCharges;
-
 
923
    setCodCollectionChargesIsSet(true);
-
 
924
  }
-
 
925
 
-
 
926
  public void unsetCodCollectionCharges() {
-
 
927
    __isset_bit_vector.clear(__CODCOLLECTIONCHARGES_ISSET_ID);
-
 
928
  }
-
 
929
 
-
 
930
  /** Returns true if field codCollectionCharges is set (has been assigned a value) and false otherwise */
-
 
931
  public boolean isSetCodCollectionCharges() {
-
 
932
    return __isset_bit_vector.get(__CODCOLLECTIONCHARGES_ISSET_ID);
-
 
933
  }
-
 
934
 
-
 
935
  public void setCodCollectionChargesIsSet(boolean value) {
-
 
936
    __isset_bit_vector.set(__CODCOLLECTIONCHARGES_ISSET_ID, value);
-
 
937
  }
-
 
938
 
867
  public void setFieldValue(_Fields field, Object value) {
939
  public void setFieldValue(_Fields field, Object value) {
868
    switch (field) {
940
    switch (field) {
869
    case ID:
941
    case ID:
870
      if (value == null) {
942
      if (value == null) {
871
        unsetId();
943
        unsetId();
Line 1032... Line 1104...
1032
      } else {
1104
      } else {
1033
        setNlc((Double)value);
1105
        setNlc((Double)value);
1034
      }
1106
      }
1035
      break;
1107
      break;
1036
 
1108
 
-
 
1109
    case LOGISTICS_COST:
-
 
1110
      if (value == null) {
-
 
1111
        unsetLogisticsCost();
-
 
1112
      } else {
-
 
1113
        setLogisticsCost((Double)value);
-
 
1114
      }
-
 
1115
      break;
-
 
1116
 
-
 
1117
    case COD_COLLECTION_CHARGES:
-
 
1118
      if (value == null) {
-
 
1119
        unsetCodCollectionCharges();
-
 
1120
      } else {
-
 
1121
        setCodCollectionCharges((Double)value);
-
 
1122
      }
-
 
1123
      break;
-
 
1124
 
1037
    }
1125
    }
1038
  }
1126
  }
1039
 
1127
 
1040
  public Object getFieldValue(_Fields field) {
1128
  public Object getFieldValue(_Fields field) {
1041
    switch (field) {
1129
    switch (field) {
Line 1100... Line 1188...
1100
      return Double.valueOf(getVatRate());
1188
      return Double.valueOf(getVatRate());
1101
 
1189
 
1102
    case NLC:
1190
    case NLC:
1103
      return Double.valueOf(getNlc());
1191
      return Double.valueOf(getNlc());
1104
 
1192
 
-
 
1193
    case LOGISTICS_COST:
-
 
1194
      return Double.valueOf(getLogisticsCost());
-
 
1195
 
-
 
1196
    case COD_COLLECTION_CHARGES:
-
 
1197
      return Double.valueOf(getCodCollectionCharges());
-
 
1198
 
1105
    }
1199
    }
1106
    throw new IllegalStateException();
1200
    throw new IllegalStateException();
1107
  }
1201
  }
1108
 
1202
 
1109
  /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
1203
  /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
Line 1153... Line 1247...
1153
      return isSetWarrantry_expiry_timestamp();
1247
      return isSetWarrantry_expiry_timestamp();
1154
    case VAT_RATE:
1248
    case VAT_RATE:
1155
      return isSetVatRate();
1249
      return isSetVatRate();
1156
    case NLC:
1250
    case NLC:
1157
      return isSetNlc();
1251
      return isSetNlc();
-
 
1252
    case LOGISTICS_COST:
-
 
1253
      return isSetLogisticsCost();
-
 
1254
    case COD_COLLECTION_CHARGES:
-
 
1255
      return isSetCodCollectionCharges();
1158
    }
1256
    }
1159
    throw new IllegalStateException();
1257
    throw new IllegalStateException();
1160
  }
1258
  }
1161
 
1259
 
1162
  @Override
1260
  @Override
Line 1359... Line 1457...
1359
        return false;
1457
        return false;
1360
      if (this.nlc != that.nlc)
1458
      if (this.nlc != that.nlc)
1361
        return false;
1459
        return false;
1362
    }
1460
    }
1363
 
1461
 
-
 
1462
    boolean this_present_logisticsCost = true;
-
 
1463
    boolean that_present_logisticsCost = true;
-
 
1464
    if (this_present_logisticsCost || that_present_logisticsCost) {
-
 
1465
      if (!(this_present_logisticsCost && that_present_logisticsCost))
-
 
1466
        return false;
-
 
1467
      if (this.logisticsCost != that.logisticsCost)
-
 
1468
        return false;
-
 
1469
    }
-
 
1470
 
-
 
1471
    boolean this_present_codCollectionCharges = true;
-
 
1472
    boolean that_present_codCollectionCharges = true;
-
 
1473
    if (this_present_codCollectionCharges || that_present_codCollectionCharges) {
-
 
1474
      if (!(this_present_codCollectionCharges && that_present_codCollectionCharges))
-
 
1475
        return false;
-
 
1476
      if (this.codCollectionCharges != that.codCollectionCharges)
-
 
1477
        return false;
-
 
1478
    }
-
 
1479
 
1364
    return true;
1480
    return true;
1365
  }
1481
  }
1366
 
1482
 
1367
  @Override
1483
  @Override
1368
  public int hashCode() {
1484
  public int hashCode() {
Line 1585... Line 1701...
1585
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.nlc, typedOther.nlc);
1701
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.nlc, typedOther.nlc);
1586
      if (lastComparison != 0) {
1702
      if (lastComparison != 0) {
1587
        return lastComparison;
1703
        return lastComparison;
1588
      }
1704
      }
1589
    }
1705
    }
-
 
1706
    lastComparison = Boolean.valueOf(isSetLogisticsCost()).compareTo(typedOther.isSetLogisticsCost());
-
 
1707
    if (lastComparison != 0) {
-
 
1708
      return lastComparison;
-
 
1709
    }
-
 
1710
    if (isSetLogisticsCost()) {
-
 
1711
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.logisticsCost, typedOther.logisticsCost);
-
 
1712
      if (lastComparison != 0) {
-
 
1713
        return lastComparison;
-
 
1714
      }
-
 
1715
    }
-
 
1716
    lastComparison = Boolean.valueOf(isSetCodCollectionCharges()).compareTo(typedOther.isSetCodCollectionCharges());
-
 
1717
    if (lastComparison != 0) {
-
 
1718
      return lastComparison;
-
 
1719
    }
-
 
1720
    if (isSetCodCollectionCharges()) {
-
 
1721
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.codCollectionCharges, typedOther.codCollectionCharges);
-
 
1722
      if (lastComparison != 0) {
-
 
1723
        return lastComparison;
-
 
1724
      }
-
 
1725
    }
1590
    return 0;
1726
    return 0;
1591
  }
1727
  }
1592
 
1728
 
1593
  public _Fields fieldForId(int fieldId) {
1729
  public _Fields fieldForId(int fieldId) {
1594
    return _Fields.findByThriftId(fieldId);
1730
    return _Fields.findByThriftId(fieldId);
Line 1761... Line 1897...
1761
            setNlcIsSet(true);
1897
            setNlcIsSet(true);
1762
          } else { 
1898
          } else { 
1763
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
1899
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
1764
          }
1900
          }
1765
          break;
1901
          break;
-
 
1902
        case 22: // LOGISTICS_COST
-
 
1903
          if (field.type == org.apache.thrift.protocol.TType.DOUBLE) {
-
 
1904
            this.logisticsCost = iprot.readDouble();
-
 
1905
            setLogisticsCostIsSet(true);
-
 
1906
          } else { 
-
 
1907
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
1908
          }
-
 
1909
          break;
-
 
1910
        case 23: // COD_COLLECTION_CHARGES
-
 
1911
          if (field.type == org.apache.thrift.protocol.TType.DOUBLE) {
-
 
1912
            this.codCollectionCharges = iprot.readDouble();
-
 
1913
            setCodCollectionChargesIsSet(true);
-
 
1914
          } else { 
-
 
1915
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
1916
          }
-
 
1917
          break;
1766
        default:
1918
        default:
1767
          org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
1919
          org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
1768
      }
1920
      }
1769
      iprot.readFieldEnd();
1921
      iprot.readFieldEnd();
1770
    }
1922
    }
Line 1861... Line 2013...
1861
    oprot.writeDouble(this.vatRate);
2013
    oprot.writeDouble(this.vatRate);
1862
    oprot.writeFieldEnd();
2014
    oprot.writeFieldEnd();
1863
    oprot.writeFieldBegin(NLC_FIELD_DESC);
2015
    oprot.writeFieldBegin(NLC_FIELD_DESC);
1864
    oprot.writeDouble(this.nlc);
2016
    oprot.writeDouble(this.nlc);
1865
    oprot.writeFieldEnd();
2017
    oprot.writeFieldEnd();
-
 
2018
    oprot.writeFieldBegin(LOGISTICS_COST_FIELD_DESC);
-
 
2019
    oprot.writeDouble(this.logisticsCost);
-
 
2020
    oprot.writeFieldEnd();
-
 
2021
    oprot.writeFieldBegin(COD_COLLECTION_CHARGES_FIELD_DESC);
-
 
2022
    oprot.writeDouble(this.codCollectionCharges);
-
 
2023
    oprot.writeFieldEnd();
1866
    oprot.writeFieldStop();
2024
    oprot.writeFieldStop();
1867
    oprot.writeStructEnd();
2025
    oprot.writeStructEnd();
1868
  }
2026
  }
1869
 
2027
 
1870
  @Override
2028
  @Override
Line 1995... Line 2153...
1995
    first = false;
2153
    first = false;
1996
    if (!first) sb.append(", ");
2154
    if (!first) sb.append(", ");
1997
    sb.append("nlc:");
2155
    sb.append("nlc:");
1998
    sb.append(this.nlc);
2156
    sb.append(this.nlc);
1999
    first = false;
2157
    first = false;
-
 
2158
    if (!first) sb.append(", ");
-
 
2159
    sb.append("logisticsCost:");
-
 
2160
    sb.append(this.logisticsCost);
-
 
2161
    first = false;
-
 
2162
    if (!first) sb.append(", ");
-
 
2163
    sb.append("codCollectionCharges:");
-
 
2164
    sb.append(this.codCollectionCharges);
-
 
2165
    first = false;
2000
    sb.append(")");
2166
    sb.append(")");
2001
    return sb.toString();
2167
    return sb.toString();
2002
  }
2168
  }
2003
 
2169
 
2004
  public void validate() throws org.apache.thrift.TException {
2170
  public void validate() throws org.apache.thrift.TException {