| Line 229... |
Line 229... |
| 229 |
* @param paymentId
|
229 |
* @param paymentId
|
| 230 |
* @param category
|
230 |
* @param category
|
| 231 |
*/
|
231 |
*/
|
| 232 |
public void markPaymentAsProcessed(long paymentId, ExtraPaymentProcessingType category) throws org.apache.thrift.TException;
|
232 |
public void markPaymentAsProcessed(long paymentId, ExtraPaymentProcessingType category) throws org.apache.thrift.TException;
|
| 233 |
|
233 |
|
| 234 |
public boolean validatePaymentAtGateway(long merchantTxnId, double amount, boolean isDigital) throws PaymentException, org.apache.thrift.TException;
|
234 |
public PaymentStatus getPaymentStatusAtGateway(long merchantTxnId, double amount, boolean isDigital) throws PaymentException, org.apache.thrift.TException;
|
| 235 |
|
235 |
|
| 236 |
}
|
236 |
}
|
| 237 |
|
237 |
|
| 238 |
public interface AsyncIface extends in.shop2020.generic.GenericService .AsyncIface {
|
238 |
public interface AsyncIface extends in.shop2020.generic.GenericService .AsyncIface {
|
| 239 |
|
239 |
|
| Line 277... |
Line 277... |
| 277 |
|
277 |
|
| 278 |
public void getPaymentsRequiringExtraProcessing(ExtraPaymentProcessingType category, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getPaymentsRequiringExtraProcessing_call> resultHandler) throws org.apache.thrift.TException;
|
278 |
public void getPaymentsRequiringExtraProcessing(ExtraPaymentProcessingType category, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getPaymentsRequiringExtraProcessing_call> resultHandler) throws org.apache.thrift.TException;
|
| 279 |
|
279 |
|
| 280 |
public void markPaymentAsProcessed(long paymentId, ExtraPaymentProcessingType category, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.markPaymentAsProcessed_call> resultHandler) throws org.apache.thrift.TException;
|
280 |
public void markPaymentAsProcessed(long paymentId, ExtraPaymentProcessingType category, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.markPaymentAsProcessed_call> resultHandler) throws org.apache.thrift.TException;
|
| 281 |
|
281 |
|
| 282 |
public void validatePaymentAtGateway(long merchantTxnId, double amount, boolean isDigital, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.validatePaymentAtGateway_call> resultHandler) throws org.apache.thrift.TException;
|
282 |
public void getPaymentStatusAtGateway(long merchantTxnId, double amount, boolean isDigital, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getPaymentStatusAtGateway_call> resultHandler) throws org.apache.thrift.TException;
|
| 283 |
|
283 |
|
| 284 |
}
|
284 |
}
|
| 285 |
|
285 |
|
| 286 |
public static class Client extends in.shop2020.generic.GenericService.Client implements Iface {
|
286 |
public static class Client extends in.shop2020.generic.GenericService.Client implements Iface {
|
| 287 |
public static class Factory implements org.apache.thrift.TServiceClientFactory<Client> {
|
287 |
public static class Factory implements org.apache.thrift.TServiceClientFactory<Client> {
|
| Line 869... |
Line 869... |
| 869 |
markPaymentAsProcessed_result result = new markPaymentAsProcessed_result();
|
869 |
markPaymentAsProcessed_result result = new markPaymentAsProcessed_result();
|
| 870 |
receiveBase(result, "markPaymentAsProcessed");
|
870 |
receiveBase(result, "markPaymentAsProcessed");
|
| 871 |
return;
|
871 |
return;
|
| 872 |
}
|
872 |
}
|
| 873 |
|
873 |
|
| 874 |
public boolean validatePaymentAtGateway(long merchantTxnId, double amount, boolean isDigital) throws PaymentException, org.apache.thrift.TException
|
874 |
public PaymentStatus getPaymentStatusAtGateway(long merchantTxnId, double amount, boolean isDigital) throws PaymentException, org.apache.thrift.TException
|
| 875 |
{
|
875 |
{
|
| 876 |
send_validatePaymentAtGateway(merchantTxnId, amount, isDigital);
|
876 |
send_getPaymentStatusAtGateway(merchantTxnId, amount, isDigital);
|
| 877 |
return recv_validatePaymentAtGateway();
|
877 |
return recv_getPaymentStatusAtGateway();
|
| 878 |
}
|
878 |
}
|
| 879 |
|
879 |
|
| 880 |
public void send_validatePaymentAtGateway(long merchantTxnId, double amount, boolean isDigital) throws org.apache.thrift.TException
|
880 |
public void send_getPaymentStatusAtGateway(long merchantTxnId, double amount, boolean isDigital) throws org.apache.thrift.TException
|
| 881 |
{
|
881 |
{
|
| 882 |
validatePaymentAtGateway_args args = new validatePaymentAtGateway_args();
|
882 |
getPaymentStatusAtGateway_args args = new getPaymentStatusAtGateway_args();
|
| 883 |
args.setMerchantTxnId(merchantTxnId);
|
883 |
args.setMerchantTxnId(merchantTxnId);
|
| 884 |
args.setAmount(amount);
|
884 |
args.setAmount(amount);
|
| 885 |
args.setIsDigital(isDigital);
|
885 |
args.setIsDigital(isDigital);
|
| 886 |
sendBase("validatePaymentAtGateway", args);
|
886 |
sendBase("getPaymentStatusAtGateway", args);
|
| 887 |
}
|
887 |
}
|
| 888 |
|
888 |
|
| 889 |
public boolean recv_validatePaymentAtGateway() throws PaymentException, org.apache.thrift.TException
|
889 |
public PaymentStatus recv_getPaymentStatusAtGateway() throws PaymentException, org.apache.thrift.TException
|
| 890 |
{
|
890 |
{
|
| 891 |
validatePaymentAtGateway_result result = new validatePaymentAtGateway_result();
|
891 |
getPaymentStatusAtGateway_result result = new getPaymentStatusAtGateway_result();
|
| 892 |
receiveBase(result, "validatePaymentAtGateway");
|
892 |
receiveBase(result, "getPaymentStatusAtGateway");
|
| 893 |
if (result.isSetSuccess()) {
|
893 |
if (result.isSetSuccess()) {
|
| 894 |
return result.success;
|
894 |
return result.success;
|
| 895 |
}
|
895 |
}
|
| 896 |
if (result.pe != null) {
|
896 |
if (result.pe != null) {
|
| 897 |
throw result.pe;
|
897 |
throw result.pe;
|
| 898 |
}
|
898 |
}
|
| 899 |
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "validatePaymentAtGateway failed: unknown result");
|
899 |
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getPaymentStatusAtGateway failed: unknown result");
|
| 900 |
}
|
900 |
}
|
| 901 |
|
901 |
|
| 902 |
}
|
902 |
}
|
| 903 |
public static class AsyncClient extends in.shop2020.generic.GenericService.AsyncClient implements AsyncIface {
|
903 |
public static class AsyncClient extends in.shop2020.generic.GenericService.AsyncClient implements AsyncIface {
|
| 904 |
public static class Factory implements org.apache.thrift.async.TAsyncClientFactory<AsyncClient> {
|
904 |
public static class Factory implements org.apache.thrift.async.TAsyncClientFactory<AsyncClient> {
|
| Line 1689... |
Line 1689... |
| 1689 |
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
|
1689 |
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
|
| 1690 |
(new Client(prot)).recv_markPaymentAsProcessed();
|
1690 |
(new Client(prot)).recv_markPaymentAsProcessed();
|
| 1691 |
}
|
1691 |
}
|
| 1692 |
}
|
1692 |
}
|
| 1693 |
|
1693 |
|
| 1694 |
public void validatePaymentAtGateway(long merchantTxnId, double amount, boolean isDigital, org.apache.thrift.async.AsyncMethodCallback<validatePaymentAtGateway_call> resultHandler) throws org.apache.thrift.TException {
|
1694 |
public void getPaymentStatusAtGateway(long merchantTxnId, double amount, boolean isDigital, org.apache.thrift.async.AsyncMethodCallback<getPaymentStatusAtGateway_call> resultHandler) throws org.apache.thrift.TException {
|
| 1695 |
checkReady();
|
1695 |
checkReady();
|
| 1696 |
validatePaymentAtGateway_call method_call = new validatePaymentAtGateway_call(merchantTxnId, amount, isDigital, resultHandler, this, ___protocolFactory, ___transport);
|
1696 |
getPaymentStatusAtGateway_call method_call = new getPaymentStatusAtGateway_call(merchantTxnId, amount, isDigital, resultHandler, this, ___protocolFactory, ___transport);
|
| 1697 |
this.___currentMethod = method_call;
|
1697 |
this.___currentMethod = method_call;
|
| 1698 |
___manager.call(method_call);
|
1698 |
___manager.call(method_call);
|
| 1699 |
}
|
1699 |
}
|
| 1700 |
|
1700 |
|
| 1701 |
public static class validatePaymentAtGateway_call extends org.apache.thrift.async.TAsyncMethodCall {
|
1701 |
public static class getPaymentStatusAtGateway_call extends org.apache.thrift.async.TAsyncMethodCall {
|
| 1702 |
private long merchantTxnId;
|
1702 |
private long merchantTxnId;
|
| 1703 |
private double amount;
|
1703 |
private double amount;
|
| 1704 |
private boolean isDigital;
|
1704 |
private boolean isDigital;
|
| 1705 |
public validatePaymentAtGateway_call(long merchantTxnId, double amount, boolean isDigital, org.apache.thrift.async.AsyncMethodCallback<validatePaymentAtGateway_call> resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
|
1705 |
public getPaymentStatusAtGateway_call(long merchantTxnId, double amount, boolean isDigital, org.apache.thrift.async.AsyncMethodCallback<getPaymentStatusAtGateway_call> resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
|
| 1706 |
super(client, protocolFactory, transport, resultHandler, false);
|
1706 |
super(client, protocolFactory, transport, resultHandler, false);
|
| 1707 |
this.merchantTxnId = merchantTxnId;
|
1707 |
this.merchantTxnId = merchantTxnId;
|
| 1708 |
this.amount = amount;
|
1708 |
this.amount = amount;
|
| 1709 |
this.isDigital = isDigital;
|
1709 |
this.isDigital = isDigital;
|
| 1710 |
}
|
1710 |
}
|
| 1711 |
|
1711 |
|
| 1712 |
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
|
1712 |
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
|
| 1713 |
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("validatePaymentAtGateway", org.apache.thrift.protocol.TMessageType.CALL, 0));
|
1713 |
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getPaymentStatusAtGateway", org.apache.thrift.protocol.TMessageType.CALL, 0));
|
| 1714 |
validatePaymentAtGateway_args args = new validatePaymentAtGateway_args();
|
1714 |
getPaymentStatusAtGateway_args args = new getPaymentStatusAtGateway_args();
|
| 1715 |
args.setMerchantTxnId(merchantTxnId);
|
1715 |
args.setMerchantTxnId(merchantTxnId);
|
| 1716 |
args.setAmount(amount);
|
1716 |
args.setAmount(amount);
|
| 1717 |
args.setIsDigital(isDigital);
|
1717 |
args.setIsDigital(isDigital);
|
| 1718 |
args.write(prot);
|
1718 |
args.write(prot);
|
| 1719 |
prot.writeMessageEnd();
|
1719 |
prot.writeMessageEnd();
|
| 1720 |
}
|
1720 |
}
|
| 1721 |
|
1721 |
|
| 1722 |
public boolean getResult() throws PaymentException, org.apache.thrift.TException {
|
1722 |
public PaymentStatus getResult() throws PaymentException, org.apache.thrift.TException {
|
| 1723 |
if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
|
1723 |
if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
|
| 1724 |
throw new IllegalStateException("Method call not finished!");
|
1724 |
throw new IllegalStateException("Method call not finished!");
|
| 1725 |
}
|
1725 |
}
|
| 1726 |
org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
|
1726 |
org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
|
| 1727 |
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
|
1727 |
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
|
| 1728 |
return (new Client(prot)).recv_validatePaymentAtGateway();
|
1728 |
return (new Client(prot)).recv_getPaymentStatusAtGateway();
|
| 1729 |
}
|
1729 |
}
|
| 1730 |
}
|
1730 |
}
|
| 1731 |
|
1731 |
|
| 1732 |
}
|
1732 |
}
|
| 1733 |
|
1733 |
|
| Line 1761... |
Line 1761... |
| 1761 |
processMap.put("capturePayment", new capturePayment());
|
1761 |
processMap.put("capturePayment", new capturePayment());
|
| 1762 |
processMap.put("refundPayment", new refundPayment());
|
1762 |
processMap.put("refundPayment", new refundPayment());
|
| 1763 |
processMap.put("partiallyCapturePayment", new partiallyCapturePayment());
|
1763 |
processMap.put("partiallyCapturePayment", new partiallyCapturePayment());
|
| 1764 |
processMap.put("getPaymentsRequiringExtraProcessing", new getPaymentsRequiringExtraProcessing());
|
1764 |
processMap.put("getPaymentsRequiringExtraProcessing", new getPaymentsRequiringExtraProcessing());
|
| 1765 |
processMap.put("markPaymentAsProcessed", new markPaymentAsProcessed());
|
1765 |
processMap.put("markPaymentAsProcessed", new markPaymentAsProcessed());
|
| 1766 |
processMap.put("validatePaymentAtGateway", new validatePaymentAtGateway());
|
1766 |
processMap.put("getPaymentStatusAtGateway", new getPaymentStatusAtGateway());
|
| 1767 |
return processMap;
|
1767 |
return processMap;
|
| 1768 |
}
|
1768 |
}
|
| 1769 |
|
1769 |
|
| 1770 |
private static class createPayment<I extends Iface> extends org.apache.thrift.ProcessFunction<I, createPayment_args> {
|
1770 |
private static class createPayment<I extends Iface> extends org.apache.thrift.ProcessFunction<I, createPayment_args> {
|
| 1771 |
public createPayment() {
|
1771 |
public createPayment() {
|
| Line 2179... |
Line 2179... |
| 2179 |
iface.markPaymentAsProcessed(args.paymentId, args.category);
|
2179 |
iface.markPaymentAsProcessed(args.paymentId, args.category);
|
| 2180 |
return result;
|
2180 |
return result;
|
| 2181 |
}
|
2181 |
}
|
| 2182 |
}
|
2182 |
}
|
| 2183 |
|
2183 |
|
| 2184 |
private static class validatePaymentAtGateway<I extends Iface> extends org.apache.thrift.ProcessFunction<I, validatePaymentAtGateway_args> {
|
2184 |
private static class getPaymentStatusAtGateway<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getPaymentStatusAtGateway_args> {
|
| 2185 |
public validatePaymentAtGateway() {
|
2185 |
public getPaymentStatusAtGateway() {
|
| 2186 |
super("validatePaymentAtGateway");
|
2186 |
super("getPaymentStatusAtGateway");
|
| 2187 |
}
|
2187 |
}
|
| 2188 |
|
2188 |
|
| 2189 |
protected validatePaymentAtGateway_args getEmptyArgsInstance() {
|
2189 |
protected getPaymentStatusAtGateway_args getEmptyArgsInstance() {
|
| 2190 |
return new validatePaymentAtGateway_args();
|
2190 |
return new getPaymentStatusAtGateway_args();
|
| 2191 |
}
|
2191 |
}
|
| 2192 |
|
2192 |
|
| 2193 |
protected validatePaymentAtGateway_result getResult(I iface, validatePaymentAtGateway_args args) throws org.apache.thrift.TException {
|
2193 |
protected getPaymentStatusAtGateway_result getResult(I iface, getPaymentStatusAtGateway_args args) throws org.apache.thrift.TException {
|
| 2194 |
validatePaymentAtGateway_result result = new validatePaymentAtGateway_result();
|
2194 |
getPaymentStatusAtGateway_result result = new getPaymentStatusAtGateway_result();
|
| 2195 |
try {
|
2195 |
try {
|
| 2196 |
result.success = iface.validatePaymentAtGateway(args.merchantTxnId, args.amount, args.isDigital);
|
2196 |
result.success = iface.getPaymentStatusAtGateway(args.merchantTxnId, args.amount, args.isDigital);
|
| 2197 |
result.setSuccessIsSet(true);
|
- |
|
| 2198 |
} catch (PaymentException pe) {
|
2197 |
} catch (PaymentException pe) {
|
| 2199 |
result.pe = pe;
|
2198 |
result.pe = pe;
|
| 2200 |
}
|
2199 |
}
|
| 2201 |
return result;
|
2200 |
return result;
|
| 2202 |
}
|
2201 |
}
|
| Line 19283... |
Line 19282... |
| 19283 |
}
|
19282 |
}
|
| 19284 |
}
|
19283 |
}
|
| 19285 |
|
19284 |
|
| 19286 |
}
|
19285 |
}
|
| 19287 |
|
19286 |
|
| 19288 |
public static class validatePaymentAtGateway_args implements org.apache.thrift.TBase<validatePaymentAtGateway_args, validatePaymentAtGateway_args._Fields>, java.io.Serializable, Cloneable {
|
19287 |
public static class getPaymentStatusAtGateway_args implements org.apache.thrift.TBase<getPaymentStatusAtGateway_args, getPaymentStatusAtGateway_args._Fields>, java.io.Serializable, Cloneable {
|
| 19289 |
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("validatePaymentAtGateway_args");
|
19288 |
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getPaymentStatusAtGateway_args");
|
| 19290 |
|
19289 |
|
| 19291 |
private static final org.apache.thrift.protocol.TField MERCHANT_TXN_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("merchantTxnId", org.apache.thrift.protocol.TType.I64, (short)1);
|
19290 |
private static final org.apache.thrift.protocol.TField MERCHANT_TXN_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("merchantTxnId", org.apache.thrift.protocol.TType.I64, (short)1);
|
| 19292 |
private static final org.apache.thrift.protocol.TField AMOUNT_FIELD_DESC = new org.apache.thrift.protocol.TField("amount", org.apache.thrift.protocol.TType.DOUBLE, (short)2);
|
19291 |
private static final org.apache.thrift.protocol.TField AMOUNT_FIELD_DESC = new org.apache.thrift.protocol.TField("amount", org.apache.thrift.protocol.TType.DOUBLE, (short)2);
|
| 19293 |
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)3);
|
19292 |
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)3);
|
| 19294 |
|
19293 |
|
| Line 19374... |
Line 19373... |
| 19374 |
tmpMap.put(_Fields.AMOUNT, new org.apache.thrift.meta_data.FieldMetaData("amount", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
19373 |
tmpMap.put(_Fields.AMOUNT, new org.apache.thrift.meta_data.FieldMetaData("amount", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| 19375 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
|
19374 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
|
| 19376 |
tmpMap.put(_Fields.IS_DIGITAL, new org.apache.thrift.meta_data.FieldMetaData("isDigital", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
19375 |
tmpMap.put(_Fields.IS_DIGITAL, new org.apache.thrift.meta_data.FieldMetaData("isDigital", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| 19377 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
|
19376 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
|
| 19378 |
metaDataMap = Collections.unmodifiableMap(tmpMap);
|
19377 |
metaDataMap = Collections.unmodifiableMap(tmpMap);
|
| 19379 |
org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(validatePaymentAtGateway_args.class, metaDataMap);
|
19378 |
org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getPaymentStatusAtGateway_args.class, metaDataMap);
|
| 19380 |
}
|
19379 |
}
|
| 19381 |
|
19380 |
|
| 19382 |
public validatePaymentAtGateway_args() {
|
19381 |
public getPaymentStatusAtGateway_args() {
|
| 19383 |
}
|
19382 |
}
|
| 19384 |
|
19383 |
|
| 19385 |
public validatePaymentAtGateway_args(
|
19384 |
public getPaymentStatusAtGateway_args(
|
| 19386 |
long merchantTxnId,
|
19385 |
long merchantTxnId,
|
| 19387 |
double amount,
|
19386 |
double amount,
|
| 19388 |
boolean isDigital)
|
19387 |
boolean isDigital)
|
| 19389 |
{
|
19388 |
{
|
| 19390 |
this();
|
19389 |
this();
|
| Line 19397... |
Line 19396... |
| 19397 |
}
|
19396 |
}
|
| 19398 |
|
19397 |
|
| 19399 |
/**
|
19398 |
/**
|
| 19400 |
* Performs a deep copy on <i>other</i>.
|
19399 |
* Performs a deep copy on <i>other</i>.
|
| 19401 |
*/
|
19400 |
*/
|
| 19402 |
public validatePaymentAtGateway_args(validatePaymentAtGateway_args other) {
|
19401 |
public getPaymentStatusAtGateway_args(getPaymentStatusAtGateway_args other) {
|
| 19403 |
__isset_bit_vector.clear();
|
19402 |
__isset_bit_vector.clear();
|
| 19404 |
__isset_bit_vector.or(other.__isset_bit_vector);
|
19403 |
__isset_bit_vector.or(other.__isset_bit_vector);
|
| 19405 |
this.merchantTxnId = other.merchantTxnId;
|
19404 |
this.merchantTxnId = other.merchantTxnId;
|
| 19406 |
this.amount = other.amount;
|
19405 |
this.amount = other.amount;
|
| 19407 |
this.isDigital = other.isDigital;
|
19406 |
this.isDigital = other.isDigital;
|
| 19408 |
}
|
19407 |
}
|
| 19409 |
|
19408 |
|
| 19410 |
public validatePaymentAtGateway_args deepCopy() {
|
19409 |
public getPaymentStatusAtGateway_args deepCopy() {
|
| 19411 |
return new validatePaymentAtGateway_args(this);
|
19410 |
return new getPaymentStatusAtGateway_args(this);
|
| 19412 |
}
|
19411 |
}
|
| 19413 |
|
19412 |
|
| 19414 |
@Override
|
19413 |
@Override
|
| 19415 |
public void clear() {
|
19414 |
public void clear() {
|
| 19416 |
setMerchantTxnIdIsSet(false);
|
19415 |
setMerchantTxnIdIsSet(false);
|
| Line 19550... |
Line 19549... |
| 19550 |
|
19549 |
|
| 19551 |
@Override
|
19550 |
@Override
|
| 19552 |
public boolean equals(Object that) {
|
19551 |
public boolean equals(Object that) {
|
| 19553 |
if (that == null)
|
19552 |
if (that == null)
|
| 19554 |
return false;
|
19553 |
return false;
|
| 19555 |
if (that instanceof validatePaymentAtGateway_args)
|
19554 |
if (that instanceof getPaymentStatusAtGateway_args)
|
| 19556 |
return this.equals((validatePaymentAtGateway_args)that);
|
19555 |
return this.equals((getPaymentStatusAtGateway_args)that);
|
| 19557 |
return false;
|
19556 |
return false;
|
| 19558 |
}
|
19557 |
}
|
| 19559 |
|
19558 |
|
| 19560 |
public boolean equals(validatePaymentAtGateway_args that) {
|
19559 |
public boolean equals(getPaymentStatusAtGateway_args that) {
|
| 19561 |
if (that == null)
|
19560 |
if (that == null)
|
| 19562 |
return false;
|
19561 |
return false;
|
| 19563 |
|
19562 |
|
| 19564 |
boolean this_present_merchantTxnId = true;
|
19563 |
boolean this_present_merchantTxnId = true;
|
| 19565 |
boolean that_present_merchantTxnId = true;
|
19564 |
boolean that_present_merchantTxnId = true;
|
| Line 19594... |
Line 19593... |
| 19594 |
@Override
|
19593 |
@Override
|
| 19595 |
public int hashCode() {
|
19594 |
public int hashCode() {
|
| 19596 |
return 0;
|
19595 |
return 0;
|
| 19597 |
}
|
19596 |
}
|
| 19598 |
|
19597 |
|
| 19599 |
public int compareTo(validatePaymentAtGateway_args other) {
|
19598 |
public int compareTo(getPaymentStatusAtGateway_args other) {
|
| 19600 |
if (!getClass().equals(other.getClass())) {
|
19599 |
if (!getClass().equals(other.getClass())) {
|
| 19601 |
return getClass().getName().compareTo(other.getClass().getName());
|
19600 |
return getClass().getName().compareTo(other.getClass().getName());
|
| 19602 |
}
|
19601 |
}
|
| 19603 |
|
19602 |
|
| 19604 |
int lastComparison = 0;
|
19603 |
int lastComparison = 0;
|
| 19605 |
validatePaymentAtGateway_args typedOther = (validatePaymentAtGateway_args)other;
|
19604 |
getPaymentStatusAtGateway_args typedOther = (getPaymentStatusAtGateway_args)other;
|
| 19606 |
|
19605 |
|
| 19607 |
lastComparison = Boolean.valueOf(isSetMerchantTxnId()).compareTo(typedOther.isSetMerchantTxnId());
|
19606 |
lastComparison = Boolean.valueOf(isSetMerchantTxnId()).compareTo(typedOther.isSetMerchantTxnId());
|
| 19608 |
if (lastComparison != 0) {
|
19607 |
if (lastComparison != 0) {
|
| 19609 |
return lastComparison;
|
19608 |
return lastComparison;
|
| 19610 |
}
|
19609 |
}
|
| Line 19701... |
Line 19700... |
| 19701 |
oprot.writeStructEnd();
|
19700 |
oprot.writeStructEnd();
|
| 19702 |
}
|
19701 |
}
|
| 19703 |
|
19702 |
|
| 19704 |
@Override
|
19703 |
@Override
|
| 19705 |
public String toString() {
|
19704 |
public String toString() {
|
| 19706 |
StringBuilder sb = new StringBuilder("validatePaymentAtGateway_args(");
|
19705 |
StringBuilder sb = new StringBuilder("getPaymentStatusAtGateway_args(");
|
| 19707 |
boolean first = true;
|
19706 |
boolean first = true;
|
| 19708 |
|
19707 |
|
| 19709 |
sb.append("merchantTxnId:");
|
19708 |
sb.append("merchantTxnId:");
|
| 19710 |
sb.append(this.merchantTxnId);
|
19709 |
sb.append(this.merchantTxnId);
|
| 19711 |
first = false;
|
19710 |
first = false;
|
| Line 19743... |
Line 19742... |
| 19743 |
}
|
19742 |
}
|
| 19744 |
}
|
19743 |
}
|
| 19745 |
|
19744 |
|
| 19746 |
}
|
19745 |
}
|
| 19747 |
|
19746 |
|
| 19748 |
public static class validatePaymentAtGateway_result implements org.apache.thrift.TBase<validatePaymentAtGateway_result, validatePaymentAtGateway_result._Fields>, java.io.Serializable, Cloneable {
|
19747 |
public static class getPaymentStatusAtGateway_result implements org.apache.thrift.TBase<getPaymentStatusAtGateway_result, getPaymentStatusAtGateway_result._Fields>, java.io.Serializable, Cloneable {
|
| 19749 |
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("validatePaymentAtGateway_result");
|
19748 |
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getPaymentStatusAtGateway_result");
|
| 19750 |
|
19749 |
|
| 19751 |
private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.BOOL, (short)0);
|
19750 |
private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.I32, (short)0);
|
| 19752 |
private static final org.apache.thrift.protocol.TField PE_FIELD_DESC = new org.apache.thrift.protocol.TField("pe", org.apache.thrift.protocol.TType.STRUCT, (short)1);
|
19751 |
private static final org.apache.thrift.protocol.TField PE_FIELD_DESC = new org.apache.thrift.protocol.TField("pe", org.apache.thrift.protocol.TType.STRUCT, (short)1);
|
| 19753 |
|
19752 |
|
| 19754 |
private boolean success; // required
|
19753 |
private PaymentStatus success; // required
|
| 19755 |
private PaymentException pe; // required
|
19754 |
private PaymentException pe; // required
|
| 19756 |
|
19755 |
|
| 19757 |
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
|
19756 |
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
|
| 19758 |
public enum _Fields implements org.apache.thrift.TFieldIdEnum {
|
19757 |
public enum _Fields implements org.apache.thrift.TFieldIdEnum {
|
| - |
|
19758 |
/**
|
| - |
|
19759 |
*
|
| - |
|
19760 |
* @see PaymentStatus
|
| - |
|
19761 |
*/
|
| 19759 |
SUCCESS((short)0, "success"),
|
19762 |
SUCCESS((short)0, "success"),
|
| 19760 |
PE((short)1, "pe");
|
19763 |
PE((short)1, "pe");
|
| 19761 |
|
19764 |
|
| 19762 |
private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
|
19765 |
private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
|
| 19763 |
|
19766 |
|
| Line 19814... |
Line 19817... |
| 19814 |
return _fieldName;
|
19817 |
return _fieldName;
|
| 19815 |
}
|
19818 |
}
|
| 19816 |
}
|
19819 |
}
|
| 19817 |
|
19820 |
|
| 19818 |
// isset id assignments
|
19821 |
// isset id assignments
|
| 19819 |
private static final int __SUCCESS_ISSET_ID = 0;
|
- |
|
| 19820 |
private BitSet __isset_bit_vector = new BitSet(1);
|
- |
|
| 19821 |
|
19822 |
|
| 19822 |
public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
|
19823 |
public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
|
| 19823 |
static {
|
19824 |
static {
|
| 19824 |
Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
|
19825 |
Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
|
| 19825 |
tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
19826 |
tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| 19826 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
|
19827 |
new org.apache.thrift.meta_data.EnumMetaData(org.apache.thrift.protocol.TType.ENUM, PaymentStatus.class)));
|
| 19827 |
tmpMap.put(_Fields.PE, new org.apache.thrift.meta_data.FieldMetaData("pe", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
19828 |
tmpMap.put(_Fields.PE, new org.apache.thrift.meta_data.FieldMetaData("pe", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| 19828 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT)));
|
19829 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT)));
|
| 19829 |
metaDataMap = Collections.unmodifiableMap(tmpMap);
|
19830 |
metaDataMap = Collections.unmodifiableMap(tmpMap);
|
| 19830 |
org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(validatePaymentAtGateway_result.class, metaDataMap);
|
19831 |
org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getPaymentStatusAtGateway_result.class, metaDataMap);
|
| 19831 |
}
|
19832 |
}
|
| 19832 |
|
19833 |
|
| 19833 |
public validatePaymentAtGateway_result() {
|
19834 |
public getPaymentStatusAtGateway_result() {
|
| 19834 |
}
|
19835 |
}
|
| 19835 |
|
19836 |
|
| 19836 |
public validatePaymentAtGateway_result(
|
19837 |
public getPaymentStatusAtGateway_result(
|
| 19837 |
boolean success,
|
19838 |
PaymentStatus success,
|
| 19838 |
PaymentException pe)
|
19839 |
PaymentException pe)
|
| 19839 |
{
|
19840 |
{
|
| 19840 |
this();
|
19841 |
this();
|
| 19841 |
this.success = success;
|
19842 |
this.success = success;
|
| 19842 |
setSuccessIsSet(true);
|
- |
|
| 19843 |
this.pe = pe;
|
19843 |
this.pe = pe;
|
| 19844 |
}
|
19844 |
}
|
| 19845 |
|
19845 |
|
| 19846 |
/**
|
19846 |
/**
|
| 19847 |
* Performs a deep copy on <i>other</i>.
|
19847 |
* Performs a deep copy on <i>other</i>.
|
| 19848 |
*/
|
19848 |
*/
|
| 19849 |
public validatePaymentAtGateway_result(validatePaymentAtGateway_result other) {
|
19849 |
public getPaymentStatusAtGateway_result(getPaymentStatusAtGateway_result other) {
|
| 19850 |
__isset_bit_vector.clear();
|
19850 |
if (other.isSetSuccess()) {
|
| 19851 |
__isset_bit_vector.or(other.__isset_bit_vector);
|
- |
|
| 19852 |
this.success = other.success;
|
19851 |
this.success = other.success;
|
| - |
|
19852 |
}
|
| 19853 |
if (other.isSetPe()) {
|
19853 |
if (other.isSetPe()) {
|
| 19854 |
this.pe = new PaymentException(other.pe);
|
19854 |
this.pe = new PaymentException(other.pe);
|
| 19855 |
}
|
19855 |
}
|
| 19856 |
}
|
19856 |
}
|
| 19857 |
|
19857 |
|
| 19858 |
public validatePaymentAtGateway_result deepCopy() {
|
19858 |
public getPaymentStatusAtGateway_result deepCopy() {
|
| 19859 |
return new validatePaymentAtGateway_result(this);
|
19859 |
return new getPaymentStatusAtGateway_result(this);
|
| 19860 |
}
|
19860 |
}
|
| 19861 |
|
19861 |
|
| 19862 |
@Override
|
19862 |
@Override
|
| 19863 |
public void clear() {
|
19863 |
public void clear() {
|
| 19864 |
setSuccessIsSet(false);
|
- |
|
| 19865 |
this.success = false;
|
19864 |
this.success = null;
|
| 19866 |
this.pe = null;
|
19865 |
this.pe = null;
|
| 19867 |
}
|
19866 |
}
|
| 19868 |
|
19867 |
|
| - |
|
19868 |
/**
|
| - |
|
19869 |
*
|
| - |
|
19870 |
* @see PaymentStatus
|
| - |
|
19871 |
*/
|
| 19869 |
public boolean isSuccess() {
|
19872 |
public PaymentStatus getSuccess() {
|
| 19870 |
return this.success;
|
19873 |
return this.success;
|
| 19871 |
}
|
19874 |
}
|
| 19872 |
|
19875 |
|
| - |
|
19876 |
/**
|
| - |
|
19877 |
*
|
| - |
|
19878 |
* @see PaymentStatus
|
| - |
|
19879 |
*/
|
| 19873 |
public void setSuccess(boolean success) {
|
19880 |
public void setSuccess(PaymentStatus success) {
|
| 19874 |
this.success = success;
|
19881 |
this.success = success;
|
| 19875 |
setSuccessIsSet(true);
|
- |
|
| 19876 |
}
|
19882 |
}
|
| 19877 |
|
19883 |
|
| 19878 |
public void unsetSuccess() {
|
19884 |
public void unsetSuccess() {
|
| 19879 |
__isset_bit_vector.clear(__SUCCESS_ISSET_ID);
|
19885 |
this.success = null;
|
| 19880 |
}
|
19886 |
}
|
| 19881 |
|
19887 |
|
| 19882 |
/** Returns true if field success is set (has been assigned a value) and false otherwise */
|
19888 |
/** Returns true if field success is set (has been assigned a value) and false otherwise */
|
| 19883 |
public boolean isSetSuccess() {
|
19889 |
public boolean isSetSuccess() {
|
| 19884 |
return __isset_bit_vector.get(__SUCCESS_ISSET_ID);
|
19890 |
return this.success != null;
|
| 19885 |
}
|
19891 |
}
|
| 19886 |
|
19892 |
|
| 19887 |
public void setSuccessIsSet(boolean value) {
|
19893 |
public void setSuccessIsSet(boolean value) {
|
| - |
|
19894 |
if (!value) {
|
| 19888 |
__isset_bit_vector.set(__SUCCESS_ISSET_ID, value);
|
19895 |
this.success = null;
|
| - |
|
19896 |
}
|
| 19889 |
}
|
19897 |
}
|
| 19890 |
|
19898 |
|
| 19891 |
public PaymentException getPe() {
|
19899 |
public PaymentException getPe() {
|
| 19892 |
return this.pe;
|
19900 |
return this.pe;
|
| 19893 |
}
|
19901 |
}
|
| Line 19915... |
Line 19923... |
| 19915 |
switch (field) {
|
19923 |
switch (field) {
|
| 19916 |
case SUCCESS:
|
19924 |
case SUCCESS:
|
| 19917 |
if (value == null) {
|
19925 |
if (value == null) {
|
| 19918 |
unsetSuccess();
|
19926 |
unsetSuccess();
|
| 19919 |
} else {
|
19927 |
} else {
|
| 19920 |
setSuccess((Boolean)value);
|
19928 |
setSuccess((PaymentStatus)value);
|
| 19921 |
}
|
19929 |
}
|
| 19922 |
break;
|
19930 |
break;
|
| 19923 |
|
19931 |
|
| 19924 |
case PE:
|
19932 |
case PE:
|
| 19925 |
if (value == null) {
|
19933 |
if (value == null) {
|
| Line 19933... |
Line 19941... |
| 19933 |
}
|
19941 |
}
|
| 19934 |
|
19942 |
|
| 19935 |
public Object getFieldValue(_Fields field) {
|
19943 |
public Object getFieldValue(_Fields field) {
|
| 19936 |
switch (field) {
|
19944 |
switch (field) {
|
| 19937 |
case SUCCESS:
|
19945 |
case SUCCESS:
|
| 19938 |
return Boolean.valueOf(isSuccess());
|
19946 |
return getSuccess();
|
| 19939 |
|
19947 |
|
| 19940 |
case PE:
|
19948 |
case PE:
|
| 19941 |
return getPe();
|
19949 |
return getPe();
|
| 19942 |
|
19950 |
|
| 19943 |
}
|
19951 |
}
|
| Line 19961... |
Line 19969... |
| 19961 |
|
19969 |
|
| 19962 |
@Override
|
19970 |
@Override
|
| 19963 |
public boolean equals(Object that) {
|
19971 |
public boolean equals(Object that) {
|
| 19964 |
if (that == null)
|
19972 |
if (that == null)
|
| 19965 |
return false;
|
19973 |
return false;
|
| 19966 |
if (that instanceof validatePaymentAtGateway_result)
|
19974 |
if (that instanceof getPaymentStatusAtGateway_result)
|
| 19967 |
return this.equals((validatePaymentAtGateway_result)that);
|
19975 |
return this.equals((getPaymentStatusAtGateway_result)that);
|
| 19968 |
return false;
|
19976 |
return false;
|
| 19969 |
}
|
19977 |
}
|
| 19970 |
|
19978 |
|
| 19971 |
public boolean equals(validatePaymentAtGateway_result that) {
|
19979 |
public boolean equals(getPaymentStatusAtGateway_result that) {
|
| 19972 |
if (that == null)
|
19980 |
if (that == null)
|
| 19973 |
return false;
|
19981 |
return false;
|
| 19974 |
|
19982 |
|
| 19975 |
boolean this_present_success = true;
|
19983 |
boolean this_present_success = true && this.isSetSuccess();
|
| 19976 |
boolean that_present_success = true;
|
19984 |
boolean that_present_success = true && that.isSetSuccess();
|
| 19977 |
if (this_present_success || that_present_success) {
|
19985 |
if (this_present_success || that_present_success) {
|
| 19978 |
if (!(this_present_success && that_present_success))
|
19986 |
if (!(this_present_success && that_present_success))
|
| 19979 |
return false;
|
19987 |
return false;
|
| 19980 |
if (this.success != that.success)
|
19988 |
if (!this.success.equals(that.success))
|
| 19981 |
return false;
|
19989 |
return false;
|
| 19982 |
}
|
19990 |
}
|
| 19983 |
|
19991 |
|
| 19984 |
boolean this_present_pe = true && this.isSetPe();
|
19992 |
boolean this_present_pe = true && this.isSetPe();
|
| 19985 |
boolean that_present_pe = true && that.isSetPe();
|
19993 |
boolean that_present_pe = true && that.isSetPe();
|
| Line 19996... |
Line 20004... |
| 19996 |
@Override
|
20004 |
@Override
|
| 19997 |
public int hashCode() {
|
20005 |
public int hashCode() {
|
| 19998 |
return 0;
|
20006 |
return 0;
|
| 19999 |
}
|
20007 |
}
|
| 20000 |
|
20008 |
|
| 20001 |
public int compareTo(validatePaymentAtGateway_result other) {
|
20009 |
public int compareTo(getPaymentStatusAtGateway_result other) {
|
| 20002 |
if (!getClass().equals(other.getClass())) {
|
20010 |
if (!getClass().equals(other.getClass())) {
|
| 20003 |
return getClass().getName().compareTo(other.getClass().getName());
|
20011 |
return getClass().getName().compareTo(other.getClass().getName());
|
| 20004 |
}
|
20012 |
}
|
| 20005 |
|
20013 |
|
| 20006 |
int lastComparison = 0;
|
20014 |
int lastComparison = 0;
|
| 20007 |
validatePaymentAtGateway_result typedOther = (validatePaymentAtGateway_result)other;
|
20015 |
getPaymentStatusAtGateway_result typedOther = (getPaymentStatusAtGateway_result)other;
|
| 20008 |
|
20016 |
|
| 20009 |
lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
|
20017 |
lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
|
| 20010 |
if (lastComparison != 0) {
|
20018 |
if (lastComparison != 0) {
|
| 20011 |
return lastComparison;
|
20019 |
return lastComparison;
|
| 20012 |
}
|
20020 |
}
|
| Line 20042... |
Line 20050... |
| 20042 |
if (field.type == org.apache.thrift.protocol.TType.STOP) {
|
20050 |
if (field.type == org.apache.thrift.protocol.TType.STOP) {
|
| 20043 |
break;
|
20051 |
break;
|
| 20044 |
}
|
20052 |
}
|
| 20045 |
switch (field.id) {
|
20053 |
switch (field.id) {
|
| 20046 |
case 0: // SUCCESS
|
20054 |
case 0: // SUCCESS
|
| 20047 |
if (field.type == org.apache.thrift.protocol.TType.BOOL) {
|
20055 |
if (field.type == org.apache.thrift.protocol.TType.I32) {
|
| 20048 |
this.success = iprot.readBool();
|
20056 |
this.success = PaymentStatus.findByValue(iprot.readI32());
|
| 20049 |
setSuccessIsSet(true);
|
- |
|
| 20050 |
} else {
|
20057 |
} else {
|
| 20051 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
20058 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| 20052 |
}
|
20059 |
}
|
| 20053 |
break;
|
20060 |
break;
|
| 20054 |
case 1: // PE
|
20061 |
case 1: // PE
|
| Line 20071... |
Line 20078... |
| 20071 |
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
|
20078 |
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
|
| 20072 |
oprot.writeStructBegin(STRUCT_DESC);
|
20079 |
oprot.writeStructBegin(STRUCT_DESC);
|
| 20073 |
|
20080 |
|
| 20074 |
if (this.isSetSuccess()) {
|
20081 |
if (this.isSetSuccess()) {
|
| 20075 |
oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
|
20082 |
oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
|
| 20076 |
oprot.writeBool(this.success);
|
20083 |
oprot.writeI32(this.success.getValue());
|
| 20077 |
oprot.writeFieldEnd();
|
20084 |
oprot.writeFieldEnd();
|
| 20078 |
} else if (this.isSetPe()) {
|
20085 |
} else if (this.isSetPe()) {
|
| 20079 |
oprot.writeFieldBegin(PE_FIELD_DESC);
|
20086 |
oprot.writeFieldBegin(PE_FIELD_DESC);
|
| 20080 |
this.pe.write(oprot);
|
20087 |
this.pe.write(oprot);
|
| 20081 |
oprot.writeFieldEnd();
|
20088 |
oprot.writeFieldEnd();
|
| Line 20084... |
Line 20091... |
| 20084 |
oprot.writeStructEnd();
|
20091 |
oprot.writeStructEnd();
|
| 20085 |
}
|
20092 |
}
|
| 20086 |
|
20093 |
|
| 20087 |
@Override
|
20094 |
@Override
|
| 20088 |
public String toString() {
|
20095 |
public String toString() {
|
| 20089 |
StringBuilder sb = new StringBuilder("validatePaymentAtGateway_result(");
|
20096 |
StringBuilder sb = new StringBuilder("getPaymentStatusAtGateway_result(");
|
| 20090 |
boolean first = true;
|
20097 |
boolean first = true;
|
| 20091 |
|
20098 |
|
| 20092 |
sb.append("success:");
|
20099 |
sb.append("success:");
|
| - |
|
20100 |
if (this.success == null) {
|
| - |
|
20101 |
sb.append("null");
|
| - |
|
20102 |
} else {
|
| 20093 |
sb.append(this.success);
|
20103 |
sb.append(this.success);
|
| - |
|
20104 |
}
|
| 20094 |
first = false;
|
20105 |
first = false;
|
| 20095 |
if (!first) sb.append(", ");
|
20106 |
if (!first) sb.append(", ");
|
| 20096 |
sb.append("pe:");
|
20107 |
sb.append("pe:");
|
| 20097 |
if (this.pe == null) {
|
20108 |
if (this.pe == null) {
|
| 20098 |
sb.append("null");
|
20109 |
sb.append("null");
|