| Line 39... |
Line 39... |
| 39 |
private static final org.apache.thrift.protocol.TField TOTAL_WEIGHT_FIELD_DESC = new org.apache.thrift.protocol.TField("total_weight", org.apache.thrift.protocol.TType.DOUBLE, (short)14);
|
39 |
private static final org.apache.thrift.protocol.TField TOTAL_WEIGHT_FIELD_DESC = new org.apache.thrift.protocol.TField("total_weight", org.apache.thrift.protocol.TType.DOUBLE, (short)14);
|
| 40 |
private static final org.apache.thrift.protocol.TField SERIAL_NUMBER_FIELD_DESC = new org.apache.thrift.protocol.TField("serial_number", org.apache.thrift.protocol.TType.STRING, (short)15);
|
40 |
private static final org.apache.thrift.protocol.TField SERIAL_NUMBER_FIELD_DESC = new org.apache.thrift.protocol.TField("serial_number", org.apache.thrift.protocol.TType.STRING, (short)15);
|
| 41 |
private static final org.apache.thrift.protocol.TField ITEM_NUMBER_FIELD_DESC = new org.apache.thrift.protocol.TField("item_number", org.apache.thrift.protocol.TType.STRING, (short)16);
|
41 |
private static final org.apache.thrift.protocol.TField ITEM_NUMBER_FIELD_DESC = new org.apache.thrift.protocol.TField("item_number", org.apache.thrift.protocol.TType.STRING, (short)16);
|
| 42 |
private static final org.apache.thrift.protocol.TField DEAL_TEXT_FIELD_DESC = new org.apache.thrift.protocol.TField("dealText", org.apache.thrift.protocol.TType.STRING, (short)17);
|
42 |
private static final org.apache.thrift.protocol.TField DEAL_TEXT_FIELD_DESC = new org.apache.thrift.protocol.TField("dealText", org.apache.thrift.protocol.TType.STRING, (short)17);
|
| 43 |
private static final org.apache.thrift.protocol.TField WARRANTRY_EXPIRY_TIMESTAMP_FIELD_DESC = new org.apache.thrift.protocol.TField("warrantry_expiry_timestamp", org.apache.thrift.protocol.TType.I64, (short)18);
|
43 |
private static final org.apache.thrift.protocol.TField WARRANTRY_EXPIRY_TIMESTAMP_FIELD_DESC = new org.apache.thrift.protocol.TField("warrantry_expiry_timestamp", org.apache.thrift.protocol.TType.I64, (short)18);
|
| - |
|
44 |
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)19);
|
| 44 |
|
45 |
|
| 45 |
private long id; // required
|
46 |
private long id; // required
|
| 46 |
private long item_id; // required
|
47 |
private long item_id; // required
|
| 47 |
private String productGroup; // required
|
48 |
private String productGroup; // required
|
| 48 |
private String brand; // required
|
49 |
private String brand; // required
|
| Line 58... |
Line 59... |
| 58 |
private double total_weight; // required
|
59 |
private double total_weight; // required
|
| 59 |
private String serial_number; // required
|
60 |
private String serial_number; // required
|
| 60 |
private String item_number; // required
|
61 |
private String item_number; // required
|
| 61 |
private String dealText; // required
|
62 |
private String dealText; // required
|
| 62 |
private long warrantry_expiry_timestamp; // required
|
63 |
private long warrantry_expiry_timestamp; // required
|
| - |
|
64 |
private double vatRate; // required
|
| 63 |
|
65 |
|
| 64 |
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
|
66 |
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
|
| 65 |
public enum _Fields implements org.apache.thrift.TFieldIdEnum {
|
67 |
public enum _Fields implements org.apache.thrift.TFieldIdEnum {
|
| 66 |
ID((short)1, "id"),
|
68 |
ID((short)1, "id"),
|
| 67 |
ITEM_ID((short)2, "item_id"),
|
69 |
ITEM_ID((short)2, "item_id"),
|
| Line 78... |
Line 80... |
| 78 |
TRANSFER_PRICE((short)13, "transfer_price"),
|
80 |
TRANSFER_PRICE((short)13, "transfer_price"),
|
| 79 |
TOTAL_WEIGHT((short)14, "total_weight"),
|
81 |
TOTAL_WEIGHT((short)14, "total_weight"),
|
| 80 |
SERIAL_NUMBER((short)15, "serial_number"),
|
82 |
SERIAL_NUMBER((short)15, "serial_number"),
|
| 81 |
ITEM_NUMBER((short)16, "item_number"),
|
83 |
ITEM_NUMBER((short)16, "item_number"),
|
| 82 |
DEAL_TEXT((short)17, "dealText"),
|
84 |
DEAL_TEXT((short)17, "dealText"),
|
| 83 |
WARRANTRY_EXPIRY_TIMESTAMP((short)18, "warrantry_expiry_timestamp");
|
85 |
WARRANTRY_EXPIRY_TIMESTAMP((short)18, "warrantry_expiry_timestamp"),
|
| - |
|
86 |
VAT_RATE((short)19, "vatRate");
|
| 84 |
|
87 |
|
| 85 |
private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
|
88 |
private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
|
| 86 |
|
89 |
|
| 87 |
static {
|
90 |
static {
|
| 88 |
for (_Fields field : EnumSet.allOf(_Fields.class)) {
|
91 |
for (_Fields field : EnumSet.allOf(_Fields.class)) {
|
| Line 129... |
Line 132... |
| 129 |
return ITEM_NUMBER;
|
132 |
return ITEM_NUMBER;
|
| 130 |
case 17: // DEAL_TEXT
|
133 |
case 17: // DEAL_TEXT
|
| 131 |
return DEAL_TEXT;
|
134 |
return DEAL_TEXT;
|
| 132 |
case 18: // WARRANTRY_EXPIRY_TIMESTAMP
|
135 |
case 18: // WARRANTRY_EXPIRY_TIMESTAMP
|
| 133 |
return WARRANTRY_EXPIRY_TIMESTAMP;
|
136 |
return WARRANTRY_EXPIRY_TIMESTAMP;
|
| - |
|
137 |
case 19: // VAT_RATE
|
| - |
|
138 |
return VAT_RATE;
|
| 134 |
default:
|
139 |
default:
|
| 135 |
return null;
|
140 |
return null;
|
| 136 |
}
|
141 |
}
|
| 137 |
}
|
142 |
}
|
| 138 |
|
143 |
|
| Line 178... |
Line 183... |
| 178 |
private static final int __UNIT_WEIGHT_ISSET_ID = 4;
|
183 |
private static final int __UNIT_WEIGHT_ISSET_ID = 4;
|
| 179 |
private static final int __TOTAL_PRICE_ISSET_ID = 5;
|
184 |
private static final int __TOTAL_PRICE_ISSET_ID = 5;
|
| 180 |
private static final int __TRANSFER_PRICE_ISSET_ID = 6;
|
185 |
private static final int __TRANSFER_PRICE_ISSET_ID = 6;
|
| 181 |
private static final int __TOTAL_WEIGHT_ISSET_ID = 7;
|
186 |
private static final int __TOTAL_WEIGHT_ISSET_ID = 7;
|
| 182 |
private static final int __WARRANTRY_EXPIRY_TIMESTAMP_ISSET_ID = 8;
|
187 |
private static final int __WARRANTRY_EXPIRY_TIMESTAMP_ISSET_ID = 8;
|
| - |
|
188 |
private static final int __VATRATE_ISSET_ID = 9;
|
| 183 |
private BitSet __isset_bit_vector = new BitSet(9);
|
189 |
private BitSet __isset_bit_vector = new BitSet(10);
|
| 184 |
|
190 |
|
| 185 |
public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
|
191 |
public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
|
| 186 |
static {
|
192 |
static {
|
| 187 |
Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
|
193 |
Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
|
| 188 |
tmpMap.put(_Fields.ID, new org.apache.thrift.meta_data.FieldMetaData("id", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
194 |
tmpMap.put(_Fields.ID, new org.apache.thrift.meta_data.FieldMetaData("id", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| Line 219... |
Line 225... |
| 219 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
|
225 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
|
| 220 |
tmpMap.put(_Fields.DEAL_TEXT, new org.apache.thrift.meta_data.FieldMetaData("dealText", org.apache.thrift.TFieldRequirementType.OPTIONAL,
|
226 |
tmpMap.put(_Fields.DEAL_TEXT, new org.apache.thrift.meta_data.FieldMetaData("dealText", org.apache.thrift.TFieldRequirementType.OPTIONAL,
|
| 221 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
|
227 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
|
| 222 |
tmpMap.put(_Fields.WARRANTRY_EXPIRY_TIMESTAMP, new org.apache.thrift.meta_data.FieldMetaData("warrantry_expiry_timestamp", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
228 |
tmpMap.put(_Fields.WARRANTRY_EXPIRY_TIMESTAMP, new org.apache.thrift.meta_data.FieldMetaData("warrantry_expiry_timestamp", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| 223 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
229 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
| - |
|
230 |
tmpMap.put(_Fields.VAT_RATE, new org.apache.thrift.meta_data.FieldMetaData("vatRate", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| - |
|
231 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
|
| 224 |
metaDataMap = Collections.unmodifiableMap(tmpMap);
|
232 |
metaDataMap = Collections.unmodifiableMap(tmpMap);
|
| 225 |
org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(LineItem.class, metaDataMap);
|
233 |
org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(LineItem.class, metaDataMap);
|
| 226 |
}
|
234 |
}
|
| 227 |
|
235 |
|
| 228 |
public LineItem() {
|
236 |
public LineItem() {
|
| Line 241... |
Line 249... |
| 241 |
double unit_price,
|
249 |
double unit_price,
|
| 242 |
double unit_weight,
|
250 |
double unit_weight,
|
| 243 |
double total_price,
|
251 |
double total_price,
|
| 244 |
double transfer_price,
|
252 |
double transfer_price,
|
| 245 |
double total_weight,
|
253 |
double total_weight,
|
| 246 |
long warrantry_expiry_timestamp)
|
254 |
long warrantry_expiry_timestamp,
|
| - |
|
255 |
double vatRate)
|
| 247 |
{
|
256 |
{
|
| 248 |
this();
|
257 |
this();
|
| 249 |
this.id = id;
|
258 |
this.id = id;
|
| 250 |
setIdIsSet(true);
|
259 |
setIdIsSet(true);
|
| 251 |
this.item_id = item_id;
|
260 |
this.item_id = item_id;
|
| Line 268... |
Line 277... |
| 268 |
setTransfer_priceIsSet(true);
|
277 |
setTransfer_priceIsSet(true);
|
| 269 |
this.total_weight = total_weight;
|
278 |
this.total_weight = total_weight;
|
| 270 |
setTotal_weightIsSet(true);
|
279 |
setTotal_weightIsSet(true);
|
| 271 |
this.warrantry_expiry_timestamp = warrantry_expiry_timestamp;
|
280 |
this.warrantry_expiry_timestamp = warrantry_expiry_timestamp;
|
| 272 |
setWarrantry_expiry_timestampIsSet(true);
|
281 |
setWarrantry_expiry_timestampIsSet(true);
|
| - |
|
282 |
this.vatRate = vatRate;
|
| - |
|
283 |
setVatRateIsSet(true);
|
| 273 |
}
|
284 |
}
|
| 274 |
|
285 |
|
| 275 |
/**
|
286 |
/**
|
| 276 |
* Performs a deep copy on <i>other</i>.
|
287 |
* Performs a deep copy on <i>other</i>.
|
| 277 |
*/
|
288 |
*/
|
| Line 312... |
Line 323... |
| 312 |
}
|
323 |
}
|
| 313 |
if (other.isSetDealText()) {
|
324 |
if (other.isSetDealText()) {
|
| 314 |
this.dealText = other.dealText;
|
325 |
this.dealText = other.dealText;
|
| 315 |
}
|
326 |
}
|
| 316 |
this.warrantry_expiry_timestamp = other.warrantry_expiry_timestamp;
|
327 |
this.warrantry_expiry_timestamp = other.warrantry_expiry_timestamp;
|
| - |
|
328 |
this.vatRate = other.vatRate;
|
| 317 |
}
|
329 |
}
|
| 318 |
|
330 |
|
| 319 |
public LineItem deepCopy() {
|
331 |
public LineItem deepCopy() {
|
| 320 |
return new LineItem(this);
|
332 |
return new LineItem(this);
|
| 321 |
}
|
333 |
}
|
| Line 347... |
Line 359... |
| 347 |
this.serial_number = null;
|
359 |
this.serial_number = null;
|
| 348 |
this.item_number = null;
|
360 |
this.item_number = null;
|
| 349 |
this.dealText = null;
|
361 |
this.dealText = null;
|
| 350 |
setWarrantry_expiry_timestampIsSet(false);
|
362 |
setWarrantry_expiry_timestampIsSet(false);
|
| 351 |
this.warrantry_expiry_timestamp = 0;
|
363 |
this.warrantry_expiry_timestamp = 0;
|
| - |
|
364 |
setVatRateIsSet(false);
|
| - |
|
365 |
this.vatRate = 0.0;
|
| 352 |
}
|
366 |
}
|
| 353 |
|
367 |
|
| 354 |
public long getId() {
|
368 |
public long getId() {
|
| 355 |
return this.id;
|
369 |
return this.id;
|
| 356 |
}
|
370 |
}
|
| Line 754... |
Line 768... |
| 754 |
|
768 |
|
| 755 |
public void setWarrantry_expiry_timestampIsSet(boolean value) {
|
769 |
public void setWarrantry_expiry_timestampIsSet(boolean value) {
|
| 756 |
__isset_bit_vector.set(__WARRANTRY_EXPIRY_TIMESTAMP_ISSET_ID, value);
|
770 |
__isset_bit_vector.set(__WARRANTRY_EXPIRY_TIMESTAMP_ISSET_ID, value);
|
| 757 |
}
|
771 |
}
|
| 758 |
|
772 |
|
| - |
|
773 |
public double getVatRate() {
|
| - |
|
774 |
return this.vatRate;
|
| - |
|
775 |
}
|
| - |
|
776 |
|
| - |
|
777 |
public void setVatRate(double vatRate) {
|
| - |
|
778 |
this.vatRate = vatRate;
|
| - |
|
779 |
setVatRateIsSet(true);
|
| - |
|
780 |
}
|
| - |
|
781 |
|
| - |
|
782 |
public void unsetVatRate() {
|
| - |
|
783 |
__isset_bit_vector.clear(__VATRATE_ISSET_ID);
|
| - |
|
784 |
}
|
| - |
|
785 |
|
| - |
|
786 |
/** Returns true if field vatRate is set (has been assigned a value) and false otherwise */
|
| - |
|
787 |
public boolean isSetVatRate() {
|
| - |
|
788 |
return __isset_bit_vector.get(__VATRATE_ISSET_ID);
|
| - |
|
789 |
}
|
| - |
|
790 |
|
| - |
|
791 |
public void setVatRateIsSet(boolean value) {
|
| - |
|
792 |
__isset_bit_vector.set(__VATRATE_ISSET_ID, value);
|
| - |
|
793 |
}
|
| - |
|
794 |
|
| 759 |
public void setFieldValue(_Fields field, Object value) {
|
795 |
public void setFieldValue(_Fields field, Object value) {
|
| 760 |
switch (field) {
|
796 |
switch (field) {
|
| 761 |
case ID:
|
797 |
case ID:
|
| 762 |
if (value == null) {
|
798 |
if (value == null) {
|
| 763 |
unsetId();
|
799 |
unsetId();
|
| Line 900... |
Line 936... |
| 900 |
} else {
|
936 |
} else {
|
| 901 |
setWarrantry_expiry_timestamp((Long)value);
|
937 |
setWarrantry_expiry_timestamp((Long)value);
|
| 902 |
}
|
938 |
}
|
| 903 |
break;
|
939 |
break;
|
| 904 |
|
940 |
|
| - |
|
941 |
case VAT_RATE:
|
| - |
|
942 |
if (value == null) {
|
| - |
|
943 |
unsetVatRate();
|
| - |
|
944 |
} else {
|
| - |
|
945 |
setVatRate((Double)value);
|
| - |
|
946 |
}
|
| - |
|
947 |
break;
|
| - |
|
948 |
|
| 905 |
}
|
949 |
}
|
| 906 |
}
|
950 |
}
|
| 907 |
|
951 |
|
| 908 |
public Object getFieldValue(_Fields field) {
|
952 |
public Object getFieldValue(_Fields field) {
|
| 909 |
switch (field) {
|
953 |
switch (field) {
|
| Line 959... |
Line 1003... |
| 959 |
return getDealText();
|
1003 |
return getDealText();
|
| 960 |
|
1004 |
|
| 961 |
case WARRANTRY_EXPIRY_TIMESTAMP:
|
1005 |
case WARRANTRY_EXPIRY_TIMESTAMP:
|
| 962 |
return Long.valueOf(getWarrantry_expiry_timestamp());
|
1006 |
return Long.valueOf(getWarrantry_expiry_timestamp());
|
| 963 |
|
1007 |
|
| - |
|
1008 |
case VAT_RATE:
|
| - |
|
1009 |
return Double.valueOf(getVatRate());
|
| - |
|
1010 |
|
| 964 |
}
|
1011 |
}
|
| 965 |
throw new IllegalStateException();
|
1012 |
throw new IllegalStateException();
|
| 966 |
}
|
1013 |
}
|
| 967 |
|
1014 |
|
| 968 |
/** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
|
1015 |
/** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
|
| Line 1006... |
Line 1053... |
| 1006 |
return isSetItem_number();
|
1053 |
return isSetItem_number();
|
| 1007 |
case DEAL_TEXT:
|
1054 |
case DEAL_TEXT:
|
| 1008 |
return isSetDealText();
|
1055 |
return isSetDealText();
|
| 1009 |
case WARRANTRY_EXPIRY_TIMESTAMP:
|
1056 |
case WARRANTRY_EXPIRY_TIMESTAMP:
|
| 1010 |
return isSetWarrantry_expiry_timestamp();
|
1057 |
return isSetWarrantry_expiry_timestamp();
|
| - |
|
1058 |
case VAT_RATE:
|
| - |
|
1059 |
return isSetVatRate();
|
| 1011 |
}
|
1060 |
}
|
| 1012 |
throw new IllegalStateException();
|
1061 |
throw new IllegalStateException();
|
| 1013 |
}
|
1062 |
}
|
| 1014 |
|
1063 |
|
| 1015 |
@Override
|
1064 |
@Override
|
| Line 1185... |
Line 1234... |
| 1185 |
return false;
|
1234 |
return false;
|
| 1186 |
if (this.warrantry_expiry_timestamp != that.warrantry_expiry_timestamp)
|
1235 |
if (this.warrantry_expiry_timestamp != that.warrantry_expiry_timestamp)
|
| 1187 |
return false;
|
1236 |
return false;
|
| 1188 |
}
|
1237 |
}
|
| 1189 |
|
1238 |
|
| - |
|
1239 |
boolean this_present_vatRate = true;
|
| - |
|
1240 |
boolean that_present_vatRate = true;
|
| - |
|
1241 |
if (this_present_vatRate || that_present_vatRate) {
|
| - |
|
1242 |
if (!(this_present_vatRate && that_present_vatRate))
|
| - |
|
1243 |
return false;
|
| - |
|
1244 |
if (this.vatRate != that.vatRate)
|
| - |
|
1245 |
return false;
|
| - |
|
1246 |
}
|
| - |
|
1247 |
|
| 1190 |
return true;
|
1248 |
return true;
|
| 1191 |
}
|
1249 |
}
|
| 1192 |
|
1250 |
|
| 1193 |
@Override
|
1251 |
@Override
|
| 1194 |
public int hashCode() {
|
1252 |
public int hashCode() {
|
| Line 1381... |
Line 1439... |
| 1381 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.warrantry_expiry_timestamp, typedOther.warrantry_expiry_timestamp);
|
1439 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.warrantry_expiry_timestamp, typedOther.warrantry_expiry_timestamp);
|
| 1382 |
if (lastComparison != 0) {
|
1440 |
if (lastComparison != 0) {
|
| 1383 |
return lastComparison;
|
1441 |
return lastComparison;
|
| 1384 |
}
|
1442 |
}
|
| 1385 |
}
|
1443 |
}
|
| - |
|
1444 |
lastComparison = Boolean.valueOf(isSetVatRate()).compareTo(typedOther.isSetVatRate());
|
| - |
|
1445 |
if (lastComparison != 0) {
|
| - |
|
1446 |
return lastComparison;
|
| - |
|
1447 |
}
|
| - |
|
1448 |
if (isSetVatRate()) {
|
| - |
|
1449 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.vatRate, typedOther.vatRate);
|
| - |
|
1450 |
if (lastComparison != 0) {
|
| - |
|
1451 |
return lastComparison;
|
| - |
|
1452 |
}
|
| - |
|
1453 |
}
|
| 1386 |
return 0;
|
1454 |
return 0;
|
| 1387 |
}
|
1455 |
}
|
| 1388 |
|
1456 |
|
| 1389 |
public _Fields fieldForId(int fieldId) {
|
1457 |
public _Fields fieldForId(int fieldId) {
|
| 1390 |
return _Fields.findByThriftId(fieldId);
|
1458 |
return _Fields.findByThriftId(fieldId);
|
| Line 1533... |
Line 1601... |
| 1533 |
setWarrantry_expiry_timestampIsSet(true);
|
1601 |
setWarrantry_expiry_timestampIsSet(true);
|
| 1534 |
} else {
|
1602 |
} else {
|
| 1535 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
1603 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| 1536 |
}
|
1604 |
}
|
| 1537 |
break;
|
1605 |
break;
|
| - |
|
1606 |
case 19: // VAT_RATE
|
| - |
|
1607 |
if (field.type == org.apache.thrift.protocol.TType.DOUBLE) {
|
| - |
|
1608 |
this.vatRate = iprot.readDouble();
|
| - |
|
1609 |
setVatRateIsSet(true);
|
| - |
|
1610 |
} else {
|
| - |
|
1611 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| - |
|
1612 |
}
|
| - |
|
1613 |
break;
|
| 1538 |
default:
|
1614 |
default:
|
| 1539 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
1615 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| 1540 |
}
|
1616 |
}
|
| 1541 |
iprot.readFieldEnd();
|
1617 |
iprot.readFieldEnd();
|
| 1542 |
}
|
1618 |
}
|
| Line 1624... |
Line 1700... |
| 1624 |
}
|
1700 |
}
|
| 1625 |
}
|
1701 |
}
|
| 1626 |
oprot.writeFieldBegin(WARRANTRY_EXPIRY_TIMESTAMP_FIELD_DESC);
|
1702 |
oprot.writeFieldBegin(WARRANTRY_EXPIRY_TIMESTAMP_FIELD_DESC);
|
| 1627 |
oprot.writeI64(this.warrantry_expiry_timestamp);
|
1703 |
oprot.writeI64(this.warrantry_expiry_timestamp);
|
| 1628 |
oprot.writeFieldEnd();
|
1704 |
oprot.writeFieldEnd();
|
| - |
|
1705 |
oprot.writeFieldBegin(VAT_RATE_FIELD_DESC);
|
| - |
|
1706 |
oprot.writeDouble(this.vatRate);
|
| - |
|
1707 |
oprot.writeFieldEnd();
|
| 1629 |
oprot.writeFieldStop();
|
1708 |
oprot.writeFieldStop();
|
| 1630 |
oprot.writeStructEnd();
|
1709 |
oprot.writeStructEnd();
|
| 1631 |
}
|
1710 |
}
|
| 1632 |
|
1711 |
|
| 1633 |
@Override
|
1712 |
@Override
|
| Line 1746... |
Line 1825... |
| 1746 |
}
|
1825 |
}
|
| 1747 |
if (!first) sb.append(", ");
|
1826 |
if (!first) sb.append(", ");
|
| 1748 |
sb.append("warrantry_expiry_timestamp:");
|
1827 |
sb.append("warrantry_expiry_timestamp:");
|
| 1749 |
sb.append(this.warrantry_expiry_timestamp);
|
1828 |
sb.append(this.warrantry_expiry_timestamp);
|
| 1750 |
first = false;
|
1829 |
first = false;
|
| - |
|
1830 |
if (!first) sb.append(", ");
|
| - |
|
1831 |
sb.append("vatRate:");
|
| - |
|
1832 |
sb.append(this.vatRate);
|
| - |
|
1833 |
first = false;
|
| 1751 |
sb.append(")");
|
1834 |
sb.append(")");
|
| 1752 |
return sb.toString();
|
1835 |
return sb.toString();
|
| 1753 |
}
|
1836 |
}
|
| 1754 |
|
1837 |
|
| 1755 |
public void validate() throws org.apache.thrift.TException {
|
1838 |
public void validate() throws org.apache.thrift.TException {
|