| Line 51... |
Line 51... |
| 51 |
private static final org.apache.thrift.protocol.TField MINIMUM_POSSIBLE_TP_VOI_FIELD_DESC = new org.apache.thrift.protocol.TField("minimumPossibleTpVoi", org.apache.thrift.protocol.TType.DOUBLE, (short)26);
|
51 |
private static final org.apache.thrift.protocol.TField MINIMUM_POSSIBLE_TP_VOI_FIELD_DESC = new org.apache.thrift.protocol.TField("minimumPossibleTpVoi", org.apache.thrift.protocol.TType.DOUBLE, (short)26);
|
| 52 |
private static final org.apache.thrift.protocol.TField COURIER_COST_VOI_FIELD_DESC = new org.apache.thrift.protocol.TField("courierCostVoi", org.apache.thrift.protocol.TType.DOUBLE, (short)27);
|
52 |
private static final org.apache.thrift.protocol.TField COURIER_COST_VOI_FIELD_DESC = new org.apache.thrift.protocol.TField("courierCostVoi", org.apache.thrift.protocol.TType.DOUBLE, (short)27);
|
| 53 |
private static final org.apache.thrift.protocol.TField SERVICE_TAX_VOI_FIELD_DESC = new org.apache.thrift.protocol.TField("serviceTaxVoi", org.apache.thrift.protocol.TType.DOUBLE, (short)28);
|
53 |
private static final org.apache.thrift.protocol.TField SERVICE_TAX_VOI_FIELD_DESC = new org.apache.thrift.protocol.TField("serviceTaxVoi", org.apache.thrift.protocol.TType.DOUBLE, (short)28);
|
| 54 |
private static final org.apache.thrift.protocol.TField TRANSFER_PRICE_VOI_FIELD_DESC = new org.apache.thrift.protocol.TField("transferPriceVoi", org.apache.thrift.protocol.TType.DOUBLE, (short)29);
|
54 |
private static final org.apache.thrift.protocol.TField TRANSFER_PRICE_VOI_FIELD_DESC = new org.apache.thrift.protocol.TField("transferPriceVoi", org.apache.thrift.protocol.TType.DOUBLE, (short)29);
|
| 55 |
private static final org.apache.thrift.protocol.TField COMMISSION_VOI_FIELD_DESC = new org.apache.thrift.protocol.TField("commissionVoi", org.apache.thrift.protocol.TType.DOUBLE, (short)30);
|
55 |
private static final org.apache.thrift.protocol.TField COMMISSION_VOI_FIELD_DESC = new org.apache.thrift.protocol.TField("commissionVoi", org.apache.thrift.protocol.TType.DOUBLE, (short)30);
|
| - |
|
56 |
private static final org.apache.thrift.protocol.TField COURIER_COST_MARKETPLACE_VOI_FIELD_DESC = new org.apache.thrift.protocol.TField("courierCostMarketplaceVoi", org.apache.thrift.protocol.TType.DOUBLE, (short)31);
|
| - |
|
57 |
private static final org.apache.thrift.protocol.TField COMMISSION_PERCENTAGE_VOI_FIELD_DESC = new org.apache.thrift.protocol.TField("commissionPercentageVoi", org.apache.thrift.protocol.TType.DOUBLE, (short)32);
|
| 56 |
|
58 |
|
| 57 |
private long item_id; // required
|
59 |
private long item_id; // required
|
| 58 |
private long warehouseId; // required
|
60 |
private long warehouseId; // required
|
| 59 |
private double exceptionPrice; // required
|
61 |
private double exceptionPrice; // required
|
| 60 |
private boolean isListedOnSnapdeal; // required
|
62 |
private boolean isListedOnSnapdeal; // required
|
| Line 82... |
Line 84... |
| 82 |
private double minimumPossibleTpVoi; // required
|
84 |
private double minimumPossibleTpVoi; // required
|
| 83 |
private double courierCostVoi; // required
|
85 |
private double courierCostVoi; // required
|
| 84 |
private double serviceTaxVoi; // required
|
86 |
private double serviceTaxVoi; // required
|
| 85 |
private double transferPriceVoi; // required
|
87 |
private double transferPriceVoi; // required
|
| 86 |
private double commissionVoi; // required
|
88 |
private double commissionVoi; // required
|
| - |
|
89 |
private double courierCostMarketplaceVoi; // required
|
| - |
|
90 |
private double commissionPercentageVoi; // required
|
| 87 |
|
91 |
|
| 88 |
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
|
92 |
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
|
| 89 |
public enum _Fields implements org.apache.thrift.TFieldIdEnum {
|
93 |
public enum _Fields implements org.apache.thrift.TFieldIdEnum {
|
| 90 |
ITEM_ID((short)1, "item_id"),
|
94 |
ITEM_ID((short)1, "item_id"),
|
| 91 |
WAREHOUSE_ID((short)2, "warehouseId"),
|
95 |
WAREHOUSE_ID((short)2, "warehouseId"),
|
| Line 114... |
Line 118... |
| 114 |
MINIMUM_POSSIBLE_SP_VOI((short)25, "minimumPossibleSpVoi"),
|
118 |
MINIMUM_POSSIBLE_SP_VOI((short)25, "minimumPossibleSpVoi"),
|
| 115 |
MINIMUM_POSSIBLE_TP_VOI((short)26, "minimumPossibleTpVoi"),
|
119 |
MINIMUM_POSSIBLE_TP_VOI((short)26, "minimumPossibleTpVoi"),
|
| 116 |
COURIER_COST_VOI((short)27, "courierCostVoi"),
|
120 |
COURIER_COST_VOI((short)27, "courierCostVoi"),
|
| 117 |
SERVICE_TAX_VOI((short)28, "serviceTaxVoi"),
|
121 |
SERVICE_TAX_VOI((short)28, "serviceTaxVoi"),
|
| 118 |
TRANSFER_PRICE_VOI((short)29, "transferPriceVoi"),
|
122 |
TRANSFER_PRICE_VOI((short)29, "transferPriceVoi"),
|
| 119 |
COMMISSION_VOI((short)30, "commissionVoi");
|
123 |
COMMISSION_VOI((short)30, "commissionVoi"),
|
| - |
|
124 |
COURIER_COST_MARKETPLACE_VOI((short)31, "courierCostMarketplaceVoi"),
|
| - |
|
125 |
COMMISSION_PERCENTAGE_VOI((short)32, "commissionPercentageVoi");
|
| 120 |
|
126 |
|
| 121 |
private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
|
127 |
private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
|
| 122 |
|
128 |
|
| 123 |
static {
|
129 |
static {
|
| 124 |
for (_Fields field : EnumSet.allOf(_Fields.class)) {
|
130 |
for (_Fields field : EnumSet.allOf(_Fields.class)) {
|
| Line 189... |
Line 195... |
| 189 |
return SERVICE_TAX_VOI;
|
195 |
return SERVICE_TAX_VOI;
|
| 190 |
case 29: // TRANSFER_PRICE_VOI
|
196 |
case 29: // TRANSFER_PRICE_VOI
|
| 191 |
return TRANSFER_PRICE_VOI;
|
197 |
return TRANSFER_PRICE_VOI;
|
| 192 |
case 30: // COMMISSION_VOI
|
198 |
case 30: // COMMISSION_VOI
|
| 193 |
return COMMISSION_VOI;
|
199 |
return COMMISSION_VOI;
|
| - |
|
200 |
case 31: // COURIER_COST_MARKETPLACE_VOI
|
| - |
|
201 |
return COURIER_COST_MARKETPLACE_VOI;
|
| - |
|
202 |
case 32: // COMMISSION_PERCENTAGE_VOI
|
| - |
|
203 |
return COMMISSION_PERCENTAGE_VOI;
|
| 194 |
default:
|
204 |
default:
|
| 195 |
return null;
|
205 |
return null;
|
| 196 |
}
|
206 |
}
|
| 197 |
}
|
207 |
}
|
| 198 |
|
208 |
|
| Line 252... |
Line 262... |
| 252 |
private static final int __MINIMUMPOSSIBLETPVOI_ISSET_ID = 18;
|
262 |
private static final int __MINIMUMPOSSIBLETPVOI_ISSET_ID = 18;
|
| 253 |
private static final int __COURIERCOSTVOI_ISSET_ID = 19;
|
263 |
private static final int __COURIERCOSTVOI_ISSET_ID = 19;
|
| 254 |
private static final int __SERVICETAXVOI_ISSET_ID = 20;
|
264 |
private static final int __SERVICETAXVOI_ISSET_ID = 20;
|
| 255 |
private static final int __TRANSFERPRICEVOI_ISSET_ID = 21;
|
265 |
private static final int __TRANSFERPRICEVOI_ISSET_ID = 21;
|
| 256 |
private static final int __COMMISSIONVOI_ISSET_ID = 22;
|
266 |
private static final int __COMMISSIONVOI_ISSET_ID = 22;
|
| - |
|
267 |
private static final int __COURIERCOSTMARKETPLACEVOI_ISSET_ID = 23;
|
| - |
|
268 |
private static final int __COMMISSIONPERCENTAGEVOI_ISSET_ID = 24;
|
| 257 |
private BitSet __isset_bit_vector = new BitSet(23);
|
269 |
private BitSet __isset_bit_vector = new BitSet(25);
|
| 258 |
|
270 |
|
| 259 |
public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
|
271 |
public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
|
| 260 |
static {
|
272 |
static {
|
| 261 |
Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
|
273 |
Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
|
| 262 |
tmpMap.put(_Fields.ITEM_ID, new org.apache.thrift.meta_data.FieldMetaData("item_id", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
274 |
tmpMap.put(_Fields.ITEM_ID, new org.apache.thrift.meta_data.FieldMetaData("item_id", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| Line 317... |
Line 329... |
| 317 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
|
329 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
|
| 318 |
tmpMap.put(_Fields.TRANSFER_PRICE_VOI, new org.apache.thrift.meta_data.FieldMetaData("transferPriceVoi", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
330 |
tmpMap.put(_Fields.TRANSFER_PRICE_VOI, new org.apache.thrift.meta_data.FieldMetaData("transferPriceVoi", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| 319 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
|
331 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
|
| 320 |
tmpMap.put(_Fields.COMMISSION_VOI, new org.apache.thrift.meta_data.FieldMetaData("commissionVoi", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
332 |
tmpMap.put(_Fields.COMMISSION_VOI, new org.apache.thrift.meta_data.FieldMetaData("commissionVoi", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| 321 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
|
333 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
|
| - |
|
334 |
tmpMap.put(_Fields.COURIER_COST_MARKETPLACE_VOI, new org.apache.thrift.meta_data.FieldMetaData("courierCostMarketplaceVoi", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| - |
|
335 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
|
| - |
|
336 |
tmpMap.put(_Fields.COMMISSION_PERCENTAGE_VOI, new org.apache.thrift.meta_data.FieldMetaData("commissionPercentageVoi", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| - |
|
337 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
|
| 322 |
metaDataMap = Collections.unmodifiableMap(tmpMap);
|
338 |
metaDataMap = Collections.unmodifiableMap(tmpMap);
|
| 323 |
org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(SnapdealItem.class, metaDataMap);
|
339 |
org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(SnapdealItem.class, metaDataMap);
|
| 324 |
}
|
340 |
}
|
| 325 |
|
341 |
|
| 326 |
public SnapdealItem() {
|
342 |
public SnapdealItem() {
|
| Line 354... |
Line 370... |
| 354 |
double minimumPossibleSpVoi,
|
370 |
double minimumPossibleSpVoi,
|
| 355 |
double minimumPossibleTpVoi,
|
371 |
double minimumPossibleTpVoi,
|
| 356 |
double courierCostVoi,
|
372 |
double courierCostVoi,
|
| 357 |
double serviceTaxVoi,
|
373 |
double serviceTaxVoi,
|
| 358 |
double transferPriceVoi,
|
374 |
double transferPriceVoi,
|
| 359 |
double commissionVoi)
|
375 |
double commissionVoi,
|
| - |
|
376 |
double courierCostMarketplaceVoi,
|
| - |
|
377 |
double commissionPercentageVoi)
|
| 360 |
{
|
378 |
{
|
| 361 |
this();
|
379 |
this();
|
| 362 |
this.item_id = item_id;
|
380 |
this.item_id = item_id;
|
| 363 |
setItem_idIsSet(true);
|
381 |
setItem_idIsSet(true);
|
| 364 |
this.warehouseId = warehouseId;
|
382 |
this.warehouseId = warehouseId;
|
| Line 410... |
Line 428... |
| 410 |
setServiceTaxVoiIsSet(true);
|
428 |
setServiceTaxVoiIsSet(true);
|
| 411 |
this.transferPriceVoi = transferPriceVoi;
|
429 |
this.transferPriceVoi = transferPriceVoi;
|
| 412 |
setTransferPriceVoiIsSet(true);
|
430 |
setTransferPriceVoiIsSet(true);
|
| 413 |
this.commissionVoi = commissionVoi;
|
431 |
this.commissionVoi = commissionVoi;
|
| 414 |
setCommissionVoiIsSet(true);
|
432 |
setCommissionVoiIsSet(true);
|
| - |
|
433 |
this.courierCostMarketplaceVoi = courierCostMarketplaceVoi;
|
| - |
|
434 |
setCourierCostMarketplaceVoiIsSet(true);
|
| - |
|
435 |
this.commissionPercentageVoi = commissionPercentageVoi;
|
| - |
|
436 |
setCommissionPercentageVoiIsSet(true);
|
| 415 |
}
|
437 |
}
|
| 416 |
|
438 |
|
| 417 |
/**
|
439 |
/**
|
| 418 |
* Performs a deep copy on <i>other</i>.
|
440 |
* Performs a deep copy on <i>other</i>.
|
| 419 |
*/
|
441 |
*/
|
| Line 462... |
Line 484... |
| 462 |
this.minimumPossibleTpVoi = other.minimumPossibleTpVoi;
|
484 |
this.minimumPossibleTpVoi = other.minimumPossibleTpVoi;
|
| 463 |
this.courierCostVoi = other.courierCostVoi;
|
485 |
this.courierCostVoi = other.courierCostVoi;
|
| 464 |
this.serviceTaxVoi = other.serviceTaxVoi;
|
486 |
this.serviceTaxVoi = other.serviceTaxVoi;
|
| 465 |
this.transferPriceVoi = other.transferPriceVoi;
|
487 |
this.transferPriceVoi = other.transferPriceVoi;
|
| 466 |
this.commissionVoi = other.commissionVoi;
|
488 |
this.commissionVoi = other.commissionVoi;
|
| - |
|
489 |
this.courierCostMarketplaceVoi = other.courierCostMarketplaceVoi;
|
| - |
|
490 |
this.commissionPercentageVoi = other.commissionPercentageVoi;
|
| 467 |
}
|
491 |
}
|
| 468 |
|
492 |
|
| 469 |
public SnapdealItem deepCopy() {
|
493 |
public SnapdealItem deepCopy() {
|
| 470 |
return new SnapdealItem(this);
|
494 |
return new SnapdealItem(this);
|
| 471 |
}
|
495 |
}
|
| Line 523... |
Line 547... |
| 523 |
this.serviceTaxVoi = 0.0;
|
547 |
this.serviceTaxVoi = 0.0;
|
| 524 |
setTransferPriceVoiIsSet(false);
|
548 |
setTransferPriceVoiIsSet(false);
|
| 525 |
this.transferPriceVoi = 0.0;
|
549 |
this.transferPriceVoi = 0.0;
|
| 526 |
setCommissionVoiIsSet(false);
|
550 |
setCommissionVoiIsSet(false);
|
| 527 |
this.commissionVoi = 0.0;
|
551 |
this.commissionVoi = 0.0;
|
| - |
|
552 |
setCourierCostMarketplaceVoiIsSet(false);
|
| - |
|
553 |
this.courierCostMarketplaceVoi = 0.0;
|
| - |
|
554 |
setCommissionPercentageVoiIsSet(false);
|
| - |
|
555 |
this.commissionPercentageVoi = 0.0;
|
| 528 |
}
|
556 |
}
|
| 529 |
|
557 |
|
| 530 |
public long getItem_id() {
|
558 |
public long getItem_id() {
|
| 531 |
return this.item_id;
|
559 |
return this.item_id;
|
| 532 |
}
|
560 |
}
|
| Line 1192... |
Line 1220... |
| 1192 |
|
1220 |
|
| 1193 |
public void setCommissionVoiIsSet(boolean value) {
|
1221 |
public void setCommissionVoiIsSet(boolean value) {
|
| 1194 |
__isset_bit_vector.set(__COMMISSIONVOI_ISSET_ID, value);
|
1222 |
__isset_bit_vector.set(__COMMISSIONVOI_ISSET_ID, value);
|
| 1195 |
}
|
1223 |
}
|
| 1196 |
|
1224 |
|
| - |
|
1225 |
public double getCourierCostMarketplaceVoi() {
|
| - |
|
1226 |
return this.courierCostMarketplaceVoi;
|
| - |
|
1227 |
}
|
| - |
|
1228 |
|
| - |
|
1229 |
public void setCourierCostMarketplaceVoi(double courierCostMarketplaceVoi) {
|
| - |
|
1230 |
this.courierCostMarketplaceVoi = courierCostMarketplaceVoi;
|
| - |
|
1231 |
setCourierCostMarketplaceVoiIsSet(true);
|
| - |
|
1232 |
}
|
| - |
|
1233 |
|
| - |
|
1234 |
public void unsetCourierCostMarketplaceVoi() {
|
| - |
|
1235 |
__isset_bit_vector.clear(__COURIERCOSTMARKETPLACEVOI_ISSET_ID);
|
| - |
|
1236 |
}
|
| - |
|
1237 |
|
| - |
|
1238 |
/** Returns true if field courierCostMarketplaceVoi is set (has been assigned a value) and false otherwise */
|
| - |
|
1239 |
public boolean isSetCourierCostMarketplaceVoi() {
|
| - |
|
1240 |
return __isset_bit_vector.get(__COURIERCOSTMARKETPLACEVOI_ISSET_ID);
|
| - |
|
1241 |
}
|
| - |
|
1242 |
|
| - |
|
1243 |
public void setCourierCostMarketplaceVoiIsSet(boolean value) {
|
| - |
|
1244 |
__isset_bit_vector.set(__COURIERCOSTMARKETPLACEVOI_ISSET_ID, value);
|
| - |
|
1245 |
}
|
| - |
|
1246 |
|
| - |
|
1247 |
public double getCommissionPercentageVoi() {
|
| - |
|
1248 |
return this.commissionPercentageVoi;
|
| - |
|
1249 |
}
|
| - |
|
1250 |
|
| - |
|
1251 |
public void setCommissionPercentageVoi(double commissionPercentageVoi) {
|
| - |
|
1252 |
this.commissionPercentageVoi = commissionPercentageVoi;
|
| - |
|
1253 |
setCommissionPercentageVoiIsSet(true);
|
| - |
|
1254 |
}
|
| - |
|
1255 |
|
| - |
|
1256 |
public void unsetCommissionPercentageVoi() {
|
| - |
|
1257 |
__isset_bit_vector.clear(__COMMISSIONPERCENTAGEVOI_ISSET_ID);
|
| - |
|
1258 |
}
|
| - |
|
1259 |
|
| - |
|
1260 |
/** Returns true if field commissionPercentageVoi is set (has been assigned a value) and false otherwise */
|
| - |
|
1261 |
public boolean isSetCommissionPercentageVoi() {
|
| - |
|
1262 |
return __isset_bit_vector.get(__COMMISSIONPERCENTAGEVOI_ISSET_ID);
|
| - |
|
1263 |
}
|
| - |
|
1264 |
|
| - |
|
1265 |
public void setCommissionPercentageVoiIsSet(boolean value) {
|
| - |
|
1266 |
__isset_bit_vector.set(__COMMISSIONPERCENTAGEVOI_ISSET_ID, value);
|
| - |
|
1267 |
}
|
| - |
|
1268 |
|
| 1197 |
public void setFieldValue(_Fields field, Object value) {
|
1269 |
public void setFieldValue(_Fields field, Object value) {
|
| 1198 |
switch (field) {
|
1270 |
switch (field) {
|
| 1199 |
case ITEM_ID:
|
1271 |
case ITEM_ID:
|
| 1200 |
if (value == null) {
|
1272 |
if (value == null) {
|
| 1201 |
unsetItem_id();
|
1273 |
unsetItem_id();
|
| Line 1434... |
Line 1506... |
| 1434 |
} else {
|
1506 |
} else {
|
| 1435 |
setCommissionVoi((Double)value);
|
1507 |
setCommissionVoi((Double)value);
|
| 1436 |
}
|
1508 |
}
|
| 1437 |
break;
|
1509 |
break;
|
| 1438 |
|
1510 |
|
| - |
|
1511 |
case COURIER_COST_MARKETPLACE_VOI:
|
| - |
|
1512 |
if (value == null) {
|
| - |
|
1513 |
unsetCourierCostMarketplaceVoi();
|
| - |
|
1514 |
} else {
|
| - |
|
1515 |
setCourierCostMarketplaceVoi((Double)value);
|
| - |
|
1516 |
}
|
| - |
|
1517 |
break;
|
| - |
|
1518 |
|
| - |
|
1519 |
case COMMISSION_PERCENTAGE_VOI:
|
| - |
|
1520 |
if (value == null) {
|
| - |
|
1521 |
unsetCommissionPercentageVoi();
|
| - |
|
1522 |
} else {
|
| - |
|
1523 |
setCommissionPercentageVoi((Double)value);
|
| - |
|
1524 |
}
|
| - |
|
1525 |
break;
|
| - |
|
1526 |
|
| 1439 |
}
|
1527 |
}
|
| 1440 |
}
|
1528 |
}
|
| 1441 |
|
1529 |
|
| 1442 |
public Object getFieldValue(_Fields field) {
|
1530 |
public Object getFieldValue(_Fields field) {
|
| 1443 |
switch (field) {
|
1531 |
switch (field) {
|
| Line 1529... |
Line 1617... |
| 1529 |
return Double.valueOf(getTransferPriceVoi());
|
1617 |
return Double.valueOf(getTransferPriceVoi());
|
| 1530 |
|
1618 |
|
| 1531 |
case COMMISSION_VOI:
|
1619 |
case COMMISSION_VOI:
|
| 1532 |
return Double.valueOf(getCommissionVoi());
|
1620 |
return Double.valueOf(getCommissionVoi());
|
| 1533 |
|
1621 |
|
| - |
|
1622 |
case COURIER_COST_MARKETPLACE_VOI:
|
| - |
|
1623 |
return Double.valueOf(getCourierCostMarketplaceVoi());
|
| - |
|
1624 |
|
| - |
|
1625 |
case COMMISSION_PERCENTAGE_VOI:
|
| - |
|
1626 |
return Double.valueOf(getCommissionPercentageVoi());
|
| - |
|
1627 |
|
| 1534 |
}
|
1628 |
}
|
| 1535 |
throw new IllegalStateException();
|
1629 |
throw new IllegalStateException();
|
| 1536 |
}
|
1630 |
}
|
| 1537 |
|
1631 |
|
| 1538 |
/** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
|
1632 |
/** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
|
| Line 1600... |
Line 1694... |
| 1600 |
return isSetServiceTaxVoi();
|
1694 |
return isSetServiceTaxVoi();
|
| 1601 |
case TRANSFER_PRICE_VOI:
|
1695 |
case TRANSFER_PRICE_VOI:
|
| 1602 |
return isSetTransferPriceVoi();
|
1696 |
return isSetTransferPriceVoi();
|
| 1603 |
case COMMISSION_VOI:
|
1697 |
case COMMISSION_VOI:
|
| 1604 |
return isSetCommissionVoi();
|
1698 |
return isSetCommissionVoi();
|
| - |
|
1699 |
case COURIER_COST_MARKETPLACE_VOI:
|
| - |
|
1700 |
return isSetCourierCostMarketplaceVoi();
|
| - |
|
1701 |
case COMMISSION_PERCENTAGE_VOI:
|
| - |
|
1702 |
return isSetCommissionPercentageVoi();
|
| 1605 |
}
|
1703 |
}
|
| 1606 |
throw new IllegalStateException();
|
1704 |
throw new IllegalStateException();
|
| 1607 |
}
|
1705 |
}
|
| 1608 |
|
1706 |
|
| 1609 |
@Override
|
1707 |
@Override
|
| Line 1887... |
Line 1985... |
| 1887 |
return false;
|
1985 |
return false;
|
| 1888 |
if (this.commissionVoi != that.commissionVoi)
|
1986 |
if (this.commissionVoi != that.commissionVoi)
|
| 1889 |
return false;
|
1987 |
return false;
|
| 1890 |
}
|
1988 |
}
|
| 1891 |
|
1989 |
|
| - |
|
1990 |
boolean this_present_courierCostMarketplaceVoi = true;
|
| - |
|
1991 |
boolean that_present_courierCostMarketplaceVoi = true;
|
| - |
|
1992 |
if (this_present_courierCostMarketplaceVoi || that_present_courierCostMarketplaceVoi) {
|
| - |
|
1993 |
if (!(this_present_courierCostMarketplaceVoi && that_present_courierCostMarketplaceVoi))
|
| - |
|
1994 |
return false;
|
| - |
|
1995 |
if (this.courierCostMarketplaceVoi != that.courierCostMarketplaceVoi)
|
| - |
|
1996 |
return false;
|
| - |
|
1997 |
}
|
| - |
|
1998 |
|
| - |
|
1999 |
boolean this_present_commissionPercentageVoi = true;
|
| - |
|
2000 |
boolean that_present_commissionPercentageVoi = true;
|
| - |
|
2001 |
if (this_present_commissionPercentageVoi || that_present_commissionPercentageVoi) {
|
| - |
|
2002 |
if (!(this_present_commissionPercentageVoi && that_present_commissionPercentageVoi))
|
| - |
|
2003 |
return false;
|
| - |
|
2004 |
if (this.commissionPercentageVoi != that.commissionPercentageVoi)
|
| - |
|
2005 |
return false;
|
| - |
|
2006 |
}
|
| - |
|
2007 |
|
| 1892 |
return true;
|
2008 |
return true;
|
| 1893 |
}
|
2009 |
}
|
| 1894 |
|
2010 |
|
| 1895 |
@Override
|
2011 |
@Override
|
| 1896 |
public int hashCode() {
|
2012 |
public int hashCode() {
|
| Line 2203... |
Line 2319... |
| 2203 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.commissionVoi, typedOther.commissionVoi);
|
2319 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.commissionVoi, typedOther.commissionVoi);
|
| 2204 |
if (lastComparison != 0) {
|
2320 |
if (lastComparison != 0) {
|
| 2205 |
return lastComparison;
|
2321 |
return lastComparison;
|
| 2206 |
}
|
2322 |
}
|
| 2207 |
}
|
2323 |
}
|
| - |
|
2324 |
lastComparison = Boolean.valueOf(isSetCourierCostMarketplaceVoi()).compareTo(typedOther.isSetCourierCostMarketplaceVoi());
|
| - |
|
2325 |
if (lastComparison != 0) {
|
| - |
|
2326 |
return lastComparison;
|
| - |
|
2327 |
}
|
| - |
|
2328 |
if (isSetCourierCostMarketplaceVoi()) {
|
| - |
|
2329 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.courierCostMarketplaceVoi, typedOther.courierCostMarketplaceVoi);
|
| - |
|
2330 |
if (lastComparison != 0) {
|
| - |
|
2331 |
return lastComparison;
|
| - |
|
2332 |
}
|
| - |
|
2333 |
}
|
| - |
|
2334 |
lastComparison = Boolean.valueOf(isSetCommissionPercentageVoi()).compareTo(typedOther.isSetCommissionPercentageVoi());
|
| - |
|
2335 |
if (lastComparison != 0) {
|
| - |
|
2336 |
return lastComparison;
|
| - |
|
2337 |
}
|
| - |
|
2338 |
if (isSetCommissionPercentageVoi()) {
|
| - |
|
2339 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.commissionPercentageVoi, typedOther.commissionPercentageVoi);
|
| - |
|
2340 |
if (lastComparison != 0) {
|
| - |
|
2341 |
return lastComparison;
|
| - |
|
2342 |
}
|
| - |
|
2343 |
}
|
| 2208 |
return 0;
|
2344 |
return 0;
|
| 2209 |
}
|
2345 |
}
|
| 2210 |
|
2346 |
|
| 2211 |
public _Fields fieldForId(int fieldId) {
|
2347 |
public _Fields fieldForId(int fieldId) {
|
| 2212 |
return _Fields.findByThriftId(fieldId);
|
2348 |
return _Fields.findByThriftId(fieldId);
|
| Line 2455... |
Line 2591... |
| 2455 |
setCommissionVoiIsSet(true);
|
2591 |
setCommissionVoiIsSet(true);
|
| 2456 |
} else {
|
2592 |
} else {
|
| 2457 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
2593 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| 2458 |
}
|
2594 |
}
|
| 2459 |
break;
|
2595 |
break;
|
| - |
|
2596 |
case 31: // COURIER_COST_MARKETPLACE_VOI
|
| - |
|
2597 |
if (field.type == org.apache.thrift.protocol.TType.DOUBLE) {
|
| - |
|
2598 |
this.courierCostMarketplaceVoi = iprot.readDouble();
|
| - |
|
2599 |
setCourierCostMarketplaceVoiIsSet(true);
|
| - |
|
2600 |
} else {
|
| - |
|
2601 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| - |
|
2602 |
}
|
| - |
|
2603 |
break;
|
| - |
|
2604 |
case 32: // COMMISSION_PERCENTAGE_VOI
|
| - |
|
2605 |
if (field.type == org.apache.thrift.protocol.TType.DOUBLE) {
|
| - |
|
2606 |
this.commissionPercentageVoi = iprot.readDouble();
|
| - |
|
2607 |
setCommissionPercentageVoiIsSet(true);
|
| - |
|
2608 |
} else {
|
| - |
|
2609 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| - |
|
2610 |
}
|
| - |
|
2611 |
break;
|
| 2460 |
default:
|
2612 |
default:
|
| 2461 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
2613 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| 2462 |
}
|
2614 |
}
|
| 2463 |
iprot.readFieldEnd();
|
2615 |
iprot.readFieldEnd();
|
| 2464 |
}
|
2616 |
}
|
| Line 2572... |
Line 2724... |
| 2572 |
oprot.writeDouble(this.transferPriceVoi);
|
2724 |
oprot.writeDouble(this.transferPriceVoi);
|
| 2573 |
oprot.writeFieldEnd();
|
2725 |
oprot.writeFieldEnd();
|
| 2574 |
oprot.writeFieldBegin(COMMISSION_VOI_FIELD_DESC);
|
2726 |
oprot.writeFieldBegin(COMMISSION_VOI_FIELD_DESC);
|
| 2575 |
oprot.writeDouble(this.commissionVoi);
|
2727 |
oprot.writeDouble(this.commissionVoi);
|
| 2576 |
oprot.writeFieldEnd();
|
2728 |
oprot.writeFieldEnd();
|
| - |
|
2729 |
oprot.writeFieldBegin(COURIER_COST_MARKETPLACE_VOI_FIELD_DESC);
|
| - |
|
2730 |
oprot.writeDouble(this.courierCostMarketplaceVoi);
|
| - |
|
2731 |
oprot.writeFieldEnd();
|
| - |
|
2732 |
oprot.writeFieldBegin(COMMISSION_PERCENTAGE_VOI_FIELD_DESC);
|
| - |
|
2733 |
oprot.writeDouble(this.commissionPercentageVoi);
|
| - |
|
2734 |
oprot.writeFieldEnd();
|
| 2577 |
oprot.writeFieldStop();
|
2735 |
oprot.writeFieldStop();
|
| 2578 |
oprot.writeStructEnd();
|
2736 |
oprot.writeStructEnd();
|
| 2579 |
}
|
2737 |
}
|
| 2580 |
|
2738 |
|
| 2581 |
@Override
|
2739 |
@Override
|
| Line 2728... |
Line 2886... |
| 2728 |
first = false;
|
2886 |
first = false;
|
| 2729 |
if (!first) sb.append(", ");
|
2887 |
if (!first) sb.append(", ");
|
| 2730 |
sb.append("commissionVoi:");
|
2888 |
sb.append("commissionVoi:");
|
| 2731 |
sb.append(this.commissionVoi);
|
2889 |
sb.append(this.commissionVoi);
|
| 2732 |
first = false;
|
2890 |
first = false;
|
| - |
|
2891 |
if (!first) sb.append(", ");
|
| - |
|
2892 |
sb.append("courierCostMarketplaceVoi:");
|
| - |
|
2893 |
sb.append(this.courierCostMarketplaceVoi);
|
| - |
|
2894 |
first = false;
|
| - |
|
2895 |
if (!first) sb.append(", ");
|
| - |
|
2896 |
sb.append("commissionPercentageVoi:");
|
| - |
|
2897 |
sb.append(this.commissionPercentageVoi);
|
| - |
|
2898 |
first = false;
|
| 2733 |
sb.append(")");
|
2899 |
sb.append(")");
|
| 2734 |
return sb.toString();
|
2900 |
return sb.toString();
|
| 2735 |
}
|
2901 |
}
|
| 2736 |
|
2902 |
|
| 2737 |
public void validate() throws org.apache.thrift.TException {
|
2903 |
public void validate() throws org.apache.thrift.TException {
|