| Line 42... |
Line 42... |
| 42 |
private static final org.apache.thrift.protocol.TField INIT_TIMESTAMP_FIELD_DESC = new org.apache.thrift.protocol.TField("initTimestamp", org.apache.thrift.protocol.TType.I64, (short)17);
|
42 |
private static final org.apache.thrift.protocol.TField INIT_TIMESTAMP_FIELD_DESC = new org.apache.thrift.protocol.TField("initTimestamp", org.apache.thrift.protocol.TType.I64, (short)17);
|
| 43 |
private static final org.apache.thrift.protocol.TField SUCCESS_TIMESTAMP_FIELD_DESC = new org.apache.thrift.protocol.TField("successTimestamp", org.apache.thrift.protocol.TType.I64, (short)18);
|
43 |
private static final org.apache.thrift.protocol.TField SUCCESS_TIMESTAMP_FIELD_DESC = new org.apache.thrift.protocol.TField("successTimestamp", org.apache.thrift.protocol.TType.I64, (short)18);
|
| 44 |
private static final org.apache.thrift.protocol.TField ERROR_TIMESTAMP_FIELD_DESC = new org.apache.thrift.protocol.TField("errorTimestamp", org.apache.thrift.protocol.TType.I64, (short)19);
|
44 |
private static final org.apache.thrift.protocol.TField ERROR_TIMESTAMP_FIELD_DESC = new org.apache.thrift.protocol.TField("errorTimestamp", org.apache.thrift.protocol.TType.I64, (short)19);
|
| 45 |
private static final org.apache.thrift.protocol.TField PROVISIONAL_CAPTURE_TIMESTAMP_FIELD_DESC = new org.apache.thrift.protocol.TField("provisionalCaptureTimestamp", org.apache.thrift.protocol.TType.I64, (short)20);
|
45 |
private static final org.apache.thrift.protocol.TField PROVISIONAL_CAPTURE_TIMESTAMP_FIELD_DESC = new org.apache.thrift.protocol.TField("provisionalCaptureTimestamp", org.apache.thrift.protocol.TType.I64, (short)20);
|
| 46 |
private static final org.apache.thrift.protocol.TField IS_DIGITAL_FIELD_DESC = new org.apache.thrift.protocol.TField("isDigital", org.apache.thrift.protocol.TType.BOOL, (short)21);
|
46 |
private static final org.apache.thrift.protocol.TField IS_DIGITAL_FIELD_DESC = new org.apache.thrift.protocol.TField("isDigital", org.apache.thrift.protocol.TType.BOOL, (short)21);
|
| - |
|
47 |
private static final org.apache.thrift.protocol.TField REFUND_AMOUNT_FIELD_DESC = new org.apache.thrift.protocol.TField("refundAmount", org.apache.thrift.protocol.TType.DOUBLE, (short)22);
|
| 47 |
|
48 |
|
| 48 |
private long paymentId; // required
|
49 |
private long paymentId; // required
|
| 49 |
private long gatewayId; // required
|
50 |
private long gatewayId; // required
|
| 50 |
private String gatewayPaymentId; // required
|
51 |
private String gatewayPaymentId; // required
|
| 51 |
private long merchantTxnId; // required
|
52 |
private long merchantTxnId; // required
|
| Line 64... |
Line 65... |
| 64 |
private long initTimestamp; // required
|
65 |
private long initTimestamp; // required
|
| 65 |
private long successTimestamp; // required
|
66 |
private long successTimestamp; // required
|
| 66 |
private long errorTimestamp; // required
|
67 |
private long errorTimestamp; // required
|
| 67 |
private long provisionalCaptureTimestamp; // required
|
68 |
private long provisionalCaptureTimestamp; // required
|
| 68 |
private boolean isDigital; // required
|
69 |
private boolean isDigital; // required
|
| - |
|
70 |
private double refundAmount; // required
|
| 69 |
|
71 |
|
| 70 |
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
|
72 |
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
|
| 71 |
public enum _Fields implements org.apache.thrift.TFieldIdEnum {
|
73 |
public enum _Fields implements org.apache.thrift.TFieldIdEnum {
|
| 72 |
PAYMENT_ID((short)1, "paymentId"),
|
74 |
PAYMENT_ID((short)1, "paymentId"),
|
| 73 |
GATEWAY_ID((short)2, "gatewayId"),
|
75 |
GATEWAY_ID((short)2, "gatewayId"),
|
| Line 91... |
Line 93... |
| 91 |
ATTRIBUTES((short)16, "attributes"),
|
93 |
ATTRIBUTES((short)16, "attributes"),
|
| 92 |
INIT_TIMESTAMP((short)17, "initTimestamp"),
|
94 |
INIT_TIMESTAMP((short)17, "initTimestamp"),
|
| 93 |
SUCCESS_TIMESTAMP((short)18, "successTimestamp"),
|
95 |
SUCCESS_TIMESTAMP((short)18, "successTimestamp"),
|
| 94 |
ERROR_TIMESTAMP((short)19, "errorTimestamp"),
|
96 |
ERROR_TIMESTAMP((short)19, "errorTimestamp"),
|
| 95 |
PROVISIONAL_CAPTURE_TIMESTAMP((short)20, "provisionalCaptureTimestamp"),
|
97 |
PROVISIONAL_CAPTURE_TIMESTAMP((short)20, "provisionalCaptureTimestamp"),
|
| 96 |
IS_DIGITAL((short)21, "isDigital");
|
98 |
IS_DIGITAL((short)21, "isDigital"),
|
| - |
|
99 |
REFUND_AMOUNT((short)22, "refundAmount");
|
| 97 |
|
100 |
|
| 98 |
private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
|
101 |
private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
|
| 99 |
|
102 |
|
| 100 |
static {
|
103 |
static {
|
| 101 |
for (_Fields field : EnumSet.allOf(_Fields.class)) {
|
104 |
for (_Fields field : EnumSet.allOf(_Fields.class)) {
|
| Line 148... |
Line 151... |
| 148 |
return ERROR_TIMESTAMP;
|
151 |
return ERROR_TIMESTAMP;
|
| 149 |
case 20: // PROVISIONAL_CAPTURE_TIMESTAMP
|
152 |
case 20: // PROVISIONAL_CAPTURE_TIMESTAMP
|
| 150 |
return PROVISIONAL_CAPTURE_TIMESTAMP;
|
153 |
return PROVISIONAL_CAPTURE_TIMESTAMP;
|
| 151 |
case 21: // IS_DIGITAL
|
154 |
case 21: // IS_DIGITAL
|
| 152 |
return IS_DIGITAL;
|
155 |
return IS_DIGITAL;
|
| - |
|
156 |
case 22: // REFUND_AMOUNT
|
| - |
|
157 |
return REFUND_AMOUNT;
|
| 153 |
default:
|
158 |
default:
|
| 154 |
return null;
|
159 |
return null;
|
| 155 |
}
|
160 |
}
|
| 156 |
}
|
161 |
}
|
| 157 |
|
162 |
|
| Line 198... |
Line 203... |
| 198 |
private static final int __INITTIMESTAMP_ISSET_ID = 5;
|
203 |
private static final int __INITTIMESTAMP_ISSET_ID = 5;
|
| 199 |
private static final int __SUCCESSTIMESTAMP_ISSET_ID = 6;
|
204 |
private static final int __SUCCESSTIMESTAMP_ISSET_ID = 6;
|
| 200 |
private static final int __ERRORTIMESTAMP_ISSET_ID = 7;
|
205 |
private static final int __ERRORTIMESTAMP_ISSET_ID = 7;
|
| 201 |
private static final int __PROVISIONALCAPTURETIMESTAMP_ISSET_ID = 8;
|
206 |
private static final int __PROVISIONALCAPTURETIMESTAMP_ISSET_ID = 8;
|
| 202 |
private static final int __ISDIGITAL_ISSET_ID = 9;
|
207 |
private static final int __ISDIGITAL_ISSET_ID = 9;
|
| - |
|
208 |
private static final int __REFUNDAMOUNT_ISSET_ID = 10;
|
| 203 |
private BitSet __isset_bit_vector = new BitSet(10);
|
209 |
private BitSet __isset_bit_vector = new BitSet(11);
|
| 204 |
|
210 |
|
| 205 |
public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
|
211 |
public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
|
| 206 |
static {
|
212 |
static {
|
| 207 |
Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
|
213 |
Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
|
| 208 |
tmpMap.put(_Fields.PAYMENT_ID, new org.apache.thrift.meta_data.FieldMetaData("paymentId", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
214 |
tmpMap.put(_Fields.PAYMENT_ID, new org.apache.thrift.meta_data.FieldMetaData("paymentId", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| Line 246... |
Line 252... |
| 246 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
252 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
| 247 |
tmpMap.put(_Fields.PROVISIONAL_CAPTURE_TIMESTAMP, new org.apache.thrift.meta_data.FieldMetaData("provisionalCaptureTimestamp", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
253 |
tmpMap.put(_Fields.PROVISIONAL_CAPTURE_TIMESTAMP, new org.apache.thrift.meta_data.FieldMetaData("provisionalCaptureTimestamp", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| 248 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
254 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
| 249 |
tmpMap.put(_Fields.IS_DIGITAL, new org.apache.thrift.meta_data.FieldMetaData("isDigital", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
255 |
tmpMap.put(_Fields.IS_DIGITAL, new org.apache.thrift.meta_data.FieldMetaData("isDigital", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| 250 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
|
256 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
|
| - |
|
257 |
tmpMap.put(_Fields.REFUND_AMOUNT, new org.apache.thrift.meta_data.FieldMetaData("refundAmount", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| - |
|
258 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
|
| 251 |
metaDataMap = Collections.unmodifiableMap(tmpMap);
|
259 |
metaDataMap = Collections.unmodifiableMap(tmpMap);
|
| 252 |
org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(Payment.class, metaDataMap);
|
260 |
org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(Payment.class, metaDataMap);
|
| 253 |
}
|
261 |
}
|
| 254 |
|
262 |
|
| 255 |
public Payment() {
|
263 |
public Payment() {
|
| Line 274... |
Line 282... |
| 274 |
List<Attribute> attributes,
|
282 |
List<Attribute> attributes,
|
| 275 |
long initTimestamp,
|
283 |
long initTimestamp,
|
| 276 |
long successTimestamp,
|
284 |
long successTimestamp,
|
| 277 |
long errorTimestamp,
|
285 |
long errorTimestamp,
|
| 278 |
long provisionalCaptureTimestamp,
|
286 |
long provisionalCaptureTimestamp,
|
| 279 |
boolean isDigital)
|
287 |
boolean isDigital,
|
| - |
|
288 |
double refundAmount)
|
| 280 |
{
|
289 |
{
|
| 281 |
this();
|
290 |
this();
|
| 282 |
this.paymentId = paymentId;
|
291 |
this.paymentId = paymentId;
|
| 283 |
setPaymentIdIsSet(true);
|
292 |
setPaymentIdIsSet(true);
|
| 284 |
this.gatewayId = gatewayId;
|
293 |
this.gatewayId = gatewayId;
|
| Line 308... |
Line 317... |
| 308 |
setErrorTimestampIsSet(true);
|
317 |
setErrorTimestampIsSet(true);
|
| 309 |
this.provisionalCaptureTimestamp = provisionalCaptureTimestamp;
|
318 |
this.provisionalCaptureTimestamp = provisionalCaptureTimestamp;
|
| 310 |
setProvisionalCaptureTimestampIsSet(true);
|
319 |
setProvisionalCaptureTimestampIsSet(true);
|
| 311 |
this.isDigital = isDigital;
|
320 |
this.isDigital = isDigital;
|
| 312 |
setIsDigitalIsSet(true);
|
321 |
setIsDigitalIsSet(true);
|
| - |
|
322 |
this.refundAmount = refundAmount;
|
| - |
|
323 |
setRefundAmountIsSet(true);
|
| 313 |
}
|
324 |
}
|
| 314 |
|
325 |
|
| 315 |
/**
|
326 |
/**
|
| 316 |
* Performs a deep copy on <i>other</i>.
|
327 |
* Performs a deep copy on <i>other</i>.
|
| 317 |
*/
|
328 |
*/
|
| Line 363... |
Line 374... |
| 363 |
this.initTimestamp = other.initTimestamp;
|
374 |
this.initTimestamp = other.initTimestamp;
|
| 364 |
this.successTimestamp = other.successTimestamp;
|
375 |
this.successTimestamp = other.successTimestamp;
|
| 365 |
this.errorTimestamp = other.errorTimestamp;
|
376 |
this.errorTimestamp = other.errorTimestamp;
|
| 366 |
this.provisionalCaptureTimestamp = other.provisionalCaptureTimestamp;
|
377 |
this.provisionalCaptureTimestamp = other.provisionalCaptureTimestamp;
|
| 367 |
this.isDigital = other.isDigital;
|
378 |
this.isDigital = other.isDigital;
|
| - |
|
379 |
this.refundAmount = other.refundAmount;
|
| 368 |
}
|
380 |
}
|
| 369 |
|
381 |
|
| 370 |
public Payment deepCopy() {
|
382 |
public Payment deepCopy() {
|
| 371 |
return new Payment(this);
|
383 |
return new Payment(this);
|
| 372 |
}
|
384 |
}
|
| Line 402... |
Line 414... |
| 402 |
this.errorTimestamp = 0;
|
414 |
this.errorTimestamp = 0;
|
| 403 |
setProvisionalCaptureTimestampIsSet(false);
|
415 |
setProvisionalCaptureTimestampIsSet(false);
|
| 404 |
this.provisionalCaptureTimestamp = 0;
|
416 |
this.provisionalCaptureTimestamp = 0;
|
| 405 |
setIsDigitalIsSet(false);
|
417 |
setIsDigitalIsSet(false);
|
| 406 |
this.isDigital = false;
|
418 |
this.isDigital = false;
|
| - |
|
419 |
setRefundAmountIsSet(false);
|
| - |
|
420 |
this.refundAmount = 0.0;
|
| 407 |
}
|
421 |
}
|
| 408 |
|
422 |
|
| 409 |
public long getPaymentId() {
|
423 |
public long getPaymentId() {
|
| 410 |
return this.paymentId;
|
424 |
return this.paymentId;
|
| 411 |
}
|
425 |
}
|
| Line 900... |
Line 914... |
| 900 |
|
914 |
|
| 901 |
public void setIsDigitalIsSet(boolean value) {
|
915 |
public void setIsDigitalIsSet(boolean value) {
|
| 902 |
__isset_bit_vector.set(__ISDIGITAL_ISSET_ID, value);
|
916 |
__isset_bit_vector.set(__ISDIGITAL_ISSET_ID, value);
|
| 903 |
}
|
917 |
}
|
| 904 |
|
918 |
|
| - |
|
919 |
public double getRefundAmount() {
|
| - |
|
920 |
return this.refundAmount;
|
| - |
|
921 |
}
|
| - |
|
922 |
|
| - |
|
923 |
public void setRefundAmount(double refundAmount) {
|
| - |
|
924 |
this.refundAmount = refundAmount;
|
| - |
|
925 |
setRefundAmountIsSet(true);
|
| - |
|
926 |
}
|
| - |
|
927 |
|
| - |
|
928 |
public void unsetRefundAmount() {
|
| - |
|
929 |
__isset_bit_vector.clear(__REFUNDAMOUNT_ISSET_ID);
|
| - |
|
930 |
}
|
| - |
|
931 |
|
| - |
|
932 |
/** Returns true if field refundAmount is set (has been assigned a value) and false otherwise */
|
| - |
|
933 |
public boolean isSetRefundAmount() {
|
| - |
|
934 |
return __isset_bit_vector.get(__REFUNDAMOUNT_ISSET_ID);
|
| - |
|
935 |
}
|
| - |
|
936 |
|
| - |
|
937 |
public void setRefundAmountIsSet(boolean value) {
|
| - |
|
938 |
__isset_bit_vector.set(__REFUNDAMOUNT_ISSET_ID, value);
|
| - |
|
939 |
}
|
| - |
|
940 |
|
| 905 |
public void setFieldValue(_Fields field, Object value) {
|
941 |
public void setFieldValue(_Fields field, Object value) {
|
| 906 |
switch (field) {
|
942 |
switch (field) {
|
| 907 |
case PAYMENT_ID:
|
943 |
case PAYMENT_ID:
|
| 908 |
if (value == null) {
|
944 |
if (value == null) {
|
| 909 |
unsetPaymentId();
|
945 |
unsetPaymentId();
|
| Line 1070... |
Line 1106... |
| 1070 |
} else {
|
1106 |
} else {
|
| 1071 |
setIsDigital((Boolean)value);
|
1107 |
setIsDigital((Boolean)value);
|
| 1072 |
}
|
1108 |
}
|
| 1073 |
break;
|
1109 |
break;
|
| 1074 |
|
1110 |
|
| - |
|
1111 |
case REFUND_AMOUNT:
|
| - |
|
1112 |
if (value == null) {
|
| - |
|
1113 |
unsetRefundAmount();
|
| - |
|
1114 |
} else {
|
| - |
|
1115 |
setRefundAmount((Double)value);
|
| - |
|
1116 |
}
|
| - |
|
1117 |
break;
|
| - |
|
1118 |
|
| 1075 |
}
|
1119 |
}
|
| 1076 |
}
|
1120 |
}
|
| 1077 |
|
1121 |
|
| 1078 |
public Object getFieldValue(_Fields field) {
|
1122 |
public Object getFieldValue(_Fields field) {
|
| 1079 |
switch (field) {
|
1123 |
switch (field) {
|
| Line 1138... |
Line 1182... |
| 1138 |
return Long.valueOf(getProvisionalCaptureTimestamp());
|
1182 |
return Long.valueOf(getProvisionalCaptureTimestamp());
|
| 1139 |
|
1183 |
|
| 1140 |
case IS_DIGITAL:
|
1184 |
case IS_DIGITAL:
|
| 1141 |
return Boolean.valueOf(isIsDigital());
|
1185 |
return Boolean.valueOf(isIsDigital());
|
| 1142 |
|
1186 |
|
| - |
|
1187 |
case REFUND_AMOUNT:
|
| - |
|
1188 |
return Double.valueOf(getRefundAmount());
|
| - |
|
1189 |
|
| 1143 |
}
|
1190 |
}
|
| 1144 |
throw new IllegalStateException();
|
1191 |
throw new IllegalStateException();
|
| 1145 |
}
|
1192 |
}
|
| 1146 |
|
1193 |
|
| 1147 |
/** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
|
1194 |
/** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
|
| Line 1191... |
Line 1238... |
| 1191 |
return isSetErrorTimestamp();
|
1238 |
return isSetErrorTimestamp();
|
| 1192 |
case PROVISIONAL_CAPTURE_TIMESTAMP:
|
1239 |
case PROVISIONAL_CAPTURE_TIMESTAMP:
|
| 1193 |
return isSetProvisionalCaptureTimestamp();
|
1240 |
return isSetProvisionalCaptureTimestamp();
|
| 1194 |
case IS_DIGITAL:
|
1241 |
case IS_DIGITAL:
|
| 1195 |
return isSetIsDigital();
|
1242 |
return isSetIsDigital();
|
| - |
|
1243 |
case REFUND_AMOUNT:
|
| - |
|
1244 |
return isSetRefundAmount();
|
| 1196 |
}
|
1245 |
}
|
| 1197 |
throw new IllegalStateException();
|
1246 |
throw new IllegalStateException();
|
| 1198 |
}
|
1247 |
}
|
| 1199 |
|
1248 |
|
| 1200 |
@Override
|
1249 |
@Override
|
| Line 1397... |
Line 1446... |
| 1397 |
return false;
|
1446 |
return false;
|
| 1398 |
if (this.isDigital != that.isDigital)
|
1447 |
if (this.isDigital != that.isDigital)
|
| 1399 |
return false;
|
1448 |
return false;
|
| 1400 |
}
|
1449 |
}
|
| 1401 |
|
1450 |
|
| - |
|
1451 |
boolean this_present_refundAmount = true;
|
| - |
|
1452 |
boolean that_present_refundAmount = true;
|
| - |
|
1453 |
if (this_present_refundAmount || that_present_refundAmount) {
|
| - |
|
1454 |
if (!(this_present_refundAmount && that_present_refundAmount))
|
| - |
|
1455 |
return false;
|
| - |
|
1456 |
if (this.refundAmount != that.refundAmount)
|
| - |
|
1457 |
return false;
|
| - |
|
1458 |
}
|
| - |
|
1459 |
|
| 1402 |
return true;
|
1460 |
return true;
|
| 1403 |
}
|
1461 |
}
|
| 1404 |
|
1462 |
|
| 1405 |
@Override
|
1463 |
@Override
|
| 1406 |
public int hashCode() {
|
1464 |
public int hashCode() {
|
| Line 1623... |
Line 1681... |
| 1623 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.isDigital, typedOther.isDigital);
|
1681 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.isDigital, typedOther.isDigital);
|
| 1624 |
if (lastComparison != 0) {
|
1682 |
if (lastComparison != 0) {
|
| 1625 |
return lastComparison;
|
1683 |
return lastComparison;
|
| 1626 |
}
|
1684 |
}
|
| 1627 |
}
|
1685 |
}
|
| - |
|
1686 |
lastComparison = Boolean.valueOf(isSetRefundAmount()).compareTo(typedOther.isSetRefundAmount());
|
| - |
|
1687 |
if (lastComparison != 0) {
|
| - |
|
1688 |
return lastComparison;
|
| - |
|
1689 |
}
|
| - |
|
1690 |
if (isSetRefundAmount()) {
|
| - |
|
1691 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.refundAmount, typedOther.refundAmount);
|
| - |
|
1692 |
if (lastComparison != 0) {
|
| - |
|
1693 |
return lastComparison;
|
| - |
|
1694 |
}
|
| - |
|
1695 |
}
|
| 1628 |
return 0;
|
1696 |
return 0;
|
| 1629 |
}
|
1697 |
}
|
| 1630 |
|
1698 |
|
| 1631 |
public _Fields fieldForId(int fieldId) {
|
1699 |
public _Fields fieldForId(int fieldId) {
|
| 1632 |
return _Fields.findByThriftId(fieldId);
|
1700 |
return _Fields.findByThriftId(fieldId);
|
| Line 1808... |
Line 1876... |
| 1808 |
setIsDigitalIsSet(true);
|
1876 |
setIsDigitalIsSet(true);
|
| 1809 |
} else {
|
1877 |
} else {
|
| 1810 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
1878 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| 1811 |
}
|
1879 |
}
|
| 1812 |
break;
|
1880 |
break;
|
| - |
|
1881 |
case 22: // REFUND_AMOUNT
|
| - |
|
1882 |
if (field.type == org.apache.thrift.protocol.TType.DOUBLE) {
|
| - |
|
1883 |
this.refundAmount = iprot.readDouble();
|
| - |
|
1884 |
setRefundAmountIsSet(true);
|
| - |
|
1885 |
} else {
|
| - |
|
1886 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| - |
|
1887 |
}
|
| - |
|
1888 |
break;
|
| 1813 |
default:
|
1889 |
default:
|
| 1814 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
1890 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| 1815 |
}
|
1891 |
}
|
| 1816 |
iprot.readFieldEnd();
|
1892 |
iprot.readFieldEnd();
|
| 1817 |
}
|
1893 |
}
|
| Line 1913... |
Line 1989... |
| 1913 |
oprot.writeI64(this.provisionalCaptureTimestamp);
|
1989 |
oprot.writeI64(this.provisionalCaptureTimestamp);
|
| 1914 |
oprot.writeFieldEnd();
|
1990 |
oprot.writeFieldEnd();
|
| 1915 |
oprot.writeFieldBegin(IS_DIGITAL_FIELD_DESC);
|
1991 |
oprot.writeFieldBegin(IS_DIGITAL_FIELD_DESC);
|
| 1916 |
oprot.writeBool(this.isDigital);
|
1992 |
oprot.writeBool(this.isDigital);
|
| 1917 |
oprot.writeFieldEnd();
|
1993 |
oprot.writeFieldEnd();
|
| - |
|
1994 |
oprot.writeFieldBegin(REFUND_AMOUNT_FIELD_DESC);
|
| - |
|
1995 |
oprot.writeDouble(this.refundAmount);
|
| - |
|
1996 |
oprot.writeFieldEnd();
|
| 1918 |
oprot.writeFieldStop();
|
1997 |
oprot.writeFieldStop();
|
| 1919 |
oprot.writeStructEnd();
|
1998 |
oprot.writeStructEnd();
|
| 1920 |
}
|
1999 |
}
|
| 1921 |
|
2000 |
|
| 1922 |
@Override
|
2001 |
@Override
|
| Line 2049... |
Line 2128... |
| 2049 |
first = false;
|
2128 |
first = false;
|
| 2050 |
if (!first) sb.append(", ");
|
2129 |
if (!first) sb.append(", ");
|
| 2051 |
sb.append("isDigital:");
|
2130 |
sb.append("isDigital:");
|
| 2052 |
sb.append(this.isDigital);
|
2131 |
sb.append(this.isDigital);
|
| 2053 |
first = false;
|
2132 |
first = false;
|
| - |
|
2133 |
if (!first) sb.append(", ");
|
| - |
|
2134 |
sb.append("refundAmount:");
|
| - |
|
2135 |
sb.append(this.refundAmount);
|
| - |
|
2136 |
first = false;
|
| 2054 |
sb.append(")");
|
2137 |
sb.append(")");
|
| 2055 |
return sb.toString();
|
2138 |
return sb.toString();
|
| 2056 |
}
|
2139 |
}
|
| 2057 |
|
2140 |
|
| 2058 |
public void validate() throws org.apache.thrift.TException {
|
2141 |
public void validate() throws org.apache.thrift.TException {
|