| Line 47... |
Line 47... |
| 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 |
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);
|
| 48 |
private static final org.apache.thrift.protocol.TField SUPC_FIELD_DESC = new org.apache.thrift.protocol.TField("supc", org.apache.thrift.protocol.TType.STRING, (short)23);
|
48 |
private static final org.apache.thrift.protocol.TField SUPC_FIELD_DESC = new org.apache.thrift.protocol.TField("supc", org.apache.thrift.protocol.TType.STRING, (short)23);
|
| 49 |
private static final org.apache.thrift.protocol.TField LAST_UPDATED_INVENTORY_FIELD_DESC = new org.apache.thrift.protocol.TField("lastUpdatedInventory", org.apache.thrift.protocol.TType.I64, (short)24);
|
49 |
private static final org.apache.thrift.protocol.TField LAST_UPDATED_INVENTORY_FIELD_DESC = new org.apache.thrift.protocol.TField("lastUpdatedInventory", org.apache.thrift.protocol.TType.I64, (short)24);
|
| 50 |
private static final org.apache.thrift.protocol.TField LAST_UPDATED_INVENTORY_TIMESTAMP_FIELD_DESC = new org.apache.thrift.protocol.TField("lastUpdatedInventoryTimestamp", org.apache.thrift.protocol.TType.I64, (short)25);
|
50 |
private static final org.apache.thrift.protocol.TField LAST_UPDATED_INVENTORY_TIMESTAMP_FIELD_DESC = new org.apache.thrift.protocol.TField("lastUpdatedInventoryTimestamp", org.apache.thrift.protocol.TType.I64, (short)25);
|
| 51 |
private static final org.apache.thrift.protocol.TField SHIPPING_TIME_FIELD_DESC = new org.apache.thrift.protocol.TField("shippingTime", org.apache.thrift.protocol.TType.I64, (short)26);
|
51 |
private static final org.apache.thrift.protocol.TField SHIPPING_TIME_FIELD_DESC = new org.apache.thrift.protocol.TField("shippingTime", org.apache.thrift.protocol.TType.I64, (short)26);
|
| - |
|
52 |
private static final org.apache.thrift.protocol.TField COURIER_COST_MARKETPLACE_FIELD_DESC = new org.apache.thrift.protocol.TField("courierCostMarketplace", org.apache.thrift.protocol.TType.DOUBLE, (short)27);
|
| 52 |
|
53 |
|
| 53 |
private long item_id; // required
|
54 |
private long item_id; // required
|
| 54 |
private long warehouseId; // required
|
55 |
private long warehouseId; // required
|
| 55 |
private double exceptionPrice; // required
|
56 |
private double exceptionPrice; // required
|
| 56 |
private boolean isListedOnSnapdeal; // required
|
57 |
private boolean isListedOnSnapdeal; // required
|
| Line 74... |
Line 75... |
| 74 |
private String skuAtSnapdeal; // required
|
75 |
private String skuAtSnapdeal; // required
|
| 75 |
private String supc; // required
|
76 |
private String supc; // required
|
| 76 |
private long lastUpdatedInventory; // required
|
77 |
private long lastUpdatedInventory; // required
|
| 77 |
private long lastUpdatedInventoryTimestamp; // required
|
78 |
private long lastUpdatedInventoryTimestamp; // required
|
| 78 |
private long shippingTime; // required
|
79 |
private long shippingTime; // required
|
| - |
|
80 |
private double courierCostMarketplace; // required
|
| 79 |
|
81 |
|
| 80 |
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
|
82 |
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
|
| 81 |
public enum _Fields implements org.apache.thrift.TFieldIdEnum {
|
83 |
public enum _Fields implements org.apache.thrift.TFieldIdEnum {
|
| 82 |
ITEM_ID((short)1, "item_id"),
|
84 |
ITEM_ID((short)1, "item_id"),
|
| 83 |
WAREHOUSE_ID((short)2, "warehouseId"),
|
85 |
WAREHOUSE_ID((short)2, "warehouseId"),
|
| Line 106... |
Line 108... |
| 106 |
MAX_NLC((short)21, "maxNlc"),
|
108 |
MAX_NLC((short)21, "maxNlc"),
|
| 107 |
SKU_AT_SNAPDEAL((short)22, "skuAtSnapdeal"),
|
109 |
SKU_AT_SNAPDEAL((short)22, "skuAtSnapdeal"),
|
| 108 |
SUPC((short)23, "supc"),
|
110 |
SUPC((short)23, "supc"),
|
| 109 |
LAST_UPDATED_INVENTORY((short)24, "lastUpdatedInventory"),
|
111 |
LAST_UPDATED_INVENTORY((short)24, "lastUpdatedInventory"),
|
| 110 |
LAST_UPDATED_INVENTORY_TIMESTAMP((short)25, "lastUpdatedInventoryTimestamp"),
|
112 |
LAST_UPDATED_INVENTORY_TIMESTAMP((short)25, "lastUpdatedInventoryTimestamp"),
|
| 111 |
SHIPPING_TIME((short)26, "shippingTime");
|
113 |
SHIPPING_TIME((short)26, "shippingTime"),
|
| - |
|
114 |
COURIER_COST_MARKETPLACE((short)27, "courierCostMarketplace");
|
| 112 |
|
115 |
|
| 113 |
private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
|
116 |
private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
|
| 114 |
|
117 |
|
| 115 |
static {
|
118 |
static {
|
| 116 |
for (_Fields field : EnumSet.allOf(_Fields.class)) {
|
119 |
for (_Fields field : EnumSet.allOf(_Fields.class)) {
|
| Line 173... |
Line 176... |
| 173 |
return LAST_UPDATED_INVENTORY;
|
176 |
return LAST_UPDATED_INVENTORY;
|
| 174 |
case 25: // LAST_UPDATED_INVENTORY_TIMESTAMP
|
177 |
case 25: // LAST_UPDATED_INVENTORY_TIMESTAMP
|
| 175 |
return LAST_UPDATED_INVENTORY_TIMESTAMP;
|
178 |
return LAST_UPDATED_INVENTORY_TIMESTAMP;
|
| 176 |
case 26: // SHIPPING_TIME
|
179 |
case 26: // SHIPPING_TIME
|
| 177 |
return SHIPPING_TIME;
|
180 |
return SHIPPING_TIME;
|
| - |
|
181 |
case 27: // COURIER_COST_MARKETPLACE
|
| - |
|
182 |
return COURIER_COST_MARKETPLACE;
|
| 178 |
default:
|
183 |
default:
|
| 179 |
return null;
|
184 |
return null;
|
| 180 |
}
|
185 |
}
|
| 181 |
}
|
186 |
}
|
| 182 |
|
187 |
|
| Line 232... |
Line 237... |
| 232 |
private static final int __WEBSITESELLINGPRICE_ISSET_ID = 14;
|
237 |
private static final int __WEBSITESELLINGPRICE_ISSET_ID = 14;
|
| 233 |
private static final int __MAXNLC_ISSET_ID = 15;
|
238 |
private static final int __MAXNLC_ISSET_ID = 15;
|
| 234 |
private static final int __LASTUPDATEDINVENTORY_ISSET_ID = 16;
|
239 |
private static final int __LASTUPDATEDINVENTORY_ISSET_ID = 16;
|
| 235 |
private static final int __LASTUPDATEDINVENTORYTIMESTAMP_ISSET_ID = 17;
|
240 |
private static final int __LASTUPDATEDINVENTORYTIMESTAMP_ISSET_ID = 17;
|
| 236 |
private static final int __SHIPPINGTIME_ISSET_ID = 18;
|
241 |
private static final int __SHIPPINGTIME_ISSET_ID = 18;
|
| - |
|
242 |
private static final int __COURIERCOSTMARKETPLACE_ISSET_ID = 19;
|
| 237 |
private BitSet __isset_bit_vector = new BitSet(19);
|
243 |
private BitSet __isset_bit_vector = new BitSet(20);
|
| 238 |
|
244 |
|
| 239 |
public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
|
245 |
public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
|
| 240 |
static {
|
246 |
static {
|
| 241 |
Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
|
247 |
Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
|
| 242 |
tmpMap.put(_Fields.ITEM_ID, new org.apache.thrift.meta_data.FieldMetaData("item_id", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
248 |
tmpMap.put(_Fields.ITEM_ID, new org.apache.thrift.meta_data.FieldMetaData("item_id", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| Line 289... |
Line 295... |
| 289 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
295 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
| 290 |
tmpMap.put(_Fields.LAST_UPDATED_INVENTORY_TIMESTAMP, new org.apache.thrift.meta_data.FieldMetaData("lastUpdatedInventoryTimestamp", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
296 |
tmpMap.put(_Fields.LAST_UPDATED_INVENTORY_TIMESTAMP, new org.apache.thrift.meta_data.FieldMetaData("lastUpdatedInventoryTimestamp", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| 291 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
297 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
| 292 |
tmpMap.put(_Fields.SHIPPING_TIME, new org.apache.thrift.meta_data.FieldMetaData("shippingTime", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
298 |
tmpMap.put(_Fields.SHIPPING_TIME, new org.apache.thrift.meta_data.FieldMetaData("shippingTime", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| 293 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
299 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
| - |
|
300 |
tmpMap.put(_Fields.COURIER_COST_MARKETPLACE, new org.apache.thrift.meta_data.FieldMetaData("courierCostMarketplace", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| - |
|
301 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
|
| 294 |
metaDataMap = Collections.unmodifiableMap(tmpMap);
|
302 |
metaDataMap = Collections.unmodifiableMap(tmpMap);
|
| 295 |
org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(SnapdealItemDetails.class, metaDataMap);
|
303 |
org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(SnapdealItemDetails.class, metaDataMap);
|
| 296 |
}
|
304 |
}
|
| 297 |
|
305 |
|
| 298 |
public SnapdealItemDetails() {
|
306 |
public SnapdealItemDetails() {
|
| Line 322... |
Line 330... |
| 322 |
double maxNlc,
|
330 |
double maxNlc,
|
| 323 |
String skuAtSnapdeal,
|
331 |
String skuAtSnapdeal,
|
| 324 |
String supc,
|
332 |
String supc,
|
| 325 |
long lastUpdatedInventory,
|
333 |
long lastUpdatedInventory,
|
| 326 |
long lastUpdatedInventoryTimestamp,
|
334 |
long lastUpdatedInventoryTimestamp,
|
| 327 |
long shippingTime)
|
335 |
long shippingTime,
|
| - |
|
336 |
double courierCostMarketplace)
|
| 328 |
{
|
337 |
{
|
| 329 |
this();
|
338 |
this();
|
| 330 |
this.item_id = item_id;
|
339 |
this.item_id = item_id;
|
| 331 |
setItem_idIsSet(true);
|
340 |
setItem_idIsSet(true);
|
| 332 |
this.warehouseId = warehouseId;
|
341 |
this.warehouseId = warehouseId;
|
| Line 370... |
Line 379... |
| 370 |
setLastUpdatedInventoryIsSet(true);
|
379 |
setLastUpdatedInventoryIsSet(true);
|
| 371 |
this.lastUpdatedInventoryTimestamp = lastUpdatedInventoryTimestamp;
|
380 |
this.lastUpdatedInventoryTimestamp = lastUpdatedInventoryTimestamp;
|
| 372 |
setLastUpdatedInventoryTimestampIsSet(true);
|
381 |
setLastUpdatedInventoryTimestampIsSet(true);
|
| 373 |
this.shippingTime = shippingTime;
|
382 |
this.shippingTime = shippingTime;
|
| 374 |
setShippingTimeIsSet(true);
|
383 |
setShippingTimeIsSet(true);
|
| - |
|
384 |
this.courierCostMarketplace = courierCostMarketplace;
|
| - |
|
385 |
setCourierCostMarketplaceIsSet(true);
|
| 375 |
}
|
386 |
}
|
| 376 |
|
387 |
|
| 377 |
/**
|
388 |
/**
|
| 378 |
* Performs a deep copy on <i>other</i>.
|
389 |
* Performs a deep copy on <i>other</i>.
|
| 379 |
*/
|
390 |
*/
|
| Line 418... |
Line 429... |
| 418 |
this.supc = other.supc;
|
429 |
this.supc = other.supc;
|
| 419 |
}
|
430 |
}
|
| 420 |
this.lastUpdatedInventory = other.lastUpdatedInventory;
|
431 |
this.lastUpdatedInventory = other.lastUpdatedInventory;
|
| 421 |
this.lastUpdatedInventoryTimestamp = other.lastUpdatedInventoryTimestamp;
|
432 |
this.lastUpdatedInventoryTimestamp = other.lastUpdatedInventoryTimestamp;
|
| 422 |
this.shippingTime = other.shippingTime;
|
433 |
this.shippingTime = other.shippingTime;
|
| - |
|
434 |
this.courierCostMarketplace = other.courierCostMarketplace;
|
| 423 |
}
|
435 |
}
|
| 424 |
|
436 |
|
| 425 |
public SnapdealItemDetails deepCopy() {
|
437 |
public SnapdealItemDetails deepCopy() {
|
| 426 |
return new SnapdealItemDetails(this);
|
438 |
return new SnapdealItemDetails(this);
|
| 427 |
}
|
439 |
}
|
| Line 471... |
Line 483... |
| 471 |
this.lastUpdatedInventory = 0;
|
483 |
this.lastUpdatedInventory = 0;
|
| 472 |
setLastUpdatedInventoryTimestampIsSet(false);
|
484 |
setLastUpdatedInventoryTimestampIsSet(false);
|
| 473 |
this.lastUpdatedInventoryTimestamp = 0;
|
485 |
this.lastUpdatedInventoryTimestamp = 0;
|
| 474 |
setShippingTimeIsSet(false);
|
486 |
setShippingTimeIsSet(false);
|
| 475 |
this.shippingTime = 0;
|
487 |
this.shippingTime = 0;
|
| - |
|
488 |
setCourierCostMarketplaceIsSet(false);
|
| - |
|
489 |
this.courierCostMarketplace = 0.0;
|
| 476 |
}
|
490 |
}
|
| 477 |
|
491 |
|
| 478 |
public long getItem_id() {
|
492 |
public long getItem_id() {
|
| 479 |
return this.item_id;
|
493 |
return this.item_id;
|
| 480 |
}
|
494 |
}
|
| Line 1060... |
Line 1074... |
| 1060 |
|
1074 |
|
| 1061 |
public void setShippingTimeIsSet(boolean value) {
|
1075 |
public void setShippingTimeIsSet(boolean value) {
|
| 1062 |
__isset_bit_vector.set(__SHIPPINGTIME_ISSET_ID, value);
|
1076 |
__isset_bit_vector.set(__SHIPPINGTIME_ISSET_ID, value);
|
| 1063 |
}
|
1077 |
}
|
| 1064 |
|
1078 |
|
| - |
|
1079 |
public double getCourierCostMarketplace() {
|
| - |
|
1080 |
return this.courierCostMarketplace;
|
| - |
|
1081 |
}
|
| - |
|
1082 |
|
| - |
|
1083 |
public void setCourierCostMarketplace(double courierCostMarketplace) {
|
| - |
|
1084 |
this.courierCostMarketplace = courierCostMarketplace;
|
| - |
|
1085 |
setCourierCostMarketplaceIsSet(true);
|
| - |
|
1086 |
}
|
| - |
|
1087 |
|
| - |
|
1088 |
public void unsetCourierCostMarketplace() {
|
| - |
|
1089 |
__isset_bit_vector.clear(__COURIERCOSTMARKETPLACE_ISSET_ID);
|
| - |
|
1090 |
}
|
| - |
|
1091 |
|
| - |
|
1092 |
/** Returns true if field courierCostMarketplace is set (has been assigned a value) and false otherwise */
|
| - |
|
1093 |
public boolean isSetCourierCostMarketplace() {
|
| - |
|
1094 |
return __isset_bit_vector.get(__COURIERCOSTMARKETPLACE_ISSET_ID);
|
| - |
|
1095 |
}
|
| - |
|
1096 |
|
| - |
|
1097 |
public void setCourierCostMarketplaceIsSet(boolean value) {
|
| - |
|
1098 |
__isset_bit_vector.set(__COURIERCOSTMARKETPLACE_ISSET_ID, value);
|
| - |
|
1099 |
}
|
| - |
|
1100 |
|
| 1065 |
public void setFieldValue(_Fields field, Object value) {
|
1101 |
public void setFieldValue(_Fields field, Object value) {
|
| 1066 |
switch (field) {
|
1102 |
switch (field) {
|
| 1067 |
case ITEM_ID:
|
1103 |
case ITEM_ID:
|
| 1068 |
if (value == null) {
|
1104 |
if (value == null) {
|
| 1069 |
unsetItem_id();
|
1105 |
unsetItem_id();
|
| Line 1270... |
Line 1306... |
| 1270 |
} else {
|
1306 |
} else {
|
| 1271 |
setShippingTime((Long)value);
|
1307 |
setShippingTime((Long)value);
|
| 1272 |
}
|
1308 |
}
|
| 1273 |
break;
|
1309 |
break;
|
| 1274 |
|
1310 |
|
| - |
|
1311 |
case COURIER_COST_MARKETPLACE:
|
| - |
|
1312 |
if (value == null) {
|
| - |
|
1313 |
unsetCourierCostMarketplace();
|
| - |
|
1314 |
} else {
|
| - |
|
1315 |
setCourierCostMarketplace((Double)value);
|
| - |
|
1316 |
}
|
| - |
|
1317 |
break;
|
| - |
|
1318 |
|
| 1275 |
}
|
1319 |
}
|
| 1276 |
}
|
1320 |
}
|
| 1277 |
|
1321 |
|
| 1278 |
public Object getFieldValue(_Fields field) {
|
1322 |
public Object getFieldValue(_Fields field) {
|
| 1279 |
switch (field) {
|
1323 |
switch (field) {
|
| Line 1353... |
Line 1397... |
| 1353 |
return Long.valueOf(getLastUpdatedInventoryTimestamp());
|
1397 |
return Long.valueOf(getLastUpdatedInventoryTimestamp());
|
| 1354 |
|
1398 |
|
| 1355 |
case SHIPPING_TIME:
|
1399 |
case SHIPPING_TIME:
|
| 1356 |
return Long.valueOf(getShippingTime());
|
1400 |
return Long.valueOf(getShippingTime());
|
| 1357 |
|
1401 |
|
| - |
|
1402 |
case COURIER_COST_MARKETPLACE:
|
| - |
|
1403 |
return Double.valueOf(getCourierCostMarketplace());
|
| - |
|
1404 |
|
| 1358 |
}
|
1405 |
}
|
| 1359 |
throw new IllegalStateException();
|
1406 |
throw new IllegalStateException();
|
| 1360 |
}
|
1407 |
}
|
| 1361 |
|
1408 |
|
| 1362 |
/** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
|
1409 |
/** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
|
| Line 1416... |
Line 1463... |
| 1416 |
return isSetLastUpdatedInventory();
|
1463 |
return isSetLastUpdatedInventory();
|
| 1417 |
case LAST_UPDATED_INVENTORY_TIMESTAMP:
|
1464 |
case LAST_UPDATED_INVENTORY_TIMESTAMP:
|
| 1418 |
return isSetLastUpdatedInventoryTimestamp();
|
1465 |
return isSetLastUpdatedInventoryTimestamp();
|
| 1419 |
case SHIPPING_TIME:
|
1466 |
case SHIPPING_TIME:
|
| 1420 |
return isSetShippingTime();
|
1467 |
return isSetShippingTime();
|
| - |
|
1468 |
case COURIER_COST_MARKETPLACE:
|
| - |
|
1469 |
return isSetCourierCostMarketplace();
|
| 1421 |
}
|
1470 |
}
|
| 1422 |
throw new IllegalStateException();
|
1471 |
throw new IllegalStateException();
|
| 1423 |
}
|
1472 |
}
|
| 1424 |
|
1473 |
|
| 1425 |
@Override
|
1474 |
@Override
|
| Line 1667... |
Line 1716... |
| 1667 |
return false;
|
1716 |
return false;
|
| 1668 |
if (this.shippingTime != that.shippingTime)
|
1717 |
if (this.shippingTime != that.shippingTime)
|
| 1669 |
return false;
|
1718 |
return false;
|
| 1670 |
}
|
1719 |
}
|
| 1671 |
|
1720 |
|
| - |
|
1721 |
boolean this_present_courierCostMarketplace = true;
|
| - |
|
1722 |
boolean that_present_courierCostMarketplace = true;
|
| - |
|
1723 |
if (this_present_courierCostMarketplace || that_present_courierCostMarketplace) {
|
| - |
|
1724 |
if (!(this_present_courierCostMarketplace && that_present_courierCostMarketplace))
|
| - |
|
1725 |
return false;
|
| - |
|
1726 |
if (this.courierCostMarketplace != that.courierCostMarketplace)
|
| - |
|
1727 |
return false;
|
| - |
|
1728 |
}
|
| - |
|
1729 |
|
| 1672 |
return true;
|
1730 |
return true;
|
| 1673 |
}
|
1731 |
}
|
| 1674 |
|
1732 |
|
| 1675 |
@Override
|
1733 |
@Override
|
| 1676 |
public int hashCode() {
|
1734 |
public int hashCode() {
|
| Line 1943... |
Line 2001... |
| 1943 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.shippingTime, typedOther.shippingTime);
|
2001 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.shippingTime, typedOther.shippingTime);
|
| 1944 |
if (lastComparison != 0) {
|
2002 |
if (lastComparison != 0) {
|
| 1945 |
return lastComparison;
|
2003 |
return lastComparison;
|
| 1946 |
}
|
2004 |
}
|
| 1947 |
}
|
2005 |
}
|
| - |
|
2006 |
lastComparison = Boolean.valueOf(isSetCourierCostMarketplace()).compareTo(typedOther.isSetCourierCostMarketplace());
|
| - |
|
2007 |
if (lastComparison != 0) {
|
| - |
|
2008 |
return lastComparison;
|
| - |
|
2009 |
}
|
| - |
|
2010 |
if (isSetCourierCostMarketplace()) {
|
| - |
|
2011 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.courierCostMarketplace, typedOther.courierCostMarketplace);
|
| - |
|
2012 |
if (lastComparison != 0) {
|
| - |
|
2013 |
return lastComparison;
|
| - |
|
2014 |
}
|
| - |
|
2015 |
}
|
| 1948 |
return 0;
|
2016 |
return 0;
|
| 1949 |
}
|
2017 |
}
|
| 1950 |
|
2018 |
|
| 1951 |
public _Fields fieldForId(int fieldId) {
|
2019 |
public _Fields fieldForId(int fieldId) {
|
| 1952 |
return _Fields.findByThriftId(fieldId);
|
2020 |
return _Fields.findByThriftId(fieldId);
|
| Line 2161... |
Line 2229... |
| 2161 |
setShippingTimeIsSet(true);
|
2229 |
setShippingTimeIsSet(true);
|
| 2162 |
} else {
|
2230 |
} else {
|
| 2163 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
2231 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| 2164 |
}
|
2232 |
}
|
| 2165 |
break;
|
2233 |
break;
|
| - |
|
2234 |
case 27: // COURIER_COST_MARKETPLACE
|
| - |
|
2235 |
if (field.type == org.apache.thrift.protocol.TType.DOUBLE) {
|
| - |
|
2236 |
this.courierCostMarketplace = iprot.readDouble();
|
| - |
|
2237 |
setCourierCostMarketplaceIsSet(true);
|
| - |
|
2238 |
} else {
|
| - |
|
2239 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| - |
|
2240 |
}
|
| - |
|
2241 |
break;
|
| 2166 |
default:
|
2242 |
default:
|
| 2167 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
2243 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| 2168 |
}
|
2244 |
}
|
| 2169 |
iprot.readFieldEnd();
|
2245 |
iprot.readFieldEnd();
|
| 2170 |
}
|
2246 |
}
|
| Line 2266... |
Line 2342... |
| 2266 |
oprot.writeI64(this.lastUpdatedInventoryTimestamp);
|
2342 |
oprot.writeI64(this.lastUpdatedInventoryTimestamp);
|
| 2267 |
oprot.writeFieldEnd();
|
2343 |
oprot.writeFieldEnd();
|
| 2268 |
oprot.writeFieldBegin(SHIPPING_TIME_FIELD_DESC);
|
2344 |
oprot.writeFieldBegin(SHIPPING_TIME_FIELD_DESC);
|
| 2269 |
oprot.writeI64(this.shippingTime);
|
2345 |
oprot.writeI64(this.shippingTime);
|
| 2270 |
oprot.writeFieldEnd();
|
2346 |
oprot.writeFieldEnd();
|
| - |
|
2347 |
oprot.writeFieldBegin(COURIER_COST_MARKETPLACE_FIELD_DESC);
|
| - |
|
2348 |
oprot.writeDouble(this.courierCostMarketplace);
|
| - |
|
2349 |
oprot.writeFieldEnd();
|
| 2271 |
oprot.writeFieldStop();
|
2350 |
oprot.writeFieldStop();
|
| 2272 |
oprot.writeStructEnd();
|
2351 |
oprot.writeStructEnd();
|
| 2273 |
}
|
2352 |
}
|
| 2274 |
|
2353 |
|
| 2275 |
@Override
|
2354 |
@Override
|
| Line 2406... |
Line 2485... |
| 2406 |
first = false;
|
2485 |
first = false;
|
| 2407 |
if (!first) sb.append(", ");
|
2486 |
if (!first) sb.append(", ");
|
| 2408 |
sb.append("shippingTime:");
|
2487 |
sb.append("shippingTime:");
|
| 2409 |
sb.append(this.shippingTime);
|
2488 |
sb.append(this.shippingTime);
|
| 2410 |
first = false;
|
2489 |
first = false;
|
| - |
|
2490 |
if (!first) sb.append(", ");
|
| - |
|
2491 |
sb.append("courierCostMarketplace:");
|
| - |
|
2492 |
sb.append(this.courierCostMarketplace);
|
| - |
|
2493 |
first = false;
|
| 2411 |
sb.append(")");
|
2494 |
sb.append(")");
|
| 2412 |
return sb.toString();
|
2495 |
return sb.toString();
|
| 2413 |
}
|
2496 |
}
|
| 2414 |
|
2497 |
|
| 2415 |
public void validate() throws org.apache.thrift.TException {
|
2498 |
public void validate() throws org.apache.thrift.TException {
|