| Line 740... |
Line 740... |
| 740 |
|
740 |
|
| 741 |
public void savePaymentSettlements(long settlementDate, long paymentGatewayId, long referenceId, double serviceTax, double otherCharges, double netCollection) throws TransactionServiceException, org.apache.thrift.TException;
|
741 |
public void savePaymentSettlements(long settlementDate, long paymentGatewayId, long referenceId, double serviceTax, double otherCharges, double netCollection) throws TransactionServiceException, org.apache.thrift.TException;
|
| 742 |
|
742 |
|
| 743 |
public void saveEBSSettlementSummary(long settlementId, long settlementDate, long transactionDateFrom, long transactionDateTo, double amount) throws TransactionServiceException, org.apache.thrift.TException;
|
743 |
public void saveEBSSettlementSummary(long settlementId, long settlementDate, long transactionDateFrom, long transactionDateTo, double amount) throws TransactionServiceException, org.apache.thrift.TException;
|
| 744 |
|
744 |
|
| 745 |
public PaymentSettlement getSettlementForPaymentId(long paymentId) throws TransactionServiceException, org.apache.thrift.TException;
|
745 |
public PaymentSettlement getSettlementForReferenceId(long referenceId, boolean isRefund) throws TransactionServiceException, org.apache.thrift.TException;
|
| 746 |
|
746 |
|
| 747 |
public Map<Long,String> getEBSSettlementSummaries() throws TransactionServiceException, org.apache.thrift.TException;
|
747 |
public Map<Long,String> getEBSSettlementSummaries() throws TransactionServiceException, org.apache.thrift.TException;
|
| 748 |
|
748 |
|
| 749 |
public void markEBSSettlementUploaded(long settlementId) throws TransactionServiceException, org.apache.thrift.TException;
|
749 |
public void markEBSSettlementUploaded(long settlementId) throws TransactionServiceException, org.apache.thrift.TException;
|
| 750 |
|
750 |
|
| Line 975... |
Line 975... |
| 975 |
|
975 |
|
| 976 |
public void savePaymentSettlements(long settlementDate, long paymentGatewayId, long referenceId, double serviceTax, double otherCharges, double netCollection, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.savePaymentSettlements_call> resultHandler) throws org.apache.thrift.TException;
|
976 |
public void savePaymentSettlements(long settlementDate, long paymentGatewayId, long referenceId, double serviceTax, double otherCharges, double netCollection, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.savePaymentSettlements_call> resultHandler) throws org.apache.thrift.TException;
|
| 977 |
|
977 |
|
| 978 |
public void saveEBSSettlementSummary(long settlementId, long settlementDate, long transactionDateFrom, long transactionDateTo, double amount, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.saveEBSSettlementSummary_call> resultHandler) throws org.apache.thrift.TException;
|
978 |
public void saveEBSSettlementSummary(long settlementId, long settlementDate, long transactionDateFrom, long transactionDateTo, double amount, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.saveEBSSettlementSummary_call> resultHandler) throws org.apache.thrift.TException;
|
| 979 |
|
979 |
|
| 980 |
public void getSettlementForPaymentId(long paymentId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getSettlementForPaymentId_call> resultHandler) throws org.apache.thrift.TException;
|
980 |
public void getSettlementForReferenceId(long referenceId, boolean isRefund, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getSettlementForReferenceId_call> resultHandler) throws org.apache.thrift.TException;
|
| 981 |
|
981 |
|
| 982 |
public void getEBSSettlementSummaries(org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getEBSSettlementSummaries_call> resultHandler) throws org.apache.thrift.TException;
|
982 |
public void getEBSSettlementSummaries(org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getEBSSettlementSummaries_call> resultHandler) throws org.apache.thrift.TException;
|
| 983 |
|
983 |
|
| 984 |
public void markEBSSettlementUploaded(long settlementId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.markEBSSettlementUploaded_call> resultHandler) throws org.apache.thrift.TException;
|
984 |
public void markEBSSettlementUploaded(long settlementId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.markEBSSettlementUploaded_call> resultHandler) throws org.apache.thrift.TException;
|
| 985 |
|
985 |
|
| Line 3520... |
Line 3520... |
| 3520 |
throw result.ex;
|
3520 |
throw result.ex;
|
| 3521 |
}
|
3521 |
}
|
| 3522 |
return;
|
3522 |
return;
|
| 3523 |
}
|
3523 |
}
|
| 3524 |
|
3524 |
|
| 3525 |
public PaymentSettlement getSettlementForPaymentId(long paymentId) throws TransactionServiceException, org.apache.thrift.TException
|
3525 |
public PaymentSettlement getSettlementForReferenceId(long referenceId, boolean isRefund) throws TransactionServiceException, org.apache.thrift.TException
|
| 3526 |
{
|
3526 |
{
|
| 3527 |
send_getSettlementForPaymentId(paymentId);
|
3527 |
send_getSettlementForReferenceId(referenceId, isRefund);
|
| 3528 |
return recv_getSettlementForPaymentId();
|
3528 |
return recv_getSettlementForReferenceId();
|
| 3529 |
}
|
3529 |
}
|
| 3530 |
|
3530 |
|
| 3531 |
public void send_getSettlementForPaymentId(long paymentId) throws org.apache.thrift.TException
|
3531 |
public void send_getSettlementForReferenceId(long referenceId, boolean isRefund) throws org.apache.thrift.TException
|
| 3532 |
{
|
3532 |
{
|
| 3533 |
getSettlementForPaymentId_args args = new getSettlementForPaymentId_args();
|
3533 |
getSettlementForReferenceId_args args = new getSettlementForReferenceId_args();
|
| 3534 |
args.setPaymentId(paymentId);
|
3534 |
args.setReferenceId(referenceId);
|
| - |
|
3535 |
args.setIsRefund(isRefund);
|
| 3535 |
sendBase("getSettlementForPaymentId", args);
|
3536 |
sendBase("getSettlementForReferenceId", args);
|
| 3536 |
}
|
3537 |
}
|
| 3537 |
|
3538 |
|
| 3538 |
public PaymentSettlement recv_getSettlementForPaymentId() throws TransactionServiceException, org.apache.thrift.TException
|
3539 |
public PaymentSettlement recv_getSettlementForReferenceId() throws TransactionServiceException, org.apache.thrift.TException
|
| 3539 |
{
|
3540 |
{
|
| 3540 |
getSettlementForPaymentId_result result = new getSettlementForPaymentId_result();
|
3541 |
getSettlementForReferenceId_result result = new getSettlementForReferenceId_result();
|
| 3541 |
receiveBase(result, "getSettlementForPaymentId");
|
3542 |
receiveBase(result, "getSettlementForReferenceId");
|
| 3542 |
if (result.isSetSuccess()) {
|
3543 |
if (result.isSetSuccess()) {
|
| 3543 |
return result.success;
|
3544 |
return result.success;
|
| 3544 |
}
|
3545 |
}
|
| 3545 |
if (result.ex != null) {
|
3546 |
if (result.ex != null) {
|
| 3546 |
throw result.ex;
|
3547 |
throw result.ex;
|
| 3547 |
}
|
3548 |
}
|
| 3548 |
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getSettlementForPaymentId failed: unknown result");
|
3549 |
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getSettlementForReferenceId failed: unknown result");
|
| 3549 |
}
|
3550 |
}
|
| 3550 |
|
3551 |
|
| 3551 |
public Map<Long,String> getEBSSettlementSummaries() throws TransactionServiceException, org.apache.thrift.TException
|
3552 |
public Map<Long,String> getEBSSettlementSummaries() throws TransactionServiceException, org.apache.thrift.TException
|
| 3552 |
{
|
3553 |
{
|
| 3553 |
send_getEBSSettlementSummaries();
|
3554 |
send_getEBSSettlementSummaries();
|
| Line 7266... |
Line 7267... |
| 7266 |
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
|
7267 |
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
|
| 7267 |
(new Client(prot)).recv_saveEBSSettlementSummary();
|
7268 |
(new Client(prot)).recv_saveEBSSettlementSummary();
|
| 7268 |
}
|
7269 |
}
|
| 7269 |
}
|
7270 |
}
|
| 7270 |
|
7271 |
|
| 7271 |
public void getSettlementForPaymentId(long paymentId, org.apache.thrift.async.AsyncMethodCallback<getSettlementForPaymentId_call> resultHandler) throws org.apache.thrift.TException {
|
7272 |
public void getSettlementForReferenceId(long referenceId, boolean isRefund, org.apache.thrift.async.AsyncMethodCallback<getSettlementForReferenceId_call> resultHandler) throws org.apache.thrift.TException {
|
| 7272 |
checkReady();
|
7273 |
checkReady();
|
| 7273 |
getSettlementForPaymentId_call method_call = new getSettlementForPaymentId_call(paymentId, resultHandler, this, ___protocolFactory, ___transport);
|
7274 |
getSettlementForReferenceId_call method_call = new getSettlementForReferenceId_call(referenceId, isRefund, resultHandler, this, ___protocolFactory, ___transport);
|
| 7274 |
this.___currentMethod = method_call;
|
7275 |
this.___currentMethod = method_call;
|
| 7275 |
___manager.call(method_call);
|
7276 |
___manager.call(method_call);
|
| 7276 |
}
|
7277 |
}
|
| 7277 |
|
7278 |
|
| 7278 |
public static class getSettlementForPaymentId_call extends org.apache.thrift.async.TAsyncMethodCall {
|
7279 |
public static class getSettlementForReferenceId_call extends org.apache.thrift.async.TAsyncMethodCall {
|
| 7279 |
private long paymentId;
|
7280 |
private long referenceId;
|
| - |
|
7281 |
private boolean isRefund;
|
| 7280 |
public getSettlementForPaymentId_call(long paymentId, org.apache.thrift.async.AsyncMethodCallback<getSettlementForPaymentId_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 {
|
7282 |
public getSettlementForReferenceId_call(long referenceId, boolean isRefund, org.apache.thrift.async.AsyncMethodCallback<getSettlementForReferenceId_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 {
|
| 7281 |
super(client, protocolFactory, transport, resultHandler, false);
|
7283 |
super(client, protocolFactory, transport, resultHandler, false);
|
| 7282 |
this.paymentId = paymentId;
|
7284 |
this.referenceId = referenceId;
|
| - |
|
7285 |
this.isRefund = isRefund;
|
| 7283 |
}
|
7286 |
}
|
| 7284 |
|
7287 |
|
| 7285 |
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
|
7288 |
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
|
| 7286 |
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getSettlementForPaymentId", org.apache.thrift.protocol.TMessageType.CALL, 0));
|
7289 |
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getSettlementForReferenceId", org.apache.thrift.protocol.TMessageType.CALL, 0));
|
| 7287 |
getSettlementForPaymentId_args args = new getSettlementForPaymentId_args();
|
7290 |
getSettlementForReferenceId_args args = new getSettlementForReferenceId_args();
|
| 7288 |
args.setPaymentId(paymentId);
|
7291 |
args.setReferenceId(referenceId);
|
| - |
|
7292 |
args.setIsRefund(isRefund);
|
| 7289 |
args.write(prot);
|
7293 |
args.write(prot);
|
| 7290 |
prot.writeMessageEnd();
|
7294 |
prot.writeMessageEnd();
|
| 7291 |
}
|
7295 |
}
|
| 7292 |
|
7296 |
|
| 7293 |
public PaymentSettlement getResult() throws TransactionServiceException, org.apache.thrift.TException {
|
7297 |
public PaymentSettlement getResult() throws TransactionServiceException, org.apache.thrift.TException {
|
| 7294 |
if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
|
7298 |
if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
|
| 7295 |
throw new IllegalStateException("Method call not finished!");
|
7299 |
throw new IllegalStateException("Method call not finished!");
|
| 7296 |
}
|
7300 |
}
|
| 7297 |
org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
|
7301 |
org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
|
| 7298 |
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
|
7302 |
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
|
| 7299 |
return (new Client(prot)).recv_getSettlementForPaymentId();
|
7303 |
return (new Client(prot)).recv_getSettlementForReferenceId();
|
| 7300 |
}
|
7304 |
}
|
| 7301 |
}
|
7305 |
}
|
| 7302 |
|
7306 |
|
| 7303 |
public void getEBSSettlementSummaries(org.apache.thrift.async.AsyncMethodCallback<getEBSSettlementSummaries_call> resultHandler) throws org.apache.thrift.TException {
|
7307 |
public void getEBSSettlementSummaries(org.apache.thrift.async.AsyncMethodCallback<getEBSSettlementSummaries_call> resultHandler) throws org.apache.thrift.TException {
|
| 7304 |
checkReady();
|
7308 |
checkReady();
|
| Line 7747... |
Line 7751... |
| 7747 |
processMap.put("getSlippedSippingDateOrders", new getSlippedSippingDateOrders());
|
7751 |
processMap.put("getSlippedSippingDateOrders", new getSlippedSippingDateOrders());
|
| 7748 |
processMap.put("getCancelledOrders", new getCancelledOrders());
|
7752 |
processMap.put("getCancelledOrders", new getCancelledOrders());
|
| 7749 |
processMap.put("saveBluedartSettlements", new saveBluedartSettlements());
|
7753 |
processMap.put("saveBluedartSettlements", new saveBluedartSettlements());
|
| 7750 |
processMap.put("savePaymentSettlements", new savePaymentSettlements());
|
7754 |
processMap.put("savePaymentSettlements", new savePaymentSettlements());
|
| 7751 |
processMap.put("saveEBSSettlementSummary", new saveEBSSettlementSummary());
|
7755 |
processMap.put("saveEBSSettlementSummary", new saveEBSSettlementSummary());
|
| 7752 |
processMap.put("getSettlementForPaymentId", new getSettlementForPaymentId());
|
7756 |
processMap.put("getSettlementForReferenceId", new getSettlementForReferenceId());
|
| 7753 |
processMap.put("getEBSSettlementSummaries", new getEBSSettlementSummaries());
|
7757 |
processMap.put("getEBSSettlementSummaries", new getEBSSettlementSummaries());
|
| 7754 |
processMap.put("markEBSSettlementUploaded", new markEBSSettlementUploaded());
|
7758 |
processMap.put("markEBSSettlementUploaded", new markEBSSettlementUploaded());
|
| 7755 |
processMap.put("getEBSSettlementDate", new getEBSSettlementDate());
|
7759 |
processMap.put("getEBSSettlementDate", new getEBSSettlementDate());
|
| 7756 |
processMap.put("getSettlementsByDate", new getSettlementsByDate());
|
7760 |
processMap.put("getSettlementsByDate", new getSettlementsByDate());
|
| 7757 |
processMap.put("getReshippedOrderIds", new getReshippedOrderIds());
|
7761 |
processMap.put("getReshippedOrderIds", new getReshippedOrderIds());
|
| Line 9657... |
Line 9661... |
| 9657 |
}
|
9661 |
}
|
| 9658 |
return result;
|
9662 |
return result;
|
| 9659 |
}
|
9663 |
}
|
| 9660 |
}
|
9664 |
}
|
| 9661 |
|
9665 |
|
| 9662 |
private static class getSettlementForPaymentId<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getSettlementForPaymentId_args> {
|
9666 |
private static class getSettlementForReferenceId<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getSettlementForReferenceId_args> {
|
| 9663 |
public getSettlementForPaymentId() {
|
9667 |
public getSettlementForReferenceId() {
|
| 9664 |
super("getSettlementForPaymentId");
|
9668 |
super("getSettlementForReferenceId");
|
| 9665 |
}
|
9669 |
}
|
| 9666 |
|
9670 |
|
| 9667 |
protected getSettlementForPaymentId_args getEmptyArgsInstance() {
|
9671 |
protected getSettlementForReferenceId_args getEmptyArgsInstance() {
|
| 9668 |
return new getSettlementForPaymentId_args();
|
9672 |
return new getSettlementForReferenceId_args();
|
| 9669 |
}
|
9673 |
}
|
| 9670 |
|
9674 |
|
| 9671 |
protected getSettlementForPaymentId_result getResult(I iface, getSettlementForPaymentId_args args) throws org.apache.thrift.TException {
|
9675 |
protected getSettlementForReferenceId_result getResult(I iface, getSettlementForReferenceId_args args) throws org.apache.thrift.TException {
|
| 9672 |
getSettlementForPaymentId_result result = new getSettlementForPaymentId_result();
|
9676 |
getSettlementForReferenceId_result result = new getSettlementForReferenceId_result();
|
| 9673 |
try {
|
9677 |
try {
|
| 9674 |
result.success = iface.getSettlementForPaymentId(args.paymentId);
|
9678 |
result.success = iface.getSettlementForReferenceId(args.referenceId, args.isRefund);
|
| 9675 |
} catch (TransactionServiceException ex) {
|
9679 |
} catch (TransactionServiceException ex) {
|
| 9676 |
result.ex = ex;
|
9680 |
result.ex = ex;
|
| 9677 |
}
|
9681 |
}
|
| 9678 |
return result;
|
9682 |
return result;
|
| 9679 |
}
|
9683 |
}
|
| Line 82414... |
Line 82418... |
| 82414 |
}
|
82418 |
}
|
| 82415 |
}
|
82419 |
}
|
| 82416 |
|
82420 |
|
| 82417 |
}
|
82421 |
}
|
| 82418 |
|
82422 |
|
| 82419 |
public static class getSettlementForPaymentId_args implements org.apache.thrift.TBase<getSettlementForPaymentId_args, getSettlementForPaymentId_args._Fields>, java.io.Serializable, Cloneable {
|
82423 |
public static class getSettlementForReferenceId_args implements org.apache.thrift.TBase<getSettlementForReferenceId_args, getSettlementForReferenceId_args._Fields>, java.io.Serializable, Cloneable {
|
| 82420 |
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getSettlementForPaymentId_args");
|
82424 |
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getSettlementForReferenceId_args");
|
| 82421 |
|
82425 |
|
| 82422 |
private static final org.apache.thrift.protocol.TField PAYMENT_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("paymentId", org.apache.thrift.protocol.TType.I64, (short)1);
|
82426 |
private static final org.apache.thrift.protocol.TField REFERENCE_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("referenceId", org.apache.thrift.protocol.TType.I64, (short)1);
|
| - |
|
82427 |
private static final org.apache.thrift.protocol.TField IS_REFUND_FIELD_DESC = new org.apache.thrift.protocol.TField("isRefund", org.apache.thrift.protocol.TType.BOOL, (short)2);
|
| 82423 |
|
82428 |
|
| 82424 |
private long paymentId; // required
|
82429 |
private long referenceId; // required
|
| - |
|
82430 |
private boolean isRefund; // required
|
| 82425 |
|
82431 |
|
| 82426 |
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
|
82432 |
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
|
| 82427 |
public enum _Fields implements org.apache.thrift.TFieldIdEnum {
|
82433 |
public enum _Fields implements org.apache.thrift.TFieldIdEnum {
|
| 82428 |
PAYMENT_ID((short)1, "paymentId");
|
82434 |
REFERENCE_ID((short)1, "referenceId"),
|
| - |
|
82435 |
IS_REFUND((short)2, "isRefund");
|
| 82429 |
|
82436 |
|
| 82430 |
private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
|
82437 |
private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
|
| 82431 |
|
82438 |
|
| 82432 |
static {
|
82439 |
static {
|
| 82433 |
for (_Fields field : EnumSet.allOf(_Fields.class)) {
|
82440 |
for (_Fields field : EnumSet.allOf(_Fields.class)) {
|
| Line 82438... |
Line 82445... |
| 82438 |
/**
|
82445 |
/**
|
| 82439 |
* Find the _Fields constant that matches fieldId, or null if its not found.
|
82446 |
* Find the _Fields constant that matches fieldId, or null if its not found.
|
| 82440 |
*/
|
82447 |
*/
|
| 82441 |
public static _Fields findByThriftId(int fieldId) {
|
82448 |
public static _Fields findByThriftId(int fieldId) {
|
| 82442 |
switch(fieldId) {
|
82449 |
switch(fieldId) {
|
| 82443 |
case 1: // PAYMENT_ID
|
82450 |
case 1: // REFERENCE_ID
|
| 82444 |
return PAYMENT_ID;
|
82451 |
return REFERENCE_ID;
|
| - |
|
82452 |
case 2: // IS_REFUND
|
| - |
|
82453 |
return IS_REFUND;
|
| 82445 |
default:
|
82454 |
default:
|
| 82446 |
return null;
|
82455 |
return null;
|
| 82447 |
}
|
82456 |
}
|
| 82448 |
}
|
82457 |
}
|
| 82449 |
|
82458 |
|
| Line 82480... |
Line 82489... |
| 82480 |
return _fieldName;
|
82489 |
return _fieldName;
|
| 82481 |
}
|
82490 |
}
|
| 82482 |
}
|
82491 |
}
|
| 82483 |
|
82492 |
|
| 82484 |
// isset id assignments
|
82493 |
// isset id assignments
|
| 82485 |
private static final int __PAYMENTID_ISSET_ID = 0;
|
82494 |
private static final int __REFERENCEID_ISSET_ID = 0;
|
| - |
|
82495 |
private static final int __ISREFUND_ISSET_ID = 1;
|
| 82486 |
private BitSet __isset_bit_vector = new BitSet(1);
|
82496 |
private BitSet __isset_bit_vector = new BitSet(2);
|
| 82487 |
|
82497 |
|
| 82488 |
public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
|
82498 |
public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
|
| 82489 |
static {
|
82499 |
static {
|
| 82490 |
Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
|
82500 |
Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
|
| 82491 |
tmpMap.put(_Fields.PAYMENT_ID, new org.apache.thrift.meta_data.FieldMetaData("paymentId", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
82501 |
tmpMap.put(_Fields.REFERENCE_ID, new org.apache.thrift.meta_data.FieldMetaData("referenceId", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| 82492 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
82502 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
| - |
|
82503 |
tmpMap.put(_Fields.IS_REFUND, new org.apache.thrift.meta_data.FieldMetaData("isRefund", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| - |
|
82504 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
|
| 82493 |
metaDataMap = Collections.unmodifiableMap(tmpMap);
|
82505 |
metaDataMap = Collections.unmodifiableMap(tmpMap);
|
| 82494 |
org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getSettlementForPaymentId_args.class, metaDataMap);
|
82506 |
org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getSettlementForReferenceId_args.class, metaDataMap);
|
| 82495 |
}
|
82507 |
}
|
| 82496 |
|
82508 |
|
| 82497 |
public getSettlementForPaymentId_args() {
|
82509 |
public getSettlementForReferenceId_args() {
|
| 82498 |
}
|
82510 |
}
|
| 82499 |
|
82511 |
|
| 82500 |
public getSettlementForPaymentId_args(
|
82512 |
public getSettlementForReferenceId_args(
|
| 82501 |
long paymentId)
|
82513 |
long referenceId,
|
| - |
|
82514 |
boolean isRefund)
|
| 82502 |
{
|
82515 |
{
|
| 82503 |
this();
|
82516 |
this();
|
| 82504 |
this.paymentId = paymentId;
|
82517 |
this.referenceId = referenceId;
|
| 82505 |
setPaymentIdIsSet(true);
|
82518 |
setReferenceIdIsSet(true);
|
| - |
|
82519 |
this.isRefund = isRefund;
|
| - |
|
82520 |
setIsRefundIsSet(true);
|
| 82506 |
}
|
82521 |
}
|
| 82507 |
|
82522 |
|
| 82508 |
/**
|
82523 |
/**
|
| 82509 |
* Performs a deep copy on <i>other</i>.
|
82524 |
* Performs a deep copy on <i>other</i>.
|
| 82510 |
*/
|
82525 |
*/
|
| 82511 |
public getSettlementForPaymentId_args(getSettlementForPaymentId_args other) {
|
82526 |
public getSettlementForReferenceId_args(getSettlementForReferenceId_args other) {
|
| 82512 |
__isset_bit_vector.clear();
|
82527 |
__isset_bit_vector.clear();
|
| 82513 |
__isset_bit_vector.or(other.__isset_bit_vector);
|
82528 |
__isset_bit_vector.or(other.__isset_bit_vector);
|
| 82514 |
this.paymentId = other.paymentId;
|
82529 |
this.referenceId = other.referenceId;
|
| - |
|
82530 |
this.isRefund = other.isRefund;
|
| 82515 |
}
|
82531 |
}
|
| 82516 |
|
82532 |
|
| 82517 |
public getSettlementForPaymentId_args deepCopy() {
|
82533 |
public getSettlementForReferenceId_args deepCopy() {
|
| 82518 |
return new getSettlementForPaymentId_args(this);
|
82534 |
return new getSettlementForReferenceId_args(this);
|
| 82519 |
}
|
82535 |
}
|
| 82520 |
|
82536 |
|
| 82521 |
@Override
|
82537 |
@Override
|
| 82522 |
public void clear() {
|
82538 |
public void clear() {
|
| 82523 |
setPaymentIdIsSet(false);
|
82539 |
setReferenceIdIsSet(false);
|
| 82524 |
this.paymentId = 0;
|
82540 |
this.referenceId = 0;
|
| - |
|
82541 |
setIsRefundIsSet(false);
|
| - |
|
82542 |
this.isRefund = false;
|
| - |
|
82543 |
}
|
| - |
|
82544 |
|
| - |
|
82545 |
public long getReferenceId() {
|
| - |
|
82546 |
return this.referenceId;
|
| - |
|
82547 |
}
|
| - |
|
82548 |
|
| - |
|
82549 |
public void setReferenceId(long referenceId) {
|
| - |
|
82550 |
this.referenceId = referenceId;
|
| - |
|
82551 |
setReferenceIdIsSet(true);
|
| - |
|
82552 |
}
|
| - |
|
82553 |
|
| - |
|
82554 |
public void unsetReferenceId() {
|
| - |
|
82555 |
__isset_bit_vector.clear(__REFERENCEID_ISSET_ID);
|
| 82525 |
}
|
82556 |
}
|
| 82526 |
|
82557 |
|
| - |
|
82558 |
/** Returns true if field referenceId is set (has been assigned a value) and false otherwise */
|
| 82527 |
public long getPaymentId() {
|
82559 |
public boolean isSetReferenceId() {
|
| 82528 |
return this.paymentId;
|
82560 |
return __isset_bit_vector.get(__REFERENCEID_ISSET_ID);
|
| 82529 |
}
|
82561 |
}
|
| 82530 |
|
82562 |
|
| 82531 |
public void setPaymentId(long paymentId) {
|
82563 |
public void setReferenceIdIsSet(boolean value) {
|
| 82532 |
this.paymentId = paymentId;
|
- |
|
| 82533 |
setPaymentIdIsSet(true);
|
82564 |
__isset_bit_vector.set(__REFERENCEID_ISSET_ID, value);
|
| 82534 |
}
|
82565 |
}
|
| 82535 |
|
82566 |
|
| 82536 |
public void unsetPaymentId() {
|
82567 |
public boolean isIsRefund() {
|
| 82537 |
__isset_bit_vector.clear(__PAYMENTID_ISSET_ID);
|
82568 |
return this.isRefund;
|
| 82538 |
}
|
82569 |
}
|
| 82539 |
|
82570 |
|
| 82540 |
/** Returns true if field paymentId is set (has been assigned a value) and false otherwise */
|
82571 |
public void setIsRefund(boolean isRefund) {
|
| 82541 |
public boolean isSetPaymentId() {
|
82572 |
this.isRefund = isRefund;
|
| 82542 |
return __isset_bit_vector.get(__PAYMENTID_ISSET_ID);
|
82573 |
setIsRefundIsSet(true);
|
| 82543 |
}
|
82574 |
}
|
| 82544 |
|
82575 |
|
| - |
|
82576 |
public void unsetIsRefund() {
|
| - |
|
82577 |
__isset_bit_vector.clear(__ISREFUND_ISSET_ID);
|
| - |
|
82578 |
}
|
| - |
|
82579 |
|
| - |
|
82580 |
/** Returns true if field isRefund is set (has been assigned a value) and false otherwise */
|
| - |
|
82581 |
public boolean isSetIsRefund() {
|
| - |
|
82582 |
return __isset_bit_vector.get(__ISREFUND_ISSET_ID);
|
| - |
|
82583 |
}
|
| - |
|
82584 |
|
| 82545 |
public void setPaymentIdIsSet(boolean value) {
|
82585 |
public void setIsRefundIsSet(boolean value) {
|
| 82546 |
__isset_bit_vector.set(__PAYMENTID_ISSET_ID, value);
|
82586 |
__isset_bit_vector.set(__ISREFUND_ISSET_ID, value);
|
| 82547 |
}
|
82587 |
}
|
| 82548 |
|
82588 |
|
| 82549 |
public void setFieldValue(_Fields field, Object value) {
|
82589 |
public void setFieldValue(_Fields field, Object value) {
|
| 82550 |
switch (field) {
|
82590 |
switch (field) {
|
| 82551 |
case PAYMENT_ID:
|
82591 |
case REFERENCE_ID:
|
| - |
|
82592 |
if (value == null) {
|
| - |
|
82593 |
unsetReferenceId();
|
| - |
|
82594 |
} else {
|
| - |
|
82595 |
setReferenceId((Long)value);
|
| - |
|
82596 |
}
|
| - |
|
82597 |
break;
|
| - |
|
82598 |
|
| - |
|
82599 |
case IS_REFUND:
|
| 82552 |
if (value == null) {
|
82600 |
if (value == null) {
|
| 82553 |
unsetPaymentId();
|
82601 |
unsetIsRefund();
|
| 82554 |
} else {
|
82602 |
} else {
|
| 82555 |
setPaymentId((Long)value);
|
82603 |
setIsRefund((Boolean)value);
|
| 82556 |
}
|
82604 |
}
|
| 82557 |
break;
|
82605 |
break;
|
| 82558 |
|
82606 |
|
| 82559 |
}
|
82607 |
}
|
| 82560 |
}
|
82608 |
}
|
| 82561 |
|
82609 |
|
| 82562 |
public Object getFieldValue(_Fields field) {
|
82610 |
public Object getFieldValue(_Fields field) {
|
| 82563 |
switch (field) {
|
82611 |
switch (field) {
|
| 82564 |
case PAYMENT_ID:
|
82612 |
case REFERENCE_ID:
|
| 82565 |
return Long.valueOf(getPaymentId());
|
82613 |
return Long.valueOf(getReferenceId());
|
| - |
|
82614 |
|
| - |
|
82615 |
case IS_REFUND:
|
| - |
|
82616 |
return Boolean.valueOf(isIsRefund());
|
| 82566 |
|
82617 |
|
| 82567 |
}
|
82618 |
}
|
| 82568 |
throw new IllegalStateException();
|
82619 |
throw new IllegalStateException();
|
| 82569 |
}
|
82620 |
}
|
| 82570 |
|
82621 |
|
| Line 82573... |
Line 82624... |
| 82573 |
if (field == null) {
|
82624 |
if (field == null) {
|
| 82574 |
throw new IllegalArgumentException();
|
82625 |
throw new IllegalArgumentException();
|
| 82575 |
}
|
82626 |
}
|
| 82576 |
|
82627 |
|
| 82577 |
switch (field) {
|
82628 |
switch (field) {
|
| 82578 |
case PAYMENT_ID:
|
82629 |
case REFERENCE_ID:
|
| 82579 |
return isSetPaymentId();
|
82630 |
return isSetReferenceId();
|
| - |
|
82631 |
case IS_REFUND:
|
| - |
|
82632 |
return isSetIsRefund();
|
| 82580 |
}
|
82633 |
}
|
| 82581 |
throw new IllegalStateException();
|
82634 |
throw new IllegalStateException();
|
| 82582 |
}
|
82635 |
}
|
| 82583 |
|
82636 |
|
| 82584 |
@Override
|
82637 |
@Override
|
| 82585 |
public boolean equals(Object that) {
|
82638 |
public boolean equals(Object that) {
|
| 82586 |
if (that == null)
|
82639 |
if (that == null)
|
| 82587 |
return false;
|
82640 |
return false;
|
| 82588 |
if (that instanceof getSettlementForPaymentId_args)
|
82641 |
if (that instanceof getSettlementForReferenceId_args)
|
| 82589 |
return this.equals((getSettlementForPaymentId_args)that);
|
82642 |
return this.equals((getSettlementForReferenceId_args)that);
|
| 82590 |
return false;
|
82643 |
return false;
|
| 82591 |
}
|
82644 |
}
|
| 82592 |
|
82645 |
|
| 82593 |
public boolean equals(getSettlementForPaymentId_args that) {
|
82646 |
public boolean equals(getSettlementForReferenceId_args that) {
|
| 82594 |
if (that == null)
|
82647 |
if (that == null)
|
| 82595 |
return false;
|
82648 |
return false;
|
| 82596 |
|
82649 |
|
| 82597 |
boolean this_present_paymentId = true;
|
82650 |
boolean this_present_referenceId = true;
|
| 82598 |
boolean that_present_paymentId = true;
|
82651 |
boolean that_present_referenceId = true;
|
| 82599 |
if (this_present_paymentId || that_present_paymentId) {
|
82652 |
if (this_present_referenceId || that_present_referenceId) {
|
| 82600 |
if (!(this_present_paymentId && that_present_paymentId))
|
82653 |
if (!(this_present_referenceId && that_present_referenceId))
|
| 82601 |
return false;
|
82654 |
return false;
|
| 82602 |
if (this.paymentId != that.paymentId)
|
82655 |
if (this.referenceId != that.referenceId)
|
| - |
|
82656 |
return false;
|
| - |
|
82657 |
}
|
| - |
|
82658 |
|
| - |
|
82659 |
boolean this_present_isRefund = true;
|
| - |
|
82660 |
boolean that_present_isRefund = true;
|
| - |
|
82661 |
if (this_present_isRefund || that_present_isRefund) {
|
| - |
|
82662 |
if (!(this_present_isRefund && that_present_isRefund))
|
| - |
|
82663 |
return false;
|
| - |
|
82664 |
if (this.isRefund != that.isRefund)
|
| 82603 |
return false;
|
82665 |
return false;
|
| 82604 |
}
|
82666 |
}
|
| 82605 |
|
82667 |
|
| 82606 |
return true;
|
82668 |
return true;
|
| 82607 |
}
|
82669 |
}
|
| Line 82609... |
Line 82671... |
| 82609 |
@Override
|
82671 |
@Override
|
| 82610 |
public int hashCode() {
|
82672 |
public int hashCode() {
|
| 82611 |
return 0;
|
82673 |
return 0;
|
| 82612 |
}
|
82674 |
}
|
| 82613 |
|
82675 |
|
| 82614 |
public int compareTo(getSettlementForPaymentId_args other) {
|
82676 |
public int compareTo(getSettlementForReferenceId_args other) {
|
| 82615 |
if (!getClass().equals(other.getClass())) {
|
82677 |
if (!getClass().equals(other.getClass())) {
|
| 82616 |
return getClass().getName().compareTo(other.getClass().getName());
|
82678 |
return getClass().getName().compareTo(other.getClass().getName());
|
| 82617 |
}
|
82679 |
}
|
| 82618 |
|
82680 |
|
| 82619 |
int lastComparison = 0;
|
82681 |
int lastComparison = 0;
|
| 82620 |
getSettlementForPaymentId_args typedOther = (getSettlementForPaymentId_args)other;
|
82682 |
getSettlementForReferenceId_args typedOther = (getSettlementForReferenceId_args)other;
|
| 82621 |
|
82683 |
|
| 82622 |
lastComparison = Boolean.valueOf(isSetPaymentId()).compareTo(typedOther.isSetPaymentId());
|
82684 |
lastComparison = Boolean.valueOf(isSetReferenceId()).compareTo(typedOther.isSetReferenceId());
|
| - |
|
82685 |
if (lastComparison != 0) {
|
| - |
|
82686 |
return lastComparison;
|
| - |
|
82687 |
}
|
| - |
|
82688 |
if (isSetReferenceId()) {
|
| - |
|
82689 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.referenceId, typedOther.referenceId);
|
| - |
|
82690 |
if (lastComparison != 0) {
|
| - |
|
82691 |
return lastComparison;
|
| - |
|
82692 |
}
|
| - |
|
82693 |
}
|
| - |
|
82694 |
lastComparison = Boolean.valueOf(isSetIsRefund()).compareTo(typedOther.isSetIsRefund());
|
| 82623 |
if (lastComparison != 0) {
|
82695 |
if (lastComparison != 0) {
|
| 82624 |
return lastComparison;
|
82696 |
return lastComparison;
|
| 82625 |
}
|
82697 |
}
|
| 82626 |
if (isSetPaymentId()) {
|
82698 |
if (isSetIsRefund()) {
|
| 82627 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.paymentId, typedOther.paymentId);
|
82699 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.isRefund, typedOther.isRefund);
|
| 82628 |
if (lastComparison != 0) {
|
82700 |
if (lastComparison != 0) {
|
| 82629 |
return lastComparison;
|
82701 |
return lastComparison;
|
| 82630 |
}
|
82702 |
}
|
| 82631 |
}
|
82703 |
}
|
| 82632 |
return 0;
|
82704 |
return 0;
|
| Line 82644... |
Line 82716... |
| 82644 |
field = iprot.readFieldBegin();
|
82716 |
field = iprot.readFieldBegin();
|
| 82645 |
if (field.type == org.apache.thrift.protocol.TType.STOP) {
|
82717 |
if (field.type == org.apache.thrift.protocol.TType.STOP) {
|
| 82646 |
break;
|
82718 |
break;
|
| 82647 |
}
|
82719 |
}
|
| 82648 |
switch (field.id) {
|
82720 |
switch (field.id) {
|
| 82649 |
case 1: // PAYMENT_ID
|
82721 |
case 1: // REFERENCE_ID
|
| 82650 |
if (field.type == org.apache.thrift.protocol.TType.I64) {
|
82722 |
if (field.type == org.apache.thrift.protocol.TType.I64) {
|
| 82651 |
this.paymentId = iprot.readI64();
|
82723 |
this.referenceId = iprot.readI64();
|
| 82652 |
setPaymentIdIsSet(true);
|
82724 |
setReferenceIdIsSet(true);
|
| - |
|
82725 |
} else {
|
| - |
|
82726 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| - |
|
82727 |
}
|
| - |
|
82728 |
break;
|
| - |
|
82729 |
case 2: // IS_REFUND
|
| - |
|
82730 |
if (field.type == org.apache.thrift.protocol.TType.BOOL) {
|
| - |
|
82731 |
this.isRefund = iprot.readBool();
|
| - |
|
82732 |
setIsRefundIsSet(true);
|
| 82653 |
} else {
|
82733 |
} else {
|
| 82654 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
82734 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| 82655 |
}
|
82735 |
}
|
| 82656 |
break;
|
82736 |
break;
|
| 82657 |
default:
|
82737 |
default:
|
| Line 82665... |
Line 82745... |
| 82665 |
|
82745 |
|
| 82666 |
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
|
82746 |
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
|
| 82667 |
validate();
|
82747 |
validate();
|
| 82668 |
|
82748 |
|
| 82669 |
oprot.writeStructBegin(STRUCT_DESC);
|
82749 |
oprot.writeStructBegin(STRUCT_DESC);
|
| 82670 |
oprot.writeFieldBegin(PAYMENT_ID_FIELD_DESC);
|
82750 |
oprot.writeFieldBegin(REFERENCE_ID_FIELD_DESC);
|
| 82671 |
oprot.writeI64(this.paymentId);
|
82751 |
oprot.writeI64(this.referenceId);
|
| - |
|
82752 |
oprot.writeFieldEnd();
|
| - |
|
82753 |
oprot.writeFieldBegin(IS_REFUND_FIELD_DESC);
|
| - |
|
82754 |
oprot.writeBool(this.isRefund);
|
| 82672 |
oprot.writeFieldEnd();
|
82755 |
oprot.writeFieldEnd();
|
| 82673 |
oprot.writeFieldStop();
|
82756 |
oprot.writeFieldStop();
|
| 82674 |
oprot.writeStructEnd();
|
82757 |
oprot.writeStructEnd();
|
| 82675 |
}
|
82758 |
}
|
| 82676 |
|
82759 |
|
| 82677 |
@Override
|
82760 |
@Override
|
| 82678 |
public String toString() {
|
82761 |
public String toString() {
|
| 82679 |
StringBuilder sb = new StringBuilder("getSettlementForPaymentId_args(");
|
82762 |
StringBuilder sb = new StringBuilder("getSettlementForReferenceId_args(");
|
| 82680 |
boolean first = true;
|
82763 |
boolean first = true;
|
| 82681 |
|
82764 |
|
| 82682 |
sb.append("paymentId:");
|
82765 |
sb.append("referenceId:");
|
| 82683 |
sb.append(this.paymentId);
|
82766 |
sb.append(this.referenceId);
|
| - |
|
82767 |
first = false;
|
| - |
|
82768 |
if (!first) sb.append(", ");
|
| - |
|
82769 |
sb.append("isRefund:");
|
| - |
|
82770 |
sb.append(this.isRefund);
|
| 82684 |
first = false;
|
82771 |
first = false;
|
| 82685 |
sb.append(")");
|
82772 |
sb.append(")");
|
| 82686 |
return sb.toString();
|
82773 |
return sb.toString();
|
| 82687 |
}
|
82774 |
}
|
| 82688 |
|
82775 |
|
| Line 82708... |
Line 82795... |
| 82708 |
}
|
82795 |
}
|
| 82709 |
}
|
82796 |
}
|
| 82710 |
|
82797 |
|
| 82711 |
}
|
82798 |
}
|
| 82712 |
|
82799 |
|
| 82713 |
public static class getSettlementForPaymentId_result implements org.apache.thrift.TBase<getSettlementForPaymentId_result, getSettlementForPaymentId_result._Fields>, java.io.Serializable, Cloneable {
|
82800 |
public static class getSettlementForReferenceId_result implements org.apache.thrift.TBase<getSettlementForReferenceId_result, getSettlementForReferenceId_result._Fields>, java.io.Serializable, Cloneable {
|
| 82714 |
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getSettlementForPaymentId_result");
|
82801 |
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getSettlementForReferenceId_result");
|
| 82715 |
|
82802 |
|
| 82716 |
private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.STRUCT, (short)0);
|
82803 |
private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.STRUCT, (short)0);
|
| 82717 |
private static final org.apache.thrift.protocol.TField EX_FIELD_DESC = new org.apache.thrift.protocol.TField("ex", org.apache.thrift.protocol.TType.STRUCT, (short)1);
|
82804 |
private static final org.apache.thrift.protocol.TField EX_FIELD_DESC = new org.apache.thrift.protocol.TField("ex", org.apache.thrift.protocol.TType.STRUCT, (short)1);
|
| 82718 |
|
82805 |
|
| 82719 |
private PaymentSettlement success; // required
|
82806 |
private PaymentSettlement success; // required
|
| Line 82788... |
Line 82875... |
| 82788 |
tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
82875 |
tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| 82789 |
new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, PaymentSettlement.class)));
|
82876 |
new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, PaymentSettlement.class)));
|
| 82790 |
tmpMap.put(_Fields.EX, new org.apache.thrift.meta_data.FieldMetaData("ex", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
82877 |
tmpMap.put(_Fields.EX, new org.apache.thrift.meta_data.FieldMetaData("ex", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| 82791 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT)));
|
82878 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT)));
|
| 82792 |
metaDataMap = Collections.unmodifiableMap(tmpMap);
|
82879 |
metaDataMap = Collections.unmodifiableMap(tmpMap);
|
| 82793 |
org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getSettlementForPaymentId_result.class, metaDataMap);
|
82880 |
org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getSettlementForReferenceId_result.class, metaDataMap);
|
| 82794 |
}
|
82881 |
}
|
| 82795 |
|
82882 |
|
| 82796 |
public getSettlementForPaymentId_result() {
|
82883 |
public getSettlementForReferenceId_result() {
|
| 82797 |
}
|
82884 |
}
|
| 82798 |
|
82885 |
|
| 82799 |
public getSettlementForPaymentId_result(
|
82886 |
public getSettlementForReferenceId_result(
|
| 82800 |
PaymentSettlement success,
|
82887 |
PaymentSettlement success,
|
| 82801 |
TransactionServiceException ex)
|
82888 |
TransactionServiceException ex)
|
| 82802 |
{
|
82889 |
{
|
| 82803 |
this();
|
82890 |
this();
|
| 82804 |
this.success = success;
|
82891 |
this.success = success;
|
| Line 82806... |
Line 82893... |
| 82806 |
}
|
82893 |
}
|
| 82807 |
|
82894 |
|
| 82808 |
/**
|
82895 |
/**
|
| 82809 |
* Performs a deep copy on <i>other</i>.
|
82896 |
* Performs a deep copy on <i>other</i>.
|
| 82810 |
*/
|
82897 |
*/
|
| 82811 |
public getSettlementForPaymentId_result(getSettlementForPaymentId_result other) {
|
82898 |
public getSettlementForReferenceId_result(getSettlementForReferenceId_result other) {
|
| 82812 |
if (other.isSetSuccess()) {
|
82899 |
if (other.isSetSuccess()) {
|
| 82813 |
this.success = new PaymentSettlement(other.success);
|
82900 |
this.success = new PaymentSettlement(other.success);
|
| 82814 |
}
|
82901 |
}
|
| 82815 |
if (other.isSetEx()) {
|
82902 |
if (other.isSetEx()) {
|
| 82816 |
this.ex = new TransactionServiceException(other.ex);
|
82903 |
this.ex = new TransactionServiceException(other.ex);
|
| 82817 |
}
|
82904 |
}
|
| 82818 |
}
|
82905 |
}
|
| 82819 |
|
82906 |
|
| 82820 |
public getSettlementForPaymentId_result deepCopy() {
|
82907 |
public getSettlementForReferenceId_result deepCopy() {
|
| 82821 |
return new getSettlementForPaymentId_result(this);
|
82908 |
return new getSettlementForReferenceId_result(this);
|
| 82822 |
}
|
82909 |
}
|
| 82823 |
|
82910 |
|
| 82824 |
@Override
|
82911 |
@Override
|
| 82825 |
public void clear() {
|
82912 |
public void clear() {
|
| 82826 |
this.success = null;
|
82913 |
this.success = null;
|
| Line 82923... |
Line 83010... |
| 82923 |
|
83010 |
|
| 82924 |
@Override
|
83011 |
@Override
|
| 82925 |
public boolean equals(Object that) {
|
83012 |
public boolean equals(Object that) {
|
| 82926 |
if (that == null)
|
83013 |
if (that == null)
|
| 82927 |
return false;
|
83014 |
return false;
|
| 82928 |
if (that instanceof getSettlementForPaymentId_result)
|
83015 |
if (that instanceof getSettlementForReferenceId_result)
|
| 82929 |
return this.equals((getSettlementForPaymentId_result)that);
|
83016 |
return this.equals((getSettlementForReferenceId_result)that);
|
| 82930 |
return false;
|
83017 |
return false;
|
| 82931 |
}
|
83018 |
}
|
| 82932 |
|
83019 |
|
| 82933 |
public boolean equals(getSettlementForPaymentId_result that) {
|
83020 |
public boolean equals(getSettlementForReferenceId_result that) {
|
| 82934 |
if (that == null)
|
83021 |
if (that == null)
|
| 82935 |
return false;
|
83022 |
return false;
|
| 82936 |
|
83023 |
|
| 82937 |
boolean this_present_success = true && this.isSetSuccess();
|
83024 |
boolean this_present_success = true && this.isSetSuccess();
|
| 82938 |
boolean that_present_success = true && that.isSetSuccess();
|
83025 |
boolean that_present_success = true && that.isSetSuccess();
|
| Line 82958... |
Line 83045... |
| 82958 |
@Override
|
83045 |
@Override
|
| 82959 |
public int hashCode() {
|
83046 |
public int hashCode() {
|
| 82960 |
return 0;
|
83047 |
return 0;
|
| 82961 |
}
|
83048 |
}
|
| 82962 |
|
83049 |
|
| 82963 |
public int compareTo(getSettlementForPaymentId_result other) {
|
83050 |
public int compareTo(getSettlementForReferenceId_result other) {
|
| 82964 |
if (!getClass().equals(other.getClass())) {
|
83051 |
if (!getClass().equals(other.getClass())) {
|
| 82965 |
return getClass().getName().compareTo(other.getClass().getName());
|
83052 |
return getClass().getName().compareTo(other.getClass().getName());
|
| 82966 |
}
|
83053 |
}
|
| 82967 |
|
83054 |
|
| 82968 |
int lastComparison = 0;
|
83055 |
int lastComparison = 0;
|
| 82969 |
getSettlementForPaymentId_result typedOther = (getSettlementForPaymentId_result)other;
|
83056 |
getSettlementForReferenceId_result typedOther = (getSettlementForReferenceId_result)other;
|
| 82970 |
|
83057 |
|
| 82971 |
lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
|
83058 |
lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
|
| 82972 |
if (lastComparison != 0) {
|
83059 |
if (lastComparison != 0) {
|
| 82973 |
return lastComparison;
|
83060 |
return lastComparison;
|
| 82974 |
}
|
83061 |
}
|
| Line 83046... |
Line 83133... |
| 83046 |
oprot.writeStructEnd();
|
83133 |
oprot.writeStructEnd();
|
| 83047 |
}
|
83134 |
}
|
| 83048 |
|
83135 |
|
| 83049 |
@Override
|
83136 |
@Override
|
| 83050 |
public String toString() {
|
83137 |
public String toString() {
|
| 83051 |
StringBuilder sb = new StringBuilder("getSettlementForPaymentId_result(");
|
83138 |
StringBuilder sb = new StringBuilder("getSettlementForReferenceId_result(");
|
| 83052 |
boolean first = true;
|
83139 |
boolean first = true;
|
| 83053 |
|
83140 |
|
| 83054 |
sb.append("success:");
|
83141 |
sb.append("success:");
|
| 83055 |
if (this.success == null) {
|
83142 |
if (this.success == null) {
|
| 83056 |
sb.append("null");
|
83143 |
sb.append("null");
|