| Line 102... |
Line 102... |
| 102 |
* @param gatewayTxnId
|
102 |
* @param gatewayTxnId
|
| 103 |
* @param authCode
|
103 |
* @param authCode
|
| 104 |
* @param referenceCode
|
104 |
* @param referenceCode
|
| 105 |
* @param errorCode
|
105 |
* @param errorCode
|
| 106 |
* @param status
|
106 |
* @param status
|
| - |
|
107 |
* @param gatewayTxnDate
|
| 107 |
* @param attributes
|
108 |
* @param attributes
|
| 108 |
*/
|
109 |
*/
|
| 109 |
public boolean updatePaymentDetails(long id, String gatewayPaymentId, String sessionId, String gatewayTxnStatus, String description, String gatewayTxnId, String authCode, String referenceCode, String errorCode, PaymentStatus status, List<Attribute> attributes) throws PaymentException, TException;
|
110 |
public boolean updatePaymentDetails(long id, String gatewayPaymentId, String sessionId, String gatewayTxnStatus, String description, String gatewayTxnId, String authCode, String referenceCode, String errorCode, PaymentStatus status, String gatewayTxnDate, List<Attribute> attributes) throws PaymentException, TException;
|
| 110 |
|
111 |
|
| 111 |
}
|
112 |
}
|
| 112 |
|
113 |
|
| 113 |
public static class Client implements Iface {
|
114 |
public static class Client implements Iface {
|
| 114 |
public Client(TProtocol prot)
|
115 |
public Client(TProtocol prot)
|
| Line 390... |
Line 391... |
| 390 |
throw result.pe;
|
391 |
throw result.pe;
|
| 391 |
}
|
392 |
}
|
| 392 |
throw new TApplicationException(TApplicationException.MISSING_RESULT, "getPaymentForTxnId failed: unknown result");
|
393 |
throw new TApplicationException(TApplicationException.MISSING_RESULT, "getPaymentForTxnId failed: unknown result");
|
| 393 |
}
|
394 |
}
|
| 394 |
|
395 |
|
| 395 |
public boolean updatePaymentDetails(long id, String gatewayPaymentId, String sessionId, String gatewayTxnStatus, String description, String gatewayTxnId, String authCode, String referenceCode, String errorCode, PaymentStatus status, List<Attribute> attributes) throws PaymentException, TException
|
396 |
public boolean updatePaymentDetails(long id, String gatewayPaymentId, String sessionId, String gatewayTxnStatus, String description, String gatewayTxnId, String authCode, String referenceCode, String errorCode, PaymentStatus status, String gatewayTxnDate, List<Attribute> attributes) throws PaymentException, TException
|
| 396 |
{
|
397 |
{
|
| 397 |
send_updatePaymentDetails(id, gatewayPaymentId, sessionId, gatewayTxnStatus, description, gatewayTxnId, authCode, referenceCode, errorCode, status, attributes);
|
398 |
send_updatePaymentDetails(id, gatewayPaymentId, sessionId, gatewayTxnStatus, description, gatewayTxnId, authCode, referenceCode, errorCode, status, gatewayTxnDate, attributes);
|
| 398 |
return recv_updatePaymentDetails();
|
399 |
return recv_updatePaymentDetails();
|
| 399 |
}
|
400 |
}
|
| 400 |
|
401 |
|
| 401 |
public void send_updatePaymentDetails(long id, String gatewayPaymentId, String sessionId, String gatewayTxnStatus, String description, String gatewayTxnId, String authCode, String referenceCode, String errorCode, PaymentStatus status, List<Attribute> attributes) throws TException
|
402 |
public void send_updatePaymentDetails(long id, String gatewayPaymentId, String sessionId, String gatewayTxnStatus, String description, String gatewayTxnId, String authCode, String referenceCode, String errorCode, PaymentStatus status, String gatewayTxnDate, List<Attribute> attributes) throws TException
|
| 402 |
{
|
403 |
{
|
| 403 |
oprot_.writeMessageBegin(new TMessage("updatePaymentDetails", TMessageType.CALL, seqid_));
|
404 |
oprot_.writeMessageBegin(new TMessage("updatePaymentDetails", TMessageType.CALL, seqid_));
|
| 404 |
updatePaymentDetails_args args = new updatePaymentDetails_args();
|
405 |
updatePaymentDetails_args args = new updatePaymentDetails_args();
|
| 405 |
args.id = id;
|
406 |
args.id = id;
|
| 406 |
args.gatewayPaymentId = gatewayPaymentId;
|
407 |
args.gatewayPaymentId = gatewayPaymentId;
|
| Line 410... |
Line 411... |
| 410 |
args.gatewayTxnId = gatewayTxnId;
|
411 |
args.gatewayTxnId = gatewayTxnId;
|
| 411 |
args.authCode = authCode;
|
412 |
args.authCode = authCode;
|
| 412 |
args.referenceCode = referenceCode;
|
413 |
args.referenceCode = referenceCode;
|
| 413 |
args.errorCode = errorCode;
|
414 |
args.errorCode = errorCode;
|
| 414 |
args.status = status;
|
415 |
args.status = status;
|
| - |
|
416 |
args.gatewayTxnDate = gatewayTxnDate;
|
| 415 |
args.attributes = attributes;
|
417 |
args.attributes = attributes;
|
| 416 |
args.write(oprot_);
|
418 |
args.write(oprot_);
|
| 417 |
oprot_.writeMessageEnd();
|
419 |
oprot_.writeMessageEnd();
|
| 418 |
oprot_.getTransport().flush();
|
420 |
oprot_.getTransport().flush();
|
| 419 |
}
|
421 |
}
|
| Line 670... |
Line 672... |
| 670 |
updatePaymentDetails_args args = new updatePaymentDetails_args();
|
672 |
updatePaymentDetails_args args = new updatePaymentDetails_args();
|
| 671 |
args.read(iprot);
|
673 |
args.read(iprot);
|
| 672 |
iprot.readMessageEnd();
|
674 |
iprot.readMessageEnd();
|
| 673 |
updatePaymentDetails_result result = new updatePaymentDetails_result();
|
675 |
updatePaymentDetails_result result = new updatePaymentDetails_result();
|
| 674 |
try {
|
676 |
try {
|
| 675 |
result.success = iface_.updatePaymentDetails(args.id, args.gatewayPaymentId, args.sessionId, args.gatewayTxnStatus, args.description, args.gatewayTxnId, args.authCode, args.referenceCode, args.errorCode, args.status, args.attributes);
|
677 |
result.success = iface_.updatePaymentDetails(args.id, args.gatewayPaymentId, args.sessionId, args.gatewayTxnStatus, args.description, args.gatewayTxnId, args.authCode, args.referenceCode, args.errorCode, args.status, args.gatewayTxnDate, args.attributes);
|
| 676 |
result.setSuccessIsSet(true);
|
678 |
result.setSuccessIsSet(true);
|
| 677 |
} catch (PaymentException pe) {
|
679 |
} catch (PaymentException pe) {
|
| 678 |
result.pe = pe;
|
680 |
result.pe = pe;
|
| 679 |
} catch (Throwable th) {
|
681 |
} catch (Throwable th) {
|
| 680 |
LOGGER.error("Internal error processing updatePaymentDetails", th);
|
682 |
LOGGER.error("Internal error processing updatePaymentDetails", th);
|
| Line 5886... |
Line 5888... |
| 5886 |
private static final TField GATEWAY_TXN_ID_FIELD_DESC = new TField("gatewayTxnId", TType.STRING, (short)6);
|
5888 |
private static final TField GATEWAY_TXN_ID_FIELD_DESC = new TField("gatewayTxnId", TType.STRING, (short)6);
|
| 5887 |
private static final TField AUTH_CODE_FIELD_DESC = new TField("authCode", TType.STRING, (short)7);
|
5889 |
private static final TField AUTH_CODE_FIELD_DESC = new TField("authCode", TType.STRING, (short)7);
|
| 5888 |
private static final TField REFERENCE_CODE_FIELD_DESC = new TField("referenceCode", TType.STRING, (short)8);
|
5890 |
private static final TField REFERENCE_CODE_FIELD_DESC = new TField("referenceCode", TType.STRING, (short)8);
|
| 5889 |
private static final TField ERROR_CODE_FIELD_DESC = new TField("errorCode", TType.STRING, (short)9);
|
5891 |
private static final TField ERROR_CODE_FIELD_DESC = new TField("errorCode", TType.STRING, (short)9);
|
| 5890 |
private static final TField STATUS_FIELD_DESC = new TField("status", TType.I32, (short)10);
|
5892 |
private static final TField STATUS_FIELD_DESC = new TField("status", TType.I32, (short)10);
|
| - |
|
5893 |
private static final TField GATEWAY_TXN_DATE_FIELD_DESC = new TField("gatewayTxnDate", TType.STRING, (short)11);
|
| 5891 |
private static final TField ATTRIBUTES_FIELD_DESC = new TField("attributes", TType.LIST, (short)11);
|
5894 |
private static final TField ATTRIBUTES_FIELD_DESC = new TField("attributes", TType.LIST, (short)12);
|
| 5892 |
|
5895 |
|
| 5893 |
private long id;
|
5896 |
private long id;
|
| 5894 |
private String gatewayPaymentId;
|
5897 |
private String gatewayPaymentId;
|
| 5895 |
private String sessionId;
|
5898 |
private String sessionId;
|
| 5896 |
private String gatewayTxnStatus;
|
5899 |
private String gatewayTxnStatus;
|
| Line 5898... |
Line 5901... |
| 5898 |
private String gatewayTxnId;
|
5901 |
private String gatewayTxnId;
|
| 5899 |
private String authCode;
|
5902 |
private String authCode;
|
| 5900 |
private String referenceCode;
|
5903 |
private String referenceCode;
|
| 5901 |
private String errorCode;
|
5904 |
private String errorCode;
|
| 5902 |
private PaymentStatus status;
|
5905 |
private PaymentStatus status;
|
| - |
|
5906 |
private String gatewayTxnDate;
|
| 5903 |
private List<Attribute> attributes;
|
5907 |
private List<Attribute> attributes;
|
| 5904 |
|
5908 |
|
| 5905 |
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
|
5909 |
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
|
| 5906 |
public enum _Fields implements TFieldIdEnum {
|
5910 |
public enum _Fields implements TFieldIdEnum {
|
| 5907 |
ID((short)1, "id"),
|
5911 |
ID((short)1, "id"),
|
| Line 5916... |
Line 5920... |
| 5916 |
/**
|
5920 |
/**
|
| 5917 |
*
|
5921 |
*
|
| 5918 |
* @see PaymentStatus
|
5922 |
* @see PaymentStatus
|
| 5919 |
*/
|
5923 |
*/
|
| 5920 |
STATUS((short)10, "status"),
|
5924 |
STATUS((short)10, "status"),
|
| - |
|
5925 |
GATEWAY_TXN_DATE((short)11, "gatewayTxnDate"),
|
| 5921 |
ATTRIBUTES((short)11, "attributes");
|
5926 |
ATTRIBUTES((short)12, "attributes");
|
| 5922 |
|
5927 |
|
| 5923 |
private static final Map<Integer, _Fields> byId = new HashMap<Integer, _Fields>();
|
5928 |
private static final Map<Integer, _Fields> byId = new HashMap<Integer, _Fields>();
|
| 5924 |
private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
|
5929 |
private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
|
| 5925 |
|
5930 |
|
| 5926 |
static {
|
5931 |
static {
|
| Line 5994... |
Line 5999... |
| 5994 |
new FieldValueMetaData(TType.STRING)));
|
5999 |
new FieldValueMetaData(TType.STRING)));
|
| 5995 |
put(_Fields.ERROR_CODE, new FieldMetaData("errorCode", TFieldRequirementType.DEFAULT,
|
6000 |
put(_Fields.ERROR_CODE, new FieldMetaData("errorCode", TFieldRequirementType.DEFAULT,
|
| 5996 |
new FieldValueMetaData(TType.STRING)));
|
6001 |
new FieldValueMetaData(TType.STRING)));
|
| 5997 |
put(_Fields.STATUS, new FieldMetaData("status", TFieldRequirementType.DEFAULT,
|
6002 |
put(_Fields.STATUS, new FieldMetaData("status", TFieldRequirementType.DEFAULT,
|
| 5998 |
new EnumMetaData(TType.ENUM, PaymentStatus.class)));
|
6003 |
new EnumMetaData(TType.ENUM, PaymentStatus.class)));
|
| - |
|
6004 |
put(_Fields.GATEWAY_TXN_DATE, new FieldMetaData("gatewayTxnDate", TFieldRequirementType.DEFAULT,
|
| - |
|
6005 |
new FieldValueMetaData(TType.STRING)));
|
| 5999 |
put(_Fields.ATTRIBUTES, new FieldMetaData("attributes", TFieldRequirementType.DEFAULT,
|
6006 |
put(_Fields.ATTRIBUTES, new FieldMetaData("attributes", TFieldRequirementType.DEFAULT,
|
| 6000 |
new ListMetaData(TType.LIST,
|
6007 |
new ListMetaData(TType.LIST,
|
| 6001 |
new StructMetaData(TType.STRUCT, Attribute.class))));
|
6008 |
new StructMetaData(TType.STRUCT, Attribute.class))));
|
| 6002 |
}});
|
6009 |
}});
|
| 6003 |
|
6010 |
|
| Line 6017... |
Line 6024... |
| 6017 |
String gatewayTxnId,
|
6024 |
String gatewayTxnId,
|
| 6018 |
String authCode,
|
6025 |
String authCode,
|
| 6019 |
String referenceCode,
|
6026 |
String referenceCode,
|
| 6020 |
String errorCode,
|
6027 |
String errorCode,
|
| 6021 |
PaymentStatus status,
|
6028 |
PaymentStatus status,
|
| - |
|
6029 |
String gatewayTxnDate,
|
| 6022 |
List<Attribute> attributes)
|
6030 |
List<Attribute> attributes)
|
| 6023 |
{
|
6031 |
{
|
| 6024 |
this();
|
6032 |
this();
|
| 6025 |
this.id = id;
|
6033 |
this.id = id;
|
| 6026 |
setIdIsSet(true);
|
6034 |
setIdIsSet(true);
|
| Line 6031... |
Line 6039... |
| 6031 |
this.gatewayTxnId = gatewayTxnId;
|
6039 |
this.gatewayTxnId = gatewayTxnId;
|
| 6032 |
this.authCode = authCode;
|
6040 |
this.authCode = authCode;
|
| 6033 |
this.referenceCode = referenceCode;
|
6041 |
this.referenceCode = referenceCode;
|
| 6034 |
this.errorCode = errorCode;
|
6042 |
this.errorCode = errorCode;
|
| 6035 |
this.status = status;
|
6043 |
this.status = status;
|
| - |
|
6044 |
this.gatewayTxnDate = gatewayTxnDate;
|
| 6036 |
this.attributes = attributes;
|
6045 |
this.attributes = attributes;
|
| 6037 |
}
|
6046 |
}
|
| 6038 |
|
6047 |
|
| 6039 |
/**
|
6048 |
/**
|
| 6040 |
* Performs a deep copy on <i>other</i>.
|
6049 |
* Performs a deep copy on <i>other</i>.
|
| Line 6068... |
Line 6077... |
| 6068 |
this.errorCode = other.errorCode;
|
6077 |
this.errorCode = other.errorCode;
|
| 6069 |
}
|
6078 |
}
|
| 6070 |
if (other.isSetStatus()) {
|
6079 |
if (other.isSetStatus()) {
|
| 6071 |
this.status = other.status;
|
6080 |
this.status = other.status;
|
| 6072 |
}
|
6081 |
}
|
| - |
|
6082 |
if (other.isSetGatewayTxnDate()) {
|
| - |
|
6083 |
this.gatewayTxnDate = other.gatewayTxnDate;
|
| - |
|
6084 |
}
|
| 6073 |
if (other.isSetAttributes()) {
|
6085 |
if (other.isSetAttributes()) {
|
| 6074 |
List<Attribute> __this__attributes = new ArrayList<Attribute>();
|
6086 |
List<Attribute> __this__attributes = new ArrayList<Attribute>();
|
| 6075 |
for (Attribute other_element : other.attributes) {
|
6087 |
for (Attribute other_element : other.attributes) {
|
| 6076 |
__this__attributes.add(new Attribute(other_element));
|
6088 |
__this__attributes.add(new Attribute(other_element));
|
| 6077 |
}
|
6089 |
}
|
| Line 6333... |
Line 6345... |
| 6333 |
if (!value) {
|
6345 |
if (!value) {
|
| 6334 |
this.status = null;
|
6346 |
this.status = null;
|
| 6335 |
}
|
6347 |
}
|
| 6336 |
}
|
6348 |
}
|
| 6337 |
|
6349 |
|
| - |
|
6350 |
public String getGatewayTxnDate() {
|
| - |
|
6351 |
return this.gatewayTxnDate;
|
| - |
|
6352 |
}
|
| - |
|
6353 |
|
| - |
|
6354 |
public updatePaymentDetails_args setGatewayTxnDate(String gatewayTxnDate) {
|
| - |
|
6355 |
this.gatewayTxnDate = gatewayTxnDate;
|
| - |
|
6356 |
return this;
|
| - |
|
6357 |
}
|
| - |
|
6358 |
|
| - |
|
6359 |
public void unsetGatewayTxnDate() {
|
| - |
|
6360 |
this.gatewayTxnDate = null;
|
| - |
|
6361 |
}
|
| - |
|
6362 |
|
| - |
|
6363 |
/** Returns true if field gatewayTxnDate is set (has been asigned a value) and false otherwise */
|
| - |
|
6364 |
public boolean isSetGatewayTxnDate() {
|
| - |
|
6365 |
return this.gatewayTxnDate != null;
|
| - |
|
6366 |
}
|
| - |
|
6367 |
|
| - |
|
6368 |
public void setGatewayTxnDateIsSet(boolean value) {
|
| - |
|
6369 |
if (!value) {
|
| - |
|
6370 |
this.gatewayTxnDate = null;
|
| - |
|
6371 |
}
|
| - |
|
6372 |
}
|
| - |
|
6373 |
|
| 6338 |
public int getAttributesSize() {
|
6374 |
public int getAttributesSize() {
|
| 6339 |
return (this.attributes == null) ? 0 : this.attributes.size();
|
6375 |
return (this.attributes == null) ? 0 : this.attributes.size();
|
| 6340 |
}
|
6376 |
}
|
| 6341 |
|
6377 |
|
| 6342 |
public java.util.Iterator<Attribute> getAttributesIterator() {
|
6378 |
public java.util.Iterator<Attribute> getAttributesIterator() {
|
| Line 6454... |
Line 6490... |
| 6454 |
} else {
|
6490 |
} else {
|
| 6455 |
setStatus((PaymentStatus)value);
|
6491 |
setStatus((PaymentStatus)value);
|
| 6456 |
}
|
6492 |
}
|
| 6457 |
break;
|
6493 |
break;
|
| 6458 |
|
6494 |
|
| - |
|
6495 |
case GATEWAY_TXN_DATE:
|
| - |
|
6496 |
if (value == null) {
|
| - |
|
6497 |
unsetGatewayTxnDate();
|
| - |
|
6498 |
} else {
|
| - |
|
6499 |
setGatewayTxnDate((String)value);
|
| - |
|
6500 |
}
|
| - |
|
6501 |
break;
|
| - |
|
6502 |
|
| 6459 |
case ATTRIBUTES:
|
6503 |
case ATTRIBUTES:
|
| 6460 |
if (value == null) {
|
6504 |
if (value == null) {
|
| 6461 |
unsetAttributes();
|
6505 |
unsetAttributes();
|
| 6462 |
} else {
|
6506 |
} else {
|
| 6463 |
setAttributes((List<Attribute>)value);
|
6507 |
setAttributes((List<Attribute>)value);
|
| Line 6501... |
Line 6545... |
| 6501 |
return getErrorCode();
|
6545 |
return getErrorCode();
|
| 6502 |
|
6546 |
|
| 6503 |
case STATUS:
|
6547 |
case STATUS:
|
| 6504 |
return getStatus();
|
6548 |
return getStatus();
|
| 6505 |
|
6549 |
|
| - |
|
6550 |
case GATEWAY_TXN_DATE:
|
| - |
|
6551 |
return getGatewayTxnDate();
|
| - |
|
6552 |
|
| 6506 |
case ATTRIBUTES:
|
6553 |
case ATTRIBUTES:
|
| 6507 |
return getAttributes();
|
6554 |
return getAttributes();
|
| 6508 |
|
6555 |
|
| 6509 |
}
|
6556 |
}
|
| 6510 |
throw new IllegalStateException();
|
6557 |
throw new IllegalStateException();
|
| Line 6535... |
Line 6582... |
| 6535 |
return isSetReferenceCode();
|
6582 |
return isSetReferenceCode();
|
| 6536 |
case ERROR_CODE:
|
6583 |
case ERROR_CODE:
|
| 6537 |
return isSetErrorCode();
|
6584 |
return isSetErrorCode();
|
| 6538 |
case STATUS:
|
6585 |
case STATUS:
|
| 6539 |
return isSetStatus();
|
6586 |
return isSetStatus();
|
| - |
|
6587 |
case GATEWAY_TXN_DATE:
|
| - |
|
6588 |
return isSetGatewayTxnDate();
|
| 6540 |
case ATTRIBUTES:
|
6589 |
case ATTRIBUTES:
|
| 6541 |
return isSetAttributes();
|
6590 |
return isSetAttributes();
|
| 6542 |
}
|
6591 |
}
|
| 6543 |
throw new IllegalStateException();
|
6592 |
throw new IllegalStateException();
|
| 6544 |
}
|
6593 |
}
|
| Line 6648... |
Line 6697... |
| 6648 |
return false;
|
6697 |
return false;
|
| 6649 |
if (!this.status.equals(that.status))
|
6698 |
if (!this.status.equals(that.status))
|
| 6650 |
return false;
|
6699 |
return false;
|
| 6651 |
}
|
6700 |
}
|
| 6652 |
|
6701 |
|
| - |
|
6702 |
boolean this_present_gatewayTxnDate = true && this.isSetGatewayTxnDate();
|
| - |
|
6703 |
boolean that_present_gatewayTxnDate = true && that.isSetGatewayTxnDate();
|
| - |
|
6704 |
if (this_present_gatewayTxnDate || that_present_gatewayTxnDate) {
|
| - |
|
6705 |
if (!(this_present_gatewayTxnDate && that_present_gatewayTxnDate))
|
| - |
|
6706 |
return false;
|
| - |
|
6707 |
if (!this.gatewayTxnDate.equals(that.gatewayTxnDate))
|
| - |
|
6708 |
return false;
|
| - |
|
6709 |
}
|
| - |
|
6710 |
|
| 6653 |
boolean this_present_attributes = true && this.isSetAttributes();
|
6711 |
boolean this_present_attributes = true && this.isSetAttributes();
|
| 6654 |
boolean that_present_attributes = true && that.isSetAttributes();
|
6712 |
boolean that_present_attributes = true && that.isSetAttributes();
|
| 6655 |
if (this_present_attributes || that_present_attributes) {
|
6713 |
if (this_present_attributes || that_present_attributes) {
|
| 6656 |
if (!(this_present_attributes && that_present_attributes))
|
6714 |
if (!(this_present_attributes && that_present_attributes))
|
| 6657 |
return false;
|
6715 |
return false;
|
| Line 6753... |
Line 6811... |
| 6753 |
}
|
6811 |
}
|
| 6754 |
lastComparison = TBaseHelper.compareTo(status, typedOther.status);
|
6812 |
lastComparison = TBaseHelper.compareTo(status, typedOther.status);
|
| 6755 |
if (lastComparison != 0) {
|
6813 |
if (lastComparison != 0) {
|
| 6756 |
return lastComparison;
|
6814 |
return lastComparison;
|
| 6757 |
}
|
6815 |
}
|
| - |
|
6816 |
lastComparison = Boolean.valueOf(isSetGatewayTxnDate()).compareTo(isSetGatewayTxnDate());
|
| - |
|
6817 |
if (lastComparison != 0) {
|
| - |
|
6818 |
return lastComparison;
|
| - |
|
6819 |
}
|
| - |
|
6820 |
lastComparison = TBaseHelper.compareTo(gatewayTxnDate, typedOther.gatewayTxnDate);
|
| - |
|
6821 |
if (lastComparison != 0) {
|
| - |
|
6822 |
return lastComparison;
|
| - |
|
6823 |
}
|
| 6758 |
lastComparison = Boolean.valueOf(isSetAttributes()).compareTo(isSetAttributes());
|
6824 |
lastComparison = Boolean.valueOf(isSetAttributes()).compareTo(isSetAttributes());
|
| 6759 |
if (lastComparison != 0) {
|
6825 |
if (lastComparison != 0) {
|
| 6760 |
return lastComparison;
|
6826 |
return lastComparison;
|
| 6761 |
}
|
6827 |
}
|
| 6762 |
lastComparison = TBaseHelper.compareTo(attributes, typedOther.attributes);
|
6828 |
lastComparison = TBaseHelper.compareTo(attributes, typedOther.attributes);
|
| Line 6849... |
Line 6915... |
| 6849 |
this.status = PaymentStatus.findByValue(iprot.readI32());
|
6915 |
this.status = PaymentStatus.findByValue(iprot.readI32());
|
| 6850 |
} else {
|
6916 |
} else {
|
| 6851 |
TProtocolUtil.skip(iprot, field.type);
|
6917 |
TProtocolUtil.skip(iprot, field.type);
|
| 6852 |
}
|
6918 |
}
|
| 6853 |
break;
|
6919 |
break;
|
| - |
|
6920 |
case GATEWAY_TXN_DATE:
|
| - |
|
6921 |
if (field.type == TType.STRING) {
|
| - |
|
6922 |
this.gatewayTxnDate = iprot.readString();
|
| - |
|
6923 |
} else {
|
| - |
|
6924 |
TProtocolUtil.skip(iprot, field.type);
|
| - |
|
6925 |
}
|
| - |
|
6926 |
break;
|
| 6854 |
case ATTRIBUTES:
|
6927 |
case ATTRIBUTES:
|
| 6855 |
if (field.type == TType.LIST) {
|
6928 |
if (field.type == TType.LIST) {
|
| 6856 |
{
|
6929 |
{
|
| 6857 |
TList _list20 = iprot.readListBegin();
|
6930 |
TList _list20 = iprot.readListBegin();
|
| 6858 |
this.attributes = new ArrayList<Attribute>(_list20.size);
|
6931 |
this.attributes = new ArrayList<Attribute>(_list20.size);
|
| Line 6927... |
Line 7000... |
| 6927 |
if (this.status != null) {
|
7000 |
if (this.status != null) {
|
| 6928 |
oprot.writeFieldBegin(STATUS_FIELD_DESC);
|
7001 |
oprot.writeFieldBegin(STATUS_FIELD_DESC);
|
| 6929 |
oprot.writeI32(this.status.getValue());
|
7002 |
oprot.writeI32(this.status.getValue());
|
| 6930 |
oprot.writeFieldEnd();
|
7003 |
oprot.writeFieldEnd();
|
| 6931 |
}
|
7004 |
}
|
| - |
|
7005 |
if (this.gatewayTxnDate != null) {
|
| - |
|
7006 |
oprot.writeFieldBegin(GATEWAY_TXN_DATE_FIELD_DESC);
|
| - |
|
7007 |
oprot.writeString(this.gatewayTxnDate);
|
| - |
|
7008 |
oprot.writeFieldEnd();
|
| - |
|
7009 |
}
|
| 6932 |
if (this.attributes != null) {
|
7010 |
if (this.attributes != null) {
|
| 6933 |
oprot.writeFieldBegin(ATTRIBUTES_FIELD_DESC);
|
7011 |
oprot.writeFieldBegin(ATTRIBUTES_FIELD_DESC);
|
| 6934 |
{
|
7012 |
{
|
| 6935 |
oprot.writeListBegin(new TList(TType.STRUCT, this.attributes.size()));
|
7013 |
oprot.writeListBegin(new TList(TType.STRUCT, this.attributes.size()));
|
| 6936 |
for (Attribute _iter23 : this.attributes)
|
7014 |
for (Attribute _iter23 : this.attributes)
|
| Line 7032... |
Line 7110... |
| 7032 |
sb.append(")");
|
7110 |
sb.append(")");
|
| 7033 |
}
|
7111 |
}
|
| 7034 |
}
|
7112 |
}
|
| 7035 |
first = false;
|
7113 |
first = false;
|
| 7036 |
if (!first) sb.append(", ");
|
7114 |
if (!first) sb.append(", ");
|
| - |
|
7115 |
sb.append("gatewayTxnDate:");
|
| - |
|
7116 |
if (this.gatewayTxnDate == null) {
|
| - |
|
7117 |
sb.append("null");
|
| - |
|
7118 |
} else {
|
| - |
|
7119 |
sb.append(this.gatewayTxnDate);
|
| - |
|
7120 |
}
|
| - |
|
7121 |
first = false;
|
| - |
|
7122 |
if (!first) sb.append(", ");
|
| 7037 |
sb.append("attributes:");
|
7123 |
sb.append("attributes:");
|
| 7038 |
if (this.attributes == null) {
|
7124 |
if (this.attributes == null) {
|
| 7039 |
sb.append("null");
|
7125 |
sb.append("null");
|
| 7040 |
} else {
|
7126 |
} else {
|
| 7041 |
sb.append(this.attributes);
|
7127 |
sb.append(this.attributes);
|