| Line 41... |
Line 41... |
| 41 |
private static final org.apache.thrift.protocol.TField SUPPRESS_PRICE_FEED_FIELD_DESC = new org.apache.thrift.protocol.TField("suppressPriceFeed", org.apache.thrift.protocol.TType.BOOL, (short)16);
|
41 |
private static final org.apache.thrift.protocol.TField SUPPRESS_PRICE_FEED_FIELD_DESC = new org.apache.thrift.protocol.TField("suppressPriceFeed", org.apache.thrift.protocol.TType.BOOL, (short)16);
|
| 42 |
private static final org.apache.thrift.protocol.TField SUPPRESS_INVENTORY_FEED_FIELD_DESC = new org.apache.thrift.protocol.TField("suppressInventoryFeed", org.apache.thrift.protocol.TType.BOOL, (short)17);
|
42 |
private static final org.apache.thrift.protocol.TField SUPPRESS_INVENTORY_FEED_FIELD_DESC = new org.apache.thrift.protocol.TField("suppressInventoryFeed", org.apache.thrift.protocol.TType.BOOL, (short)17);
|
| 43 |
private static final org.apache.thrift.protocol.TField WEIGHT_FIELD_DESC = new org.apache.thrift.protocol.TField("weight", org.apache.thrift.protocol.TType.DOUBLE, (short)18);
|
43 |
private static final org.apache.thrift.protocol.TField WEIGHT_FIELD_DESC = new org.apache.thrift.protocol.TField("weight", org.apache.thrift.protocol.TType.DOUBLE, (short)18);
|
| 44 |
private static final org.apache.thrift.protocol.TField MRP_FIELD_DESC = new org.apache.thrift.protocol.TField("mrp", org.apache.thrift.protocol.TType.DOUBLE, (short)19);
|
44 |
private static final org.apache.thrift.protocol.TField MRP_FIELD_DESC = new org.apache.thrift.protocol.TField("mrp", org.apache.thrift.protocol.TType.DOUBLE, (short)19);
|
| 45 |
private static final org.apache.thrift.protocol.TField WEBSITE_SELLING_PRICE_FIELD_DESC = new org.apache.thrift.protocol.TField("websiteSellingPrice", org.apache.thrift.protocol.TType.DOUBLE, (short)20);
|
45 |
private static final org.apache.thrift.protocol.TField WEBSITE_SELLING_PRICE_FIELD_DESC = new org.apache.thrift.protocol.TField("websiteSellingPrice", org.apache.thrift.protocol.TType.DOUBLE, (short)20);
|
| - |
|
46 |
private static final org.apache.thrift.protocol.TField MAX_NLC_FIELD_DESC = new org.apache.thrift.protocol.TField("maxNlc", org.apache.thrift.protocol.TType.DOUBLE, (short)21);
|
| 46 |
private static final org.apache.thrift.protocol.TField SKU_AT_SNAPDEAL_FIELD_DESC = new org.apache.thrift.protocol.TField("skuAtSnapdeal", org.apache.thrift.protocol.TType.STRING, (short)21);
|
47 |
private static final org.apache.thrift.protocol.TField SKU_AT_SNAPDEAL_FIELD_DESC = new org.apache.thrift.protocol.TField("skuAtSnapdeal", org.apache.thrift.protocol.TType.STRING, (short)22);
|
| 47 |
|
48 |
|
| 48 |
private long item_id; // required
|
49 |
private long item_id; // required
|
| 49 |
private long warehouseId; // required
|
50 |
private long warehouseId; // required
|
| 50 |
private double exceptionPrice; // required
|
51 |
private double exceptionPrice; // required
|
| 51 |
private boolean isListedOnSnapdeal; // required
|
52 |
private boolean isListedOnSnapdeal; // required
|
| Line 63... |
Line 64... |
| 63 |
private boolean suppressPriceFeed; // required
|
64 |
private boolean suppressPriceFeed; // required
|
| 64 |
private boolean suppressInventoryFeed; // required
|
65 |
private boolean suppressInventoryFeed; // required
|
| 65 |
private double weight; // required
|
66 |
private double weight; // required
|
| 66 |
private double mrp; // required
|
67 |
private double mrp; // required
|
| 67 |
private double websiteSellingPrice; // required
|
68 |
private double websiteSellingPrice; // required
|
| - |
|
69 |
private double maxNlc; // required
|
| 68 |
private String skuAtSnapdeal; // required
|
70 |
private String skuAtSnapdeal; // required
|
| 69 |
|
71 |
|
| 70 |
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
|
72 |
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
|
| 71 |
public enum _Fields implements org.apache.thrift.TFieldIdEnum {
|
73 |
public enum _Fields implements org.apache.thrift.TFieldIdEnum {
|
| 72 |
ITEM_ID((short)1, "item_id"),
|
74 |
ITEM_ID((short)1, "item_id"),
|
| Line 91... |
Line 93... |
| 91 |
SUPPRESS_PRICE_FEED((short)16, "suppressPriceFeed"),
|
93 |
SUPPRESS_PRICE_FEED((short)16, "suppressPriceFeed"),
|
| 92 |
SUPPRESS_INVENTORY_FEED((short)17, "suppressInventoryFeed"),
|
94 |
SUPPRESS_INVENTORY_FEED((short)17, "suppressInventoryFeed"),
|
| 93 |
WEIGHT((short)18, "weight"),
|
95 |
WEIGHT((short)18, "weight"),
|
| 94 |
MRP((short)19, "mrp"),
|
96 |
MRP((short)19, "mrp"),
|
| 95 |
WEBSITE_SELLING_PRICE((short)20, "websiteSellingPrice"),
|
97 |
WEBSITE_SELLING_PRICE((short)20, "websiteSellingPrice"),
|
| - |
|
98 |
MAX_NLC((short)21, "maxNlc"),
|
| 96 |
SKU_AT_SNAPDEAL((short)21, "skuAtSnapdeal");
|
99 |
SKU_AT_SNAPDEAL((short)22, "skuAtSnapdeal");
|
| 97 |
|
100 |
|
| 98 |
private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
|
101 |
private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
|
| 99 |
|
102 |
|
| 100 |
static {
|
103 |
static {
|
| 101 |
for (_Fields field : EnumSet.allOf(_Fields.class)) {
|
104 |
for (_Fields field : EnumSet.allOf(_Fields.class)) {
|
| Line 146... |
Line 149... |
| 146 |
return WEIGHT;
|
149 |
return WEIGHT;
|
| 147 |
case 19: // MRP
|
150 |
case 19: // MRP
|
| 148 |
return MRP;
|
151 |
return MRP;
|
| 149 |
case 20: // WEBSITE_SELLING_PRICE
|
152 |
case 20: // WEBSITE_SELLING_PRICE
|
| 150 |
return WEBSITE_SELLING_PRICE;
|
153 |
return WEBSITE_SELLING_PRICE;
|
| - |
|
154 |
case 21: // MAX_NLC
|
| - |
|
155 |
return MAX_NLC;
|
| 151 |
case 21: // SKU_AT_SNAPDEAL
|
156 |
case 22: // SKU_AT_SNAPDEAL
|
| 152 |
return SKU_AT_SNAPDEAL;
|
157 |
return SKU_AT_SNAPDEAL;
|
| 153 |
default:
|
158 |
default:
|
| 154 |
return null;
|
159 |
return null;
|
| 155 |
}
|
160 |
}
|
| 156 |
}
|
161 |
}
|
| Line 203... |
Line 208... |
| 203 |
private static final int __SUPPRESSPRICEFEED_ISSET_ID = 10;
|
208 |
private static final int __SUPPRESSPRICEFEED_ISSET_ID = 10;
|
| 204 |
private static final int __SUPPRESSINVENTORYFEED_ISSET_ID = 11;
|
209 |
private static final int __SUPPRESSINVENTORYFEED_ISSET_ID = 11;
|
| 205 |
private static final int __WEIGHT_ISSET_ID = 12;
|
210 |
private static final int __WEIGHT_ISSET_ID = 12;
|
| 206 |
private static final int __MRP_ISSET_ID = 13;
|
211 |
private static final int __MRP_ISSET_ID = 13;
|
| 207 |
private static final int __WEBSITESELLINGPRICE_ISSET_ID = 14;
|
212 |
private static final int __WEBSITESELLINGPRICE_ISSET_ID = 14;
|
| - |
|
213 |
private static final int __MAXNLC_ISSET_ID = 15;
|
| 208 |
private BitSet __isset_bit_vector = new BitSet(15);
|
214 |
private BitSet __isset_bit_vector = new BitSet(16);
|
| 209 |
|
215 |
|
| 210 |
public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
|
216 |
public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
|
| 211 |
static {
|
217 |
static {
|
| 212 |
Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
|
218 |
Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
|
| 213 |
tmpMap.put(_Fields.ITEM_ID, new org.apache.thrift.meta_data.FieldMetaData("item_id", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
219 |
tmpMap.put(_Fields.ITEM_ID, new org.apache.thrift.meta_data.FieldMetaData("item_id", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| Line 248... |
Line 254... |
| 248 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
|
254 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
|
| 249 |
tmpMap.put(_Fields.MRP, new org.apache.thrift.meta_data.FieldMetaData("mrp", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
255 |
tmpMap.put(_Fields.MRP, new org.apache.thrift.meta_data.FieldMetaData("mrp", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| 250 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
|
256 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
|
| 251 |
tmpMap.put(_Fields.WEBSITE_SELLING_PRICE, new org.apache.thrift.meta_data.FieldMetaData("websiteSellingPrice", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
257 |
tmpMap.put(_Fields.WEBSITE_SELLING_PRICE, new org.apache.thrift.meta_data.FieldMetaData("websiteSellingPrice", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| 252 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
|
258 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
|
| - |
|
259 |
tmpMap.put(_Fields.MAX_NLC, new org.apache.thrift.meta_data.FieldMetaData("maxNlc", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| - |
|
260 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
|
| 253 |
tmpMap.put(_Fields.SKU_AT_SNAPDEAL, new org.apache.thrift.meta_data.FieldMetaData("skuAtSnapdeal", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
261 |
tmpMap.put(_Fields.SKU_AT_SNAPDEAL, new org.apache.thrift.meta_data.FieldMetaData("skuAtSnapdeal", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| 254 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
|
262 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
|
| 255 |
metaDataMap = Collections.unmodifiableMap(tmpMap);
|
263 |
metaDataMap = Collections.unmodifiableMap(tmpMap);
|
| 256 |
org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(SnapdealItemDetails.class, metaDataMap);
|
264 |
org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(SnapdealItemDetails.class, metaDataMap);
|
| 257 |
}
|
265 |
}
|
| Line 278... |
Line 286... |
| 278 |
boolean suppressPriceFeed,
|
286 |
boolean suppressPriceFeed,
|
| 279 |
boolean suppressInventoryFeed,
|
287 |
boolean suppressInventoryFeed,
|
| 280 |
double weight,
|
288 |
double weight,
|
| 281 |
double mrp,
|
289 |
double mrp,
|
| 282 |
double websiteSellingPrice,
|
290 |
double websiteSellingPrice,
|
| - |
|
291 |
double maxNlc,
|
| 283 |
String skuAtSnapdeal)
|
292 |
String skuAtSnapdeal)
|
| 284 |
{
|
293 |
{
|
| 285 |
this();
|
294 |
this();
|
| 286 |
this.item_id = item_id;
|
295 |
this.item_id = item_id;
|
| 287 |
setItem_idIsSet(true);
|
296 |
setItem_idIsSet(true);
|
| Line 316... |
Line 325... |
| 316 |
setWeightIsSet(true);
|
325 |
setWeightIsSet(true);
|
| 317 |
this.mrp = mrp;
|
326 |
this.mrp = mrp;
|
| 318 |
setMrpIsSet(true);
|
327 |
setMrpIsSet(true);
|
| 319 |
this.websiteSellingPrice = websiteSellingPrice;
|
328 |
this.websiteSellingPrice = websiteSellingPrice;
|
| 320 |
setWebsiteSellingPriceIsSet(true);
|
329 |
setWebsiteSellingPriceIsSet(true);
|
| - |
|
330 |
this.maxNlc = maxNlc;
|
| - |
|
331 |
setMaxNlcIsSet(true);
|
| 321 |
this.skuAtSnapdeal = skuAtSnapdeal;
|
332 |
this.skuAtSnapdeal = skuAtSnapdeal;
|
| 322 |
}
|
333 |
}
|
| 323 |
|
334 |
|
| 324 |
/**
|
335 |
/**
|
| 325 |
* Performs a deep copy on <i>other</i>.
|
336 |
* Performs a deep copy on <i>other</i>.
|
| Line 355... |
Line 366... |
| 355 |
this.suppressPriceFeed = other.suppressPriceFeed;
|
366 |
this.suppressPriceFeed = other.suppressPriceFeed;
|
| 356 |
this.suppressInventoryFeed = other.suppressInventoryFeed;
|
367 |
this.suppressInventoryFeed = other.suppressInventoryFeed;
|
| 357 |
this.weight = other.weight;
|
368 |
this.weight = other.weight;
|
| 358 |
this.mrp = other.mrp;
|
369 |
this.mrp = other.mrp;
|
| 359 |
this.websiteSellingPrice = other.websiteSellingPrice;
|
370 |
this.websiteSellingPrice = other.websiteSellingPrice;
|
| - |
|
371 |
this.maxNlc = other.maxNlc;
|
| 360 |
if (other.isSetSkuAtSnapdeal()) {
|
372 |
if (other.isSetSkuAtSnapdeal()) {
|
| 361 |
this.skuAtSnapdeal = other.skuAtSnapdeal;
|
373 |
this.skuAtSnapdeal = other.skuAtSnapdeal;
|
| 362 |
}
|
374 |
}
|
| 363 |
}
|
375 |
}
|
| 364 |
|
376 |
|
| Line 401... |
Line 413... |
| 401 |
this.weight = 0.0;
|
413 |
this.weight = 0.0;
|
| 402 |
setMrpIsSet(false);
|
414 |
setMrpIsSet(false);
|
| 403 |
this.mrp = 0.0;
|
415 |
this.mrp = 0.0;
|
| 404 |
setWebsiteSellingPriceIsSet(false);
|
416 |
setWebsiteSellingPriceIsSet(false);
|
| 405 |
this.websiteSellingPrice = 0.0;
|
417 |
this.websiteSellingPrice = 0.0;
|
| - |
|
418 |
setMaxNlcIsSet(false);
|
| - |
|
419 |
this.maxNlc = 0.0;
|
| 406 |
this.skuAtSnapdeal = null;
|
420 |
this.skuAtSnapdeal = null;
|
| 407 |
}
|
421 |
}
|
| 408 |
|
422 |
|
| 409 |
public long getItem_id() {
|
423 |
public long getItem_id() {
|
| 410 |
return this.item_id;
|
424 |
return this.item_id;
|
| Line 857... |
Line 871... |
| 857 |
|
871 |
|
| 858 |
public void setWebsiteSellingPriceIsSet(boolean value) {
|
872 |
public void setWebsiteSellingPriceIsSet(boolean value) {
|
| 859 |
__isset_bit_vector.set(__WEBSITESELLINGPRICE_ISSET_ID, value);
|
873 |
__isset_bit_vector.set(__WEBSITESELLINGPRICE_ISSET_ID, value);
|
| 860 |
}
|
874 |
}
|
| 861 |
|
875 |
|
| - |
|
876 |
public double getMaxNlc() {
|
| - |
|
877 |
return this.maxNlc;
|
| - |
|
878 |
}
|
| - |
|
879 |
|
| - |
|
880 |
public void setMaxNlc(double maxNlc) {
|
| - |
|
881 |
this.maxNlc = maxNlc;
|
| - |
|
882 |
setMaxNlcIsSet(true);
|
| - |
|
883 |
}
|
| - |
|
884 |
|
| - |
|
885 |
public void unsetMaxNlc() {
|
| - |
|
886 |
__isset_bit_vector.clear(__MAXNLC_ISSET_ID);
|
| - |
|
887 |
}
|
| - |
|
888 |
|
| - |
|
889 |
/** Returns true if field maxNlc is set (has been assigned a value) and false otherwise */
|
| - |
|
890 |
public boolean isSetMaxNlc() {
|
| - |
|
891 |
return __isset_bit_vector.get(__MAXNLC_ISSET_ID);
|
| - |
|
892 |
}
|
| - |
|
893 |
|
| - |
|
894 |
public void setMaxNlcIsSet(boolean value) {
|
| - |
|
895 |
__isset_bit_vector.set(__MAXNLC_ISSET_ID, value);
|
| - |
|
896 |
}
|
| - |
|
897 |
|
| 862 |
public String getSkuAtSnapdeal() {
|
898 |
public String getSkuAtSnapdeal() {
|
| 863 |
return this.skuAtSnapdeal;
|
899 |
return this.skuAtSnapdeal;
|
| 864 |
}
|
900 |
}
|
| 865 |
|
901 |
|
| 866 |
public void setSkuAtSnapdeal(String skuAtSnapdeal) {
|
902 |
public void setSkuAtSnapdeal(String skuAtSnapdeal) {
|
| Line 1042... |
Line 1078... |
| 1042 |
} else {
|
1078 |
} else {
|
| 1043 |
setWebsiteSellingPrice((Double)value);
|
1079 |
setWebsiteSellingPrice((Double)value);
|
| 1044 |
}
|
1080 |
}
|
| 1045 |
break;
|
1081 |
break;
|
| 1046 |
|
1082 |
|
| - |
|
1083 |
case MAX_NLC:
|
| - |
|
1084 |
if (value == null) {
|
| - |
|
1085 |
unsetMaxNlc();
|
| - |
|
1086 |
} else {
|
| - |
|
1087 |
setMaxNlc((Double)value);
|
| - |
|
1088 |
}
|
| - |
|
1089 |
break;
|
| - |
|
1090 |
|
| 1047 |
case SKU_AT_SNAPDEAL:
|
1091 |
case SKU_AT_SNAPDEAL:
|
| 1048 |
if (value == null) {
|
1092 |
if (value == null) {
|
| 1049 |
unsetSkuAtSnapdeal();
|
1093 |
unsetSkuAtSnapdeal();
|
| 1050 |
} else {
|
1094 |
} else {
|
| 1051 |
setSkuAtSnapdeal((String)value);
|
1095 |
setSkuAtSnapdeal((String)value);
|
| Line 1115... |
Line 1159... |
| 1115 |
return Double.valueOf(getMrp());
|
1159 |
return Double.valueOf(getMrp());
|
| 1116 |
|
1160 |
|
| 1117 |
case WEBSITE_SELLING_PRICE:
|
1161 |
case WEBSITE_SELLING_PRICE:
|
| 1118 |
return Double.valueOf(getWebsiteSellingPrice());
|
1162 |
return Double.valueOf(getWebsiteSellingPrice());
|
| 1119 |
|
1163 |
|
| - |
|
1164 |
case MAX_NLC:
|
| - |
|
1165 |
return Double.valueOf(getMaxNlc());
|
| - |
|
1166 |
|
| 1120 |
case SKU_AT_SNAPDEAL:
|
1167 |
case SKU_AT_SNAPDEAL:
|
| 1121 |
return getSkuAtSnapdeal();
|
1168 |
return getSkuAtSnapdeal();
|
| 1122 |
|
1169 |
|
| 1123 |
}
|
1170 |
}
|
| 1124 |
throw new IllegalStateException();
|
1171 |
throw new IllegalStateException();
|
| Line 1169... |
Line 1216... |
| 1169 |
return isSetWeight();
|
1216 |
return isSetWeight();
|
| 1170 |
case MRP:
|
1217 |
case MRP:
|
| 1171 |
return isSetMrp();
|
1218 |
return isSetMrp();
|
| 1172 |
case WEBSITE_SELLING_PRICE:
|
1219 |
case WEBSITE_SELLING_PRICE:
|
| 1173 |
return isSetWebsiteSellingPrice();
|
1220 |
return isSetWebsiteSellingPrice();
|
| - |
|
1221 |
case MAX_NLC:
|
| - |
|
1222 |
return isSetMaxNlc();
|
| 1174 |
case SKU_AT_SNAPDEAL:
|
1223 |
case SKU_AT_SNAPDEAL:
|
| 1175 |
return isSetSkuAtSnapdeal();
|
1224 |
return isSetSkuAtSnapdeal();
|
| 1176 |
}
|
1225 |
}
|
| 1177 |
throw new IllegalStateException();
|
1226 |
throw new IllegalStateException();
|
| 1178 |
}
|
1227 |
}
|
| Line 1368... |
Line 1417... |
| 1368 |
return false;
|
1417 |
return false;
|
| 1369 |
if (this.websiteSellingPrice != that.websiteSellingPrice)
|
1418 |
if (this.websiteSellingPrice != that.websiteSellingPrice)
|
| 1370 |
return false;
|
1419 |
return false;
|
| 1371 |
}
|
1420 |
}
|
| 1372 |
|
1421 |
|
| - |
|
1422 |
boolean this_present_maxNlc = true;
|
| - |
|
1423 |
boolean that_present_maxNlc = true;
|
| - |
|
1424 |
if (this_present_maxNlc || that_present_maxNlc) {
|
| - |
|
1425 |
if (!(this_present_maxNlc && that_present_maxNlc))
|
| - |
|
1426 |
return false;
|
| - |
|
1427 |
if (this.maxNlc != that.maxNlc)
|
| - |
|
1428 |
return false;
|
| - |
|
1429 |
}
|
| - |
|
1430 |
|
| 1373 |
boolean this_present_skuAtSnapdeal = true && this.isSetSkuAtSnapdeal();
|
1431 |
boolean this_present_skuAtSnapdeal = true && this.isSetSkuAtSnapdeal();
|
| 1374 |
boolean that_present_skuAtSnapdeal = true && that.isSetSkuAtSnapdeal();
|
1432 |
boolean that_present_skuAtSnapdeal = true && that.isSetSkuAtSnapdeal();
|
| 1375 |
if (this_present_skuAtSnapdeal || that_present_skuAtSnapdeal) {
|
1433 |
if (this_present_skuAtSnapdeal || that_present_skuAtSnapdeal) {
|
| 1376 |
if (!(this_present_skuAtSnapdeal && that_present_skuAtSnapdeal))
|
1434 |
if (!(this_present_skuAtSnapdeal && that_present_skuAtSnapdeal))
|
| 1377 |
return false;
|
1435 |
return false;
|
| Line 1593... |
Line 1651... |
| 1593 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.websiteSellingPrice, typedOther.websiteSellingPrice);
|
1651 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.websiteSellingPrice, typedOther.websiteSellingPrice);
|
| 1594 |
if (lastComparison != 0) {
|
1652 |
if (lastComparison != 0) {
|
| 1595 |
return lastComparison;
|
1653 |
return lastComparison;
|
| 1596 |
}
|
1654 |
}
|
| 1597 |
}
|
1655 |
}
|
| - |
|
1656 |
lastComparison = Boolean.valueOf(isSetMaxNlc()).compareTo(typedOther.isSetMaxNlc());
|
| - |
|
1657 |
if (lastComparison != 0) {
|
| - |
|
1658 |
return lastComparison;
|
| - |
|
1659 |
}
|
| - |
|
1660 |
if (isSetMaxNlc()) {
|
| - |
|
1661 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.maxNlc, typedOther.maxNlc);
|
| - |
|
1662 |
if (lastComparison != 0) {
|
| - |
|
1663 |
return lastComparison;
|
| - |
|
1664 |
}
|
| - |
|
1665 |
}
|
| 1598 |
lastComparison = Boolean.valueOf(isSetSkuAtSnapdeal()).compareTo(typedOther.isSetSkuAtSnapdeal());
|
1666 |
lastComparison = Boolean.valueOf(isSetSkuAtSnapdeal()).compareTo(typedOther.isSetSkuAtSnapdeal());
|
| 1599 |
if (lastComparison != 0) {
|
1667 |
if (lastComparison != 0) {
|
| 1600 |
return lastComparison;
|
1668 |
return lastComparison;
|
| 1601 |
}
|
1669 |
}
|
| 1602 |
if (isSetSkuAtSnapdeal()) {
|
1670 |
if (isSetSkuAtSnapdeal()) {
|
| Line 1775... |
Line 1843... |
| 1775 |
setWebsiteSellingPriceIsSet(true);
|
1843 |
setWebsiteSellingPriceIsSet(true);
|
| 1776 |
} else {
|
1844 |
} else {
|
| 1777 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
1845 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| 1778 |
}
|
1846 |
}
|
| 1779 |
break;
|
1847 |
break;
|
| - |
|
1848 |
case 21: // MAX_NLC
|
| - |
|
1849 |
if (field.type == org.apache.thrift.protocol.TType.DOUBLE) {
|
| - |
|
1850 |
this.maxNlc = iprot.readDouble();
|
| - |
|
1851 |
setMaxNlcIsSet(true);
|
| - |
|
1852 |
} else {
|
| - |
|
1853 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| - |
|
1854 |
}
|
| - |
|
1855 |
break;
|
| 1780 |
case 21: // SKU_AT_SNAPDEAL
|
1856 |
case 22: // SKU_AT_SNAPDEAL
|
| 1781 |
if (field.type == org.apache.thrift.protocol.TType.STRING) {
|
1857 |
if (field.type == org.apache.thrift.protocol.TType.STRING) {
|
| 1782 |
this.skuAtSnapdeal = iprot.readString();
|
1858 |
this.skuAtSnapdeal = iprot.readString();
|
| 1783 |
} else {
|
1859 |
} else {
|
| 1784 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
1860 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| 1785 |
}
|
1861 |
}
|
| Line 1865... |
Line 1941... |
| 1865 |
oprot.writeDouble(this.mrp);
|
1941 |
oprot.writeDouble(this.mrp);
|
| 1866 |
oprot.writeFieldEnd();
|
1942 |
oprot.writeFieldEnd();
|
| 1867 |
oprot.writeFieldBegin(WEBSITE_SELLING_PRICE_FIELD_DESC);
|
1943 |
oprot.writeFieldBegin(WEBSITE_SELLING_PRICE_FIELD_DESC);
|
| 1868 |
oprot.writeDouble(this.websiteSellingPrice);
|
1944 |
oprot.writeDouble(this.websiteSellingPrice);
|
| 1869 |
oprot.writeFieldEnd();
|
1945 |
oprot.writeFieldEnd();
|
| - |
|
1946 |
oprot.writeFieldBegin(MAX_NLC_FIELD_DESC);
|
| - |
|
1947 |
oprot.writeDouble(this.maxNlc);
|
| - |
|
1948 |
oprot.writeFieldEnd();
|
| 1870 |
if (this.skuAtSnapdeal != null) {
|
1949 |
if (this.skuAtSnapdeal != null) {
|
| 1871 |
oprot.writeFieldBegin(SKU_AT_SNAPDEAL_FIELD_DESC);
|
1950 |
oprot.writeFieldBegin(SKU_AT_SNAPDEAL_FIELD_DESC);
|
| 1872 |
oprot.writeString(this.skuAtSnapdeal);
|
1951 |
oprot.writeString(this.skuAtSnapdeal);
|
| 1873 |
oprot.writeFieldEnd();
|
1952 |
oprot.writeFieldEnd();
|
| 1874 |
}
|
1953 |
}
|
| Line 1979... |
Line 2058... |
| 1979 |
if (!first) sb.append(", ");
|
2058 |
if (!first) sb.append(", ");
|
| 1980 |
sb.append("websiteSellingPrice:");
|
2059 |
sb.append("websiteSellingPrice:");
|
| 1981 |
sb.append(this.websiteSellingPrice);
|
2060 |
sb.append(this.websiteSellingPrice);
|
| 1982 |
first = false;
|
2061 |
first = false;
|
| 1983 |
if (!first) sb.append(", ");
|
2062 |
if (!first) sb.append(", ");
|
| - |
|
2063 |
sb.append("maxNlc:");
|
| - |
|
2064 |
sb.append(this.maxNlc);
|
| - |
|
2065 |
first = false;
|
| - |
|
2066 |
if (!first) sb.append(", ");
|
| 1984 |
sb.append("skuAtSnapdeal:");
|
2067 |
sb.append("skuAtSnapdeal:");
|
| 1985 |
if (this.skuAtSnapdeal == null) {
|
2068 |
if (this.skuAtSnapdeal == null) {
|
| 1986 |
sb.append("null");
|
2069 |
sb.append("null");
|
| 1987 |
} else {
|
2070 |
} else {
|
| 1988 |
sb.append(this.skuAtSnapdeal);
|
2071 |
sb.append(this.skuAtSnapdeal);
|