Subversion Repositories SmartDukaan

Rev

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

Rev 6241 Rev 6777
Line 58... Line 58...
58
  private static final org.apache.thrift.protocol.TField EXPECTED_ARRIVAL_DATE_FIELD_DESC = new org.apache.thrift.protocol.TField("expectedArrivalDate", org.apache.thrift.protocol.TType.I64, (short)34);
58
  private static final org.apache.thrift.protocol.TField EXPECTED_ARRIVAL_DATE_FIELD_DESC = new org.apache.thrift.protocol.TField("expectedArrivalDate", org.apache.thrift.protocol.TType.I64, (short)34);
59
  private static final org.apache.thrift.protocol.TField HAS_ITEM_NO_FIELD_DESC = new org.apache.thrift.protocol.TField("hasItemNo", org.apache.thrift.protocol.TType.BOOL, (short)35);
59
  private static final org.apache.thrift.protocol.TField HAS_ITEM_NO_FIELD_DESC = new org.apache.thrift.protocol.TField("hasItemNo", org.apache.thrift.protocol.TType.BOOL, (short)35);
60
  private static final org.apache.thrift.protocol.TField CLEARANCE_FIELD_DESC = new org.apache.thrift.protocol.TField("clearance", org.apache.thrift.protocol.TType.BOOL, (short)36);
60
  private static final org.apache.thrift.protocol.TField CLEARANCE_FIELD_DESC = new org.apache.thrift.protocol.TField("clearance", org.apache.thrift.protocol.TType.BOOL, (short)36);
61
  private static final org.apache.thrift.protocol.TField VAT_PERCENTAGE_FIELD_DESC = new org.apache.thrift.protocol.TField("vatPercentage", org.apache.thrift.protocol.TType.DOUBLE, (short)37);
61
  private static final org.apache.thrift.protocol.TField VAT_PERCENTAGE_FIELD_DESC = new org.apache.thrift.protocol.TField("vatPercentage", org.apache.thrift.protocol.TType.DOUBLE, (short)37);
62
  private static final org.apache.thrift.protocol.TField SHOW_SELLING_PRICE_FIELD_DESC = new org.apache.thrift.protocol.TField("showSellingPrice", org.apache.thrift.protocol.TType.BOOL, (short)38);
62
  private static final org.apache.thrift.protocol.TField SHOW_SELLING_PRICE_FIELD_DESC = new org.apache.thrift.protocol.TField("showSellingPrice", org.apache.thrift.protocol.TType.BOOL, (short)38);
-
 
63
  private static final org.apache.thrift.protocol.TField BEST_DEALS_DETAILS_TEXT_FIELD_DESC = new org.apache.thrift.protocol.TField("bestDealsDetailsText", org.apache.thrift.protocol.TType.STRING, (short)39);
-
 
64
  private static final org.apache.thrift.protocol.TField BEST_DEALS_DETAILS_LINK_FIELD_DESC = new org.apache.thrift.protocol.TField("bestDealsDetailsLink", org.apache.thrift.protocol.TType.STRING, (short)40);
63
 
65
 
64
  private long id; // required
66
  private long id; // required
65
  private String productGroup; // required
67
  private String productGroup; // required
66
  private String brand; // required
68
  private String brand; // required
67
  private String modelNumber; // required
69
  private String modelNumber; // required
Line 96... Line 98...
96
  private long expectedArrivalDate; // required
98
  private long expectedArrivalDate; // required
97
  private boolean hasItemNo; // required
99
  private boolean hasItemNo; // required
98
  private boolean clearance; // required
100
  private boolean clearance; // required
99
  private double vatPercentage; // required
101
  private double vatPercentage; // required
100
  private boolean showSellingPrice; // required
102
  private boolean showSellingPrice; // required
-
 
103
  private String bestDealsDetailsText; // required
-
 
104
  private String bestDealsDetailsLink; // required
101
 
105
 
102
  /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
106
  /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
103
  public enum _Fields implements org.apache.thrift.TFieldIdEnum {
107
  public enum _Fields implements org.apache.thrift.TFieldIdEnum {
104
    ID((short)1, "id"),
108
    ID((short)1, "id"),
105
    PRODUCT_GROUP((short)2, "productGroup"),
109
    PRODUCT_GROUP((short)2, "productGroup"),
Line 143... Line 147...
143
    COMING_SOON_START_DATE((short)33, "comingSoonStartDate"),
147
    COMING_SOON_START_DATE((short)33, "comingSoonStartDate"),
144
    EXPECTED_ARRIVAL_DATE((short)34, "expectedArrivalDate"),
148
    EXPECTED_ARRIVAL_DATE((short)34, "expectedArrivalDate"),
145
    HAS_ITEM_NO((short)35, "hasItemNo"),
149
    HAS_ITEM_NO((short)35, "hasItemNo"),
146
    CLEARANCE((short)36, "clearance"),
150
    CLEARANCE((short)36, "clearance"),
147
    VAT_PERCENTAGE((short)37, "vatPercentage"),
151
    VAT_PERCENTAGE((short)37, "vatPercentage"),
148
    SHOW_SELLING_PRICE((short)38, "showSellingPrice");
152
    SHOW_SELLING_PRICE((short)38, "showSellingPrice"),
-
 
153
    BEST_DEALS_DETAILS_TEXT((short)39, "bestDealsDetailsText"),
-
 
154
    BEST_DEALS_DETAILS_LINK((short)40, "bestDealsDetailsLink");
149
 
155
 
150
    private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
156
    private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
151
 
157
 
152
    static {
158
    static {
153
      for (_Fields field : EnumSet.allOf(_Fields.class)) {
159
      for (_Fields field : EnumSet.allOf(_Fields.class)) {
Line 232... Line 238...
232
          return CLEARANCE;
238
          return CLEARANCE;
233
        case 37: // VAT_PERCENTAGE
239
        case 37: // VAT_PERCENTAGE
234
          return VAT_PERCENTAGE;
240
          return VAT_PERCENTAGE;
235
        case 38: // SHOW_SELLING_PRICE
241
        case 38: // SHOW_SELLING_PRICE
236
          return SHOW_SELLING_PRICE;
242
          return SHOW_SELLING_PRICE;
-
 
243
        case 39: // BEST_DEALS_DETAILS_TEXT
-
 
244
          return BEST_DEALS_DETAILS_TEXT;
-
 
245
        case 40: // BEST_DEALS_DETAILS_LINK
-
 
246
          return BEST_DEALS_DETAILS_LINK;
237
        default:
247
        default:
238
          return null;
248
          return null;
239
      }
249
      }
240
    }
250
    }
241
 
251
 
Line 378... Line 388...
378
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
388
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
379
    tmpMap.put(_Fields.VAT_PERCENTAGE, new org.apache.thrift.meta_data.FieldMetaData("vatPercentage", org.apache.thrift.TFieldRequirementType.DEFAULT, 
389
    tmpMap.put(_Fields.VAT_PERCENTAGE, new org.apache.thrift.meta_data.FieldMetaData("vatPercentage", org.apache.thrift.TFieldRequirementType.DEFAULT, 
380
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
390
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
381
    tmpMap.put(_Fields.SHOW_SELLING_PRICE, new org.apache.thrift.meta_data.FieldMetaData("showSellingPrice", org.apache.thrift.TFieldRequirementType.DEFAULT, 
391
    tmpMap.put(_Fields.SHOW_SELLING_PRICE, new org.apache.thrift.meta_data.FieldMetaData("showSellingPrice", org.apache.thrift.TFieldRequirementType.DEFAULT, 
382
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
392
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
-
 
393
    tmpMap.put(_Fields.BEST_DEALS_DETAILS_TEXT, new org.apache.thrift.meta_data.FieldMetaData("bestDealsDetailsText", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
394
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
-
 
395
    tmpMap.put(_Fields.BEST_DEALS_DETAILS_LINK, new org.apache.thrift.meta_data.FieldMetaData("bestDealsDetailsLink", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
396
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
383
    metaDataMap = Collections.unmodifiableMap(tmpMap);
397
    metaDataMap = Collections.unmodifiableMap(tmpMap);
384
    org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(Item.class, metaDataMap);
398
    org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(Item.class, metaDataMap);
385
  }
399
  }
386
 
400
 
387
  public Item() {
401
  public Item() {
Line 410... Line 424...
410
    int warrantyPeriod,
424
    int warrantyPeriod,
411
    ItemType type,
425
    ItemType type,
412
    boolean hasItemNo,
426
    boolean hasItemNo,
413
    boolean clearance,
427
    boolean clearance,
414
    double vatPercentage,
428
    double vatPercentage,
415
    boolean showSellingPrice)
429
    boolean showSellingPrice,
-
 
430
    String bestDealsDetailsText,
-
 
431
    String bestDealsDetailsLink)
416
  {
432
  {
417
    this();
433
    this();
418
    this.id = id;
434
    this.id = id;
419
    setIdIsSet(true);
435
    setIdIsSet(true);
420
    this.productGroup = productGroup;
436
    this.productGroup = productGroup;
Line 451... Line 467...
451
    setClearanceIsSet(true);
467
    setClearanceIsSet(true);
452
    this.vatPercentage = vatPercentage;
468
    this.vatPercentage = vatPercentage;
453
    setVatPercentageIsSet(true);
469
    setVatPercentageIsSet(true);
454
    this.showSellingPrice = showSellingPrice;
470
    this.showSellingPrice = showSellingPrice;
455
    setShowSellingPriceIsSet(true);
471
    setShowSellingPriceIsSet(true);
-
 
472
    this.bestDealsDetailsText = bestDealsDetailsText;
-
 
473
    this.bestDealsDetailsLink = bestDealsDetailsLink;
456
  }
474
  }
457
 
475
 
458
  /**
476
  /**
459
   * Performs a deep copy on <i>other</i>.
477
   * Performs a deep copy on <i>other</i>.
460
   */
478
   */
Line 532... Line 550...
532
    this.expectedArrivalDate = other.expectedArrivalDate;
550
    this.expectedArrivalDate = other.expectedArrivalDate;
533
    this.hasItemNo = other.hasItemNo;
551
    this.hasItemNo = other.hasItemNo;
534
    this.clearance = other.clearance;
552
    this.clearance = other.clearance;
535
    this.vatPercentage = other.vatPercentage;
553
    this.vatPercentage = other.vatPercentage;
536
    this.showSellingPrice = other.showSellingPrice;
554
    this.showSellingPrice = other.showSellingPrice;
-
 
555
    if (other.isSetBestDealsDetailsText()) {
-
 
556
      this.bestDealsDetailsText = other.bestDealsDetailsText;
-
 
557
    }
-
 
558
    if (other.isSetBestDealsDetailsLink()) {
-
 
559
      this.bestDealsDetailsLink = other.bestDealsDetailsLink;
-
 
560
    }
537
  }
561
  }
538
 
562
 
539
  public Item deepCopy() {
563
  public Item deepCopy() {
540
    return new Item(this);
564
    return new Item(this);
541
  }
565
  }
Line 602... Line 626...
602
    this.clearance = false;
626
    this.clearance = false;
603
    setVatPercentageIsSet(false);
627
    setVatPercentageIsSet(false);
604
    this.vatPercentage = 0.0;
628
    this.vatPercentage = 0.0;
605
    setShowSellingPriceIsSet(false);
629
    setShowSellingPriceIsSet(false);
606
    this.showSellingPrice = false;
630
    this.showSellingPrice = false;
-
 
631
    this.bestDealsDetailsText = null;
-
 
632
    this.bestDealsDetailsLink = null;
607
  }
633
  }
608
 
634
 
609
  public long getId() {
635
  public long getId() {
610
    return this.id;
636
    return this.id;
611
  }
637
  }
Line 1457... Line 1483...
1457
 
1483
 
1458
  public void setShowSellingPriceIsSet(boolean value) {
1484
  public void setShowSellingPriceIsSet(boolean value) {
1459
    __isset_bit_vector.set(__SHOWSELLINGPRICE_ISSET_ID, value);
1485
    __isset_bit_vector.set(__SHOWSELLINGPRICE_ISSET_ID, value);
1460
  }
1486
  }
1461
 
1487
 
-
 
1488
  public String getBestDealsDetailsText() {
-
 
1489
    return this.bestDealsDetailsText;
-
 
1490
  }
-
 
1491
 
-
 
1492
  public void setBestDealsDetailsText(String bestDealsDetailsText) {
-
 
1493
    this.bestDealsDetailsText = bestDealsDetailsText;
-
 
1494
  }
-
 
1495
 
-
 
1496
  public void unsetBestDealsDetailsText() {
-
 
1497
    this.bestDealsDetailsText = null;
-
 
1498
  }
-
 
1499
 
-
 
1500
  /** Returns true if field bestDealsDetailsText is set (has been assigned a value) and false otherwise */
-
 
1501
  public boolean isSetBestDealsDetailsText() {
-
 
1502
    return this.bestDealsDetailsText != null;
-
 
1503
  }
-
 
1504
 
-
 
1505
  public void setBestDealsDetailsTextIsSet(boolean value) {
-
 
1506
    if (!value) {
-
 
1507
      this.bestDealsDetailsText = null;
-
 
1508
    }
-
 
1509
  }
-
 
1510
 
-
 
1511
  public String getBestDealsDetailsLink() {
-
 
1512
    return this.bestDealsDetailsLink;
-
 
1513
  }
-
 
1514
 
-
 
1515
  public void setBestDealsDetailsLink(String bestDealsDetailsLink) {
-
 
1516
    this.bestDealsDetailsLink = bestDealsDetailsLink;
-
 
1517
  }
-
 
1518
 
-
 
1519
  public void unsetBestDealsDetailsLink() {
-
 
1520
    this.bestDealsDetailsLink = null;
-
 
1521
  }
-
 
1522
 
-
 
1523
  /** Returns true if field bestDealsDetailsLink is set (has been assigned a value) and false otherwise */
-
 
1524
  public boolean isSetBestDealsDetailsLink() {
-
 
1525
    return this.bestDealsDetailsLink != null;
-
 
1526
  }
-
 
1527
 
-
 
1528
  public void setBestDealsDetailsLinkIsSet(boolean value) {
-
 
1529
    if (!value) {
-
 
1530
      this.bestDealsDetailsLink = null;
-
 
1531
    }
-
 
1532
  }
-
 
1533
 
1462
  public void setFieldValue(_Fields field, Object value) {
1534
  public void setFieldValue(_Fields field, Object value) {
1463
    switch (field) {
1535
    switch (field) {
1464
    case ID:
1536
    case ID:
1465
      if (value == null) {
1537
      if (value == null) {
1466
        unsetId();
1538
        unsetId();
Line 1755... Line 1827...
1755
      } else {
1827
      } else {
1756
        setShowSellingPrice((Boolean)value);
1828
        setShowSellingPrice((Boolean)value);
1757
      }
1829
      }
1758
      break;
1830
      break;
1759
 
1831
 
-
 
1832
    case BEST_DEALS_DETAILS_TEXT:
-
 
1833
      if (value == null) {
-
 
1834
        unsetBestDealsDetailsText();
-
 
1835
      } else {
-
 
1836
        setBestDealsDetailsText((String)value);
-
 
1837
      }
-
 
1838
      break;
-
 
1839
 
-
 
1840
    case BEST_DEALS_DETAILS_LINK:
-
 
1841
      if (value == null) {
-
 
1842
        unsetBestDealsDetailsLink();
-
 
1843
      } else {
-
 
1844
        setBestDealsDetailsLink((String)value);
-
 
1845
      }
-
 
1846
      break;
-
 
1847
 
1760
    }
1848
    }
1761
  }
1849
  }
1762
 
1850
 
1763
  public Object getFieldValue(_Fields field) {
1851
  public Object getFieldValue(_Fields field) {
1764
    switch (field) {
1852
    switch (field) {
Line 1871... Line 1959...
1871
      return Double.valueOf(getVatPercentage());
1959
      return Double.valueOf(getVatPercentage());
1872
 
1960
 
1873
    case SHOW_SELLING_PRICE:
1961
    case SHOW_SELLING_PRICE:
1874
      return Boolean.valueOf(isShowSellingPrice());
1962
      return Boolean.valueOf(isShowSellingPrice());
1875
 
1963
 
-
 
1964
    case BEST_DEALS_DETAILS_TEXT:
-
 
1965
      return getBestDealsDetailsText();
-
 
1966
 
-
 
1967
    case BEST_DEALS_DETAILS_LINK:
-
 
1968
      return getBestDealsDetailsLink();
-
 
1969
 
1876
    }
1970
    }
1877
    throw new IllegalStateException();
1971
    throw new IllegalStateException();
1878
  }
1972
  }
1879
 
1973
 
1880
  /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
1974
  /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
Line 1956... Line 2050...
1956
      return isSetClearance();
2050
      return isSetClearance();
1957
    case VAT_PERCENTAGE:
2051
    case VAT_PERCENTAGE:
1958
      return isSetVatPercentage();
2052
      return isSetVatPercentage();
1959
    case SHOW_SELLING_PRICE:
2053
    case SHOW_SELLING_PRICE:
1960
      return isSetShowSellingPrice();
2054
      return isSetShowSellingPrice();
-
 
2055
    case BEST_DEALS_DETAILS_TEXT:
-
 
2056
      return isSetBestDealsDetailsText();
-
 
2057
    case BEST_DEALS_DETAILS_LINK:
-
 
2058
      return isSetBestDealsDetailsLink();
1961
    }
2059
    }
1962
    throw new IllegalStateException();
2060
    throw new IllegalStateException();
1963
  }
2061
  }
1964
 
2062
 
1965
  @Override
2063
  @Override
Line 2306... Line 2404...
2306
        return false;
2404
        return false;
2307
      if (this.showSellingPrice != that.showSellingPrice)
2405
      if (this.showSellingPrice != that.showSellingPrice)
2308
        return false;
2406
        return false;
2309
    }
2407
    }
2310
 
2408
 
-
 
2409
    boolean this_present_bestDealsDetailsText = true && this.isSetBestDealsDetailsText();
-
 
2410
    boolean that_present_bestDealsDetailsText = true && that.isSetBestDealsDetailsText();
-
 
2411
    if (this_present_bestDealsDetailsText || that_present_bestDealsDetailsText) {
-
 
2412
      if (!(this_present_bestDealsDetailsText && that_present_bestDealsDetailsText))
-
 
2413
        return false;
-
 
2414
      if (!this.bestDealsDetailsText.equals(that.bestDealsDetailsText))
-
 
2415
        return false;
-
 
2416
    }
-
 
2417
 
-
 
2418
    boolean this_present_bestDealsDetailsLink = true && this.isSetBestDealsDetailsLink();
-
 
2419
    boolean that_present_bestDealsDetailsLink = true && that.isSetBestDealsDetailsLink();
-
 
2420
    if (this_present_bestDealsDetailsLink || that_present_bestDealsDetailsLink) {
-
 
2421
      if (!(this_present_bestDealsDetailsLink && that_present_bestDealsDetailsLink))
-
 
2422
        return false;
-
 
2423
      if (!this.bestDealsDetailsLink.equals(that.bestDealsDetailsLink))
-
 
2424
        return false;
-
 
2425
    }
-
 
2426
 
2311
    return true;
2427
    return true;
2312
  }
2428
  }
2313
 
2429
 
2314
  @Override
2430
  @Override
2315
  public int hashCode() {
2431
  public int hashCode() {
Line 2692... Line 2808...
2692
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.showSellingPrice, typedOther.showSellingPrice);
2808
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.showSellingPrice, typedOther.showSellingPrice);
2693
      if (lastComparison != 0) {
2809
      if (lastComparison != 0) {
2694
        return lastComparison;
2810
        return lastComparison;
2695
      }
2811
      }
2696
    }
2812
    }
-
 
2813
    lastComparison = Boolean.valueOf(isSetBestDealsDetailsText()).compareTo(typedOther.isSetBestDealsDetailsText());
-
 
2814
    if (lastComparison != 0) {
-
 
2815
      return lastComparison;
-
 
2816
    }
-
 
2817
    if (isSetBestDealsDetailsText()) {
-
 
2818
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.bestDealsDetailsText, typedOther.bestDealsDetailsText);
-
 
2819
      if (lastComparison != 0) {
-
 
2820
        return lastComparison;
-
 
2821
      }
-
 
2822
    }
-
 
2823
    lastComparison = Boolean.valueOf(isSetBestDealsDetailsLink()).compareTo(typedOther.isSetBestDealsDetailsLink());
-
 
2824
    if (lastComparison != 0) {
-
 
2825
      return lastComparison;
-
 
2826
    }
-
 
2827
    if (isSetBestDealsDetailsLink()) {
-
 
2828
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.bestDealsDetailsLink, typedOther.bestDealsDetailsLink);
-
 
2829
      if (lastComparison != 0) {
-
 
2830
        return lastComparison;
-
 
2831
      }
-
 
2832
    }
2697
    return 0;
2833
    return 0;
2698
  }
2834
  }
2699
 
2835
 
2700
  public _Fields fieldForId(int fieldId) {
2836
  public _Fields fieldForId(int fieldId) {
2701
    return _Fields.findByThriftId(fieldId);
2837
    return _Fields.findByThriftId(fieldId);
Line 3005... Line 3141...
3005
            setShowSellingPriceIsSet(true);
3141
            setShowSellingPriceIsSet(true);
3006
          } else { 
3142
          } else { 
3007
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
3143
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
3008
          }
3144
          }
3009
          break;
3145
          break;
-
 
3146
        case 39: // BEST_DEALS_DETAILS_TEXT
-
 
3147
          if (field.type == org.apache.thrift.protocol.TType.STRING) {
-
 
3148
            this.bestDealsDetailsText = iprot.readString();
-
 
3149
          } else { 
-
 
3150
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
3151
          }
-
 
3152
          break;
-
 
3153
        case 40: // BEST_DEALS_DETAILS_LINK
-
 
3154
          if (field.type == org.apache.thrift.protocol.TType.STRING) {
-
 
3155
            this.bestDealsDetailsLink = iprot.readString();
-
 
3156
          } else { 
-
 
3157
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
3158
          }
-
 
3159
          break;
3010
        default:
3160
        default:
3011
          org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
3161
          org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
3012
      }
3162
      }
3013
      iprot.readFieldEnd();
3163
      iprot.readFieldEnd();
3014
    }
3164
    }
Line 3185... Line 3335...
3185
    oprot.writeDouble(this.vatPercentage);
3335
    oprot.writeDouble(this.vatPercentage);
3186
    oprot.writeFieldEnd();
3336
    oprot.writeFieldEnd();
3187
    oprot.writeFieldBegin(SHOW_SELLING_PRICE_FIELD_DESC);
3337
    oprot.writeFieldBegin(SHOW_SELLING_PRICE_FIELD_DESC);
3188
    oprot.writeBool(this.showSellingPrice);
3338
    oprot.writeBool(this.showSellingPrice);
3189
    oprot.writeFieldEnd();
3339
    oprot.writeFieldEnd();
-
 
3340
    if (this.bestDealsDetailsText != null) {
-
 
3341
      oprot.writeFieldBegin(BEST_DEALS_DETAILS_TEXT_FIELD_DESC);
-
 
3342
      oprot.writeString(this.bestDealsDetailsText);
-
 
3343
      oprot.writeFieldEnd();
-
 
3344
    }
-
 
3345
    if (this.bestDealsDetailsLink != null) {
-
 
3346
      oprot.writeFieldBegin(BEST_DEALS_DETAILS_LINK_FIELD_DESC);
-
 
3347
      oprot.writeString(this.bestDealsDetailsLink);
-
 
3348
      oprot.writeFieldEnd();
-
 
3349
    }
3190
    oprot.writeFieldStop();
3350
    oprot.writeFieldStop();
3191
    oprot.writeStructEnd();
3351
    oprot.writeStructEnd();
3192
  }
3352
  }
3193
 
3353
 
3194
  @Override
3354
  @Override
Line 3413... Line 3573...
3413
    first = false;
3573
    first = false;
3414
    if (!first) sb.append(", ");
3574
    if (!first) sb.append(", ");
3415
    sb.append("showSellingPrice:");
3575
    sb.append("showSellingPrice:");
3416
    sb.append(this.showSellingPrice);
3576
    sb.append(this.showSellingPrice);
3417
    first = false;
3577
    first = false;
-
 
3578
    if (!first) sb.append(", ");
-
 
3579
    sb.append("bestDealsDetailsText:");
-
 
3580
    if (this.bestDealsDetailsText == null) {
-
 
3581
      sb.append("null");
-
 
3582
    } else {
-
 
3583
      sb.append(this.bestDealsDetailsText);
-
 
3584
    }
-
 
3585
    first = false;
-
 
3586
    if (!first) sb.append(", ");
-
 
3587
    sb.append("bestDealsDetailsLink:");
-
 
3588
    if (this.bestDealsDetailsLink == null) {
-
 
3589
      sb.append("null");
-
 
3590
    } else {
-
 
3591
      sb.append(this.bestDealsDetailsLink);
-
 
3592
    }
-
 
3593
    first = false;
3418
    sb.append(")");
3594
    sb.append(")");
3419
    return sb.toString();
3595
    return sb.toString();
3420
  }
3596
  }
3421
 
3597
 
3422
  public void validate() throws org.apache.thrift.TException {
3598
  public void validate() throws org.apache.thrift.TException {