| Line 23... |
Line 23... |
| 23 |
public class UserWalletHistory implements org.apache.thrift.TBase<UserWalletHistory, UserWalletHistory._Fields>, java.io.Serializable, Cloneable {
|
23 |
public class UserWalletHistory implements org.apache.thrift.TBase<UserWalletHistory, UserWalletHistory._Fields>, java.io.Serializable, Cloneable {
|
| 24 |
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("UserWalletHistory");
|
24 |
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("UserWalletHistory");
|
| 25 |
|
25 |
|
| 26 |
private static final org.apache.thrift.protocol.TField ID_FIELD_DESC = new org.apache.thrift.protocol.TField("id", org.apache.thrift.protocol.TType.I64, (short)1);
|
26 |
private static final org.apache.thrift.protocol.TField ID_FIELD_DESC = new org.apache.thrift.protocol.TField("id", org.apache.thrift.protocol.TType.I64, (short)1);
|
| 27 |
private static final org.apache.thrift.protocol.TField WALLET_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("walletId", org.apache.thrift.protocol.TType.I64, (short)2);
|
27 |
private static final org.apache.thrift.protocol.TField WALLET_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("walletId", org.apache.thrift.protocol.TType.I64, (short)2);
|
| 28 |
private static final org.apache.thrift.protocol.TField ORDER_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("orderId", org.apache.thrift.protocol.TType.I64, (short)3);
|
28 |
private static final org.apache.thrift.protocol.TField REFUNDABLE_AMOUNT_FIELD_DESC = new org.apache.thrift.protocol.TField("refundableAmount", org.apache.thrift.protocol.TType.I64, (short)3);
|
| 29 |
private static final org.apache.thrift.protocol.TField AMOUNT_FIELD_DESC = new org.apache.thrift.protocol.TField("amount", org.apache.thrift.protocol.TType.I64, (short)4);
|
29 |
private static final org.apache.thrift.protocol.TField AMOUNT_FIELD_DESC = new org.apache.thrift.protocol.TField("amount", org.apache.thrift.protocol.TType.I64, (short)4);
|
| 30 |
private static final org.apache.thrift.protocol.TField TIMESTAMP_FIELD_DESC = new org.apache.thrift.protocol.TField("timestamp", org.apache.thrift.protocol.TType.I64, (short)5);
|
30 |
private static final org.apache.thrift.protocol.TField TIMESTAMP_FIELD_DESC = new org.apache.thrift.protocol.TField("timestamp", org.apache.thrift.protocol.TType.I64, (short)5);
|
| 31 |
private static final org.apache.thrift.protocol.TField DESCRIPTION_FIELD_DESC = new org.apache.thrift.protocol.TField("description", org.apache.thrift.protocol.TType.STRING, (short)6);
|
31 |
private static final org.apache.thrift.protocol.TField DESCRIPTION_FIELD_DESC = new org.apache.thrift.protocol.TField("description", org.apache.thrift.protocol.TType.STRING, (short)6);
|
| 32 |
private static final org.apache.thrift.protocol.TField REFERENCE_NUMBER_FIELD_DESC = new org.apache.thrift.protocol.TField("referenceNumber", org.apache.thrift.protocol.TType.I64, (short)7);
|
32 |
private static final org.apache.thrift.protocol.TField REFERENCE_NUMBER_FIELD_DESC = new org.apache.thrift.protocol.TField("referenceNumber", org.apache.thrift.protocol.TType.I64, (short)7);
|
| 33 |
private static final org.apache.thrift.protocol.TField REFERENCE_TYPE_FIELD_DESC = new org.apache.thrift.protocol.TField("referenceType", org.apache.thrift.protocol.TType.I32, (short)8);
|
33 |
private static final org.apache.thrift.protocol.TField REFERENCE_TYPE_FIELD_DESC = new org.apache.thrift.protocol.TField("referenceType", org.apache.thrift.protocol.TType.I32, (short)8);
|
| 34 |
|
34 |
|
| 35 |
private long id; // required
|
35 |
private long id; // required
|
| 36 |
private long walletId; // required
|
36 |
private long walletId; // required
|
| 37 |
private long orderId; // required
|
37 |
private long refundableAmount; // required
|
| 38 |
private long amount; // required
|
38 |
private long amount; // required
|
| 39 |
private long timestamp; // required
|
39 |
private long timestamp; // required
|
| 40 |
private String description; // required
|
40 |
private String description; // required
|
| 41 |
private long referenceNumber; // required
|
41 |
private long referenceNumber; // required
|
| 42 |
private WalletReferenceType referenceType; // required
|
42 |
private WalletReferenceType referenceType; // required
|
| 43 |
|
43 |
|
| 44 |
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
|
44 |
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
|
| 45 |
public enum _Fields implements org.apache.thrift.TFieldIdEnum {
|
45 |
public enum _Fields implements org.apache.thrift.TFieldIdEnum {
|
| 46 |
ID((short)1, "id"),
|
46 |
ID((short)1, "id"),
|
| 47 |
WALLET_ID((short)2, "walletId"),
|
47 |
WALLET_ID((short)2, "walletId"),
|
| 48 |
ORDER_ID((short)3, "orderId"),
|
48 |
REFUNDABLE_AMOUNT((short)3, "refundableAmount"),
|
| 49 |
AMOUNT((short)4, "amount"),
|
49 |
AMOUNT((short)4, "amount"),
|
| 50 |
TIMESTAMP((short)5, "timestamp"),
|
50 |
TIMESTAMP((short)5, "timestamp"),
|
| 51 |
DESCRIPTION((short)6, "description"),
|
51 |
DESCRIPTION((short)6, "description"),
|
| 52 |
REFERENCE_NUMBER((short)7, "referenceNumber"),
|
52 |
REFERENCE_NUMBER((short)7, "referenceNumber"),
|
| 53 |
/**
|
53 |
/**
|
| Line 71... |
Line 71... |
| 71 |
switch(fieldId) {
|
71 |
switch(fieldId) {
|
| 72 |
case 1: // ID
|
72 |
case 1: // ID
|
| 73 |
return ID;
|
73 |
return ID;
|
| 74 |
case 2: // WALLET_ID
|
74 |
case 2: // WALLET_ID
|
| 75 |
return WALLET_ID;
|
75 |
return WALLET_ID;
|
| 76 |
case 3: // ORDER_ID
|
76 |
case 3: // REFUNDABLE_AMOUNT
|
| 77 |
return ORDER_ID;
|
77 |
return REFUNDABLE_AMOUNT;
|
| 78 |
case 4: // AMOUNT
|
78 |
case 4: // AMOUNT
|
| 79 |
return AMOUNT;
|
79 |
return AMOUNT;
|
| 80 |
case 5: // TIMESTAMP
|
80 |
case 5: // TIMESTAMP
|
| 81 |
return TIMESTAMP;
|
81 |
return TIMESTAMP;
|
| 82 |
case 6: // DESCRIPTION
|
82 |
case 6: // DESCRIPTION
|
| Line 125... |
Line 125... |
| 125 |
}
|
125 |
}
|
| 126 |
|
126 |
|
| 127 |
// isset id assignments
|
127 |
// isset id assignments
|
| 128 |
private static final int __ID_ISSET_ID = 0;
|
128 |
private static final int __ID_ISSET_ID = 0;
|
| 129 |
private static final int __WALLETID_ISSET_ID = 1;
|
129 |
private static final int __WALLETID_ISSET_ID = 1;
|
| 130 |
private static final int __ORDERID_ISSET_ID = 2;
|
130 |
private static final int __REFUNDABLEAMOUNT_ISSET_ID = 2;
|
| 131 |
private static final int __AMOUNT_ISSET_ID = 3;
|
131 |
private static final int __AMOUNT_ISSET_ID = 3;
|
| 132 |
private static final int __TIMESTAMP_ISSET_ID = 4;
|
132 |
private static final int __TIMESTAMP_ISSET_ID = 4;
|
| 133 |
private static final int __REFERENCENUMBER_ISSET_ID = 5;
|
133 |
private static final int __REFERENCENUMBER_ISSET_ID = 5;
|
| 134 |
private BitSet __isset_bit_vector = new BitSet(6);
|
134 |
private BitSet __isset_bit_vector = new BitSet(6);
|
| 135 |
|
135 |
|
| Line 138... |
Line 138... |
| 138 |
Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
|
138 |
Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
|
| 139 |
tmpMap.put(_Fields.ID, new org.apache.thrift.meta_data.FieldMetaData("id", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
139 |
tmpMap.put(_Fields.ID, new org.apache.thrift.meta_data.FieldMetaData("id", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| 140 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
140 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
| 141 |
tmpMap.put(_Fields.WALLET_ID, new org.apache.thrift.meta_data.FieldMetaData("walletId", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
141 |
tmpMap.put(_Fields.WALLET_ID, new org.apache.thrift.meta_data.FieldMetaData("walletId", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| 142 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
142 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
| 143 |
tmpMap.put(_Fields.ORDER_ID, new org.apache.thrift.meta_data.FieldMetaData("orderId", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
143 |
tmpMap.put(_Fields.REFUNDABLE_AMOUNT, new org.apache.thrift.meta_data.FieldMetaData("refundableAmount", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| 144 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
144 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
| 145 |
tmpMap.put(_Fields.AMOUNT, new org.apache.thrift.meta_data.FieldMetaData("amount", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
145 |
tmpMap.put(_Fields.AMOUNT, new org.apache.thrift.meta_data.FieldMetaData("amount", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| 146 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
146 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
| 147 |
tmpMap.put(_Fields.TIMESTAMP, new org.apache.thrift.meta_data.FieldMetaData("timestamp", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
147 |
tmpMap.put(_Fields.TIMESTAMP, new org.apache.thrift.meta_data.FieldMetaData("timestamp", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| 148 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
148 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
| Line 160... |
Line 160... |
| 160 |
}
|
160 |
}
|
| 161 |
|
161 |
|
| 162 |
public UserWalletHistory(
|
162 |
public UserWalletHistory(
|
| 163 |
long id,
|
163 |
long id,
|
| 164 |
long walletId,
|
164 |
long walletId,
|
| 165 |
long orderId,
|
165 |
long refundableAmount,
|
| 166 |
long amount,
|
166 |
long amount,
|
| 167 |
long timestamp,
|
167 |
long timestamp,
|
| 168 |
String description,
|
168 |
String description,
|
| 169 |
long referenceNumber,
|
169 |
long referenceNumber,
|
| 170 |
WalletReferenceType referenceType)
|
170 |
WalletReferenceType referenceType)
|
| Line 172... |
Line 172... |
| 172 |
this();
|
172 |
this();
|
| 173 |
this.id = id;
|
173 |
this.id = id;
|
| 174 |
setIdIsSet(true);
|
174 |
setIdIsSet(true);
|
| 175 |
this.walletId = walletId;
|
175 |
this.walletId = walletId;
|
| 176 |
setWalletIdIsSet(true);
|
176 |
setWalletIdIsSet(true);
|
| 177 |
this.orderId = orderId;
|
177 |
this.refundableAmount = refundableAmount;
|
| 178 |
setOrderIdIsSet(true);
|
178 |
setRefundableAmountIsSet(true);
|
| 179 |
this.amount = amount;
|
179 |
this.amount = amount;
|
| 180 |
setAmountIsSet(true);
|
180 |
setAmountIsSet(true);
|
| 181 |
this.timestamp = timestamp;
|
181 |
this.timestamp = timestamp;
|
| 182 |
setTimestampIsSet(true);
|
182 |
setTimestampIsSet(true);
|
| 183 |
this.description = description;
|
183 |
this.description = description;
|
| Line 192... |
Line 192... |
| 192 |
public UserWalletHistory(UserWalletHistory other) {
|
192 |
public UserWalletHistory(UserWalletHistory other) {
|
| 193 |
__isset_bit_vector.clear();
|
193 |
__isset_bit_vector.clear();
|
| 194 |
__isset_bit_vector.or(other.__isset_bit_vector);
|
194 |
__isset_bit_vector.or(other.__isset_bit_vector);
|
| 195 |
this.id = other.id;
|
195 |
this.id = other.id;
|
| 196 |
this.walletId = other.walletId;
|
196 |
this.walletId = other.walletId;
|
| 197 |
this.orderId = other.orderId;
|
197 |
this.refundableAmount = other.refundableAmount;
|
| 198 |
this.amount = other.amount;
|
198 |
this.amount = other.amount;
|
| 199 |
this.timestamp = other.timestamp;
|
199 |
this.timestamp = other.timestamp;
|
| 200 |
if (other.isSetDescription()) {
|
200 |
if (other.isSetDescription()) {
|
| 201 |
this.description = other.description;
|
201 |
this.description = other.description;
|
| 202 |
}
|
202 |
}
|
| Line 214... |
Line 214... |
| 214 |
public void clear() {
|
214 |
public void clear() {
|
| 215 |
setIdIsSet(false);
|
215 |
setIdIsSet(false);
|
| 216 |
this.id = 0;
|
216 |
this.id = 0;
|
| 217 |
setWalletIdIsSet(false);
|
217 |
setWalletIdIsSet(false);
|
| 218 |
this.walletId = 0;
|
218 |
this.walletId = 0;
|
| 219 |
setOrderIdIsSet(false);
|
219 |
setRefundableAmountIsSet(false);
|
| 220 |
this.orderId = 0;
|
220 |
this.refundableAmount = 0;
|
| 221 |
setAmountIsSet(false);
|
221 |
setAmountIsSet(false);
|
| 222 |
this.amount = 0;
|
222 |
this.amount = 0;
|
| 223 |
setTimestampIsSet(false);
|
223 |
setTimestampIsSet(false);
|
| 224 |
this.timestamp = 0;
|
224 |
this.timestamp = 0;
|
| 225 |
this.description = null;
|
225 |
this.description = null;
|
| Line 270... |
Line 270... |
| 270 |
|
270 |
|
| 271 |
public void setWalletIdIsSet(boolean value) {
|
271 |
public void setWalletIdIsSet(boolean value) {
|
| 272 |
__isset_bit_vector.set(__WALLETID_ISSET_ID, value);
|
272 |
__isset_bit_vector.set(__WALLETID_ISSET_ID, value);
|
| 273 |
}
|
273 |
}
|
| 274 |
|
274 |
|
| 275 |
public long getOrderId() {
|
275 |
public long getRefundableAmount() {
|
| 276 |
return this.orderId;
|
276 |
return this.refundableAmount;
|
| 277 |
}
|
277 |
}
|
| 278 |
|
278 |
|
| 279 |
public void setOrderId(long orderId) {
|
279 |
public void setRefundableAmount(long refundableAmount) {
|
| 280 |
this.orderId = orderId;
|
280 |
this.refundableAmount = refundableAmount;
|
| 281 |
setOrderIdIsSet(true);
|
281 |
setRefundableAmountIsSet(true);
|
| 282 |
}
|
282 |
}
|
| 283 |
|
283 |
|
| 284 |
public void unsetOrderId() {
|
284 |
public void unsetRefundableAmount() {
|
| 285 |
__isset_bit_vector.clear(__ORDERID_ISSET_ID);
|
285 |
__isset_bit_vector.clear(__REFUNDABLEAMOUNT_ISSET_ID);
|
| 286 |
}
|
286 |
}
|
| 287 |
|
287 |
|
| 288 |
/** Returns true if field orderId is set (has been assigned a value) and false otherwise */
|
288 |
/** Returns true if field refundableAmount is set (has been assigned a value) and false otherwise */
|
| 289 |
public boolean isSetOrderId() {
|
289 |
public boolean isSetRefundableAmount() {
|
| 290 |
return __isset_bit_vector.get(__ORDERID_ISSET_ID);
|
290 |
return __isset_bit_vector.get(__REFUNDABLEAMOUNT_ISSET_ID);
|
| 291 |
}
|
291 |
}
|
| 292 |
|
292 |
|
| 293 |
public void setOrderIdIsSet(boolean value) {
|
293 |
public void setRefundableAmountIsSet(boolean value) {
|
| 294 |
__isset_bit_vector.set(__ORDERID_ISSET_ID, value);
|
294 |
__isset_bit_vector.set(__REFUNDABLEAMOUNT_ISSET_ID, value);
|
| 295 |
}
|
295 |
}
|
| 296 |
|
296 |
|
| 297 |
public long getAmount() {
|
297 |
public long getAmount() {
|
| 298 |
return this.amount;
|
298 |
return this.amount;
|
| 299 |
}
|
299 |
}
|
| Line 430... |
Line 430... |
| 430 |
} else {
|
430 |
} else {
|
| 431 |
setWalletId((Long)value);
|
431 |
setWalletId((Long)value);
|
| 432 |
}
|
432 |
}
|
| 433 |
break;
|
433 |
break;
|
| 434 |
|
434 |
|
| 435 |
case ORDER_ID:
|
435 |
case REFUNDABLE_AMOUNT:
|
| 436 |
if (value == null) {
|
436 |
if (value == null) {
|
| 437 |
unsetOrderId();
|
437 |
unsetRefundableAmount();
|
| 438 |
} else {
|
438 |
} else {
|
| 439 |
setOrderId((Long)value);
|
439 |
setRefundableAmount((Long)value);
|
| 440 |
}
|
440 |
}
|
| 441 |
break;
|
441 |
break;
|
| 442 |
|
442 |
|
| 443 |
case AMOUNT:
|
443 |
case AMOUNT:
|
| 444 |
if (value == null) {
|
444 |
if (value == null) {
|
| Line 489... |
Line 489... |
| 489 |
return Long.valueOf(getId());
|
489 |
return Long.valueOf(getId());
|
| 490 |
|
490 |
|
| 491 |
case WALLET_ID:
|
491 |
case WALLET_ID:
|
| 492 |
return Long.valueOf(getWalletId());
|
492 |
return Long.valueOf(getWalletId());
|
| 493 |
|
493 |
|
| 494 |
case ORDER_ID:
|
494 |
case REFUNDABLE_AMOUNT:
|
| 495 |
return Long.valueOf(getOrderId());
|
495 |
return Long.valueOf(getRefundableAmount());
|
| 496 |
|
496 |
|
| 497 |
case AMOUNT:
|
497 |
case AMOUNT:
|
| 498 |
return Long.valueOf(getAmount());
|
498 |
return Long.valueOf(getAmount());
|
| 499 |
|
499 |
|
| 500 |
case TIMESTAMP:
|
500 |
case TIMESTAMP:
|
| Line 522... |
Line 522... |
| 522 |
switch (field) {
|
522 |
switch (field) {
|
| 523 |
case ID:
|
523 |
case ID:
|
| 524 |
return isSetId();
|
524 |
return isSetId();
|
| 525 |
case WALLET_ID:
|
525 |
case WALLET_ID:
|
| 526 |
return isSetWalletId();
|
526 |
return isSetWalletId();
|
| 527 |
case ORDER_ID:
|
527 |
case REFUNDABLE_AMOUNT:
|
| 528 |
return isSetOrderId();
|
528 |
return isSetRefundableAmount();
|
| 529 |
case AMOUNT:
|
529 |
case AMOUNT:
|
| 530 |
return isSetAmount();
|
530 |
return isSetAmount();
|
| 531 |
case TIMESTAMP:
|
531 |
case TIMESTAMP:
|
| 532 |
return isSetTimestamp();
|
532 |
return isSetTimestamp();
|
| 533 |
case DESCRIPTION:
|
533 |
case DESCRIPTION:
|
| Line 569... |
Line 569... |
| 569 |
return false;
|
569 |
return false;
|
| 570 |
if (this.walletId != that.walletId)
|
570 |
if (this.walletId != that.walletId)
|
| 571 |
return false;
|
571 |
return false;
|
| 572 |
}
|
572 |
}
|
| 573 |
|
573 |
|
| 574 |
boolean this_present_orderId = true;
|
574 |
boolean this_present_refundableAmount = true;
|
| 575 |
boolean that_present_orderId = true;
|
575 |
boolean that_present_refundableAmount = true;
|
| 576 |
if (this_present_orderId || that_present_orderId) {
|
576 |
if (this_present_refundableAmount || that_present_refundableAmount) {
|
| 577 |
if (!(this_present_orderId && that_present_orderId))
|
577 |
if (!(this_present_refundableAmount && that_present_refundableAmount))
|
| 578 |
return false;
|
578 |
return false;
|
| 579 |
if (this.orderId != that.orderId)
|
579 |
if (this.refundableAmount != that.refundableAmount)
|
| 580 |
return false;
|
580 |
return false;
|
| 581 |
}
|
581 |
}
|
| 582 |
|
582 |
|
| 583 |
boolean this_present_amount = true;
|
583 |
boolean this_present_amount = true;
|
| 584 |
boolean that_present_amount = true;
|
584 |
boolean that_present_amount = true;
|
| Line 659... |
Line 659... |
| 659 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.walletId, typedOther.walletId);
|
659 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.walletId, typedOther.walletId);
|
| 660 |
if (lastComparison != 0) {
|
660 |
if (lastComparison != 0) {
|
| 661 |
return lastComparison;
|
661 |
return lastComparison;
|
| 662 |
}
|
662 |
}
|
| 663 |
}
|
663 |
}
|
| 664 |
lastComparison = Boolean.valueOf(isSetOrderId()).compareTo(typedOther.isSetOrderId());
|
664 |
lastComparison = Boolean.valueOf(isSetRefundableAmount()).compareTo(typedOther.isSetRefundableAmount());
|
| 665 |
if (lastComparison != 0) {
|
665 |
if (lastComparison != 0) {
|
| 666 |
return lastComparison;
|
666 |
return lastComparison;
|
| 667 |
}
|
667 |
}
|
| 668 |
if (isSetOrderId()) {
|
668 |
if (isSetRefundableAmount()) {
|
| 669 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.orderId, typedOther.orderId);
|
669 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.refundableAmount, typedOther.refundableAmount);
|
| 670 |
if (lastComparison != 0) {
|
670 |
if (lastComparison != 0) {
|
| 671 |
return lastComparison;
|
671 |
return lastComparison;
|
| 672 |
}
|
672 |
}
|
| 673 |
}
|
673 |
}
|
| 674 |
lastComparison = Boolean.valueOf(isSetAmount()).compareTo(typedOther.isSetAmount());
|
674 |
lastComparison = Boolean.valueOf(isSetAmount()).compareTo(typedOther.isSetAmount());
|
| Line 752... |
Line 752... |
| 752 |
setWalletIdIsSet(true);
|
752 |
setWalletIdIsSet(true);
|
| 753 |
} else {
|
753 |
} else {
|
| 754 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
754 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| 755 |
}
|
755 |
}
|
| 756 |
break;
|
756 |
break;
|
| 757 |
case 3: // ORDER_ID
|
757 |
case 3: // REFUNDABLE_AMOUNT
|
| 758 |
if (field.type == org.apache.thrift.protocol.TType.I64) {
|
758 |
if (field.type == org.apache.thrift.protocol.TType.I64) {
|
| 759 |
this.orderId = iprot.readI64();
|
759 |
this.refundableAmount = iprot.readI64();
|
| 760 |
setOrderIdIsSet(true);
|
760 |
setRefundableAmountIsSet(true);
|
| 761 |
} else {
|
761 |
} else {
|
| 762 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
762 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| 763 |
}
|
763 |
}
|
| 764 |
break;
|
764 |
break;
|
| 765 |
case 4: // AMOUNT
|
765 |
case 4: // AMOUNT
|
| Line 817... |
Line 817... |
| 817 |
oprot.writeI64(this.id);
|
817 |
oprot.writeI64(this.id);
|
| 818 |
oprot.writeFieldEnd();
|
818 |
oprot.writeFieldEnd();
|
| 819 |
oprot.writeFieldBegin(WALLET_ID_FIELD_DESC);
|
819 |
oprot.writeFieldBegin(WALLET_ID_FIELD_DESC);
|
| 820 |
oprot.writeI64(this.walletId);
|
820 |
oprot.writeI64(this.walletId);
|
| 821 |
oprot.writeFieldEnd();
|
821 |
oprot.writeFieldEnd();
|
| 822 |
oprot.writeFieldBegin(ORDER_ID_FIELD_DESC);
|
822 |
oprot.writeFieldBegin(REFUNDABLE_AMOUNT_FIELD_DESC);
|
| 823 |
oprot.writeI64(this.orderId);
|
823 |
oprot.writeI64(this.refundableAmount);
|
| 824 |
oprot.writeFieldEnd();
|
824 |
oprot.writeFieldEnd();
|
| 825 |
oprot.writeFieldBegin(AMOUNT_FIELD_DESC);
|
825 |
oprot.writeFieldBegin(AMOUNT_FIELD_DESC);
|
| 826 |
oprot.writeI64(this.amount);
|
826 |
oprot.writeI64(this.amount);
|
| 827 |
oprot.writeFieldEnd();
|
827 |
oprot.writeFieldEnd();
|
| 828 |
oprot.writeFieldBegin(TIMESTAMP_FIELD_DESC);
|
828 |
oprot.writeFieldBegin(TIMESTAMP_FIELD_DESC);
|
| Line 856... |
Line 856... |
| 856 |
if (!first) sb.append(", ");
|
856 |
if (!first) sb.append(", ");
|
| 857 |
sb.append("walletId:");
|
857 |
sb.append("walletId:");
|
| 858 |
sb.append(this.walletId);
|
858 |
sb.append(this.walletId);
|
| 859 |
first = false;
|
859 |
first = false;
|
| 860 |
if (!first) sb.append(", ");
|
860 |
if (!first) sb.append(", ");
|
| 861 |
sb.append("orderId:");
|
861 |
sb.append("refundableAmount:");
|
| 862 |
sb.append(this.orderId);
|
862 |
sb.append(this.refundableAmount);
|
| 863 |
first = false;
|
863 |
first = false;
|
| 864 |
if (!first) sb.append(", ");
|
864 |
if (!first) sb.append(", ");
|
| 865 |
sb.append("amount:");
|
865 |
sb.append("amount:");
|
| 866 |
sb.append(this.amount);
|
866 |
sb.append(this.amount);
|
| 867 |
first = false;
|
867 |
first = false;
|