Subversion Repositories SmartDukaan

Rev

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

Rev 2114 Rev 2128
Line 219... Line 219...
219
        new FieldValueMetaData(TType.I64)));
219
        new FieldValueMetaData(TType.I64)));
220
    put(_Fields.FEATURE_DESCRIPTION, new FieldMetaData("featureDescription", TFieldRequirementType.DEFAULT, 
220
    put(_Fields.FEATURE_DESCRIPTION, new FieldMetaData("featureDescription", TFieldRequirementType.DEFAULT, 
221
        new FieldValueMetaData(TType.STRING)));
221
        new FieldValueMetaData(TType.STRING)));
222
    put(_Fields.ITEM_INVENTORY, new FieldMetaData("itemInventory", TFieldRequirementType.DEFAULT, 
222
    put(_Fields.ITEM_INVENTORY, new FieldMetaData("itemInventory", TFieldRequirementType.DEFAULT, 
223
        new StructMetaData(TType.STRUCT, ItemInventory.class)));
223
        new StructMetaData(TType.STRUCT, ItemInventory.class)));
224
    put(_Fields.MRP, new FieldMetaData("mrp", TFieldRequirementType.DEFAULT, 
224
    put(_Fields.MRP, new FieldMetaData("mrp", TFieldRequirementType.OPTIONAL, 
225
        new FieldValueMetaData(TType.DOUBLE)));
225
        new FieldValueMetaData(TType.DOUBLE)));
226
    put(_Fields.MOP, new FieldMetaData("mop", TFieldRequirementType.DEFAULT, 
226
    put(_Fields.MOP, new FieldMetaData("mop", TFieldRequirementType.DEFAULT, 
227
        new FieldValueMetaData(TType.DOUBLE)));
227
        new FieldValueMetaData(TType.DOUBLE)));
228
    put(_Fields.SELLING_PRICE, new FieldMetaData("sellingPrice", TFieldRequirementType.DEFAULT, 
228
    put(_Fields.SELLING_PRICE, new FieldMetaData("sellingPrice", TFieldRequirementType.OPTIONAL, 
229
        new FieldValueMetaData(TType.DOUBLE)));
229
        new FieldValueMetaData(TType.DOUBLE)));
230
    put(_Fields.TRANSFER_PRICE, new FieldMetaData("transferPrice", TFieldRequirementType.DEFAULT, 
230
    put(_Fields.TRANSFER_PRICE, new FieldMetaData("transferPrice", TFieldRequirementType.DEFAULT, 
231
        new FieldValueMetaData(TType.DOUBLE)));
231
        new FieldValueMetaData(TType.DOUBLE)));
232
    put(_Fields.WEIGHT, new FieldMetaData("weight", TFieldRequirementType.DEFAULT, 
232
    put(_Fields.WEIGHT, new FieldMetaData("weight", TFieldRequirementType.OPTIONAL, 
233
        new FieldValueMetaData(TType.DOUBLE)));
233
        new FieldValueMetaData(TType.DOUBLE)));
234
    put(_Fields.ADDED_ON, new FieldMetaData("addedOn", TFieldRequirementType.DEFAULT, 
234
    put(_Fields.ADDED_ON, new FieldMetaData("addedOn", TFieldRequirementType.DEFAULT, 
235
        new FieldValueMetaData(TType.I64)));
235
        new FieldValueMetaData(TType.I64)));
236
    put(_Fields.START_DATE, new FieldMetaData("startDate", TFieldRequirementType.DEFAULT, 
236
    put(_Fields.START_DATE, new FieldMetaData("startDate", TFieldRequirementType.DEFAULT, 
237
        new FieldValueMetaData(TType.I64)));
237
        new FieldValueMetaData(TType.I64)));
Line 245... Line 245...
245
        new MapMetaData(TType.MAP, 
245
        new MapMetaData(TType.MAP, 
246
            new FieldValueMetaData(TType.STRING), 
246
            new FieldValueMetaData(TType.STRING), 
247
            new FieldValueMetaData(TType.STRING))));
247
            new FieldValueMetaData(TType.STRING))));
248
    put(_Fields.BEST_DEAL_TEXT, new FieldMetaData("bestDealText", TFieldRequirementType.DEFAULT, 
248
    put(_Fields.BEST_DEAL_TEXT, new FieldMetaData("bestDealText", TFieldRequirementType.DEFAULT, 
249
        new FieldValueMetaData(TType.STRING)));
249
        new FieldValueMetaData(TType.STRING)));
250
    put(_Fields.BEST_DEAL_VALUE, new FieldMetaData("bestDealValue", TFieldRequirementType.DEFAULT, 
250
    put(_Fields.BEST_DEAL_VALUE, new FieldMetaData("bestDealValue", TFieldRequirementType.OPTIONAL, 
251
        new FieldValueMetaData(TType.DOUBLE)));
251
        new FieldValueMetaData(TType.DOUBLE)));
252
    put(_Fields.DEALER_PRICE, new FieldMetaData("dealerPrice", TFieldRequirementType.DEFAULT, 
252
    put(_Fields.DEALER_PRICE, new FieldMetaData("dealerPrice", TFieldRequirementType.DEFAULT, 
253
        new FieldValueMetaData(TType.DOUBLE)));
253
        new FieldValueMetaData(TType.DOUBLE)));
254
    put(_Fields.DEFAULT_FOR_ENTITY, new FieldMetaData("defaultForEntity", TFieldRequirementType.DEFAULT, 
254
    put(_Fields.DEFAULT_FOR_ENTITY, new FieldMetaData("defaultForEntity", TFieldRequirementType.DEFAULT, 
255
        new FieldValueMetaData(TType.BOOL)));
255
        new FieldValueMetaData(TType.BOOL)));
256
    put(_Fields.UPDATED_ON, new FieldMetaData("updatedOn", TFieldRequirementType.DEFAULT, 
256
    put(_Fields.UPDATED_ON, new FieldMetaData("updatedOn", TFieldRequirementType.DEFAULT, 
257
        new FieldValueMetaData(TType.I64)));
257
        new FieldValueMetaData(TType.I64)));
258
    put(_Fields.BEST_SELLING_RANK, new FieldMetaData("bestSellingRank", TFieldRequirementType.DEFAULT, 
258
    put(_Fields.BEST_SELLING_RANK, new FieldMetaData("bestSellingRank", TFieldRequirementType.OPTIONAL, 
259
        new FieldValueMetaData(TType.I64)));
259
        new FieldValueMetaData(TType.I64)));
260
    put(_Fields.HOTSPOT_CATEGORY, new FieldMetaData("hotspotCategory", TFieldRequirementType.DEFAULT, 
260
    put(_Fields.HOTSPOT_CATEGORY, new FieldMetaData("hotspotCategory", TFieldRequirementType.DEFAULT, 
261
        new FieldValueMetaData(TType.STRING)));
261
        new FieldValueMetaData(TType.STRING)));
262
  }});
262
  }});
263
 
263
 
Line 279... Line 279...
279
    String comments,
279
    String comments,
280
    long catalogItemId,
280
    long catalogItemId,
281
    long featureId,
281
    long featureId,
282
    String featureDescription,
282
    String featureDescription,
283
    ItemInventory itemInventory,
283
    ItemInventory itemInventory,
284
    double mrp,
-
 
285
    double mop,
284
    double mop,
286
    double sellingPrice,
-
 
287
    double transferPrice,
285
    double transferPrice,
288
    double weight,
-
 
289
    long addedOn,
286
    long addedOn,
290
    long startDate,
287
    long startDate,
291
    long retireDate,
288
    long retireDate,
292
    status itemStatus,
289
    status itemStatus,
293
    String status_description,
290
    String status_description,
294
    Map<String,String> otherInfo,
291
    Map<String,String> otherInfo,
295
    String bestDealText,
292
    String bestDealText,
296
    double bestDealValue,
-
 
297
    double dealerPrice,
293
    double dealerPrice,
298
    boolean defaultForEntity,
294
    boolean defaultForEntity,
299
    long updatedOn,
295
    long updatedOn,
300
    long bestSellingRank,
-
 
301
    String hotspotCategory)
296
    String hotspotCategory)
302
  {
297
  {
303
    this();
298
    this();
304
    this.id = id;
299
    this.id = id;
305
    setIdIsSet(true);
300
    setIdIsSet(true);
Line 315... Line 310...
315
    setCatalogItemIdIsSet(true);
310
    setCatalogItemIdIsSet(true);
316
    this.featureId = featureId;
311
    this.featureId = featureId;
317
    setFeatureIdIsSet(true);
312
    setFeatureIdIsSet(true);
318
    this.featureDescription = featureDescription;
313
    this.featureDescription = featureDescription;
319
    this.itemInventory = itemInventory;
314
    this.itemInventory = itemInventory;
320
    this.mrp = mrp;
-
 
321
    setMrpIsSet(true);
-
 
322
    this.mop = mop;
315
    this.mop = mop;
323
    setMopIsSet(true);
316
    setMopIsSet(true);
324
    this.sellingPrice = sellingPrice;
-
 
325
    setSellingPriceIsSet(true);
-
 
326
    this.transferPrice = transferPrice;
317
    this.transferPrice = transferPrice;
327
    setTransferPriceIsSet(true);
318
    setTransferPriceIsSet(true);
328
    this.weight = weight;
-
 
329
    setWeightIsSet(true);
-
 
330
    this.addedOn = addedOn;
319
    this.addedOn = addedOn;
331
    setAddedOnIsSet(true);
320
    setAddedOnIsSet(true);
332
    this.startDate = startDate;
321
    this.startDate = startDate;
333
    setStartDateIsSet(true);
322
    setStartDateIsSet(true);
334
    this.retireDate = retireDate;
323
    this.retireDate = retireDate;
335
    setRetireDateIsSet(true);
324
    setRetireDateIsSet(true);
336
    this.itemStatus = itemStatus;
325
    this.itemStatus = itemStatus;
337
    this.status_description = status_description;
326
    this.status_description = status_description;
338
    this.otherInfo = otherInfo;
327
    this.otherInfo = otherInfo;
339
    this.bestDealText = bestDealText;
328
    this.bestDealText = bestDealText;
340
    this.bestDealValue = bestDealValue;
-
 
341
    setBestDealValueIsSet(true);
-
 
342
    this.dealerPrice = dealerPrice;
329
    this.dealerPrice = dealerPrice;
343
    setDealerPriceIsSet(true);
330
    setDealerPriceIsSet(true);
344
    this.defaultForEntity = defaultForEntity;
331
    this.defaultForEntity = defaultForEntity;
345
    setDefaultForEntityIsSet(true);
332
    setDefaultForEntityIsSet(true);
346
    this.updatedOn = updatedOn;
333
    this.updatedOn = updatedOn;
347
    setUpdatedOnIsSet(true);
334
    setUpdatedOnIsSet(true);
348
    this.bestSellingRank = bestSellingRank;
-
 
349
    setBestSellingRankIsSet(true);
-
 
350
    this.hotspotCategory = hotspotCategory;
335
    this.hotspotCategory = hotspotCategory;
351
  }
336
  }
352
 
337
 
353
  /**
338
  /**
354
   * Performs a deep copy on <i>other</i>.
339
   * Performs a deep copy on <i>other</i>.
Line 1696... Line 1681...
1696
        return false;
1681
        return false;
1697
      if (!this.itemInventory.equals(that.itemInventory))
1682
      if (!this.itemInventory.equals(that.itemInventory))
1698
        return false;
1683
        return false;
1699
    }
1684
    }
1700
 
1685
 
1701
    boolean this_present_mrp = true;
1686
    boolean this_present_mrp = true && this.isSetMrp();
1702
    boolean that_present_mrp = true;
1687
    boolean that_present_mrp = true && that.isSetMrp();
1703
    if (this_present_mrp || that_present_mrp) {
1688
    if (this_present_mrp || that_present_mrp) {
1704
      if (!(this_present_mrp && that_present_mrp))
1689
      if (!(this_present_mrp && that_present_mrp))
1705
        return false;
1690
        return false;
1706
      if (this.mrp != that.mrp)
1691
      if (this.mrp != that.mrp)
1707
        return false;
1692
        return false;
Line 1714... Line 1699...
1714
        return false;
1699
        return false;
1715
      if (this.mop != that.mop)
1700
      if (this.mop != that.mop)
1716
        return false;
1701
        return false;
1717
    }
1702
    }
1718
 
1703
 
1719
    boolean this_present_sellingPrice = true;
1704
    boolean this_present_sellingPrice = true && this.isSetSellingPrice();
1720
    boolean that_present_sellingPrice = true;
1705
    boolean that_present_sellingPrice = true && that.isSetSellingPrice();
1721
    if (this_present_sellingPrice || that_present_sellingPrice) {
1706
    if (this_present_sellingPrice || that_present_sellingPrice) {
1722
      if (!(this_present_sellingPrice && that_present_sellingPrice))
1707
      if (!(this_present_sellingPrice && that_present_sellingPrice))
1723
        return false;
1708
        return false;
1724
      if (this.sellingPrice != that.sellingPrice)
1709
      if (this.sellingPrice != that.sellingPrice)
1725
        return false;
1710
        return false;
Line 1732... Line 1717...
1732
        return false;
1717
        return false;
1733
      if (this.transferPrice != that.transferPrice)
1718
      if (this.transferPrice != that.transferPrice)
1734
        return false;
1719
        return false;
1735
    }
1720
    }
1736
 
1721
 
1737
    boolean this_present_weight = true;
1722
    boolean this_present_weight = true && this.isSetWeight();
1738
    boolean that_present_weight = true;
1723
    boolean that_present_weight = true && that.isSetWeight();
1739
    if (this_present_weight || that_present_weight) {
1724
    if (this_present_weight || that_present_weight) {
1740
      if (!(this_present_weight && that_present_weight))
1725
      if (!(this_present_weight && that_present_weight))
1741
        return false;
1726
        return false;
1742
      if (this.weight != that.weight)
1727
      if (this.weight != that.weight)
1743
        return false;
1728
        return false;
Line 1804... Line 1789...
1804
        return false;
1789
        return false;
1805
      if (!this.bestDealText.equals(that.bestDealText))
1790
      if (!this.bestDealText.equals(that.bestDealText))
1806
        return false;
1791
        return false;
1807
    }
1792
    }
1808
 
1793
 
1809
    boolean this_present_bestDealValue = true;
1794
    boolean this_present_bestDealValue = true && this.isSetBestDealValue();
1810
    boolean that_present_bestDealValue = true;
1795
    boolean that_present_bestDealValue = true && that.isSetBestDealValue();
1811
    if (this_present_bestDealValue || that_present_bestDealValue) {
1796
    if (this_present_bestDealValue || that_present_bestDealValue) {
1812
      if (!(this_present_bestDealValue && that_present_bestDealValue))
1797
      if (!(this_present_bestDealValue && that_present_bestDealValue))
1813
        return false;
1798
        return false;
1814
      if (this.bestDealValue != that.bestDealValue)
1799
      if (this.bestDealValue != that.bestDealValue)
1815
        return false;
1800
        return false;
Line 1840... Line 1825...
1840
        return false;
1825
        return false;
1841
      if (this.updatedOn != that.updatedOn)
1826
      if (this.updatedOn != that.updatedOn)
1842
        return false;
1827
        return false;
1843
    }
1828
    }
1844
 
1829
 
1845
    boolean this_present_bestSellingRank = true;
1830
    boolean this_present_bestSellingRank = true && this.isSetBestSellingRank();
1846
    boolean that_present_bestSellingRank = true;
1831
    boolean that_present_bestSellingRank = true && that.isSetBestSellingRank();
1847
    if (this_present_bestSellingRank || that_present_bestSellingRank) {
1832
    if (this_present_bestSellingRank || that_present_bestSellingRank) {
1848
      if (!(this_present_bestSellingRank && that_present_bestSellingRank))
1833
      if (!(this_present_bestSellingRank && that_present_bestSellingRank))
1849
        return false;
1834
        return false;
1850
      if (this.bestSellingRank != that.bestSellingRank)
1835
      if (this.bestSellingRank != that.bestSellingRank)
1851
        return false;
1836
        return false;
Line 2184... Line 2169...
2184
    if (this.itemInventory != null) {
2169
    if (this.itemInventory != null) {
2185
      oprot.writeFieldBegin(ITEM_INVENTORY_FIELD_DESC);
2170
      oprot.writeFieldBegin(ITEM_INVENTORY_FIELD_DESC);
2186
      this.itemInventory.write(oprot);
2171
      this.itemInventory.write(oprot);
2187
      oprot.writeFieldEnd();
2172
      oprot.writeFieldEnd();
2188
    }
2173
    }
-
 
2174
    if (isSetMrp()) {
2189
    oprot.writeFieldBegin(MRP_FIELD_DESC);
2175
      oprot.writeFieldBegin(MRP_FIELD_DESC);
2190
    oprot.writeDouble(this.mrp);
2176
      oprot.writeDouble(this.mrp);
2191
    oprot.writeFieldEnd();
2177
      oprot.writeFieldEnd();
-
 
2178
    }
2192
    oprot.writeFieldBegin(MOP_FIELD_DESC);
2179
    oprot.writeFieldBegin(MOP_FIELD_DESC);
2193
    oprot.writeDouble(this.mop);
2180
    oprot.writeDouble(this.mop);
2194
    oprot.writeFieldEnd();
2181
    oprot.writeFieldEnd();
-
 
2182
    if (isSetSellingPrice()) {
2195
    oprot.writeFieldBegin(SELLING_PRICE_FIELD_DESC);
2183
      oprot.writeFieldBegin(SELLING_PRICE_FIELD_DESC);
2196
    oprot.writeDouble(this.sellingPrice);
2184
      oprot.writeDouble(this.sellingPrice);
2197
    oprot.writeFieldEnd();
2185
      oprot.writeFieldEnd();
-
 
2186
    }
2198
    oprot.writeFieldBegin(TRANSFER_PRICE_FIELD_DESC);
2187
    oprot.writeFieldBegin(TRANSFER_PRICE_FIELD_DESC);
2199
    oprot.writeDouble(this.transferPrice);
2188
    oprot.writeDouble(this.transferPrice);
2200
    oprot.writeFieldEnd();
2189
    oprot.writeFieldEnd();
-
 
2190
    if (isSetWeight()) {
2201
    oprot.writeFieldBegin(WEIGHT_FIELD_DESC);
2191
      oprot.writeFieldBegin(WEIGHT_FIELD_DESC);
2202
    oprot.writeDouble(this.weight);
2192
      oprot.writeDouble(this.weight);
2203
    oprot.writeFieldEnd();
2193
      oprot.writeFieldEnd();
-
 
2194
    }
2204
    oprot.writeFieldBegin(ADDED_ON_FIELD_DESC);
2195
    oprot.writeFieldBegin(ADDED_ON_FIELD_DESC);
2205
    oprot.writeI64(this.addedOn);
2196
    oprot.writeI64(this.addedOn);
2206
    oprot.writeFieldEnd();
2197
    oprot.writeFieldEnd();
2207
    oprot.writeFieldBegin(START_DATE_FIELD_DESC);
2198
    oprot.writeFieldBegin(START_DATE_FIELD_DESC);
2208
    oprot.writeI64(this.startDate);
2199
    oprot.writeI64(this.startDate);
Line 2236... Line 2227...
2236
    if (this.bestDealText != null) {
2227
    if (this.bestDealText != null) {
2237
      oprot.writeFieldBegin(BEST_DEAL_TEXT_FIELD_DESC);
2228
      oprot.writeFieldBegin(BEST_DEAL_TEXT_FIELD_DESC);
2238
      oprot.writeString(this.bestDealText);
2229
      oprot.writeString(this.bestDealText);
2239
      oprot.writeFieldEnd();
2230
      oprot.writeFieldEnd();
2240
    }
2231
    }
-
 
2232
    if (isSetBestDealValue()) {
2241
    oprot.writeFieldBegin(BEST_DEAL_VALUE_FIELD_DESC);
2233
      oprot.writeFieldBegin(BEST_DEAL_VALUE_FIELD_DESC);
2242
    oprot.writeDouble(this.bestDealValue);
2234
      oprot.writeDouble(this.bestDealValue);
2243
    oprot.writeFieldEnd();
2235
      oprot.writeFieldEnd();
-
 
2236
    }
2244
    oprot.writeFieldBegin(DEALER_PRICE_FIELD_DESC);
2237
    oprot.writeFieldBegin(DEALER_PRICE_FIELD_DESC);
2245
    oprot.writeDouble(this.dealerPrice);
2238
    oprot.writeDouble(this.dealerPrice);
2246
    oprot.writeFieldEnd();
2239
    oprot.writeFieldEnd();
2247
    oprot.writeFieldBegin(DEFAULT_FOR_ENTITY_FIELD_DESC);
2240
    oprot.writeFieldBegin(DEFAULT_FOR_ENTITY_FIELD_DESC);
2248
    oprot.writeBool(this.defaultForEntity);
2241
    oprot.writeBool(this.defaultForEntity);
2249
    oprot.writeFieldEnd();
2242
    oprot.writeFieldEnd();
2250
    oprot.writeFieldBegin(UPDATED_ON_FIELD_DESC);
2243
    oprot.writeFieldBegin(UPDATED_ON_FIELD_DESC);
2251
    oprot.writeI64(this.updatedOn);
2244
    oprot.writeI64(this.updatedOn);
2252
    oprot.writeFieldEnd();
2245
    oprot.writeFieldEnd();
-
 
2246
    if (isSetBestSellingRank()) {
2253
    oprot.writeFieldBegin(BEST_SELLING_RANK_FIELD_DESC);
2247
      oprot.writeFieldBegin(BEST_SELLING_RANK_FIELD_DESC);
2254
    oprot.writeI64(this.bestSellingRank);
2248
      oprot.writeI64(this.bestSellingRank);
2255
    oprot.writeFieldEnd();
2249
      oprot.writeFieldEnd();
-
 
2250
    }
2256
    if (this.hotspotCategory != null) {
2251
    if (this.hotspotCategory != null) {
2257
      oprot.writeFieldBegin(HOTSPOT_CATEGORY_FIELD_DESC);
2252
      oprot.writeFieldBegin(HOTSPOT_CATEGORY_FIELD_DESC);
2258
      oprot.writeString(this.hotspotCategory);
2253
      oprot.writeString(this.hotspotCategory);
2259
      oprot.writeFieldEnd();
2254
      oprot.writeFieldEnd();
2260
    }
2255
    }
Line 2344... Line 2339...
2344
      sb.append("null");
2339
      sb.append("null");
2345
    } else {
2340
    } else {
2346
      sb.append(this.itemInventory);
2341
      sb.append(this.itemInventory);
2347
    }
2342
    }
2348
    first = false;
2343
    first = false;
-
 
2344
    if (isSetMrp()) {
2349
    if (!first) sb.append(", ");
2345
      if (!first) sb.append(", ");
2350
    sb.append("mrp:");
2346
      sb.append("mrp:");
2351
    sb.append(this.mrp);
2347
      sb.append(this.mrp);
2352
    first = false;
2348
      first = false;
-
 
2349
    }
2353
    if (!first) sb.append(", ");
2350
    if (!first) sb.append(", ");
2354
    sb.append("mop:");
2351
    sb.append("mop:");
2355
    sb.append(this.mop);
2352
    sb.append(this.mop);
2356
    first = false;
2353
    first = false;
-
 
2354
    if (isSetSellingPrice()) {
2357
    if (!first) sb.append(", ");
2355
      if (!first) sb.append(", ");
2358
    sb.append("sellingPrice:");
2356
      sb.append("sellingPrice:");
2359
    sb.append(this.sellingPrice);
2357
      sb.append(this.sellingPrice);
2360
    first = false;
2358
      first = false;
-
 
2359
    }
2361
    if (!first) sb.append(", ");
2360
    if (!first) sb.append(", ");
2362
    sb.append("transferPrice:");
2361
    sb.append("transferPrice:");
2363
    sb.append(this.transferPrice);
2362
    sb.append(this.transferPrice);
2364
    first = false;
2363
    first = false;
-
 
2364
    if (isSetWeight()) {
2365
    if (!first) sb.append(", ");
2365
      if (!first) sb.append(", ");
2366
    sb.append("weight:");
2366
      sb.append("weight:");
2367
    sb.append(this.weight);
2367
      sb.append(this.weight);
2368
    first = false;
2368
      first = false;
-
 
2369
    }
2369
    if (!first) sb.append(", ");
2370
    if (!first) sb.append(", ");
2370
    sb.append("addedOn:");
2371
    sb.append("addedOn:");
2371
    sb.append(this.addedOn);
2372
    sb.append(this.addedOn);
2372
    first = false;
2373
    first = false;
2373
    if (!first) sb.append(", ");
2374
    if (!first) sb.append(", ");
Line 2416... Line 2417...
2416
      sb.append("null");
2417
      sb.append("null");
2417
    } else {
2418
    } else {
2418
      sb.append(this.bestDealText);
2419
      sb.append(this.bestDealText);
2419
    }
2420
    }
2420
    first = false;
2421
    first = false;
-
 
2422
    if (isSetBestDealValue()) {
2421
    if (!first) sb.append(", ");
2423
      if (!first) sb.append(", ");
2422
    sb.append("bestDealValue:");
2424
      sb.append("bestDealValue:");
2423
    sb.append(this.bestDealValue);
2425
      sb.append(this.bestDealValue);
2424
    first = false;
2426
      first = false;
-
 
2427
    }
2425
    if (!first) sb.append(", ");
2428
    if (!first) sb.append(", ");
2426
    sb.append("dealerPrice:");
2429
    sb.append("dealerPrice:");
2427
    sb.append(this.dealerPrice);
2430
    sb.append(this.dealerPrice);
2428
    first = false;
2431
    first = false;
2429
    if (!first) sb.append(", ");
2432
    if (!first) sb.append(", ");
Line 2432... Line 2435...
2432
    first = false;
2435
    first = false;
2433
    if (!first) sb.append(", ");
2436
    if (!first) sb.append(", ");
2434
    sb.append("updatedOn:");
2437
    sb.append("updatedOn:");
2435
    sb.append(this.updatedOn);
2438
    sb.append(this.updatedOn);
2436
    first = false;
2439
    first = false;
-
 
2440
    if (isSetBestSellingRank()) {
2437
    if (!first) sb.append(", ");
2441
      if (!first) sb.append(", ");
2438
    sb.append("bestSellingRank:");
2442
      sb.append("bestSellingRank:");
2439
    sb.append(this.bestSellingRank);
2443
      sb.append(this.bestSellingRank);
2440
    first = false;
2444
      first = false;
-
 
2445
    }
2441
    if (!first) sb.append(", ");
2446
    if (!first) sb.append(", ");
2442
    sb.append("hotspotCategory:");
2447
    sb.append("hotspotCategory:");
2443
    if (this.hotspotCategory == null) {
2448
    if (this.hotspotCategory == null) {
2444
      sb.append("null");
2449
      sb.append("null");
2445
    } else {
2450
    } else {