Subversion Repositories SmartDukaan

Rev

Rev 21844 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 21844 Rev 24832
Line 53... Line 53...
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);
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);
54
  private static final org.apache.thrift.protocol.TField IGST_RATE_FIELD_DESC = new org.apache.thrift.protocol.TField("igstRate", org.apache.thrift.protocol.TType.DOUBLE, (short)29);
54
  private static final org.apache.thrift.protocol.TField IGST_RATE_FIELD_DESC = new org.apache.thrift.protocol.TField("igstRate", org.apache.thrift.protocol.TType.DOUBLE, (short)29);
55
  private static final org.apache.thrift.protocol.TField CGST_RATE_FIELD_DESC = new org.apache.thrift.protocol.TField("cgstRate", org.apache.thrift.protocol.TType.DOUBLE, (short)30);
55
  private static final org.apache.thrift.protocol.TField CGST_RATE_FIELD_DESC = new org.apache.thrift.protocol.TField("cgstRate", org.apache.thrift.protocol.TType.DOUBLE, (short)30);
56
  private static final org.apache.thrift.protocol.TField SGST_RATE_FIELD_DESC = new org.apache.thrift.protocol.TField("sgstRate", org.apache.thrift.protocol.TType.DOUBLE, (short)31);
56
  private static final org.apache.thrift.protocol.TField SGST_RATE_FIELD_DESC = new org.apache.thrift.protocol.TField("sgstRate", org.apache.thrift.protocol.TType.DOUBLE, (short)31);
57
  private static final org.apache.thrift.protocol.TField HSN_CODE_FIELD_DESC = new org.apache.thrift.protocol.TField("hsnCode", org.apache.thrift.protocol.TType.STRING, (short)32);
57
  private static final org.apache.thrift.protocol.TField HSN_CODE_FIELD_DESC = new org.apache.thrift.protocol.TField("hsnCode", org.apache.thrift.protocol.TType.STRING, (short)32);
-
 
58
  private static final org.apache.thrift.protocol.TField INVOICE_PRICE_FIELD_DESC = new org.apache.thrift.protocol.TField("invoicePrice", org.apache.thrift.protocol.TType.DOUBLE, (short)33);
-
 
59
  private static final org.apache.thrift.protocol.TField TP_FIELD_DESC = new org.apache.thrift.protocol.TField("tp", org.apache.thrift.protocol.TType.DOUBLE, (short)34);
58
 
60
 
59
  private long orderId; // required
61
  private long orderId; // required
60
  private long itemId; // required
62
  private long itemId; // required
61
  private String productGroup; // required
63
  private String productGroup; // required
62
  private String brand; // required
64
  private String brand; // required
Line 86... Line 88...
86
  private double vatDiff; // required
88
  private double vatDiff; // required
87
  private double igstRate; // required
89
  private double igstRate; // required
88
  private double cgstRate; // required
90
  private double cgstRate; // required
89
  private double sgstRate; // required
91
  private double sgstRate; // required
90
  private String hsnCode; // required
92
  private String hsnCode; // required
-
 
93
  private double invoicePrice; // required
-
 
94
  private double tp; // required
91
 
95
 
92
  /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
96
  /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
93
  public enum _Fields implements org.apache.thrift.TFieldIdEnum {
97
  public enum _Fields implements org.apache.thrift.TFieldIdEnum {
94
    ORDER_ID((short)1, "orderId"),
98
    ORDER_ID((short)1, "orderId"),
95
    ITEM_ID((short)2, "itemId"),
99
    ITEM_ID((short)2, "itemId"),
Line 120... Line 124...
120
    NLC_P((short)27, "nlcP"),
124
    NLC_P((short)27, "nlcP"),
121
    VAT_DIFF((short)28, "vatDiff"),
125
    VAT_DIFF((short)28, "vatDiff"),
122
    IGST_RATE((short)29, "igstRate"),
126
    IGST_RATE((short)29, "igstRate"),
123
    CGST_RATE((short)30, "cgstRate"),
127
    CGST_RATE((short)30, "cgstRate"),
124
    SGST_RATE((short)31, "sgstRate"),
128
    SGST_RATE((short)31, "sgstRate"),
125
    HSN_CODE((short)32, "hsnCode");
129
    HSN_CODE((short)32, "hsnCode"),
-
 
130
    INVOICE_PRICE((short)33, "invoicePrice"),
-
 
131
    TP((short)34, "tp");
126
 
132
 
127
    private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
133
    private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
128
 
134
 
129
    static {
135
    static {
130
      for (_Fields field : EnumSet.allOf(_Fields.class)) {
136
      for (_Fields field : EnumSet.allOf(_Fields.class)) {
Line 199... Line 205...
199
          return CGST_RATE;
205
          return CGST_RATE;
200
        case 31: // SGST_RATE
206
        case 31: // SGST_RATE
201
          return SGST_RATE;
207
          return SGST_RATE;
202
        case 32: // HSN_CODE
208
        case 32: // HSN_CODE
203
          return HSN_CODE;
209
          return HSN_CODE;
-
 
210
        case 33: // INVOICE_PRICE
-
 
211
          return INVOICE_PRICE;
-
 
212
        case 34: // TP
-
 
213
          return TP;
204
        default:
214
        default:
205
          return null;
215
          return null;
206
      }
216
      }
207
    }
217
    }
208
 
218
 
Line 263... Line 273...
263
  private static final int __NLCP_ISSET_ID = 19;
273
  private static final int __NLCP_ISSET_ID = 19;
264
  private static final int __VATDIFF_ISSET_ID = 20;
274
  private static final int __VATDIFF_ISSET_ID = 20;
265
  private static final int __IGSTRATE_ISSET_ID = 21;
275
  private static final int __IGSTRATE_ISSET_ID = 21;
266
  private static final int __CGSTRATE_ISSET_ID = 22;
276
  private static final int __CGSTRATE_ISSET_ID = 22;
267
  private static final int __SGSTRATE_ISSET_ID = 23;
277
  private static final int __SGSTRATE_ISSET_ID = 23;
-
 
278
  private static final int __INVOICEPRICE_ISSET_ID = 24;
-
 
279
  private static final int __TP_ISSET_ID = 25;
268
  private BitSet __isset_bit_vector = new BitSet(24);
280
  private BitSet __isset_bit_vector = new BitSet(26);
269
 
281
 
270
  public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
282
  public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
271
  static {
283
  static {
272
    Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
284
    Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
273
    tmpMap.put(_Fields.ORDER_ID, new org.apache.thrift.meta_data.FieldMetaData("orderId", org.apache.thrift.TFieldRequirementType.DEFAULT, 
285
    tmpMap.put(_Fields.ORDER_ID, new org.apache.thrift.meta_data.FieldMetaData("orderId", org.apache.thrift.TFieldRequirementType.DEFAULT, 
Line 332... Line 344...
332
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
344
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
333
    tmpMap.put(_Fields.SGST_RATE, new org.apache.thrift.meta_data.FieldMetaData("sgstRate", org.apache.thrift.TFieldRequirementType.DEFAULT, 
345
    tmpMap.put(_Fields.SGST_RATE, new org.apache.thrift.meta_data.FieldMetaData("sgstRate", org.apache.thrift.TFieldRequirementType.DEFAULT, 
334
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
346
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
335
    tmpMap.put(_Fields.HSN_CODE, new org.apache.thrift.meta_data.FieldMetaData("hsnCode", org.apache.thrift.TFieldRequirementType.DEFAULT, 
347
    tmpMap.put(_Fields.HSN_CODE, new org.apache.thrift.meta_data.FieldMetaData("hsnCode", org.apache.thrift.TFieldRequirementType.DEFAULT, 
336
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
348
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
-
 
349
    tmpMap.put(_Fields.INVOICE_PRICE, new org.apache.thrift.meta_data.FieldMetaData("invoicePrice", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
350
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
-
 
351
    tmpMap.put(_Fields.TP, new org.apache.thrift.meta_data.FieldMetaData("tp", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
352
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
337
    metaDataMap = Collections.unmodifiableMap(tmpMap);
353
    metaDataMap = Collections.unmodifiableMap(tmpMap);
338
    org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(LineItem.class, metaDataMap);
354
    org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(LineItem.class, metaDataMap);
339
  }
355
  }
340
 
356
 
341
  public LineItem() {
357
  public LineItem() {
Line 371... Line 387...
371
    double nlcP,
387
    double nlcP,
372
    double vatDiff,
388
    double vatDiff,
373
    double igstRate,
389
    double igstRate,
374
    double cgstRate,
390
    double cgstRate,
375
    double sgstRate,
391
    double sgstRate,
376
    String hsnCode)
392
    String hsnCode,
-
 
393
    double invoicePrice,
-
 
394
    double tp)
377
  {
395
  {
378
    this();
396
    this();
379
    this.orderId = orderId;
397
    this.orderId = orderId;
380
    setOrderIdIsSet(true);
398
    setOrderIdIsSet(true);
381
    this.itemId = itemId;
399
    this.itemId = itemId;
Line 430... Line 448...
430
    this.cgstRate = cgstRate;
448
    this.cgstRate = cgstRate;
431
    setCgstRateIsSet(true);
449
    setCgstRateIsSet(true);
432
    this.sgstRate = sgstRate;
450
    this.sgstRate = sgstRate;
433
    setSgstRateIsSet(true);
451
    setSgstRateIsSet(true);
434
    this.hsnCode = hsnCode;
452
    this.hsnCode = hsnCode;
-
 
453
    this.invoicePrice = invoicePrice;
-
 
454
    setInvoicePriceIsSet(true);
-
 
455
    this.tp = tp;
-
 
456
    setTpIsSet(true);
435
  }
457
  }
436
 
458
 
437
  /**
459
  /**
438
   * Performs a deep copy on <i>other</i>.
460
   * Performs a deep copy on <i>other</i>.
439
   */
461
   */
Line 486... Line 508...
486
    this.cgstRate = other.cgstRate;
508
    this.cgstRate = other.cgstRate;
487
    this.sgstRate = other.sgstRate;
509
    this.sgstRate = other.sgstRate;
488
    if (other.isSetHsnCode()) {
510
    if (other.isSetHsnCode()) {
489
      this.hsnCode = other.hsnCode;
511
      this.hsnCode = other.hsnCode;
490
    }
512
    }
-
 
513
    this.invoicePrice = other.invoicePrice;
-
 
514
    this.tp = other.tp;
491
  }
515
  }
492
 
516
 
493
  public LineItem deepCopy() {
517
  public LineItem deepCopy() {
494
    return new LineItem(this);
518
    return new LineItem(this);
495
  }
519
  }
Line 550... Line 574...
550
    setCgstRateIsSet(false);
574
    setCgstRateIsSet(false);
551
    this.cgstRate = 0.0;
575
    this.cgstRate = 0.0;
552
    setSgstRateIsSet(false);
576
    setSgstRateIsSet(false);
553
    this.sgstRate = 0.0;
577
    this.sgstRate = 0.0;
554
    this.hsnCode = null;
578
    this.hsnCode = null;
-
 
579
    setInvoicePriceIsSet(false);
-
 
580
    this.invoicePrice = 0.0;
-
 
581
    setTpIsSet(false);
-
 
582
    this.tp = 0.0;
555
  }
583
  }
556
 
584
 
557
  public long getOrderId() {
585
  public long getOrderId() {
558
    return this.orderId;
586
    return this.orderId;
559
  }
587
  }
Line 1264... Line 1292...
1264
    if (!value) {
1292
    if (!value) {
1265
      this.hsnCode = null;
1293
      this.hsnCode = null;
1266
    }
1294
    }
1267
  }
1295
  }
1268
 
1296
 
-
 
1297
  public double getInvoicePrice() {
-
 
1298
    return this.invoicePrice;
-
 
1299
  }
-
 
1300
 
-
 
1301
  public void setInvoicePrice(double invoicePrice) {
-
 
1302
    this.invoicePrice = invoicePrice;
-
 
1303
    setInvoicePriceIsSet(true);
-
 
1304
  }
-
 
1305
 
-
 
1306
  public void unsetInvoicePrice() {
-
 
1307
    __isset_bit_vector.clear(__INVOICEPRICE_ISSET_ID);
-
 
1308
  }
-
 
1309
 
-
 
1310
  /** Returns true if field invoicePrice is set (has been assigned a value) and false otherwise */
-
 
1311
  public boolean isSetInvoicePrice() {
-
 
1312
    return __isset_bit_vector.get(__INVOICEPRICE_ISSET_ID);
-
 
1313
  }
-
 
1314
 
-
 
1315
  public void setInvoicePriceIsSet(boolean value) {
-
 
1316
    __isset_bit_vector.set(__INVOICEPRICE_ISSET_ID, value);
-
 
1317
  }
-
 
1318
 
-
 
1319
  public double getTp() {
-
 
1320
    return this.tp;
-
 
1321
  }
-
 
1322
 
-
 
1323
  public void setTp(double tp) {
-
 
1324
    this.tp = tp;
-
 
1325
    setTpIsSet(true);
-
 
1326
  }
-
 
1327
 
-
 
1328
  public void unsetTp() {
-
 
1329
    __isset_bit_vector.clear(__TP_ISSET_ID);
-
 
1330
  }
-
 
1331
 
-
 
1332
  /** Returns true if field tp is set (has been assigned a value) and false otherwise */
-
 
1333
  public boolean isSetTp() {
-
 
1334
    return __isset_bit_vector.get(__TP_ISSET_ID);
-
 
1335
  }
-
 
1336
 
-
 
1337
  public void setTpIsSet(boolean value) {
-
 
1338
    __isset_bit_vector.set(__TP_ISSET_ID, value);
-
 
1339
  }
-
 
1340
 
1269
  public void setFieldValue(_Fields field, Object value) {
1341
  public void setFieldValue(_Fields field, Object value) {
1270
    switch (field) {
1342
    switch (field) {
1271
    case ORDER_ID:
1343
    case ORDER_ID:
1272
      if (value == null) {
1344
      if (value == null) {
1273
        unsetOrderId();
1345
        unsetOrderId();
Line 1522... Line 1594...
1522
      } else {
1594
      } else {
1523
        setHsnCode((String)value);
1595
        setHsnCode((String)value);
1524
      }
1596
      }
1525
      break;
1597
      break;
1526
 
1598
 
-
 
1599
    case INVOICE_PRICE:
-
 
1600
      if (value == null) {
-
 
1601
        unsetInvoicePrice();
-
 
1602
      } else {
-
 
1603
        setInvoicePrice((Double)value);
-
 
1604
      }
-
 
1605
      break;
-
 
1606
 
-
 
1607
    case TP:
-
 
1608
      if (value == null) {
-
 
1609
        unsetTp();
-
 
1610
      } else {
-
 
1611
        setTp((Double)value);
-
 
1612
      }
-
 
1613
      break;
-
 
1614
 
1527
    }
1615
    }
1528
  }
1616
  }
1529
 
1617
 
1530
  public Object getFieldValue(_Fields field) {
1618
  public Object getFieldValue(_Fields field) {
1531
    switch (field) {
1619
    switch (field) {
Line 1623... Line 1711...
1623
      return Double.valueOf(getSgstRate());
1711
      return Double.valueOf(getSgstRate());
1624
 
1712
 
1625
    case HSN_CODE:
1713
    case HSN_CODE:
1626
      return getHsnCode();
1714
      return getHsnCode();
1627
 
1715
 
-
 
1716
    case INVOICE_PRICE:
-
 
1717
      return Double.valueOf(getInvoicePrice());
-
 
1718
 
-
 
1719
    case TP:
-
 
1720
      return Double.valueOf(getTp());
-
 
1721
 
1628
    }
1722
    }
1629
    throw new IllegalStateException();
1723
    throw new IllegalStateException();
1630
  }
1724
  }
1631
 
1725
 
1632
  /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
1726
  /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
Line 1698... Line 1792...
1698
      return isSetCgstRate();
1792
      return isSetCgstRate();
1699
    case SGST_RATE:
1793
    case SGST_RATE:
1700
      return isSetSgstRate();
1794
      return isSetSgstRate();
1701
    case HSN_CODE:
1795
    case HSN_CODE:
1702
      return isSetHsnCode();
1796
      return isSetHsnCode();
-
 
1797
    case INVOICE_PRICE:
-
 
1798
      return isSetInvoicePrice();
-
 
1799
    case TP:
-
 
1800
      return isSetTp();
1703
    }
1801
    }
1704
    throw new IllegalStateException();
1802
    throw new IllegalStateException();
1705
  }
1803
  }
1706
 
1804
 
1707
  @Override
1805
  @Override
Line 2003... Line 2101...
2003
        return false;
2101
        return false;
2004
      if (!this.hsnCode.equals(that.hsnCode))
2102
      if (!this.hsnCode.equals(that.hsnCode))
2005
        return false;
2103
        return false;
2006
    }
2104
    }
2007
 
2105
 
-
 
2106
    boolean this_present_invoicePrice = true;
-
 
2107
    boolean that_present_invoicePrice = true;
-
 
2108
    if (this_present_invoicePrice || that_present_invoicePrice) {
-
 
2109
      if (!(this_present_invoicePrice && that_present_invoicePrice))
-
 
2110
        return false;
-
 
2111
      if (this.invoicePrice != that.invoicePrice)
-
 
2112
        return false;
-
 
2113
    }
-
 
2114
 
-
 
2115
    boolean this_present_tp = true;
-
 
2116
    boolean that_present_tp = true;
-
 
2117
    if (this_present_tp || that_present_tp) {
-
 
2118
      if (!(this_present_tp && that_present_tp))
-
 
2119
        return false;
-
 
2120
      if (this.tp != that.tp)
-
 
2121
        return false;
-
 
2122
    }
-
 
2123
 
2008
    return true;
2124
    return true;
2009
  }
2125
  }
2010
 
2126
 
2011
  @Override
2127
  @Override
2012
  public int hashCode() {
2128
  public int hashCode() {
Line 2339... Line 2455...
2339
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.hsnCode, typedOther.hsnCode);
2455
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.hsnCode, typedOther.hsnCode);
2340
      if (lastComparison != 0) {
2456
      if (lastComparison != 0) {
2341
        return lastComparison;
2457
        return lastComparison;
2342
      }
2458
      }
2343
    }
2459
    }
-
 
2460
    lastComparison = Boolean.valueOf(isSetInvoicePrice()).compareTo(typedOther.isSetInvoicePrice());
-
 
2461
    if (lastComparison != 0) {
-
 
2462
      return lastComparison;
-
 
2463
    }
-
 
2464
    if (isSetInvoicePrice()) {
-
 
2465
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.invoicePrice, typedOther.invoicePrice);
-
 
2466
      if (lastComparison != 0) {
-
 
2467
        return lastComparison;
-
 
2468
      }
-
 
2469
    }
-
 
2470
    lastComparison = Boolean.valueOf(isSetTp()).compareTo(typedOther.isSetTp());
-
 
2471
    if (lastComparison != 0) {
-
 
2472
      return lastComparison;
-
 
2473
    }
-
 
2474
    if (isSetTp()) {
-
 
2475
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tp, typedOther.tp);
-
 
2476
      if (lastComparison != 0) {
-
 
2477
        return lastComparison;
-
 
2478
      }
-
 
2479
    }
2344
    return 0;
2480
    return 0;
2345
  }
2481
  }
2346
 
2482
 
2347
  public _Fields fieldForId(int fieldId) {
2483
  public _Fields fieldForId(int fieldId) {
2348
    return _Fields.findByThriftId(fieldId);
2484
    return _Fields.findByThriftId(fieldId);
Line 2604... Line 2740...
2604
            this.hsnCode = iprot.readString();
2740
            this.hsnCode = iprot.readString();
2605
          } else { 
2741
          } else { 
2606
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
2742
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
2607
          }
2743
          }
2608
          break;
2744
          break;
-
 
2745
        case 33: // INVOICE_PRICE
-
 
2746
          if (field.type == org.apache.thrift.protocol.TType.DOUBLE) {
-
 
2747
            this.invoicePrice = iprot.readDouble();
-
 
2748
            setInvoicePriceIsSet(true);
-
 
2749
          } else { 
-
 
2750
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
2751
          }
-
 
2752
          break;
-
 
2753
        case 34: // TP
-
 
2754
          if (field.type == org.apache.thrift.protocol.TType.DOUBLE) {
-
 
2755
            this.tp = iprot.readDouble();
-
 
2756
            setTpIsSet(true);
-
 
2757
          } else { 
-
 
2758
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
2759
          }
-
 
2760
          break;
2609
        default:
2761
        default:
2610
          org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
2762
          org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
2611
      }
2763
      }
2612
      iprot.readFieldEnd();
2764
      iprot.readFieldEnd();
2613
    }
2765
    }
Line 2729... Line 2881...
2729
    if (this.hsnCode != null) {
2881
    if (this.hsnCode != null) {
2730
      oprot.writeFieldBegin(HSN_CODE_FIELD_DESC);
2882
      oprot.writeFieldBegin(HSN_CODE_FIELD_DESC);
2731
      oprot.writeString(this.hsnCode);
2883
      oprot.writeString(this.hsnCode);
2732
      oprot.writeFieldEnd();
2884
      oprot.writeFieldEnd();
2733
    }
2885
    }
-
 
2886
    oprot.writeFieldBegin(INVOICE_PRICE_FIELD_DESC);
-
 
2887
    oprot.writeDouble(this.invoicePrice);
-
 
2888
    oprot.writeFieldEnd();
-
 
2889
    oprot.writeFieldBegin(TP_FIELD_DESC);
-
 
2890
    oprot.writeDouble(this.tp);
-
 
2891
    oprot.writeFieldEnd();
2734
    oprot.writeFieldStop();
2892
    oprot.writeFieldStop();
2735
    oprot.writeStructEnd();
2893
    oprot.writeStructEnd();
2736
  }
2894
  }
2737
 
2895
 
2738
  @Override
2896
  @Override
Line 2897... Line 3055...
2897
      sb.append("null");
3055
      sb.append("null");
2898
    } else {
3056
    } else {
2899
      sb.append(this.hsnCode);
3057
      sb.append(this.hsnCode);
2900
    }
3058
    }
2901
    first = false;
3059
    first = false;
-
 
3060
    if (!first) sb.append(", ");
-
 
3061
    sb.append("invoicePrice:");
-
 
3062
    sb.append(this.invoicePrice);
-
 
3063
    first = false;
-
 
3064
    if (!first) sb.append(", ");
-
 
3065
    sb.append("tp:");
-
 
3066
    sb.append(this.tp);
-
 
3067
    first = false;
2902
    sb.append(")");
3068
    sb.append(")");
2903
    return sb.toString();
3069
    return sb.toString();
2904
  }
3070
  }
2905
 
3071
 
2906
  public void validate() throws org.apache.thrift.TException {
3072
  public void validate() throws org.apache.thrift.TException {