| Line 45... |
Line 45... |
| 45 |
private static final org.apache.thrift.protocol.TField VAT_RATE_FIELD_DESC = new org.apache.thrift.protocol.TField("vatRate", org.apache.thrift.protocol.TType.DOUBLE, (short)20);
|
45 |
private static final org.apache.thrift.protocol.TField VAT_RATE_FIELD_DESC = new org.apache.thrift.protocol.TField("vatRate", org.apache.thrift.protocol.TType.DOUBLE, (short)20);
|
| 46 |
private static final org.apache.thrift.protocol.TField NLC_FIELD_DESC = new org.apache.thrift.protocol.TField("nlc", org.apache.thrift.protocol.TType.DOUBLE, (short)21);
|
46 |
private static final org.apache.thrift.protocol.TField NLC_FIELD_DESC = new org.apache.thrift.protocol.TField("nlc", org.apache.thrift.protocol.TType.DOUBLE, (short)21);
|
| 47 |
private static final org.apache.thrift.protocol.TField LOGISTICS_COST_FIELD_DESC = new org.apache.thrift.protocol.TField("logisticsCost", org.apache.thrift.protocol.TType.DOUBLE, (short)22);
|
47 |
private static final org.apache.thrift.protocol.TField LOGISTICS_COST_FIELD_DESC = new org.apache.thrift.protocol.TField("logisticsCost", org.apache.thrift.protocol.TType.DOUBLE, (short)22);
|
| 48 |
private static final org.apache.thrift.protocol.TField COD_COLLECTION_CHARGES_FIELD_DESC = new org.apache.thrift.protocol.TField("codCollectionCharges", org.apache.thrift.protocol.TType.DOUBLE, (short)23);
|
48 |
private static final org.apache.thrift.protocol.TField COD_COLLECTION_CHARGES_FIELD_DESC = new org.apache.thrift.protocol.TField("codCollectionCharges", org.apache.thrift.protocol.TType.DOUBLE, (short)23);
|
| 49 |
private static final org.apache.thrift.protocol.TField RETURN_QTY_FIELD_DESC = new org.apache.thrift.protocol.TField("returnQty", org.apache.thrift.protocol.TType.DOUBLE, (short)24);
|
49 |
private static final org.apache.thrift.protocol.TField RETURN_QTY_FIELD_DESC = new org.apache.thrift.protocol.TField("returnQty", org.apache.thrift.protocol.TType.DOUBLE, (short)24);
|
| - |
|
50 |
private static final org.apache.thrift.protocol.TField DAMAGED_EXPIRY_TIMESTAMP_FIELD_DESC = new org.apache.thrift.protocol.TField("damaged_expiry_timestamp", org.apache.thrift.protocol.TType.I64, (short)25);
|
| 50 |
|
51 |
|
| 51 |
private long id; // required
|
52 |
private long id; // required
|
| 52 |
private long item_id; // required
|
53 |
private long item_id; // required
|
| 53 |
private String productGroup; // required
|
54 |
private String productGroup; // required
|
| 54 |
private String brand; // required
|
55 |
private String brand; // required
|
| Line 70... |
Line 71... |
| 70 |
private double vatRate; // required
|
71 |
private double vatRate; // required
|
| 71 |
private double nlc; // required
|
72 |
private double nlc; // required
|
| 72 |
private double logisticsCost; // required
|
73 |
private double logisticsCost; // required
|
| 73 |
private double codCollectionCharges; // required
|
74 |
private double codCollectionCharges; // required
|
| 74 |
private double returnQty; // required
|
75 |
private double returnQty; // required
|
| - |
|
76 |
private long damaged_expiry_timestamp; // required
|
| 75 |
|
77 |
|
| 76 |
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
|
78 |
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
|
| 77 |
public enum _Fields implements org.apache.thrift.TFieldIdEnum {
|
79 |
public enum _Fields implements org.apache.thrift.TFieldIdEnum {
|
| 78 |
ID((short)1, "id"),
|
80 |
ID((short)1, "id"),
|
| 79 |
ITEM_ID((short)2, "item_id"),
|
81 |
ITEM_ID((short)2, "item_id"),
|
| Line 96... |
Line 98... |
| 96 |
WARRANTRY_EXPIRY_TIMESTAMP((short)19, "warrantry_expiry_timestamp"),
|
98 |
WARRANTRY_EXPIRY_TIMESTAMP((short)19, "warrantry_expiry_timestamp"),
|
| 97 |
VAT_RATE((short)20, "vatRate"),
|
99 |
VAT_RATE((short)20, "vatRate"),
|
| 98 |
NLC((short)21, "nlc"),
|
100 |
NLC((short)21, "nlc"),
|
| 99 |
LOGISTICS_COST((short)22, "logisticsCost"),
|
101 |
LOGISTICS_COST((short)22, "logisticsCost"),
|
| 100 |
COD_COLLECTION_CHARGES((short)23, "codCollectionCharges"),
|
102 |
COD_COLLECTION_CHARGES((short)23, "codCollectionCharges"),
|
| 101 |
RETURN_QTY((short)24, "returnQty");
|
103 |
RETURN_QTY((short)24, "returnQty"),
|
| - |
|
104 |
DAMAGED_EXPIRY_TIMESTAMP((short)25, "damaged_expiry_timestamp");
|
| 102 |
|
105 |
|
| 103 |
private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
|
106 |
private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
|
| 104 |
|
107 |
|
| 105 |
static {
|
108 |
static {
|
| 106 |
for (_Fields field : EnumSet.allOf(_Fields.class)) {
|
109 |
for (_Fields field : EnumSet.allOf(_Fields.class)) {
|
| Line 159... |
Line 162... |
| 159 |
return LOGISTICS_COST;
|
162 |
return LOGISTICS_COST;
|
| 160 |
case 23: // COD_COLLECTION_CHARGES
|
163 |
case 23: // COD_COLLECTION_CHARGES
|
| 161 |
return COD_COLLECTION_CHARGES;
|
164 |
return COD_COLLECTION_CHARGES;
|
| 162 |
case 24: // RETURN_QTY
|
165 |
case 24: // RETURN_QTY
|
| 163 |
return RETURN_QTY;
|
166 |
return RETURN_QTY;
|
| - |
|
167 |
case 25: // DAMAGED_EXPIRY_TIMESTAMP
|
| - |
|
168 |
return DAMAGED_EXPIRY_TIMESTAMP;
|
| 164 |
default:
|
169 |
default:
|
| 165 |
return null;
|
170 |
return null;
|
| 166 |
}
|
171 |
}
|
| 167 |
}
|
172 |
}
|
| 168 |
|
173 |
|
| Line 214... |
Line 219... |
| 214 |
private static final int __VATRATE_ISSET_ID = 10;
|
219 |
private static final int __VATRATE_ISSET_ID = 10;
|
| 215 |
private static final int __NLC_ISSET_ID = 11;
|
220 |
private static final int __NLC_ISSET_ID = 11;
|
| 216 |
private static final int __LOGISTICSCOST_ISSET_ID = 12;
|
221 |
private static final int __LOGISTICSCOST_ISSET_ID = 12;
|
| 217 |
private static final int __CODCOLLECTIONCHARGES_ISSET_ID = 13;
|
222 |
private static final int __CODCOLLECTIONCHARGES_ISSET_ID = 13;
|
| 218 |
private static final int __RETURNQTY_ISSET_ID = 14;
|
223 |
private static final int __RETURNQTY_ISSET_ID = 14;
|
| - |
|
224 |
private static final int __DAMAGED_EXPIRY_TIMESTAMP_ISSET_ID = 15;
|
| 219 |
private BitSet __isset_bit_vector = new BitSet(15);
|
225 |
private BitSet __isset_bit_vector = new BitSet(16);
|
| 220 |
|
226 |
|
| 221 |
public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
|
227 |
public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
|
| 222 |
static {
|
228 |
static {
|
| 223 |
Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
|
229 |
Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
|
| 224 |
tmpMap.put(_Fields.ID, new org.apache.thrift.meta_data.FieldMetaData("id", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
230 |
tmpMap.put(_Fields.ID, new org.apache.thrift.meta_data.FieldMetaData("id", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| Line 267... |
Line 273... |
| 267 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
|
273 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
|
| 268 |
tmpMap.put(_Fields.COD_COLLECTION_CHARGES, new org.apache.thrift.meta_data.FieldMetaData("codCollectionCharges", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
274 |
tmpMap.put(_Fields.COD_COLLECTION_CHARGES, new org.apache.thrift.meta_data.FieldMetaData("codCollectionCharges", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| 269 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
|
275 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
|
| 270 |
tmpMap.put(_Fields.RETURN_QTY, new org.apache.thrift.meta_data.FieldMetaData("returnQty", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
276 |
tmpMap.put(_Fields.RETURN_QTY, new org.apache.thrift.meta_data.FieldMetaData("returnQty", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| 271 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
|
277 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
|
| - |
|
278 |
tmpMap.put(_Fields.DAMAGED_EXPIRY_TIMESTAMP, new org.apache.thrift.meta_data.FieldMetaData("damaged_expiry_timestamp", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| - |
|
279 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
| 272 |
metaDataMap = Collections.unmodifiableMap(tmpMap);
|
280 |
metaDataMap = Collections.unmodifiableMap(tmpMap);
|
| 273 |
org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(LineItem.class, metaDataMap);
|
281 |
org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(LineItem.class, metaDataMap);
|
| 274 |
}
|
282 |
}
|
| 275 |
|
283 |
|
| 276 |
public LineItem() {
|
284 |
public LineItem() {
|
| Line 295... |
Line 303... |
| 295 |
long warrantry_expiry_timestamp,
|
303 |
long warrantry_expiry_timestamp,
|
| 296 |
double vatRate,
|
304 |
double vatRate,
|
| 297 |
double nlc,
|
305 |
double nlc,
|
| 298 |
double logisticsCost,
|
306 |
double logisticsCost,
|
| 299 |
double codCollectionCharges,
|
307 |
double codCollectionCharges,
|
| 300 |
double returnQty)
|
308 |
double returnQty,
|
| - |
|
309 |
long damaged_expiry_timestamp)
|
| 301 |
{
|
310 |
{
|
| 302 |
this();
|
311 |
this();
|
| 303 |
this.id = id;
|
312 |
this.id = id;
|
| 304 |
setIdIsSet(true);
|
313 |
setIdIsSet(true);
|
| 305 |
this.item_id = item_id;
|
314 |
this.item_id = item_id;
|
| Line 334... |
Line 343... |
| 334 |
setLogisticsCostIsSet(true);
|
343 |
setLogisticsCostIsSet(true);
|
| 335 |
this.codCollectionCharges = codCollectionCharges;
|
344 |
this.codCollectionCharges = codCollectionCharges;
|
| 336 |
setCodCollectionChargesIsSet(true);
|
345 |
setCodCollectionChargesIsSet(true);
|
| 337 |
this.returnQty = returnQty;
|
346 |
this.returnQty = returnQty;
|
| 338 |
setReturnQtyIsSet(true);
|
347 |
setReturnQtyIsSet(true);
|
| - |
|
348 |
this.damaged_expiry_timestamp = damaged_expiry_timestamp;
|
| - |
|
349 |
setDamaged_expiry_timestampIsSet(true);
|
| 339 |
}
|
350 |
}
|
| 340 |
|
351 |
|
| 341 |
/**
|
352 |
/**
|
| 342 |
* Performs a deep copy on <i>other</i>.
|
353 |
* Performs a deep copy on <i>other</i>.
|
| 343 |
*/
|
354 |
*/
|
| Line 384... |
Line 395... |
| 384 |
this.vatRate = other.vatRate;
|
395 |
this.vatRate = other.vatRate;
|
| 385 |
this.nlc = other.nlc;
|
396 |
this.nlc = other.nlc;
|
| 386 |
this.logisticsCost = other.logisticsCost;
|
397 |
this.logisticsCost = other.logisticsCost;
|
| 387 |
this.codCollectionCharges = other.codCollectionCharges;
|
398 |
this.codCollectionCharges = other.codCollectionCharges;
|
| 388 |
this.returnQty = other.returnQty;
|
399 |
this.returnQty = other.returnQty;
|
| - |
|
400 |
this.damaged_expiry_timestamp = other.damaged_expiry_timestamp;
|
| 389 |
}
|
401 |
}
|
| 390 |
|
402 |
|
| 391 |
public LineItem deepCopy() {
|
403 |
public LineItem deepCopy() {
|
| 392 |
return new LineItem(this);
|
404 |
return new LineItem(this);
|
| 393 |
}
|
405 |
}
|
| Line 431... |
Line 443... |
| 431 |
this.logisticsCost = 0.0;
|
443 |
this.logisticsCost = 0.0;
|
| 432 |
setCodCollectionChargesIsSet(false);
|
444 |
setCodCollectionChargesIsSet(false);
|
| 433 |
this.codCollectionCharges = 0.0;
|
445 |
this.codCollectionCharges = 0.0;
|
| 434 |
setReturnQtyIsSet(false);
|
446 |
setReturnQtyIsSet(false);
|
| 435 |
this.returnQty = 0.0;
|
447 |
this.returnQty = 0.0;
|
| - |
|
448 |
setDamaged_expiry_timestampIsSet(false);
|
| - |
|
449 |
this.damaged_expiry_timestamp = 0;
|
| 436 |
}
|
450 |
}
|
| 437 |
|
451 |
|
| 438 |
public long getId() {
|
452 |
public long getId() {
|
| 439 |
return this.id;
|
453 |
return this.id;
|
| 440 |
}
|
454 |
}
|
| Line 970... |
Line 984... |
| 970 |
|
984 |
|
| 971 |
public void setReturnQtyIsSet(boolean value) {
|
985 |
public void setReturnQtyIsSet(boolean value) {
|
| 972 |
__isset_bit_vector.set(__RETURNQTY_ISSET_ID, value);
|
986 |
__isset_bit_vector.set(__RETURNQTY_ISSET_ID, value);
|
| 973 |
}
|
987 |
}
|
| 974 |
|
988 |
|
| - |
|
989 |
public long getDamaged_expiry_timestamp() {
|
| - |
|
990 |
return this.damaged_expiry_timestamp;
|
| - |
|
991 |
}
|
| - |
|
992 |
|
| - |
|
993 |
public void setDamaged_expiry_timestamp(long damaged_expiry_timestamp) {
|
| - |
|
994 |
this.damaged_expiry_timestamp = damaged_expiry_timestamp;
|
| - |
|
995 |
setDamaged_expiry_timestampIsSet(true);
|
| - |
|
996 |
}
|
| - |
|
997 |
|
| - |
|
998 |
public void unsetDamaged_expiry_timestamp() {
|
| - |
|
999 |
__isset_bit_vector.clear(__DAMAGED_EXPIRY_TIMESTAMP_ISSET_ID);
|
| - |
|
1000 |
}
|
| - |
|
1001 |
|
| - |
|
1002 |
/** Returns true if field damaged_expiry_timestamp is set (has been assigned a value) and false otherwise */
|
| - |
|
1003 |
public boolean isSetDamaged_expiry_timestamp() {
|
| - |
|
1004 |
return __isset_bit_vector.get(__DAMAGED_EXPIRY_TIMESTAMP_ISSET_ID);
|
| - |
|
1005 |
}
|
| - |
|
1006 |
|
| - |
|
1007 |
public void setDamaged_expiry_timestampIsSet(boolean value) {
|
| - |
|
1008 |
__isset_bit_vector.set(__DAMAGED_EXPIRY_TIMESTAMP_ISSET_ID, value);
|
| - |
|
1009 |
}
|
| - |
|
1010 |
|
| 975 |
public void setFieldValue(_Fields field, Object value) {
|
1011 |
public void setFieldValue(_Fields field, Object value) {
|
| 976 |
switch (field) {
|
1012 |
switch (field) {
|
| 977 |
case ID:
|
1013 |
case ID:
|
| 978 |
if (value == null) {
|
1014 |
if (value == null) {
|
| 979 |
unsetId();
|
1015 |
unsetId();
|
| Line 1164... |
Line 1200... |
| 1164 |
} else {
|
1200 |
} else {
|
| 1165 |
setReturnQty((Double)value);
|
1201 |
setReturnQty((Double)value);
|
| 1166 |
}
|
1202 |
}
|
| 1167 |
break;
|
1203 |
break;
|
| 1168 |
|
1204 |
|
| - |
|
1205 |
case DAMAGED_EXPIRY_TIMESTAMP:
|
| - |
|
1206 |
if (value == null) {
|
| - |
|
1207 |
unsetDamaged_expiry_timestamp();
|
| - |
|
1208 |
} else {
|
| - |
|
1209 |
setDamaged_expiry_timestamp((Long)value);
|
| - |
|
1210 |
}
|
| - |
|
1211 |
break;
|
| - |
|
1212 |
|
| 1169 |
}
|
1213 |
}
|
| 1170 |
}
|
1214 |
}
|
| 1171 |
|
1215 |
|
| 1172 |
public Object getFieldValue(_Fields field) {
|
1216 |
public Object getFieldValue(_Fields field) {
|
| 1173 |
switch (field) {
|
1217 |
switch (field) {
|
| Line 1241... |
Line 1285... |
| 1241 |
return Double.valueOf(getCodCollectionCharges());
|
1285 |
return Double.valueOf(getCodCollectionCharges());
|
| 1242 |
|
1286 |
|
| 1243 |
case RETURN_QTY:
|
1287 |
case RETURN_QTY:
|
| 1244 |
return Double.valueOf(getReturnQty());
|
1288 |
return Double.valueOf(getReturnQty());
|
| 1245 |
|
1289 |
|
| - |
|
1290 |
case DAMAGED_EXPIRY_TIMESTAMP:
|
| - |
|
1291 |
return Long.valueOf(getDamaged_expiry_timestamp());
|
| - |
|
1292 |
|
| 1246 |
}
|
1293 |
}
|
| 1247 |
throw new IllegalStateException();
|
1294 |
throw new IllegalStateException();
|
| 1248 |
}
|
1295 |
}
|
| 1249 |
|
1296 |
|
| 1250 |
/** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
|
1297 |
/** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
|
| Line 1300... |
Line 1347... |
| 1300 |
return isSetLogisticsCost();
|
1347 |
return isSetLogisticsCost();
|
| 1301 |
case COD_COLLECTION_CHARGES:
|
1348 |
case COD_COLLECTION_CHARGES:
|
| 1302 |
return isSetCodCollectionCharges();
|
1349 |
return isSetCodCollectionCharges();
|
| 1303 |
case RETURN_QTY:
|
1350 |
case RETURN_QTY:
|
| 1304 |
return isSetReturnQty();
|
1351 |
return isSetReturnQty();
|
| - |
|
1352 |
case DAMAGED_EXPIRY_TIMESTAMP:
|
| - |
|
1353 |
return isSetDamaged_expiry_timestamp();
|
| 1305 |
}
|
1354 |
}
|
| 1306 |
throw new IllegalStateException();
|
1355 |
throw new IllegalStateException();
|
| 1307 |
}
|
1356 |
}
|
| 1308 |
|
1357 |
|
| 1309 |
@Override
|
1358 |
@Override
|
| Line 1533... |
Line 1582... |
| 1533 |
return false;
|
1582 |
return false;
|
| 1534 |
if (this.returnQty != that.returnQty)
|
1583 |
if (this.returnQty != that.returnQty)
|
| 1535 |
return false;
|
1584 |
return false;
|
| 1536 |
}
|
1585 |
}
|
| 1537 |
|
1586 |
|
| - |
|
1587 |
boolean this_present_damaged_expiry_timestamp = true;
|
| - |
|
1588 |
boolean that_present_damaged_expiry_timestamp = true;
|
| - |
|
1589 |
if (this_present_damaged_expiry_timestamp || that_present_damaged_expiry_timestamp) {
|
| - |
|
1590 |
if (!(this_present_damaged_expiry_timestamp && that_present_damaged_expiry_timestamp))
|
| - |
|
1591 |
return false;
|
| - |
|
1592 |
if (this.damaged_expiry_timestamp != that.damaged_expiry_timestamp)
|
| - |
|
1593 |
return false;
|
| - |
|
1594 |
}
|
| - |
|
1595 |
|
| 1538 |
return true;
|
1596 |
return true;
|
| 1539 |
}
|
1597 |
}
|
| 1540 |
|
1598 |
|
| 1541 |
@Override
|
1599 |
@Override
|
| 1542 |
public int hashCode() {
|
1600 |
public int hashCode() {
|
| Line 1789... |
Line 1847... |
| 1789 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.returnQty, typedOther.returnQty);
|
1847 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.returnQty, typedOther.returnQty);
|
| 1790 |
if (lastComparison != 0) {
|
1848 |
if (lastComparison != 0) {
|
| 1791 |
return lastComparison;
|
1849 |
return lastComparison;
|
| 1792 |
}
|
1850 |
}
|
| 1793 |
}
|
1851 |
}
|
| - |
|
1852 |
lastComparison = Boolean.valueOf(isSetDamaged_expiry_timestamp()).compareTo(typedOther.isSetDamaged_expiry_timestamp());
|
| - |
|
1853 |
if (lastComparison != 0) {
|
| - |
|
1854 |
return lastComparison;
|
| - |
|
1855 |
}
|
| - |
|
1856 |
if (isSetDamaged_expiry_timestamp()) {
|
| - |
|
1857 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.damaged_expiry_timestamp, typedOther.damaged_expiry_timestamp);
|
| - |
|
1858 |
if (lastComparison != 0) {
|
| - |
|
1859 |
return lastComparison;
|
| - |
|
1860 |
}
|
| - |
|
1861 |
}
|
| 1794 |
return 0;
|
1862 |
return 0;
|
| 1795 |
}
|
1863 |
}
|
| 1796 |
|
1864 |
|
| 1797 |
public _Fields fieldForId(int fieldId) {
|
1865 |
public _Fields fieldForId(int fieldId) {
|
| 1798 |
return _Fields.findByThriftId(fieldId);
|
1866 |
return _Fields.findByThriftId(fieldId);
|
| Line 1989... |
Line 2057... |
| 1989 |
setReturnQtyIsSet(true);
|
2057 |
setReturnQtyIsSet(true);
|
| 1990 |
} else {
|
2058 |
} else {
|
| 1991 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
2059 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| 1992 |
}
|
2060 |
}
|
| 1993 |
break;
|
2061 |
break;
|
| - |
|
2062 |
case 25: // DAMAGED_EXPIRY_TIMESTAMP
|
| - |
|
2063 |
if (field.type == org.apache.thrift.protocol.TType.I64) {
|
| - |
|
2064 |
this.damaged_expiry_timestamp = iprot.readI64();
|
| - |
|
2065 |
setDamaged_expiry_timestampIsSet(true);
|
| - |
|
2066 |
} else {
|
| - |
|
2067 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| - |
|
2068 |
}
|
| - |
|
2069 |
break;
|
| 1994 |
default:
|
2070 |
default:
|
| 1995 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
2071 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| 1996 |
}
|
2072 |
}
|
| 1997 |
iprot.readFieldEnd();
|
2073 |
iprot.readFieldEnd();
|
| 1998 |
}
|
2074 |
}
|
| Line 2098... |
Line 2174... |
| 2098 |
oprot.writeDouble(this.codCollectionCharges);
|
2174 |
oprot.writeDouble(this.codCollectionCharges);
|
| 2099 |
oprot.writeFieldEnd();
|
2175 |
oprot.writeFieldEnd();
|
| 2100 |
oprot.writeFieldBegin(RETURN_QTY_FIELD_DESC);
|
2176 |
oprot.writeFieldBegin(RETURN_QTY_FIELD_DESC);
|
| 2101 |
oprot.writeDouble(this.returnQty);
|
2177 |
oprot.writeDouble(this.returnQty);
|
| 2102 |
oprot.writeFieldEnd();
|
2178 |
oprot.writeFieldEnd();
|
| - |
|
2179 |
oprot.writeFieldBegin(DAMAGED_EXPIRY_TIMESTAMP_FIELD_DESC);
|
| - |
|
2180 |
oprot.writeI64(this.damaged_expiry_timestamp);
|
| - |
|
2181 |
oprot.writeFieldEnd();
|
| 2103 |
oprot.writeFieldStop();
|
2182 |
oprot.writeFieldStop();
|
| 2104 |
oprot.writeStructEnd();
|
2183 |
oprot.writeStructEnd();
|
| 2105 |
}
|
2184 |
}
|
| 2106 |
|
2185 |
|
| 2107 |
@Override
|
2186 |
@Override
|
| Line 2244... |
Line 2323... |
| 2244 |
first = false;
|
2323 |
first = false;
|
| 2245 |
if (!first) sb.append(", ");
|
2324 |
if (!first) sb.append(", ");
|
| 2246 |
sb.append("returnQty:");
|
2325 |
sb.append("returnQty:");
|
| 2247 |
sb.append(this.returnQty);
|
2326 |
sb.append(this.returnQty);
|
| 2248 |
first = false;
|
2327 |
first = false;
|
| - |
|
2328 |
if (!first) sb.append(", ");
|
| - |
|
2329 |
sb.append("damaged_expiry_timestamp:");
|
| - |
|
2330 |
sb.append(this.damaged_expiry_timestamp);
|
| - |
|
2331 |
first = false;
|
| 2249 |
sb.append(")");
|
2332 |
sb.append(")");
|
| 2250 |
return sb.toString();
|
2333 |
return sb.toString();
|
| 2251 |
}
|
2334 |
}
|
| 2252 |
|
2335 |
|
| 2253 |
public void validate() throws org.apache.thrift.TException {
|
2336 |
public void validate() throws org.apache.thrift.TException {
|