| Line 57... |
Line 57... |
| 57 |
private static final org.apache.thrift.protocol.TField COMING_SOON_START_DATE_FIELD_DESC = new org.apache.thrift.protocol.TField("comingSoonStartDate", org.apache.thrift.protocol.TType.I64, (short)33);
|
57 |
private static final org.apache.thrift.protocol.TField COMING_SOON_START_DATE_FIELD_DESC = new org.apache.thrift.protocol.TField("comingSoonStartDate", org.apache.thrift.protocol.TType.I64, (short)33);
|
| 58 |
private static final org.apache.thrift.protocol.TField EXPECTED_ARRIVAL_DATE_FIELD_DESC = new org.apache.thrift.protocol.TField("expectedArrivalDate", org.apache.thrift.protocol.TType.I64, (short)34);
|
58 |
private static final org.apache.thrift.protocol.TField EXPECTED_ARRIVAL_DATE_FIELD_DESC = new org.apache.thrift.protocol.TField("expectedArrivalDate", org.apache.thrift.protocol.TType.I64, (short)34);
|
| 59 |
private static final org.apache.thrift.protocol.TField HAS_ITEM_NO_FIELD_DESC = new org.apache.thrift.protocol.TField("hasItemNo", org.apache.thrift.protocol.TType.BOOL, (short)35);
|
59 |
private static final org.apache.thrift.protocol.TField HAS_ITEM_NO_FIELD_DESC = new org.apache.thrift.protocol.TField("hasItemNo", org.apache.thrift.protocol.TType.BOOL, (short)35);
|
| 60 |
private static final org.apache.thrift.protocol.TField CLEARANCE_FIELD_DESC = new org.apache.thrift.protocol.TField("clearance", org.apache.thrift.protocol.TType.BOOL, (short)36);
|
60 |
private static final org.apache.thrift.protocol.TField CLEARANCE_FIELD_DESC = new org.apache.thrift.protocol.TField("clearance", org.apache.thrift.protocol.TType.BOOL, (short)36);
|
| 61 |
private static final org.apache.thrift.protocol.TField VAT_PERCENTAGE_FIELD_DESC = new org.apache.thrift.protocol.TField("vatPercentage", org.apache.thrift.protocol.TType.DOUBLE, (short)37);
|
61 |
private static final org.apache.thrift.protocol.TField VAT_PERCENTAGE_FIELD_DESC = new org.apache.thrift.protocol.TField("vatPercentage", org.apache.thrift.protocol.TType.DOUBLE, (short)37);
|
| - |
|
62 |
private static final org.apache.thrift.protocol.TField SHOW_SELLING_PRICE_FIELD_DESC = new org.apache.thrift.protocol.TField("showSellingPrice", org.apache.thrift.protocol.TType.BOOL, (short)38);
|
| 62 |
|
63 |
|
| 63 |
private long id; // required
|
64 |
private long id; // required
|
| 64 |
private String productGroup; // required
|
65 |
private String productGroup; // required
|
| 65 |
private String brand; // required
|
66 |
private String brand; // required
|
| 66 |
private String modelNumber; // required
|
67 |
private String modelNumber; // required
|
| Line 94... |
Line 95... |
| 94 |
private long comingSoonStartDate; // required
|
95 |
private long comingSoonStartDate; // required
|
| 95 |
private long expectedArrivalDate; // required
|
96 |
private long expectedArrivalDate; // required
|
| 96 |
private boolean hasItemNo; // required
|
97 |
private boolean hasItemNo; // required
|
| 97 |
private boolean clearance; // required
|
98 |
private boolean clearance; // required
|
| 98 |
private double vatPercentage; // required
|
99 |
private double vatPercentage; // required
|
| - |
|
100 |
private boolean showSellingPrice; // required
|
| 99 |
|
101 |
|
| 100 |
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
|
102 |
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
|
| 101 |
public enum _Fields implements org.apache.thrift.TFieldIdEnum {
|
103 |
public enum _Fields implements org.apache.thrift.TFieldIdEnum {
|
| 102 |
ID((short)1, "id"),
|
104 |
ID((short)1, "id"),
|
| 103 |
PRODUCT_GROUP((short)2, "productGroup"),
|
105 |
PRODUCT_GROUP((short)2, "productGroup"),
|
| Line 140... |
Line 142... |
| 140 |
TYPE((short)32, "type"),
|
142 |
TYPE((short)32, "type"),
|
| 141 |
COMING_SOON_START_DATE((short)33, "comingSoonStartDate"),
|
143 |
COMING_SOON_START_DATE((short)33, "comingSoonStartDate"),
|
| 142 |
EXPECTED_ARRIVAL_DATE((short)34, "expectedArrivalDate"),
|
144 |
EXPECTED_ARRIVAL_DATE((short)34, "expectedArrivalDate"),
|
| 143 |
HAS_ITEM_NO((short)35, "hasItemNo"),
|
145 |
HAS_ITEM_NO((short)35, "hasItemNo"),
|
| 144 |
CLEARANCE((short)36, "clearance"),
|
146 |
CLEARANCE((short)36, "clearance"),
|
| 145 |
VAT_PERCENTAGE((short)37, "vatPercentage");
|
147 |
VAT_PERCENTAGE((short)37, "vatPercentage"),
|
| - |
|
148 |
SHOW_SELLING_PRICE((short)38, "showSellingPrice");
|
| 146 |
|
149 |
|
| 147 |
private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
|
150 |
private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
|
| 148 |
|
151 |
|
| 149 |
static {
|
152 |
static {
|
| 150 |
for (_Fields field : EnumSet.allOf(_Fields.class)) {
|
153 |
for (_Fields field : EnumSet.allOf(_Fields.class)) {
|
| Line 227... |
Line 230... |
| 227 |
return HAS_ITEM_NO;
|
230 |
return HAS_ITEM_NO;
|
| 228 |
case 36: // CLEARANCE
|
231 |
case 36: // CLEARANCE
|
| 229 |
return CLEARANCE;
|
232 |
return CLEARANCE;
|
| 230 |
case 37: // VAT_PERCENTAGE
|
233 |
case 37: // VAT_PERCENTAGE
|
| 231 |
return VAT_PERCENTAGE;
|
234 |
return VAT_PERCENTAGE;
|
| - |
|
235 |
case 38: // SHOW_SELLING_PRICE
|
| - |
|
236 |
return SHOW_SELLING_PRICE;
|
| 232 |
default:
|
237 |
default:
|
| 233 |
return null;
|
238 |
return null;
|
| 234 |
}
|
239 |
}
|
| 235 |
}
|
240 |
}
|
| 236 |
|
241 |
|
| Line 291... |
Line 296... |
| 291 |
private static final int __COMINGSOONSTARTDATE_ISSET_ID = 19;
|
296 |
private static final int __COMINGSOONSTARTDATE_ISSET_ID = 19;
|
| 292 |
private static final int __EXPECTEDARRIVALDATE_ISSET_ID = 20;
|
297 |
private static final int __EXPECTEDARRIVALDATE_ISSET_ID = 20;
|
| 293 |
private static final int __HASITEMNO_ISSET_ID = 21;
|
298 |
private static final int __HASITEMNO_ISSET_ID = 21;
|
| 294 |
private static final int __CLEARANCE_ISSET_ID = 22;
|
299 |
private static final int __CLEARANCE_ISSET_ID = 22;
|
| 295 |
private static final int __VATPERCENTAGE_ISSET_ID = 23;
|
300 |
private static final int __VATPERCENTAGE_ISSET_ID = 23;
|
| - |
|
301 |
private static final int __SHOWSELLINGPRICE_ISSET_ID = 24;
|
| 296 |
private BitSet __isset_bit_vector = new BitSet(24);
|
302 |
private BitSet __isset_bit_vector = new BitSet(25);
|
| 297 |
|
303 |
|
| 298 |
public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
|
304 |
public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
|
| 299 |
static {
|
305 |
static {
|
| 300 |
Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
|
306 |
Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
|
| 301 |
tmpMap.put(_Fields.ID, new org.apache.thrift.meta_data.FieldMetaData("id", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
307 |
tmpMap.put(_Fields.ID, new org.apache.thrift.meta_data.FieldMetaData("id", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| Line 370... |
Line 376... |
| 370 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
|
376 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
|
| 371 |
tmpMap.put(_Fields.CLEARANCE, new org.apache.thrift.meta_data.FieldMetaData("clearance", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
377 |
tmpMap.put(_Fields.CLEARANCE, new org.apache.thrift.meta_data.FieldMetaData("clearance", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| 372 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
|
378 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
|
| 373 |
tmpMap.put(_Fields.VAT_PERCENTAGE, new org.apache.thrift.meta_data.FieldMetaData("vatPercentage", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
379 |
tmpMap.put(_Fields.VAT_PERCENTAGE, new org.apache.thrift.meta_data.FieldMetaData("vatPercentage", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| 374 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
|
380 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
|
| - |
|
381 |
tmpMap.put(_Fields.SHOW_SELLING_PRICE, new org.apache.thrift.meta_data.FieldMetaData("showSellingPrice", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| - |
|
382 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
|
| 375 |
metaDataMap = Collections.unmodifiableMap(tmpMap);
|
383 |
metaDataMap = Collections.unmodifiableMap(tmpMap);
|
| 376 |
org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(Item.class, metaDataMap);
|
384 |
org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(Item.class, metaDataMap);
|
| 377 |
}
|
385 |
}
|
| 378 |
|
386 |
|
| 379 |
public Item() {
|
387 |
public Item() {
|
| Line 401... |
Line 409... |
| 401 |
boolean risky,
|
409 |
boolean risky,
|
| 402 |
int warrantyPeriod,
|
410 |
int warrantyPeriod,
|
| 403 |
ItemType type,
|
411 |
ItemType type,
|
| 404 |
boolean hasItemNo,
|
412 |
boolean hasItemNo,
|
| 405 |
boolean clearance,
|
413 |
boolean clearance,
|
| 406 |
double vatPercentage)
|
414 |
double vatPercentage,
|
| - |
|
415 |
boolean showSellingPrice)
|
| 407 |
{
|
416 |
{
|
| 408 |
this();
|
417 |
this();
|
| 409 |
this.id = id;
|
418 |
this.id = id;
|
| 410 |
setIdIsSet(true);
|
419 |
setIdIsSet(true);
|
| 411 |
this.productGroup = productGroup;
|
420 |
this.productGroup = productGroup;
|
| Line 440... |
Line 449... |
| 440 |
setHasItemNoIsSet(true);
|
449 |
setHasItemNoIsSet(true);
|
| 441 |
this.clearance = clearance;
|
450 |
this.clearance = clearance;
|
| 442 |
setClearanceIsSet(true);
|
451 |
setClearanceIsSet(true);
|
| 443 |
this.vatPercentage = vatPercentage;
|
452 |
this.vatPercentage = vatPercentage;
|
| 444 |
setVatPercentageIsSet(true);
|
453 |
setVatPercentageIsSet(true);
|
| - |
|
454 |
this.showSellingPrice = showSellingPrice;
|
| - |
|
455 |
setShowSellingPriceIsSet(true);
|
| 445 |
}
|
456 |
}
|
| 446 |
|
457 |
|
| 447 |
/**
|
458 |
/**
|
| 448 |
* Performs a deep copy on <i>other</i>.
|
459 |
* Performs a deep copy on <i>other</i>.
|
| 449 |
*/
|
460 |
*/
|
| Line 520... |
Line 531... |
| 520 |
this.comingSoonStartDate = other.comingSoonStartDate;
|
531 |
this.comingSoonStartDate = other.comingSoonStartDate;
|
| 521 |
this.expectedArrivalDate = other.expectedArrivalDate;
|
532 |
this.expectedArrivalDate = other.expectedArrivalDate;
|
| 522 |
this.hasItemNo = other.hasItemNo;
|
533 |
this.hasItemNo = other.hasItemNo;
|
| 523 |
this.clearance = other.clearance;
|
534 |
this.clearance = other.clearance;
|
| 524 |
this.vatPercentage = other.vatPercentage;
|
535 |
this.vatPercentage = other.vatPercentage;
|
| - |
|
536 |
this.showSellingPrice = other.showSellingPrice;
|
| 525 |
}
|
537 |
}
|
| 526 |
|
538 |
|
| 527 |
public Item deepCopy() {
|
539 |
public Item deepCopy() {
|
| 528 |
return new Item(this);
|
540 |
return new Item(this);
|
| 529 |
}
|
541 |
}
|
| Line 588... |
Line 600... |
| 588 |
this.hasItemNo = false;
|
600 |
this.hasItemNo = false;
|
| 589 |
setClearanceIsSet(false);
|
601 |
setClearanceIsSet(false);
|
| 590 |
this.clearance = false;
|
602 |
this.clearance = false;
|
| 591 |
setVatPercentageIsSet(false);
|
603 |
setVatPercentageIsSet(false);
|
| 592 |
this.vatPercentage = 0.0;
|
604 |
this.vatPercentage = 0.0;
|
| - |
|
605 |
setShowSellingPriceIsSet(false);
|
| - |
|
606 |
this.showSellingPrice = false;
|
| 593 |
}
|
607 |
}
|
| 594 |
|
608 |
|
| 595 |
public long getId() {
|
609 |
public long getId() {
|
| 596 |
return this.id;
|
610 |
return this.id;
|
| 597 |
}
|
611 |
}
|
| Line 1421... |
Line 1435... |
| 1421 |
|
1435 |
|
| 1422 |
public void setVatPercentageIsSet(boolean value) {
|
1436 |
public void setVatPercentageIsSet(boolean value) {
|
| 1423 |
__isset_bit_vector.set(__VATPERCENTAGE_ISSET_ID, value);
|
1437 |
__isset_bit_vector.set(__VATPERCENTAGE_ISSET_ID, value);
|
| 1424 |
}
|
1438 |
}
|
| 1425 |
|
1439 |
|
| - |
|
1440 |
public boolean isShowSellingPrice() {
|
| - |
|
1441 |
return this.showSellingPrice;
|
| - |
|
1442 |
}
|
| - |
|
1443 |
|
| - |
|
1444 |
public void setShowSellingPrice(boolean showSellingPrice) {
|
| - |
|
1445 |
this.showSellingPrice = showSellingPrice;
|
| - |
|
1446 |
setShowSellingPriceIsSet(true);
|
| - |
|
1447 |
}
|
| - |
|
1448 |
|
| - |
|
1449 |
public void unsetShowSellingPrice() {
|
| - |
|
1450 |
__isset_bit_vector.clear(__SHOWSELLINGPRICE_ISSET_ID);
|
| - |
|
1451 |
}
|
| - |
|
1452 |
|
| - |
|
1453 |
/** Returns true if field showSellingPrice is set (has been assigned a value) and false otherwise */
|
| - |
|
1454 |
public boolean isSetShowSellingPrice() {
|
| - |
|
1455 |
return __isset_bit_vector.get(__SHOWSELLINGPRICE_ISSET_ID);
|
| - |
|
1456 |
}
|
| - |
|
1457 |
|
| - |
|
1458 |
public void setShowSellingPriceIsSet(boolean value) {
|
| - |
|
1459 |
__isset_bit_vector.set(__SHOWSELLINGPRICE_ISSET_ID, value);
|
| - |
|
1460 |
}
|
| - |
|
1461 |
|
| 1426 |
public void setFieldValue(_Fields field, Object value) {
|
1462 |
public void setFieldValue(_Fields field, Object value) {
|
| 1427 |
switch (field) {
|
1463 |
switch (field) {
|
| 1428 |
case ID:
|
1464 |
case ID:
|
| 1429 |
if (value == null) {
|
1465 |
if (value == null) {
|
| 1430 |
unsetId();
|
1466 |
unsetId();
|
| Line 1711... |
Line 1747... |
| 1711 |
} else {
|
1747 |
} else {
|
| 1712 |
setVatPercentage((Double)value);
|
1748 |
setVatPercentage((Double)value);
|
| 1713 |
}
|
1749 |
}
|
| 1714 |
break;
|
1750 |
break;
|
| 1715 |
|
1751 |
|
| - |
|
1752 |
case SHOW_SELLING_PRICE:
|
| - |
|
1753 |
if (value == null) {
|
| - |
|
1754 |
unsetShowSellingPrice();
|
| - |
|
1755 |
} else {
|
| - |
|
1756 |
setShowSellingPrice((Boolean)value);
|
| - |
|
1757 |
}
|
| - |
|
1758 |
break;
|
| - |
|
1759 |
|
| 1716 |
}
|
1760 |
}
|
| 1717 |
}
|
1761 |
}
|
| 1718 |
|
1762 |
|
| 1719 |
public Object getFieldValue(_Fields field) {
|
1763 |
public Object getFieldValue(_Fields field) {
|
| 1720 |
switch (field) {
|
1764 |
switch (field) {
|
| Line 1824... |
Line 1868... |
| 1824 |
return Boolean.valueOf(isClearance());
|
1868 |
return Boolean.valueOf(isClearance());
|
| 1825 |
|
1869 |
|
| 1826 |
case VAT_PERCENTAGE:
|
1870 |
case VAT_PERCENTAGE:
|
| 1827 |
return Double.valueOf(getVatPercentage());
|
1871 |
return Double.valueOf(getVatPercentage());
|
| 1828 |
|
1872 |
|
| - |
|
1873 |
case SHOW_SELLING_PRICE:
|
| - |
|
1874 |
return Boolean.valueOf(isShowSellingPrice());
|
| - |
|
1875 |
|
| 1829 |
}
|
1876 |
}
|
| 1830 |
throw new IllegalStateException();
|
1877 |
throw new IllegalStateException();
|
| 1831 |
}
|
1878 |
}
|
| 1832 |
|
1879 |
|
| 1833 |
/** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
|
1880 |
/** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
|
| Line 1907... |
Line 1954... |
| 1907 |
return isSetHasItemNo();
|
1954 |
return isSetHasItemNo();
|
| 1908 |
case CLEARANCE:
|
1955 |
case CLEARANCE:
|
| 1909 |
return isSetClearance();
|
1956 |
return isSetClearance();
|
| 1910 |
case VAT_PERCENTAGE:
|
1957 |
case VAT_PERCENTAGE:
|
| 1911 |
return isSetVatPercentage();
|
1958 |
return isSetVatPercentage();
|
| - |
|
1959 |
case SHOW_SELLING_PRICE:
|
| - |
|
1960 |
return isSetShowSellingPrice();
|
| 1912 |
}
|
1961 |
}
|
| 1913 |
throw new IllegalStateException();
|
1962 |
throw new IllegalStateException();
|
| 1914 |
}
|
1963 |
}
|
| 1915 |
|
1964 |
|
| 1916 |
@Override
|
1965 |
@Override
|
| Line 2248... |
Line 2297... |
| 2248 |
return false;
|
2297 |
return false;
|
| 2249 |
if (this.vatPercentage != that.vatPercentage)
|
2298 |
if (this.vatPercentage != that.vatPercentage)
|
| 2250 |
return false;
|
2299 |
return false;
|
| 2251 |
}
|
2300 |
}
|
| 2252 |
|
2301 |
|
| - |
|
2302 |
boolean this_present_showSellingPrice = true;
|
| - |
|
2303 |
boolean that_present_showSellingPrice = true;
|
| - |
|
2304 |
if (this_present_showSellingPrice || that_present_showSellingPrice) {
|
| - |
|
2305 |
if (!(this_present_showSellingPrice && that_present_showSellingPrice))
|
| - |
|
2306 |
return false;
|
| - |
|
2307 |
if (this.showSellingPrice != that.showSellingPrice)
|
| - |
|
2308 |
return false;
|
| - |
|
2309 |
}
|
| - |
|
2310 |
|
| 2253 |
return true;
|
2311 |
return true;
|
| 2254 |
}
|
2312 |
}
|
| 2255 |
|
2313 |
|
| 2256 |
@Override
|
2314 |
@Override
|
| 2257 |
public int hashCode() {
|
2315 |
public int hashCode() {
|
| Line 2624... |
Line 2682... |
| 2624 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.vatPercentage, typedOther.vatPercentage);
|
2682 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.vatPercentage, typedOther.vatPercentage);
|
| 2625 |
if (lastComparison != 0) {
|
2683 |
if (lastComparison != 0) {
|
| 2626 |
return lastComparison;
|
2684 |
return lastComparison;
|
| 2627 |
}
|
2685 |
}
|
| 2628 |
}
|
2686 |
}
|
| - |
|
2687 |
lastComparison = Boolean.valueOf(isSetShowSellingPrice()).compareTo(typedOther.isSetShowSellingPrice());
|
| - |
|
2688 |
if (lastComparison != 0) {
|
| - |
|
2689 |
return lastComparison;
|
| - |
|
2690 |
}
|
| - |
|
2691 |
if (isSetShowSellingPrice()) {
|
| - |
|
2692 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.showSellingPrice, typedOther.showSellingPrice);
|
| - |
|
2693 |
if (lastComparison != 0) {
|
| - |
|
2694 |
return lastComparison;
|
| - |
|
2695 |
}
|
| - |
|
2696 |
}
|
| 2629 |
return 0;
|
2697 |
return 0;
|
| 2630 |
}
|
2698 |
}
|
| 2631 |
|
2699 |
|
| 2632 |
public _Fields fieldForId(int fieldId) {
|
2700 |
public _Fields fieldForId(int fieldId) {
|
| 2633 |
return _Fields.findByThriftId(fieldId);
|
2701 |
return _Fields.findByThriftId(fieldId);
|
| Line 2929... |
Line 2997... |
| 2929 |
setVatPercentageIsSet(true);
|
2997 |
setVatPercentageIsSet(true);
|
| 2930 |
} else {
|
2998 |
} else {
|
| 2931 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
2999 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| 2932 |
}
|
3000 |
}
|
| 2933 |
break;
|
3001 |
break;
|
| - |
|
3002 |
case 38: // SHOW_SELLING_PRICE
|
| - |
|
3003 |
if (field.type == org.apache.thrift.protocol.TType.BOOL) {
|
| - |
|
3004 |
this.showSellingPrice = iprot.readBool();
|
| - |
|
3005 |
setShowSellingPriceIsSet(true);
|
| - |
|
3006 |
} else {
|
| - |
|
3007 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| - |
|
3008 |
}
|
| - |
|
3009 |
break;
|
| 2934 |
default:
|
3010 |
default:
|
| 2935 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
3011 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| 2936 |
}
|
3012 |
}
|
| 2937 |
iprot.readFieldEnd();
|
3013 |
iprot.readFieldEnd();
|
| 2938 |
}
|
3014 |
}
|
| Line 3106... |
Line 3182... |
| 3106 |
oprot.writeBool(this.clearance);
|
3182 |
oprot.writeBool(this.clearance);
|
| 3107 |
oprot.writeFieldEnd();
|
3183 |
oprot.writeFieldEnd();
|
| 3108 |
oprot.writeFieldBegin(VAT_PERCENTAGE_FIELD_DESC);
|
3184 |
oprot.writeFieldBegin(VAT_PERCENTAGE_FIELD_DESC);
|
| 3109 |
oprot.writeDouble(this.vatPercentage);
|
3185 |
oprot.writeDouble(this.vatPercentage);
|
| 3110 |
oprot.writeFieldEnd();
|
3186 |
oprot.writeFieldEnd();
|
| - |
|
3187 |
oprot.writeFieldBegin(SHOW_SELLING_PRICE_FIELD_DESC);
|
| - |
|
3188 |
oprot.writeBool(this.showSellingPrice);
|
| - |
|
3189 |
oprot.writeFieldEnd();
|
| 3111 |
oprot.writeFieldStop();
|
3190 |
oprot.writeFieldStop();
|
| 3112 |
oprot.writeStructEnd();
|
3191 |
oprot.writeStructEnd();
|
| 3113 |
}
|
3192 |
}
|
| 3114 |
|
3193 |
|
| 3115 |
@Override
|
3194 |
@Override
|
| Line 3330... |
Line 3409... |
| 3330 |
first = false;
|
3409 |
first = false;
|
| 3331 |
if (!first) sb.append(", ");
|
3410 |
if (!first) sb.append(", ");
|
| 3332 |
sb.append("vatPercentage:");
|
3411 |
sb.append("vatPercentage:");
|
| 3333 |
sb.append(this.vatPercentage);
|
3412 |
sb.append(this.vatPercentage);
|
| 3334 |
first = false;
|
3413 |
first = false;
|
| - |
|
3414 |
if (!first) sb.append(", ");
|
| - |
|
3415 |
sb.append("showSellingPrice:");
|
| - |
|
3416 |
sb.append(this.showSellingPrice);
|
| - |
|
3417 |
first = false;
|
| 3335 |
sb.append(")");
|
3418 |
sb.append(")");
|
| 3336 |
return sb.toString();
|
3419 |
return sb.toString();
|
| 3337 |
}
|
3420 |
}
|
| 3338 |
|
3421 |
|
| 3339 |
public void validate() throws org.apache.thrift.TException {
|
3422 |
public void validate() throws org.apache.thrift.TException {
|