Subversion Repositories SmartDukaan

Rev

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

Rev 7291 Rev 7330
Line 56... Line 56...
56
  private static final org.apache.thrift.protocol.TField TYPE_FIELD_DESC = new org.apache.thrift.protocol.TField("type", org.apache.thrift.protocol.TType.I32, (short)32);
56
  private static final org.apache.thrift.protocol.TField TYPE_FIELD_DESC = new org.apache.thrift.protocol.TField("type", org.apache.thrift.protocol.TType.I32, (short)32);
57
  private static final org.apache.thrift.protocol.TField COMING_SOON_START_DATE_FIELD_DESC = new org.apache.thrift.protocol.TField("comingSoonStartDate", org.apache.thrift.protocol.TType.I64, (short)33);
57
  private static final org.apache.thrift.protocol.TField COMING_SOON_START_DATE_FIELD_DESC = new org.apache.thrift.protocol.TField("comingSoonStartDate", org.apache.thrift.protocol.TType.I64, (short)33);
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 ACTIVE_ON_STORE_FIELD_DESC = new org.apache.thrift.protocol.TField("activeOnStore", org.apache.thrift.protocol.TType.BOOL, (short)36);
60
  private static final org.apache.thrift.protocol.TField ACTIVE_ON_STORE_FIELD_DESC = new org.apache.thrift.protocol.TField("activeOnStore", 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);
-
 
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);
61
  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);
62
  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
  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);
65
  private static final org.apache.thrift.protocol.TField PREFERRED_INSURER_FIELD_DESC = new org.apache.thrift.protocol.TField("preferredInsurer", org.apache.thrift.protocol.TType.I64, (short)41);
64
  private static final org.apache.thrift.protocol.TField PREFERRED_INSURER_FIELD_DESC = new org.apache.thrift.protocol.TField("preferredInsurer", org.apache.thrift.protocol.TType.I64, (short)41);
66
  private static final org.apache.thrift.protocol.TField ASIN_FIELD_DESC = new org.apache.thrift.protocol.TField("asin", org.apache.thrift.protocol.TType.STRING, (short)42);
65
  private static final org.apache.thrift.protocol.TField ASIN_FIELD_DESC = new org.apache.thrift.protocol.TField("asin", org.apache.thrift.protocol.TType.STRING, (short)42);
Line 100... Line 99...
100
  private ItemType type; // required
99
  private ItemType type; // required
101
  private long comingSoonStartDate; // required
100
  private long comingSoonStartDate; // required
102
  private long expectedArrivalDate; // required
101
  private long expectedArrivalDate; // required
103
  private boolean hasItemNo; // required
102
  private boolean hasItemNo; // required
104
  private boolean activeOnStore; // required
103
  private boolean activeOnStore; // required
105
  private double vatPercentage; // required
-
 
106
  private boolean showSellingPrice; // required
104
  private boolean showSellingPrice; // required
107
  private String bestDealsDetailsText; // required
105
  private String bestDealsDetailsText; // required
108
  private String bestDealsDetailsLink; // required
106
  private String bestDealsDetailsLink; // required
109
  private long preferredInsurer; // required
107
  private long preferredInsurer; // required
110
  private String asin; // required
108
  private String asin; // required
Line 154... Line 152...
154
    TYPE((short)32, "type"),
152
    TYPE((short)32, "type"),
155
    COMING_SOON_START_DATE((short)33, "comingSoonStartDate"),
153
    COMING_SOON_START_DATE((short)33, "comingSoonStartDate"),
156
    EXPECTED_ARRIVAL_DATE((short)34, "expectedArrivalDate"),
154
    EXPECTED_ARRIVAL_DATE((short)34, "expectedArrivalDate"),
157
    HAS_ITEM_NO((short)35, "hasItemNo"),
155
    HAS_ITEM_NO((short)35, "hasItemNo"),
158
    ACTIVE_ON_STORE((short)36, "activeOnStore"),
156
    ACTIVE_ON_STORE((short)36, "activeOnStore"),
159
    VAT_PERCENTAGE((short)37, "vatPercentage"),
-
 
160
    SHOW_SELLING_PRICE((short)38, "showSellingPrice"),
157
    SHOW_SELLING_PRICE((short)38, "showSellingPrice"),
161
    BEST_DEALS_DETAILS_TEXT((short)39, "bestDealsDetailsText"),
158
    BEST_DEALS_DETAILS_TEXT((short)39, "bestDealsDetailsText"),
162
    BEST_DEALS_DETAILS_LINK((short)40, "bestDealsDetailsLink"),
159
    BEST_DEALS_DETAILS_LINK((short)40, "bestDealsDetailsLink"),
163
    PREFERRED_INSURER((short)41, "preferredInsurer"),
160
    PREFERRED_INSURER((short)41, "preferredInsurer"),
164
    ASIN((short)42, "asin"),
161
    ASIN((short)42, "asin"),
Line 246... Line 243...
246
          return EXPECTED_ARRIVAL_DATE;
243
          return EXPECTED_ARRIVAL_DATE;
247
        case 35: // HAS_ITEM_NO
244
        case 35: // HAS_ITEM_NO
248
          return HAS_ITEM_NO;
245
          return HAS_ITEM_NO;
249
        case 36: // ACTIVE_ON_STORE
246
        case 36: // ACTIVE_ON_STORE
250
          return ACTIVE_ON_STORE;
247
          return ACTIVE_ON_STORE;
251
        case 37: // VAT_PERCENTAGE
-
 
252
          return VAT_PERCENTAGE;
-
 
253
        case 38: // SHOW_SELLING_PRICE
248
        case 38: // SHOW_SELLING_PRICE
254
          return SHOW_SELLING_PRICE;
249
          return SHOW_SELLING_PRICE;
255
        case 39: // BEST_DEALS_DETAILS_TEXT
250
        case 39: // BEST_DEALS_DETAILS_TEXT
256
          return BEST_DEALS_DETAILS_TEXT;
251
          return BEST_DEALS_DETAILS_TEXT;
257
        case 40: // BEST_DEALS_DETAILS_LINK
252
        case 40: // BEST_DEALS_DETAILS_LINK
Line 325... Line 320...
325
  private static final int __PREFERREDVENDOR_ISSET_ID = 18;
320
  private static final int __PREFERREDVENDOR_ISSET_ID = 18;
326
  private static final int __COMINGSOONSTARTDATE_ISSET_ID = 19;
321
  private static final int __COMINGSOONSTARTDATE_ISSET_ID = 19;
327
  private static final int __EXPECTEDARRIVALDATE_ISSET_ID = 20;
322
  private static final int __EXPECTEDARRIVALDATE_ISSET_ID = 20;
328
  private static final int __HASITEMNO_ISSET_ID = 21;
323
  private static final int __HASITEMNO_ISSET_ID = 21;
329
  private static final int __ACTIVEONSTORE_ISSET_ID = 22;
324
  private static final int __ACTIVEONSTORE_ISSET_ID = 22;
330
  private static final int __VATPERCENTAGE_ISSET_ID = 23;
-
 
331
  private static final int __SHOWSELLINGPRICE_ISSET_ID = 24;
325
  private static final int __SHOWSELLINGPRICE_ISSET_ID = 23;
332
  private static final int __PREFERREDINSURER_ISSET_ID = 25;
326
  private static final int __PREFERREDINSURER_ISSET_ID = 24;
333
  private static final int __DEFAULTINVENTORY_ISSET_ID = 26;
327
  private static final int __DEFAULTINVENTORY_ISSET_ID = 25;
334
  private static final int __HOLDINVENTORY_ISSET_ID = 27;
328
  private static final int __HOLDINVENTORY_ISSET_ID = 26;
335
  private BitSet __isset_bit_vector = new BitSet(28);
329
  private BitSet __isset_bit_vector = new BitSet(27);
336
 
330
 
337
  public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
331
  public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
338
  static {
332
  static {
339
    Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
333
    Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
340
    tmpMap.put(_Fields.ID, new org.apache.thrift.meta_data.FieldMetaData("id", org.apache.thrift.TFieldRequirementType.DEFAULT, 
334
    tmpMap.put(_Fields.ID, new org.apache.thrift.meta_data.FieldMetaData("id", org.apache.thrift.TFieldRequirementType.DEFAULT, 
Line 407... Line 401...
407
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
401
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
408
    tmpMap.put(_Fields.HAS_ITEM_NO, new org.apache.thrift.meta_data.FieldMetaData("hasItemNo", org.apache.thrift.TFieldRequirementType.DEFAULT, 
402
    tmpMap.put(_Fields.HAS_ITEM_NO, new org.apache.thrift.meta_data.FieldMetaData("hasItemNo", org.apache.thrift.TFieldRequirementType.DEFAULT, 
409
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
403
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
410
    tmpMap.put(_Fields.ACTIVE_ON_STORE, new org.apache.thrift.meta_data.FieldMetaData("activeOnStore", org.apache.thrift.TFieldRequirementType.DEFAULT, 
404
    tmpMap.put(_Fields.ACTIVE_ON_STORE, new org.apache.thrift.meta_data.FieldMetaData("activeOnStore", org.apache.thrift.TFieldRequirementType.DEFAULT, 
411
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
405
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
412
    tmpMap.put(_Fields.VAT_PERCENTAGE, new org.apache.thrift.meta_data.FieldMetaData("vatPercentage", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
413
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
-
 
414
    tmpMap.put(_Fields.SHOW_SELLING_PRICE, new org.apache.thrift.meta_data.FieldMetaData("showSellingPrice", org.apache.thrift.TFieldRequirementType.DEFAULT, 
406
    tmpMap.put(_Fields.SHOW_SELLING_PRICE, new org.apache.thrift.meta_data.FieldMetaData("showSellingPrice", org.apache.thrift.TFieldRequirementType.DEFAULT, 
415
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
407
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
416
    tmpMap.put(_Fields.BEST_DEALS_DETAILS_TEXT, new org.apache.thrift.meta_data.FieldMetaData("bestDealsDetailsText", org.apache.thrift.TFieldRequirementType.DEFAULT, 
408
    tmpMap.put(_Fields.BEST_DEALS_DETAILS_TEXT, new org.apache.thrift.meta_data.FieldMetaData("bestDealsDetailsText", org.apache.thrift.TFieldRequirementType.DEFAULT, 
417
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
409
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
418
    tmpMap.put(_Fields.BEST_DEALS_DETAILS_LINK, new org.apache.thrift.meta_data.FieldMetaData("bestDealsDetailsLink", org.apache.thrift.TFieldRequirementType.DEFAULT, 
410
    tmpMap.put(_Fields.BEST_DEALS_DETAILS_LINK, new org.apache.thrift.meta_data.FieldMetaData("bestDealsDetailsLink", org.apache.thrift.TFieldRequirementType.DEFAULT, 
Line 454... Line 446...
454
    boolean risky,
446
    boolean risky,
455
    int warrantyPeriod,
447
    int warrantyPeriod,
456
    ItemType type,
448
    ItemType type,
457
    boolean hasItemNo,
449
    boolean hasItemNo,
458
    boolean activeOnStore,
450
    boolean activeOnStore,
459
    double vatPercentage,
-
 
460
    boolean showSellingPrice,
451
    boolean showSellingPrice,
461
    String bestDealsDetailsText,
452
    String bestDealsDetailsText,
462
    String bestDealsDetailsLink,
453
    String bestDealsDetailsLink,
463
    long preferredInsurer,
454
    long preferredInsurer,
464
    String asin,
455
    String asin,
Line 498... Line 489...
498
    this.type = type;
489
    this.type = type;
499
    this.hasItemNo = hasItemNo;
490
    this.hasItemNo = hasItemNo;
500
    setHasItemNoIsSet(true);
491
    setHasItemNoIsSet(true);
501
    this.activeOnStore = activeOnStore;
492
    this.activeOnStore = activeOnStore;
502
    setActiveOnStoreIsSet(true);
493
    setActiveOnStoreIsSet(true);
503
    this.vatPercentage = vatPercentage;
-
 
504
    setVatPercentageIsSet(true);
-
 
505
    this.showSellingPrice = showSellingPrice;
494
    this.showSellingPrice = showSellingPrice;
506
    setShowSellingPriceIsSet(true);
495
    setShowSellingPriceIsSet(true);
507
    this.bestDealsDetailsText = bestDealsDetailsText;
496
    this.bestDealsDetailsText = bestDealsDetailsText;
508
    this.bestDealsDetailsLink = bestDealsDetailsLink;
497
    this.bestDealsDetailsLink = bestDealsDetailsLink;
509
    this.preferredInsurer = preferredInsurer;
498
    this.preferredInsurer = preferredInsurer;
Line 590... Line 579...
590
    }
579
    }
591
    this.comingSoonStartDate = other.comingSoonStartDate;
580
    this.comingSoonStartDate = other.comingSoonStartDate;
592
    this.expectedArrivalDate = other.expectedArrivalDate;
581
    this.expectedArrivalDate = other.expectedArrivalDate;
593
    this.hasItemNo = other.hasItemNo;
582
    this.hasItemNo = other.hasItemNo;
594
    this.activeOnStore = other.activeOnStore;
583
    this.activeOnStore = other.activeOnStore;
595
    this.vatPercentage = other.vatPercentage;
-
 
596
    this.showSellingPrice = other.showSellingPrice;
584
    this.showSellingPrice = other.showSellingPrice;
597
    if (other.isSetBestDealsDetailsText()) {
585
    if (other.isSetBestDealsDetailsText()) {
598
      this.bestDealsDetailsText = other.bestDealsDetailsText;
586
      this.bestDealsDetailsText = other.bestDealsDetailsText;
599
    }
587
    }
600
    if (other.isSetBestDealsDetailsLink()) {
588
    if (other.isSetBestDealsDetailsLink()) {
Line 670... Line 658...
670
    this.expectedArrivalDate = 0;
658
    this.expectedArrivalDate = 0;
671
    setHasItemNoIsSet(false);
659
    setHasItemNoIsSet(false);
672
    this.hasItemNo = false;
660
    this.hasItemNo = false;
673
    setActiveOnStoreIsSet(false);
661
    setActiveOnStoreIsSet(false);
674
    this.activeOnStore = false;
662
    this.activeOnStore = false;
675
    setVatPercentageIsSet(false);
-
 
676
    this.vatPercentage = 0.0;
-
 
677
    setShowSellingPriceIsSet(false);
663
    setShowSellingPriceIsSet(false);
678
    this.showSellingPrice = false;
664
    this.showSellingPrice = false;
679
    this.bestDealsDetailsText = null;
665
    this.bestDealsDetailsText = null;
680
    this.bestDealsDetailsLink = null;
666
    this.bestDealsDetailsLink = null;
681
    setPreferredInsurerIsSet(false);
667
    setPreferredInsurerIsSet(false);
Line 1494... Line 1480...
1494
 
1480
 
1495
  public void setActiveOnStoreIsSet(boolean value) {
1481
  public void setActiveOnStoreIsSet(boolean value) {
1496
    __isset_bit_vector.set(__ACTIVEONSTORE_ISSET_ID, value);
1482
    __isset_bit_vector.set(__ACTIVEONSTORE_ISSET_ID, value);
1497
  }
1483
  }
1498
 
1484
 
1499
  public double getVatPercentage() {
-
 
1500
    return this.vatPercentage;
-
 
1501
  }
-
 
1502
 
-
 
1503
  public void setVatPercentage(double vatPercentage) {
-
 
1504
    this.vatPercentage = vatPercentage;
-
 
1505
    setVatPercentageIsSet(true);
-
 
1506
  }
-
 
1507
 
-
 
1508
  public void unsetVatPercentage() {
-
 
1509
    __isset_bit_vector.clear(__VATPERCENTAGE_ISSET_ID);
-
 
1510
  }
-
 
1511
 
-
 
1512
  /** Returns true if field vatPercentage is set (has been assigned a value) and false otherwise */
-
 
1513
  public boolean isSetVatPercentage() {
-
 
1514
    return __isset_bit_vector.get(__VATPERCENTAGE_ISSET_ID);
-
 
1515
  }
-
 
1516
 
-
 
1517
  public void setVatPercentageIsSet(boolean value) {
-
 
1518
    __isset_bit_vector.set(__VATPERCENTAGE_ISSET_ID, value);
-
 
1519
  }
-
 
1520
 
-
 
1521
  public boolean isShowSellingPrice() {
1485
  public boolean isShowSellingPrice() {
1522
    return this.showSellingPrice;
1486
    return this.showSellingPrice;
1523
  }
1487
  }
1524
 
1488
 
1525
  public void setShowSellingPrice(boolean showSellingPrice) {
1489
  public void setShowSellingPrice(boolean showSellingPrice) {
Line 1955... Line 1919...
1955
      } else {
1919
      } else {
1956
        setActiveOnStore((Boolean)value);
1920
        setActiveOnStore((Boolean)value);
1957
      }
1921
      }
1958
      break;
1922
      break;
1959
 
1923
 
1960
    case VAT_PERCENTAGE:
-
 
1961
      if (value == null) {
-
 
1962
        unsetVatPercentage();
-
 
1963
      } else {
-
 
1964
        setVatPercentage((Double)value);
-
 
1965
      }
-
 
1966
      break;
-
 
1967
 
-
 
1968
    case SHOW_SELLING_PRICE:
1924
    case SHOW_SELLING_PRICE:
1969
      if (value == null) {
1925
      if (value == null) {
1970
        unsetShowSellingPrice();
1926
        unsetShowSellingPrice();
1971
      } else {
1927
      } else {
1972
        setShowSellingPrice((Boolean)value);
1928
        setShowSellingPrice((Boolean)value);
Line 2129... Line 2085...
2129
      return Boolean.valueOf(isHasItemNo());
2085
      return Boolean.valueOf(isHasItemNo());
2130
 
2086
 
2131
    case ACTIVE_ON_STORE:
2087
    case ACTIVE_ON_STORE:
2132
      return Boolean.valueOf(isActiveOnStore());
2088
      return Boolean.valueOf(isActiveOnStore());
2133
 
2089
 
2134
    case VAT_PERCENTAGE:
-
 
2135
      return Double.valueOf(getVatPercentage());
-
 
2136
 
-
 
2137
    case SHOW_SELLING_PRICE:
2090
    case SHOW_SELLING_PRICE:
2138
      return Boolean.valueOf(isShowSellingPrice());
2091
      return Boolean.valueOf(isShowSellingPrice());
2139
 
2092
 
2140
    case BEST_DEALS_DETAILS_TEXT:
2093
    case BEST_DEALS_DETAILS_TEXT:
2141
      return getBestDealsDetailsText();
2094
      return getBestDealsDetailsText();
Line 2234... Line 2187...
2234
      return isSetExpectedArrivalDate();
2187
      return isSetExpectedArrivalDate();
2235
    case HAS_ITEM_NO:
2188
    case HAS_ITEM_NO:
2236
      return isSetHasItemNo();
2189
      return isSetHasItemNo();
2237
    case ACTIVE_ON_STORE:
2190
    case ACTIVE_ON_STORE:
2238
      return isSetActiveOnStore();
2191
      return isSetActiveOnStore();
2239
    case VAT_PERCENTAGE:
-
 
2240
      return isSetVatPercentage();
-
 
2241
    case SHOW_SELLING_PRICE:
2192
    case SHOW_SELLING_PRICE:
2242
      return isSetShowSellingPrice();
2193
      return isSetShowSellingPrice();
2243
    case BEST_DEALS_DETAILS_TEXT:
2194
    case BEST_DEALS_DETAILS_TEXT:
2244
      return isSetBestDealsDetailsText();
2195
      return isSetBestDealsDetailsText();
2245
    case BEST_DEALS_DETAILS_LINK:
2196
    case BEST_DEALS_DETAILS_LINK:
Line 2582... Line 2533...
2582
        return false;
2533
        return false;
2583
      if (this.activeOnStore != that.activeOnStore)
2534
      if (this.activeOnStore != that.activeOnStore)
2584
        return false;
2535
        return false;
2585
    }
2536
    }
2586
 
2537
 
2587
    boolean this_present_vatPercentage = true;
-
 
2588
    boolean that_present_vatPercentage = true;
-
 
2589
    if (this_present_vatPercentage || that_present_vatPercentage) {
-
 
2590
      if (!(this_present_vatPercentage && that_present_vatPercentage))
-
 
2591
        return false;
-
 
2592
      if (this.vatPercentage != that.vatPercentage)
-
 
2593
        return false;
-
 
2594
    }
-
 
2595
 
-
 
2596
    boolean this_present_showSellingPrice = true;
2538
    boolean this_present_showSellingPrice = true;
2597
    boolean that_present_showSellingPrice = true;
2539
    boolean that_present_showSellingPrice = true;
2598
    if (this_present_showSellingPrice || that_present_showSellingPrice) {
2540
    if (this_present_showSellingPrice || that_present_showSellingPrice) {
2599
      if (!(this_present_showSellingPrice && that_present_showSellingPrice))
2541
      if (!(this_present_showSellingPrice && that_present_showSellingPrice))
2600
        return false;
2542
        return false;
Line 3020... Line 2962...
3020
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.activeOnStore, typedOther.activeOnStore);
2962
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.activeOnStore, typedOther.activeOnStore);
3021
      if (lastComparison != 0) {
2963
      if (lastComparison != 0) {
3022
        return lastComparison;
2964
        return lastComparison;
3023
      }
2965
      }
3024
    }
2966
    }
3025
    lastComparison = Boolean.valueOf(isSetVatPercentage()).compareTo(typedOther.isSetVatPercentage());
-
 
3026
    if (lastComparison != 0) {
-
 
3027
      return lastComparison;
-
 
3028
    }
-
 
3029
    if (isSetVatPercentage()) {
-
 
3030
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.vatPercentage, typedOther.vatPercentage);
-
 
3031
      if (lastComparison != 0) {
-
 
3032
        return lastComparison;
-
 
3033
      }
-
 
3034
    }
-
 
3035
    lastComparison = Boolean.valueOf(isSetShowSellingPrice()).compareTo(typedOther.isSetShowSellingPrice());
2967
    lastComparison = Boolean.valueOf(isSetShowSellingPrice()).compareTo(typedOther.isSetShowSellingPrice());
3036
    if (lastComparison != 0) {
2968
    if (lastComparison != 0) {
3037
      return lastComparison;
2969
      return lastComparison;
3038
    }
2970
    }
3039
    if (isSetShowSellingPrice()) {
2971
    if (isSetShowSellingPrice()) {
Line 3397... Line 3329...
3397
            setActiveOnStoreIsSet(true);
3329
            setActiveOnStoreIsSet(true);
3398
          } else { 
3330
          } else { 
3399
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
3331
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
3400
          }
3332
          }
3401
          break;
3333
          break;
3402
        case 37: // VAT_PERCENTAGE
-
 
3403
          if (field.type == org.apache.thrift.protocol.TType.DOUBLE) {
-
 
3404
            this.vatPercentage = iprot.readDouble();
-
 
3405
            setVatPercentageIsSet(true);
-
 
3406
          } else { 
-
 
3407
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
3408
          }
-
 
3409
          break;
-
 
3410
        case 38: // SHOW_SELLING_PRICE
3334
        case 38: // SHOW_SELLING_PRICE
3411
          if (field.type == org.apache.thrift.protocol.TType.BOOL) {
3335
          if (field.type == org.apache.thrift.protocol.TType.BOOL) {
3412
            this.showSellingPrice = iprot.readBool();
3336
            this.showSellingPrice = iprot.readBool();
3413
            setShowSellingPriceIsSet(true);
3337
            setShowSellingPriceIsSet(true);
3414
          } else { 
3338
          } else { 
Line 3632... Line 3556...
3632
    oprot.writeBool(this.hasItemNo);
3556
    oprot.writeBool(this.hasItemNo);
3633
    oprot.writeFieldEnd();
3557
    oprot.writeFieldEnd();
3634
    oprot.writeFieldBegin(ACTIVE_ON_STORE_FIELD_DESC);
3558
    oprot.writeFieldBegin(ACTIVE_ON_STORE_FIELD_DESC);
3635
    oprot.writeBool(this.activeOnStore);
3559
    oprot.writeBool(this.activeOnStore);
3636
    oprot.writeFieldEnd();
3560
    oprot.writeFieldEnd();
3637
    oprot.writeFieldBegin(VAT_PERCENTAGE_FIELD_DESC);
-
 
3638
    oprot.writeDouble(this.vatPercentage);
-
 
3639
    oprot.writeFieldEnd();
-
 
3640
    oprot.writeFieldBegin(SHOW_SELLING_PRICE_FIELD_DESC);
3561
    oprot.writeFieldBegin(SHOW_SELLING_PRICE_FIELD_DESC);
3641
    oprot.writeBool(this.showSellingPrice);
3562
    oprot.writeBool(this.showSellingPrice);
3642
    oprot.writeFieldEnd();
3563
    oprot.writeFieldEnd();
3643
    if (this.bestDealsDetailsText != null) {
3564
    if (this.bestDealsDetailsText != null) {
3644
      oprot.writeFieldBegin(BEST_DEALS_DETAILS_TEXT_FIELD_DESC);
3565
      oprot.writeFieldBegin(BEST_DEALS_DETAILS_TEXT_FIELD_DESC);
Line 3883... Line 3804...
3883
    if (!first) sb.append(", ");
3804
    if (!first) sb.append(", ");
3884
    sb.append("activeOnStore:");
3805
    sb.append("activeOnStore:");
3885
    sb.append(this.activeOnStore);
3806
    sb.append(this.activeOnStore);
3886
    first = false;
3807
    first = false;
3887
    if (!first) sb.append(", ");
3808
    if (!first) sb.append(", ");
3888
    sb.append("vatPercentage:");
-
 
3889
    sb.append(this.vatPercentage);
-
 
3890
    first = false;
-
 
3891
    if (!first) sb.append(", ");
-
 
3892
    sb.append("showSellingPrice:");
3809
    sb.append("showSellingPrice:");
3893
    sb.append(this.showSellingPrice);
3810
    sb.append(this.showSellingPrice);
3894
    first = false;
3811
    first = false;
3895
    if (!first) sb.append(", ");
3812
    if (!first) sb.append(", ");
3896
    sb.append("bestDealsDetailsText:");
3813
    sb.append("bestDealsDetailsText:");