| Line 682... |
Line 682... |
| 682 |
|
682 |
|
| 683 |
public List<Order> getCancelledOrders(long cancelDateFrom, long cancelDateTo) throws TransactionServiceException, org.apache.thrift.TException;
|
683 |
public List<Order> getCancelledOrders(long cancelDateFrom, long cancelDateTo) throws TransactionServiceException, org.apache.thrift.TException;
|
| 684 |
|
684 |
|
| 685 |
public void saveBluedartSettlements(Map<Long,Double> mapAWBAndAmount) throws TransactionServiceException, org.apache.thrift.TException;
|
685 |
public void saveBluedartSettlements(Map<Long,Double> mapAWBAndAmount) throws TransactionServiceException, org.apache.thrift.TException;
|
| 686 |
|
686 |
|
| 687 |
public void savePaymentSettlements(long settlementDate, long paymentGatewayId, long paymentId, double serviceTax, double otherCharges, double netCollection) throws TransactionServiceException, org.apache.thrift.TException;
|
687 |
public void savePaymentSettlements(long settlementDate, long paymentGatewayId, long referenceId, double serviceTax, double otherCharges, double netCollection) throws TransactionServiceException, org.apache.thrift.TException;
|
| 688 |
|
- |
|
| 689 |
public void saveCODPaymentSettlement(long orderId, long settlementDate, double collection) throws TransactionServiceException, org.apache.thrift.TException;
|
- |
|
| 690 |
|
688 |
|
| 691 |
public void saveEBSSettlementSummary(long settlementId, long settlementDate, long transactionDateFrom, long transactionDateTo, double amount) throws TransactionServiceException, org.apache.thrift.TException;
|
689 |
public void saveEBSSettlementSummary(long settlementId, long settlementDate, long transactionDateFrom, long transactionDateTo, double amount) throws TransactionServiceException, org.apache.thrift.TException;
|
| 692 |
|
690 |
|
| 693 |
public PaymentSettlement getSettlementForPaymentId(long paymentId) throws TransactionServiceException, org.apache.thrift.TException;
|
691 |
public PaymentSettlement getSettlementForPaymentId(long paymentId) throws TransactionServiceException, org.apache.thrift.TException;
|
| 694 |
|
692 |
|
| Line 895... |
Line 893... |
| 895 |
|
893 |
|
| 896 |
public void getCancelledOrders(long cancelDateFrom, long cancelDateTo, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getCancelledOrders_call> resultHandler) throws org.apache.thrift.TException;
|
894 |
public void getCancelledOrders(long cancelDateFrom, long cancelDateTo, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getCancelledOrders_call> resultHandler) throws org.apache.thrift.TException;
|
| 897 |
|
895 |
|
| 898 |
public void saveBluedartSettlements(Map<Long,Double> mapAWBAndAmount, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.saveBluedartSettlements_call> resultHandler) throws org.apache.thrift.TException;
|
896 |
public void saveBluedartSettlements(Map<Long,Double> mapAWBAndAmount, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.saveBluedartSettlements_call> resultHandler) throws org.apache.thrift.TException;
|
| 899 |
|
897 |
|
| 900 |
public void savePaymentSettlements(long settlementDate, long paymentGatewayId, long paymentId, double serviceTax, double otherCharges, double netCollection, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.savePaymentSettlements_call> resultHandler) throws org.apache.thrift.TException;
|
898 |
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;
|
| 901 |
|
- |
|
| 902 |
public void saveCODPaymentSettlement(long orderId, long settlementDate, double collection, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.saveCODPaymentSettlement_call> resultHandler) throws org.apache.thrift.TException;
|
- |
|
| 903 |
|
899 |
|
| 904 |
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;
|
900 |
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;
|
| 905 |
|
901 |
|
| 906 |
public void getSettlementForPaymentId(long paymentId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getSettlementForPaymentId_call> resultHandler) throws org.apache.thrift.TException;
|
902 |
public void getSettlementForPaymentId(long paymentId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getSettlementForPaymentId_call> resultHandler) throws org.apache.thrift.TException;
|
| 907 |
|
903 |
|
| Line 3192... |
Line 3188... |
| 3192 |
throw result.ex;
|
3188 |
throw result.ex;
|
| 3193 |
}
|
3189 |
}
|
| 3194 |
return;
|
3190 |
return;
|
| 3195 |
}
|
3191 |
}
|
| 3196 |
|
3192 |
|
| 3197 |
public void savePaymentSettlements(long settlementDate, long paymentGatewayId, long paymentId, double serviceTax, double otherCharges, double netCollection) throws TransactionServiceException, org.apache.thrift.TException
|
3193 |
public void savePaymentSettlements(long settlementDate, long paymentGatewayId, long referenceId, double serviceTax, double otherCharges, double netCollection) throws TransactionServiceException, org.apache.thrift.TException
|
| 3198 |
{
|
3194 |
{
|
| 3199 |
send_savePaymentSettlements(settlementDate, paymentGatewayId, paymentId, serviceTax, otherCharges, netCollection);
|
3195 |
send_savePaymentSettlements(settlementDate, paymentGatewayId, referenceId, serviceTax, otherCharges, netCollection);
|
| 3200 |
recv_savePaymentSettlements();
|
3196 |
recv_savePaymentSettlements();
|
| 3201 |
}
|
3197 |
}
|
| 3202 |
|
3198 |
|
| 3203 |
public void send_savePaymentSettlements(long settlementDate, long paymentGatewayId, long paymentId, double serviceTax, double otherCharges, double netCollection) throws org.apache.thrift.TException
|
3199 |
public void send_savePaymentSettlements(long settlementDate, long paymentGatewayId, long referenceId, double serviceTax, double otherCharges, double netCollection) throws org.apache.thrift.TException
|
| 3204 |
{
|
3200 |
{
|
| 3205 |
savePaymentSettlements_args args = new savePaymentSettlements_args();
|
3201 |
savePaymentSettlements_args args = new savePaymentSettlements_args();
|
| 3206 |
args.setSettlementDate(settlementDate);
|
3202 |
args.setSettlementDate(settlementDate);
|
| 3207 |
args.setPaymentGatewayId(paymentGatewayId);
|
3203 |
args.setPaymentGatewayId(paymentGatewayId);
|
| 3208 |
args.setPaymentId(paymentId);
|
3204 |
args.setReferenceId(referenceId);
|
| 3209 |
args.setServiceTax(serviceTax);
|
3205 |
args.setServiceTax(serviceTax);
|
| 3210 |
args.setOtherCharges(otherCharges);
|
3206 |
args.setOtherCharges(otherCharges);
|
| 3211 |
args.setNetCollection(netCollection);
|
3207 |
args.setNetCollection(netCollection);
|
| 3212 |
sendBase("savePaymentSettlements", args);
|
3208 |
sendBase("savePaymentSettlements", args);
|
| 3213 |
}
|
3209 |
}
|
| Line 3220... |
Line 3216... |
| 3220 |
throw result.ex;
|
3216 |
throw result.ex;
|
| 3221 |
}
|
3217 |
}
|
| 3222 |
return;
|
3218 |
return;
|
| 3223 |
}
|
3219 |
}
|
| 3224 |
|
3220 |
|
| 3225 |
public void saveCODPaymentSettlement(long orderId, long settlementDate, double collection) throws TransactionServiceException, org.apache.thrift.TException
|
- |
|
| 3226 |
{
|
- |
|
| 3227 |
send_saveCODPaymentSettlement(orderId, settlementDate, collection);
|
- |
|
| 3228 |
recv_saveCODPaymentSettlement();
|
- |
|
| 3229 |
}
|
- |
|
| 3230 |
|
- |
|
| 3231 |
public void send_saveCODPaymentSettlement(long orderId, long settlementDate, double collection) throws org.apache.thrift.TException
|
- |
|
| 3232 |
{
|
- |
|
| 3233 |
saveCODPaymentSettlement_args args = new saveCODPaymentSettlement_args();
|
- |
|
| 3234 |
args.setOrderId(orderId);
|
- |
|
| 3235 |
args.setSettlementDate(settlementDate);
|
- |
|
| 3236 |
args.setCollection(collection);
|
- |
|
| 3237 |
sendBase("saveCODPaymentSettlement", args);
|
- |
|
| 3238 |
}
|
- |
|
| 3239 |
|
- |
|
| 3240 |
public void recv_saveCODPaymentSettlement() throws TransactionServiceException, org.apache.thrift.TException
|
- |
|
| 3241 |
{
|
- |
|
| 3242 |
saveCODPaymentSettlement_result result = new saveCODPaymentSettlement_result();
|
- |
|
| 3243 |
receiveBase(result, "saveCODPaymentSettlement");
|
- |
|
| 3244 |
if (result.ex != null) {
|
- |
|
| 3245 |
throw result.ex;
|
- |
|
| 3246 |
}
|
- |
|
| 3247 |
return;
|
- |
|
| 3248 |
}
|
- |
|
| 3249 |
|
- |
|
| 3250 |
public void saveEBSSettlementSummary(long settlementId, long settlementDate, long transactionDateFrom, long transactionDateTo, double amount) throws TransactionServiceException, org.apache.thrift.TException
|
3221 |
public void saveEBSSettlementSummary(long settlementId, long settlementDate, long transactionDateFrom, long transactionDateTo, double amount) throws TransactionServiceException, org.apache.thrift.TException
|
| 3251 |
{
|
3222 |
{
|
| 3252 |
send_saveEBSSettlementSummary(settlementId, settlementDate, transactionDateFrom, transactionDateTo, amount);
|
3223 |
send_saveEBSSettlementSummary(settlementId, settlementDate, transactionDateFrom, transactionDateTo, amount);
|
| 3253 |
recv_saveEBSSettlementSummary();
|
3224 |
recv_saveEBSSettlementSummary();
|
| 3254 |
}
|
3225 |
}
|
| Line 6558... |
Line 6529... |
| 6558 |
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
|
6529 |
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
|
| 6559 |
(new Client(prot)).recv_saveBluedartSettlements();
|
6530 |
(new Client(prot)).recv_saveBluedartSettlements();
|
| 6560 |
}
|
6531 |
}
|
| 6561 |
}
|
6532 |
}
|
| 6562 |
|
6533 |
|
| 6563 |
public void savePaymentSettlements(long settlementDate, long paymentGatewayId, long paymentId, double serviceTax, double otherCharges, double netCollection, org.apache.thrift.async.AsyncMethodCallback<savePaymentSettlements_call> resultHandler) throws org.apache.thrift.TException {
|
6534 |
public void savePaymentSettlements(long settlementDate, long paymentGatewayId, long referenceId, double serviceTax, double otherCharges, double netCollection, org.apache.thrift.async.AsyncMethodCallback<savePaymentSettlements_call> resultHandler) throws org.apache.thrift.TException {
|
| 6564 |
checkReady();
|
6535 |
checkReady();
|
| 6565 |
savePaymentSettlements_call method_call = new savePaymentSettlements_call(settlementDate, paymentGatewayId, paymentId, serviceTax, otherCharges, netCollection, resultHandler, this, ___protocolFactory, ___transport);
|
6536 |
savePaymentSettlements_call method_call = new savePaymentSettlements_call(settlementDate, paymentGatewayId, referenceId, serviceTax, otherCharges, netCollection, resultHandler, this, ___protocolFactory, ___transport);
|
| 6566 |
this.___currentMethod = method_call;
|
6537 |
this.___currentMethod = method_call;
|
| 6567 |
___manager.call(method_call);
|
6538 |
___manager.call(method_call);
|
| 6568 |
}
|
6539 |
}
|
| 6569 |
|
6540 |
|
| 6570 |
public static class savePaymentSettlements_call extends org.apache.thrift.async.TAsyncMethodCall {
|
6541 |
public static class savePaymentSettlements_call extends org.apache.thrift.async.TAsyncMethodCall {
|
| 6571 |
private long settlementDate;
|
6542 |
private long settlementDate;
|
| 6572 |
private long paymentGatewayId;
|
6543 |
private long paymentGatewayId;
|
| 6573 |
private long paymentId;
|
6544 |
private long referenceId;
|
| 6574 |
private double serviceTax;
|
6545 |
private double serviceTax;
|
| 6575 |
private double otherCharges;
|
6546 |
private double otherCharges;
|
| 6576 |
private double netCollection;
|
6547 |
private double netCollection;
|
| 6577 |
public savePaymentSettlements_call(long settlementDate, long paymentGatewayId, long paymentId, double serviceTax, double otherCharges, double netCollection, org.apache.thrift.async.AsyncMethodCallback<savePaymentSettlements_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 {
|
6548 |
public savePaymentSettlements_call(long settlementDate, long paymentGatewayId, long referenceId, double serviceTax, double otherCharges, double netCollection, org.apache.thrift.async.AsyncMethodCallback<savePaymentSettlements_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 {
|
| 6578 |
super(client, protocolFactory, transport, resultHandler, false);
|
6549 |
super(client, protocolFactory, transport, resultHandler, false);
|
| 6579 |
this.settlementDate = settlementDate;
|
6550 |
this.settlementDate = settlementDate;
|
| 6580 |
this.paymentGatewayId = paymentGatewayId;
|
6551 |
this.paymentGatewayId = paymentGatewayId;
|
| 6581 |
this.paymentId = paymentId;
|
6552 |
this.referenceId = referenceId;
|
| 6582 |
this.serviceTax = serviceTax;
|
6553 |
this.serviceTax = serviceTax;
|
| 6583 |
this.otherCharges = otherCharges;
|
6554 |
this.otherCharges = otherCharges;
|
| 6584 |
this.netCollection = netCollection;
|
6555 |
this.netCollection = netCollection;
|
| 6585 |
}
|
6556 |
}
|
| 6586 |
|
6557 |
|
| 6587 |
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
|
6558 |
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
|
| 6588 |
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("savePaymentSettlements", org.apache.thrift.protocol.TMessageType.CALL, 0));
|
6559 |
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("savePaymentSettlements", org.apache.thrift.protocol.TMessageType.CALL, 0));
|
| 6589 |
savePaymentSettlements_args args = new savePaymentSettlements_args();
|
6560 |
savePaymentSettlements_args args = new savePaymentSettlements_args();
|
| 6590 |
args.setSettlementDate(settlementDate);
|
6561 |
args.setSettlementDate(settlementDate);
|
| 6591 |
args.setPaymentGatewayId(paymentGatewayId);
|
6562 |
args.setPaymentGatewayId(paymentGatewayId);
|
| 6592 |
args.setPaymentId(paymentId);
|
6563 |
args.setReferenceId(referenceId);
|
| 6593 |
args.setServiceTax(serviceTax);
|
6564 |
args.setServiceTax(serviceTax);
|
| 6594 |
args.setOtherCharges(otherCharges);
|
6565 |
args.setOtherCharges(otherCharges);
|
| 6595 |
args.setNetCollection(netCollection);
|
6566 |
args.setNetCollection(netCollection);
|
| 6596 |
args.write(prot);
|
6567 |
args.write(prot);
|
| 6597 |
prot.writeMessageEnd();
|
6568 |
prot.writeMessageEnd();
|
| Line 6605... |
Line 6576... |
| 6605 |
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
|
6576 |
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
|
| 6606 |
(new Client(prot)).recv_savePaymentSettlements();
|
6577 |
(new Client(prot)).recv_savePaymentSettlements();
|
| 6607 |
}
|
6578 |
}
|
| 6608 |
}
|
6579 |
}
|
| 6609 |
|
6580 |
|
| 6610 |
public void saveCODPaymentSettlement(long orderId, long settlementDate, double collection, org.apache.thrift.async.AsyncMethodCallback<saveCODPaymentSettlement_call> resultHandler) throws org.apache.thrift.TException {
|
- |
|
| 6611 |
checkReady();
|
- |
|
| 6612 |
saveCODPaymentSettlement_call method_call = new saveCODPaymentSettlement_call(orderId, settlementDate, collection, resultHandler, this, ___protocolFactory, ___transport);
|
- |
|
| 6613 |
this.___currentMethod = method_call;
|
- |
|
| 6614 |
___manager.call(method_call);
|
- |
|
| 6615 |
}
|
- |
|
| 6616 |
|
- |
|
| 6617 |
public static class saveCODPaymentSettlement_call extends org.apache.thrift.async.TAsyncMethodCall {
|
- |
|
| 6618 |
private long orderId;
|
- |
|
| 6619 |
private long settlementDate;
|
- |
|
| 6620 |
private double collection;
|
- |
|
| 6621 |
public saveCODPaymentSettlement_call(long orderId, long settlementDate, double collection, org.apache.thrift.async.AsyncMethodCallback<saveCODPaymentSettlement_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 {
|
- |
|
| 6622 |
super(client, protocolFactory, transport, resultHandler, false);
|
- |
|
| 6623 |
this.orderId = orderId;
|
- |
|
| 6624 |
this.settlementDate = settlementDate;
|
- |
|
| 6625 |
this.collection = collection;
|
- |
|
| 6626 |
}
|
- |
|
| 6627 |
|
- |
|
| 6628 |
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
|
- |
|
| 6629 |
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("saveCODPaymentSettlement", org.apache.thrift.protocol.TMessageType.CALL, 0));
|
- |
|
| 6630 |
saveCODPaymentSettlement_args args = new saveCODPaymentSettlement_args();
|
- |
|
| 6631 |
args.setOrderId(orderId);
|
- |
|
| 6632 |
args.setSettlementDate(settlementDate);
|
- |
|
| 6633 |
args.setCollection(collection);
|
- |
|
| 6634 |
args.write(prot);
|
- |
|
| 6635 |
prot.writeMessageEnd();
|
- |
|
| 6636 |
}
|
- |
|
| 6637 |
|
- |
|
| 6638 |
public void getResult() throws TransactionServiceException, org.apache.thrift.TException {
|
- |
|
| 6639 |
if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
|
- |
|
| 6640 |
throw new IllegalStateException("Method call not finished!");
|
- |
|
| 6641 |
}
|
- |
|
| 6642 |
org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
|
- |
|
| 6643 |
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
|
- |
|
| 6644 |
(new Client(prot)).recv_saveCODPaymentSettlement();
|
- |
|
| 6645 |
}
|
- |
|
| 6646 |
}
|
- |
|
| 6647 |
|
- |
|
| 6648 |
public void saveEBSSettlementSummary(long settlementId, long settlementDate, long transactionDateFrom, long transactionDateTo, double amount, org.apache.thrift.async.AsyncMethodCallback<saveEBSSettlementSummary_call> resultHandler) throws org.apache.thrift.TException {
|
6581 |
public void saveEBSSettlementSummary(long settlementId, long settlementDate, long transactionDateFrom, long transactionDateTo, double amount, org.apache.thrift.async.AsyncMethodCallback<saveEBSSettlementSummary_call> resultHandler) throws org.apache.thrift.TException {
|
| 6649 |
checkReady();
|
6582 |
checkReady();
|
| 6650 |
saveEBSSettlementSummary_call method_call = new saveEBSSettlementSummary_call(settlementId, settlementDate, transactionDateFrom, transactionDateTo, amount, resultHandler, this, ___protocolFactory, ___transport);
|
6583 |
saveEBSSettlementSummary_call method_call = new saveEBSSettlementSummary_call(settlementId, settlementDate, transactionDateFrom, transactionDateTo, amount, resultHandler, this, ___protocolFactory, ___transport);
|
| 6651 |
this.___currentMethod = method_call;
|
6584 |
this.___currentMethod = method_call;
|
| 6652 |
___manager.call(method_call);
|
6585 |
___manager.call(method_call);
|
| Line 7053... |
Line 6986... |
| 7053 |
processMap.put("getBilledOrdersForVendor", new getBilledOrdersForVendor());
|
6986 |
processMap.put("getBilledOrdersForVendor", new getBilledOrdersForVendor());
|
| 7054 |
processMap.put("getSlippedSippingDateOrders", new getSlippedSippingDateOrders());
|
6987 |
processMap.put("getSlippedSippingDateOrders", new getSlippedSippingDateOrders());
|
| 7055 |
processMap.put("getCancelledOrders", new getCancelledOrders());
|
6988 |
processMap.put("getCancelledOrders", new getCancelledOrders());
|
| 7056 |
processMap.put("saveBluedartSettlements", new saveBluedartSettlements());
|
6989 |
processMap.put("saveBluedartSettlements", new saveBluedartSettlements());
|
| 7057 |
processMap.put("savePaymentSettlements", new savePaymentSettlements());
|
6990 |
processMap.put("savePaymentSettlements", new savePaymentSettlements());
|
| 7058 |
processMap.put("saveCODPaymentSettlement", new saveCODPaymentSettlement());
|
- |
|
| 7059 |
processMap.put("saveEBSSettlementSummary", new saveEBSSettlementSummary());
|
6991 |
processMap.put("saveEBSSettlementSummary", new saveEBSSettlementSummary());
|
| 7060 |
processMap.put("getSettlementForPaymentId", new getSettlementForPaymentId());
|
6992 |
processMap.put("getSettlementForPaymentId", new getSettlementForPaymentId());
|
| 7061 |
processMap.put("getEBSSettlementSummaries", new getEBSSettlementSummaries());
|
6993 |
processMap.put("getEBSSettlementSummaries", new getEBSSettlementSummaries());
|
| 7062 |
processMap.put("markEBSSettlementUploaded", new markEBSSettlementUploaded());
|
6994 |
processMap.put("markEBSSettlementUploaded", new markEBSSettlementUploaded());
|
| 7063 |
processMap.put("getEBSSettlementDate", new getEBSSettlementDate());
|
6995 |
processMap.put("getEBSSettlementDate", new getEBSSettlementDate());
|
| Line 8783... |
Line 8715... |
| 8783 |
}
|
8715 |
}
|
| 8784 |
|
8716 |
|
| 8785 |
protected savePaymentSettlements_result getResult(I iface, savePaymentSettlements_args args) throws org.apache.thrift.TException {
|
8717 |
protected savePaymentSettlements_result getResult(I iface, savePaymentSettlements_args args) throws org.apache.thrift.TException {
|
| 8786 |
savePaymentSettlements_result result = new savePaymentSettlements_result();
|
8718 |
savePaymentSettlements_result result = new savePaymentSettlements_result();
|
| 8787 |
try {
|
8719 |
try {
|
| 8788 |
iface.savePaymentSettlements(args.settlementDate, args.paymentGatewayId, args.paymentId, args.serviceTax, args.otherCharges, args.netCollection);
|
8720 |
iface.savePaymentSettlements(args.settlementDate, args.paymentGatewayId, args.referenceId, args.serviceTax, args.otherCharges, args.netCollection);
|
| 8789 |
} catch (TransactionServiceException ex) {
|
- |
|
| 8790 |
result.ex = ex;
|
- |
|
| 8791 |
}
|
- |
|
| 8792 |
return result;
|
- |
|
| 8793 |
}
|
- |
|
| 8794 |
}
|
- |
|
| 8795 |
|
- |
|
| 8796 |
private static class saveCODPaymentSettlement<I extends Iface> extends org.apache.thrift.ProcessFunction<I, saveCODPaymentSettlement_args> {
|
- |
|
| 8797 |
public saveCODPaymentSettlement() {
|
- |
|
| 8798 |
super("saveCODPaymentSettlement");
|
- |
|
| 8799 |
}
|
- |
|
| 8800 |
|
- |
|
| 8801 |
protected saveCODPaymentSettlement_args getEmptyArgsInstance() {
|
- |
|
| 8802 |
return new saveCODPaymentSettlement_args();
|
- |
|
| 8803 |
}
|
- |
|
| 8804 |
|
- |
|
| 8805 |
protected saveCODPaymentSettlement_result getResult(I iface, saveCODPaymentSettlement_args args) throws org.apache.thrift.TException {
|
- |
|
| 8806 |
saveCODPaymentSettlement_result result = new saveCODPaymentSettlement_result();
|
- |
|
| 8807 |
try {
|
- |
|
| 8808 |
iface.saveCODPaymentSettlement(args.orderId, args.settlementDate, args.collection);
|
- |
|
| 8809 |
} catch (TransactionServiceException ex) {
|
8721 |
} catch (TransactionServiceException ex) {
|
| 8810 |
result.ex = ex;
|
8722 |
result.ex = ex;
|
| 8811 |
}
|
8723 |
}
|
| 8812 |
return result;
|
8724 |
return result;
|
| 8813 |
}
|
8725 |
}
|
| Line 74373... |
Line 74285... |
| 74373 |
public static class savePaymentSettlements_args implements org.apache.thrift.TBase<savePaymentSettlements_args, savePaymentSettlements_args._Fields>, java.io.Serializable, Cloneable {
|
74285 |
public static class savePaymentSettlements_args implements org.apache.thrift.TBase<savePaymentSettlements_args, savePaymentSettlements_args._Fields>, java.io.Serializable, Cloneable {
|
| 74374 |
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("savePaymentSettlements_args");
|
74286 |
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("savePaymentSettlements_args");
|
| 74375 |
|
74287 |
|
| 74376 |
private static final org.apache.thrift.protocol.TField SETTLEMENT_DATE_FIELD_DESC = new org.apache.thrift.protocol.TField("settlementDate", org.apache.thrift.protocol.TType.I64, (short)1);
|
74288 |
private static final org.apache.thrift.protocol.TField SETTLEMENT_DATE_FIELD_DESC = new org.apache.thrift.protocol.TField("settlementDate", org.apache.thrift.protocol.TType.I64, (short)1);
|
| 74377 |
private static final org.apache.thrift.protocol.TField PAYMENT_GATEWAY_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("paymentGatewayId", org.apache.thrift.protocol.TType.I64, (short)2);
|
74289 |
private static final org.apache.thrift.protocol.TField PAYMENT_GATEWAY_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("paymentGatewayId", org.apache.thrift.protocol.TType.I64, (short)2);
|
| 74378 |
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)3);
|
74290 |
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)3);
|
| 74379 |
private static final org.apache.thrift.protocol.TField SERVICE_TAX_FIELD_DESC = new org.apache.thrift.protocol.TField("serviceTax", org.apache.thrift.protocol.TType.DOUBLE, (short)4);
|
74291 |
private static final org.apache.thrift.protocol.TField SERVICE_TAX_FIELD_DESC = new org.apache.thrift.protocol.TField("serviceTax", org.apache.thrift.protocol.TType.DOUBLE, (short)4);
|
| 74380 |
private static final org.apache.thrift.protocol.TField OTHER_CHARGES_FIELD_DESC = new org.apache.thrift.protocol.TField("otherCharges", org.apache.thrift.protocol.TType.DOUBLE, (short)5);
|
74292 |
private static final org.apache.thrift.protocol.TField OTHER_CHARGES_FIELD_DESC = new org.apache.thrift.protocol.TField("otherCharges", org.apache.thrift.protocol.TType.DOUBLE, (short)5);
|
| 74381 |
private static final org.apache.thrift.protocol.TField NET_COLLECTION_FIELD_DESC = new org.apache.thrift.protocol.TField("netCollection", org.apache.thrift.protocol.TType.DOUBLE, (short)6);
|
74293 |
private static final org.apache.thrift.protocol.TField NET_COLLECTION_FIELD_DESC = new org.apache.thrift.protocol.TField("netCollection", org.apache.thrift.protocol.TType.DOUBLE, (short)6);
|
| 74382 |
|
74294 |
|
| 74383 |
private long settlementDate; // required
|
74295 |
private long settlementDate; // required
|
| 74384 |
private long paymentGatewayId; // required
|
74296 |
private long paymentGatewayId; // required
|
| 74385 |
private long paymentId; // required
|
74297 |
private long referenceId; // required
|
| 74386 |
private double serviceTax; // required
|
74298 |
private double serviceTax; // required
|
| 74387 |
private double otherCharges; // required
|
74299 |
private double otherCharges; // required
|
| 74388 |
private double netCollection; // required
|
74300 |
private double netCollection; // required
|
| 74389 |
|
74301 |
|
| 74390 |
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
|
74302 |
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
|
| 74391 |
public enum _Fields implements org.apache.thrift.TFieldIdEnum {
|
74303 |
public enum _Fields implements org.apache.thrift.TFieldIdEnum {
|
| 74392 |
SETTLEMENT_DATE((short)1, "settlementDate"),
|
74304 |
SETTLEMENT_DATE((short)1, "settlementDate"),
|
| 74393 |
PAYMENT_GATEWAY_ID((short)2, "paymentGatewayId"),
|
74305 |
PAYMENT_GATEWAY_ID((short)2, "paymentGatewayId"),
|
| 74394 |
PAYMENT_ID((short)3, "paymentId"),
|
74306 |
REFERENCE_ID((short)3, "referenceId"),
|
| 74395 |
SERVICE_TAX((short)4, "serviceTax"),
|
74307 |
SERVICE_TAX((short)4, "serviceTax"),
|
| 74396 |
OTHER_CHARGES((short)5, "otherCharges"),
|
74308 |
OTHER_CHARGES((short)5, "otherCharges"),
|
| 74397 |
NET_COLLECTION((short)6, "netCollection");
|
74309 |
NET_COLLECTION((short)6, "netCollection");
|
| 74398 |
|
74310 |
|
| 74399 |
private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
|
74311 |
private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
|
| Line 74411... |
Line 74323... |
| 74411 |
switch(fieldId) {
|
74323 |
switch(fieldId) {
|
| 74412 |
case 1: // SETTLEMENT_DATE
|
74324 |
case 1: // SETTLEMENT_DATE
|
| 74413 |
return SETTLEMENT_DATE;
|
74325 |
return SETTLEMENT_DATE;
|
| 74414 |
case 2: // PAYMENT_GATEWAY_ID
|
74326 |
case 2: // PAYMENT_GATEWAY_ID
|
| 74415 |
return PAYMENT_GATEWAY_ID;
|
74327 |
return PAYMENT_GATEWAY_ID;
|
| 74416 |
case 3: // PAYMENT_ID
|
74328 |
case 3: // REFERENCE_ID
|
| 74417 |
return PAYMENT_ID;
|
74329 |
return REFERENCE_ID;
|
| 74418 |
case 4: // SERVICE_TAX
|
74330 |
case 4: // SERVICE_TAX
|
| 74419 |
return SERVICE_TAX;
|
74331 |
return SERVICE_TAX;
|
| 74420 |
case 5: // OTHER_CHARGES
|
74332 |
case 5: // OTHER_CHARGES
|
| 74421 |
return OTHER_CHARGES;
|
74333 |
return OTHER_CHARGES;
|
| 74422 |
case 6: // NET_COLLECTION
|
74334 |
case 6: // NET_COLLECTION
|
| Line 74461... |
Line 74373... |
| 74461 |
}
|
74373 |
}
|
| 74462 |
|
74374 |
|
| 74463 |
// isset id assignments
|
74375 |
// isset id assignments
|
| 74464 |
private static final int __SETTLEMENTDATE_ISSET_ID = 0;
|
74376 |
private static final int __SETTLEMENTDATE_ISSET_ID = 0;
|
| 74465 |
private static final int __PAYMENTGATEWAYID_ISSET_ID = 1;
|
74377 |
private static final int __PAYMENTGATEWAYID_ISSET_ID = 1;
|
| 74466 |
private static final int __PAYMENTID_ISSET_ID = 2;
|
74378 |
private static final int __REFERENCEID_ISSET_ID = 2;
|
| 74467 |
private static final int __SERVICETAX_ISSET_ID = 3;
|
74379 |
private static final int __SERVICETAX_ISSET_ID = 3;
|
| 74468 |
private static final int __OTHERCHARGES_ISSET_ID = 4;
|
74380 |
private static final int __OTHERCHARGES_ISSET_ID = 4;
|
| 74469 |
private static final int __NETCOLLECTION_ISSET_ID = 5;
|
74381 |
private static final int __NETCOLLECTION_ISSET_ID = 5;
|
| 74470 |
private BitSet __isset_bit_vector = new BitSet(6);
|
74382 |
private BitSet __isset_bit_vector = new BitSet(6);
|
| 74471 |
|
74383 |
|
| Line 74474... |
Line 74386... |
| 74474 |
Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
|
74386 |
Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
|
| 74475 |
tmpMap.put(_Fields.SETTLEMENT_DATE, new org.apache.thrift.meta_data.FieldMetaData("settlementDate", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
74387 |
tmpMap.put(_Fields.SETTLEMENT_DATE, new org.apache.thrift.meta_data.FieldMetaData("settlementDate", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| 74476 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
74388 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
| 74477 |
tmpMap.put(_Fields.PAYMENT_GATEWAY_ID, new org.apache.thrift.meta_data.FieldMetaData("paymentGatewayId", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
74389 |
tmpMap.put(_Fields.PAYMENT_GATEWAY_ID, new org.apache.thrift.meta_data.FieldMetaData("paymentGatewayId", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| 74478 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
74390 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
| 74479 |
tmpMap.put(_Fields.PAYMENT_ID, new org.apache.thrift.meta_data.FieldMetaData("paymentId", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
74391 |
tmpMap.put(_Fields.REFERENCE_ID, new org.apache.thrift.meta_data.FieldMetaData("referenceId", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| 74480 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
74392 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
| 74481 |
tmpMap.put(_Fields.SERVICE_TAX, new org.apache.thrift.meta_data.FieldMetaData("serviceTax", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
74393 |
tmpMap.put(_Fields.SERVICE_TAX, new org.apache.thrift.meta_data.FieldMetaData("serviceTax", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| 74482 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
|
74394 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
|
| 74483 |
tmpMap.put(_Fields.OTHER_CHARGES, new org.apache.thrift.meta_data.FieldMetaData("otherCharges", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
74395 |
tmpMap.put(_Fields.OTHER_CHARGES, new org.apache.thrift.meta_data.FieldMetaData("otherCharges", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| 74484 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
|
74396 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
|
| Line 74492... |
Line 74404... |
| 74492 |
}
|
74404 |
}
|
| 74493 |
|
74405 |
|
| 74494 |
public savePaymentSettlements_args(
|
74406 |
public savePaymentSettlements_args(
|
| 74495 |
long settlementDate,
|
74407 |
long settlementDate,
|
| 74496 |
long paymentGatewayId,
|
74408 |
long paymentGatewayId,
|
| 74497 |
long paymentId,
|
74409 |
long referenceId,
|
| 74498 |
double serviceTax,
|
74410 |
double serviceTax,
|
| 74499 |
double otherCharges,
|
74411 |
double otherCharges,
|
| 74500 |
double netCollection)
|
74412 |
double netCollection)
|
| 74501 |
{
|
74413 |
{
|
| 74502 |
this();
|
74414 |
this();
|
| 74503 |
this.settlementDate = settlementDate;
|
74415 |
this.settlementDate = settlementDate;
|
| 74504 |
setSettlementDateIsSet(true);
|
74416 |
setSettlementDateIsSet(true);
|
| 74505 |
this.paymentGatewayId = paymentGatewayId;
|
74417 |
this.paymentGatewayId = paymentGatewayId;
|
| 74506 |
setPaymentGatewayIdIsSet(true);
|
74418 |
setPaymentGatewayIdIsSet(true);
|
| 74507 |
this.paymentId = paymentId;
|
74419 |
this.referenceId = referenceId;
|
| 74508 |
setPaymentIdIsSet(true);
|
74420 |
setReferenceIdIsSet(true);
|
| 74509 |
this.serviceTax = serviceTax;
|
74421 |
this.serviceTax = serviceTax;
|
| 74510 |
setServiceTaxIsSet(true);
|
74422 |
setServiceTaxIsSet(true);
|
| 74511 |
this.otherCharges = otherCharges;
|
74423 |
this.otherCharges = otherCharges;
|
| 74512 |
setOtherChargesIsSet(true);
|
74424 |
setOtherChargesIsSet(true);
|
| 74513 |
this.netCollection = netCollection;
|
74425 |
this.netCollection = netCollection;
|
| Line 74520... |
Line 74432... |
| 74520 |
public savePaymentSettlements_args(savePaymentSettlements_args other) {
|
74432 |
public savePaymentSettlements_args(savePaymentSettlements_args other) {
|
| 74521 |
__isset_bit_vector.clear();
|
74433 |
__isset_bit_vector.clear();
|
| 74522 |
__isset_bit_vector.or(other.__isset_bit_vector);
|
74434 |
__isset_bit_vector.or(other.__isset_bit_vector);
|
| 74523 |
this.settlementDate = other.settlementDate;
|
74435 |
this.settlementDate = other.settlementDate;
|
| 74524 |
this.paymentGatewayId = other.paymentGatewayId;
|
74436 |
this.paymentGatewayId = other.paymentGatewayId;
|
| 74525 |
this.paymentId = other.paymentId;
|
74437 |
this.referenceId = other.referenceId;
|
| 74526 |
this.serviceTax = other.serviceTax;
|
74438 |
this.serviceTax = other.serviceTax;
|
| 74527 |
this.otherCharges = other.otherCharges;
|
74439 |
this.otherCharges = other.otherCharges;
|
| 74528 |
this.netCollection = other.netCollection;
|
74440 |
this.netCollection = other.netCollection;
|
| 74529 |
}
|
74441 |
}
|
| 74530 |
|
74442 |
|
| Line 74536... |
Line 74448... |
| 74536 |
public void clear() {
|
74448 |
public void clear() {
|
| 74537 |
setSettlementDateIsSet(false);
|
74449 |
setSettlementDateIsSet(false);
|
| 74538 |
this.settlementDate = 0;
|
74450 |
this.settlementDate = 0;
|
| 74539 |
setPaymentGatewayIdIsSet(false);
|
74451 |
setPaymentGatewayIdIsSet(false);
|
| 74540 |
this.paymentGatewayId = 0;
|
74452 |
this.paymentGatewayId = 0;
|
| 74541 |
setPaymentIdIsSet(false);
|
74453 |
setReferenceIdIsSet(false);
|
| 74542 |
this.paymentId = 0;
|
74454 |
this.referenceId = 0;
|
| 74543 |
setServiceTaxIsSet(false);
|
74455 |
setServiceTaxIsSet(false);
|
| 74544 |
this.serviceTax = 0.0;
|
74456 |
this.serviceTax = 0.0;
|
| 74545 |
setOtherChargesIsSet(false);
|
74457 |
setOtherChargesIsSet(false);
|
| 74546 |
this.otherCharges = 0.0;
|
74458 |
this.otherCharges = 0.0;
|
| 74547 |
setNetCollectionIsSet(false);
|
74459 |
setNetCollectionIsSet(false);
|
| Line 74590... |
Line 74502... |
| 74590 |
|
74502 |
|
| 74591 |
public void setPaymentGatewayIdIsSet(boolean value) {
|
74503 |
public void setPaymentGatewayIdIsSet(boolean value) {
|
| 74592 |
__isset_bit_vector.set(__PAYMENTGATEWAYID_ISSET_ID, value);
|
74504 |
__isset_bit_vector.set(__PAYMENTGATEWAYID_ISSET_ID, value);
|
| 74593 |
}
|
74505 |
}
|
| 74594 |
|
74506 |
|
| 74595 |
public long getPaymentId() {
|
74507 |
public long getReferenceId() {
|
| 74596 |
return this.paymentId;
|
74508 |
return this.referenceId;
|
| 74597 |
}
|
74509 |
}
|
| 74598 |
|
74510 |
|
| 74599 |
public void setPaymentId(long paymentId) {
|
74511 |
public void setReferenceId(long referenceId) {
|
| 74600 |
this.paymentId = paymentId;
|
74512 |
this.referenceId = referenceId;
|
| 74601 |
setPaymentIdIsSet(true);
|
74513 |
setReferenceIdIsSet(true);
|
| 74602 |
}
|
74514 |
}
|
| 74603 |
|
74515 |
|
| 74604 |
public void unsetPaymentId() {
|
74516 |
public void unsetReferenceId() {
|
| 74605 |
__isset_bit_vector.clear(__PAYMENTID_ISSET_ID);
|
74517 |
__isset_bit_vector.clear(__REFERENCEID_ISSET_ID);
|
| 74606 |
}
|
74518 |
}
|
| 74607 |
|
74519 |
|
| 74608 |
/** Returns true if field paymentId is set (has been assigned a value) and false otherwise */
|
74520 |
/** Returns true if field referenceId is set (has been assigned a value) and false otherwise */
|
| 74609 |
public boolean isSetPaymentId() {
|
74521 |
public boolean isSetReferenceId() {
|
| 74610 |
return __isset_bit_vector.get(__PAYMENTID_ISSET_ID);
|
74522 |
return __isset_bit_vector.get(__REFERENCEID_ISSET_ID);
|
| 74611 |
}
|
74523 |
}
|
| 74612 |
|
74524 |
|
| 74613 |
public void setPaymentIdIsSet(boolean value) {
|
74525 |
public void setReferenceIdIsSet(boolean value) {
|
| 74614 |
__isset_bit_vector.set(__PAYMENTID_ISSET_ID, value);
|
74526 |
__isset_bit_vector.set(__REFERENCEID_ISSET_ID, value);
|
| 74615 |
}
|
74527 |
}
|
| 74616 |
|
74528 |
|
| 74617 |
public double getServiceTax() {
|
74529 |
public double getServiceTax() {
|
| 74618 |
return this.serviceTax;
|
74530 |
return this.serviceTax;
|
| 74619 |
}
|
74531 |
}
|
| Line 74696... |
Line 74608... |
| 74696 |
} else {
|
74608 |
} else {
|
| 74697 |
setPaymentGatewayId((Long)value);
|
74609 |
setPaymentGatewayId((Long)value);
|
| 74698 |
}
|
74610 |
}
|
| 74699 |
break;
|
74611 |
break;
|
| 74700 |
|
74612 |
|
| 74701 |
case PAYMENT_ID:
|
74613 |
case REFERENCE_ID:
|
| 74702 |
if (value == null) {
|
74614 |
if (value == null) {
|
| 74703 |
unsetPaymentId();
|
74615 |
unsetReferenceId();
|
| 74704 |
} else {
|
74616 |
} else {
|
| 74705 |
setPaymentId((Long)value);
|
74617 |
setReferenceId((Long)value);
|
| 74706 |
}
|
74618 |
}
|
| 74707 |
break;
|
74619 |
break;
|
| 74708 |
|
74620 |
|
| 74709 |
case SERVICE_TAX:
|
74621 |
case SERVICE_TAX:
|
| 74710 |
if (value == null) {
|
74622 |
if (value == null) {
|
| Line 74739... |
Line 74651... |
| 74739 |
return Long.valueOf(getSettlementDate());
|
74651 |
return Long.valueOf(getSettlementDate());
|
| 74740 |
|
74652 |
|
| 74741 |
case PAYMENT_GATEWAY_ID:
|
74653 |
case PAYMENT_GATEWAY_ID:
|
| 74742 |
return Long.valueOf(getPaymentGatewayId());
|
74654 |
return Long.valueOf(getPaymentGatewayId());
|
| 74743 |
|
74655 |
|
| 74744 |
case PAYMENT_ID:
|
74656 |
case REFERENCE_ID:
|
| 74745 |
return Long.valueOf(getPaymentId());
|
74657 |
return Long.valueOf(getReferenceId());
|
| 74746 |
|
74658 |
|
| 74747 |
case SERVICE_TAX:
|
74659 |
case SERVICE_TAX:
|
| 74748 |
return Double.valueOf(getServiceTax());
|
74660 |
return Double.valueOf(getServiceTax());
|
| 74749 |
|
74661 |
|
| 74750 |
case OTHER_CHARGES:
|
74662 |
case OTHER_CHARGES:
|
| Line 74766... |
Line 74678... |
| 74766 |
switch (field) {
|
74678 |
switch (field) {
|
| 74767 |
case SETTLEMENT_DATE:
|
74679 |
case SETTLEMENT_DATE:
|
| 74768 |
return isSetSettlementDate();
|
74680 |
return isSetSettlementDate();
|
| 74769 |
case PAYMENT_GATEWAY_ID:
|
74681 |
case PAYMENT_GATEWAY_ID:
|
| 74770 |
return isSetPaymentGatewayId();
|
74682 |
return isSetPaymentGatewayId();
|
| 74771 |
case PAYMENT_ID:
|
74683 |
case REFERENCE_ID:
|
| 74772 |
return isSetPaymentId();
|
74684 |
return isSetReferenceId();
|
| 74773 |
case SERVICE_TAX:
|
74685 |
case SERVICE_TAX:
|
| 74774 |
return isSetServiceTax();
|
74686 |
return isSetServiceTax();
|
| 74775 |
case OTHER_CHARGES:
|
74687 |
case OTHER_CHARGES:
|
| 74776 |
return isSetOtherCharges();
|
74688 |
return isSetOtherCharges();
|
| 74777 |
case NET_COLLECTION:
|
74689 |
case NET_COLLECTION:
|
| Line 74809... |
Line 74721... |
| 74809 |
return false;
|
74721 |
return false;
|
| 74810 |
if (this.paymentGatewayId != that.paymentGatewayId)
|
74722 |
if (this.paymentGatewayId != that.paymentGatewayId)
|
| 74811 |
return false;
|
74723 |
return false;
|
| 74812 |
}
|
74724 |
}
|
| 74813 |
|
74725 |
|
| 74814 |
boolean this_present_paymentId = true;
|
74726 |
boolean this_present_referenceId = true;
|
| 74815 |
boolean that_present_paymentId = true;
|
74727 |
boolean that_present_referenceId = true;
|
| 74816 |
if (this_present_paymentId || that_present_paymentId) {
|
74728 |
if (this_present_referenceId || that_present_referenceId) {
|
| 74817 |
if (!(this_present_paymentId && that_present_paymentId))
|
74729 |
if (!(this_present_referenceId && that_present_referenceId))
|
| 74818 |
return false;
|
74730 |
return false;
|
| 74819 |
if (this.paymentId != that.paymentId)
|
74731 |
if (this.referenceId != that.referenceId)
|
| 74820 |
return false;
|
74732 |
return false;
|
| 74821 |
}
|
74733 |
}
|
| 74822 |
|
74734 |
|
| 74823 |
boolean this_present_serviceTax = true;
|
74735 |
boolean this_present_serviceTax = true;
|
| 74824 |
boolean that_present_serviceTax = true;
|
74736 |
boolean that_present_serviceTax = true;
|
| Line 74881... |
Line 74793... |
| 74881 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.paymentGatewayId, typedOther.paymentGatewayId);
|
74793 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.paymentGatewayId, typedOther.paymentGatewayId);
|
| 74882 |
if (lastComparison != 0) {
|
74794 |
if (lastComparison != 0) {
|
| 74883 |
return lastComparison;
|
74795 |
return lastComparison;
|
| 74884 |
}
|
74796 |
}
|
| 74885 |
}
|
74797 |
}
|
| 74886 |
lastComparison = Boolean.valueOf(isSetPaymentId()).compareTo(typedOther.isSetPaymentId());
|
74798 |
lastComparison = Boolean.valueOf(isSetReferenceId()).compareTo(typedOther.isSetReferenceId());
|
| 74887 |
if (lastComparison != 0) {
|
74799 |
if (lastComparison != 0) {
|
| 74888 |
return lastComparison;
|
74800 |
return lastComparison;
|
| 74889 |
}
|
74801 |
}
|
| 74890 |
if (isSetPaymentId()) {
|
74802 |
if (isSetReferenceId()) {
|
| 74891 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.paymentId, typedOther.paymentId);
|
74803 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.referenceId, typedOther.referenceId);
|
| 74892 |
if (lastComparison != 0) {
|
74804 |
if (lastComparison != 0) {
|
| 74893 |
return lastComparison;
|
74805 |
return lastComparison;
|
| 74894 |
}
|
74806 |
}
|
| 74895 |
}
|
74807 |
}
|
| 74896 |
lastComparison = Boolean.valueOf(isSetServiceTax()).compareTo(typedOther.isSetServiceTax());
|
74808 |
lastComparison = Boolean.valueOf(isSetServiceTax()).compareTo(typedOther.isSetServiceTax());
|
| Line 74954... |
Line 74866... |
| 74954 |
setPaymentGatewayIdIsSet(true);
|
74866 |
setPaymentGatewayIdIsSet(true);
|
| 74955 |
} else {
|
74867 |
} else {
|
| 74956 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
74868 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| 74957 |
}
|
74869 |
}
|
| 74958 |
break;
|
74870 |
break;
|
| 74959 |
case 3: // PAYMENT_ID
|
74871 |
case 3: // REFERENCE_ID
|
| 74960 |
if (field.type == org.apache.thrift.protocol.TType.I64) {
|
74872 |
if (field.type == org.apache.thrift.protocol.TType.I64) {
|
| 74961 |
this.paymentId = iprot.readI64();
|
74873 |
this.referenceId = iprot.readI64();
|
| 74962 |
setPaymentIdIsSet(true);
|
74874 |
setReferenceIdIsSet(true);
|
| 74963 |
} else {
|
74875 |
} else {
|
| 74964 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
74876 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| 74965 |
}
|
74877 |
}
|
| 74966 |
break;
|
74878 |
break;
|
| 74967 |
case 4: // SERVICE_TAX
|
74879 |
case 4: // SERVICE_TAX
|
| Line 75005... |
Line 74917... |
| 75005 |
oprot.writeI64(this.settlementDate);
|
74917 |
oprot.writeI64(this.settlementDate);
|
| 75006 |
oprot.writeFieldEnd();
|
74918 |
oprot.writeFieldEnd();
|
| 75007 |
oprot.writeFieldBegin(PAYMENT_GATEWAY_ID_FIELD_DESC);
|
74919 |
oprot.writeFieldBegin(PAYMENT_GATEWAY_ID_FIELD_DESC);
|
| 75008 |
oprot.writeI64(this.paymentGatewayId);
|
74920 |
oprot.writeI64(this.paymentGatewayId);
|
| 75009 |
oprot.writeFieldEnd();
|
74921 |
oprot.writeFieldEnd();
|
| 75010 |
oprot.writeFieldBegin(PAYMENT_ID_FIELD_DESC);
|
74922 |
oprot.writeFieldBegin(REFERENCE_ID_FIELD_DESC);
|
| 75011 |
oprot.writeI64(this.paymentId);
|
74923 |
oprot.writeI64(this.referenceId);
|
| 75012 |
oprot.writeFieldEnd();
|
74924 |
oprot.writeFieldEnd();
|
| 75013 |
oprot.writeFieldBegin(SERVICE_TAX_FIELD_DESC);
|
74925 |
oprot.writeFieldBegin(SERVICE_TAX_FIELD_DESC);
|
| 75014 |
oprot.writeDouble(this.serviceTax);
|
74926 |
oprot.writeDouble(this.serviceTax);
|
| 75015 |
oprot.writeFieldEnd();
|
74927 |
oprot.writeFieldEnd();
|
| 75016 |
oprot.writeFieldBegin(OTHER_CHARGES_FIELD_DESC);
|
74928 |
oprot.writeFieldBegin(OTHER_CHARGES_FIELD_DESC);
|
| Line 75034... |
Line 74946... |
| 75034 |
if (!first) sb.append(", ");
|
74946 |
if (!first) sb.append(", ");
|
| 75035 |
sb.append("paymentGatewayId:");
|
74947 |
sb.append("paymentGatewayId:");
|
| 75036 |
sb.append(this.paymentGatewayId);
|
74948 |
sb.append(this.paymentGatewayId);
|
| 75037 |
first = false;
|
74949 |
first = false;
|
| 75038 |
if (!first) sb.append(", ");
|
74950 |
if (!first) sb.append(", ");
|
| 75039 |
sb.append("paymentId:");
|
74951 |
sb.append("referenceId:");
|
| 75040 |
sb.append(this.paymentId);
|
74952 |
sb.append(this.referenceId);
|
| 75041 |
first = false;
|
74953 |
first = false;
|
| 75042 |
if (!first) sb.append(", ");
|
74954 |
if (!first) sb.append(", ");
|
| 75043 |
sb.append("serviceTax:");
|
74955 |
sb.append("serviceTax:");
|
| 75044 |
sb.append(this.serviceTax);
|
74956 |
sb.append(this.serviceTax);
|
| 75045 |
first = false;
|
74957 |
first = false;
|
| Line 75341... |
Line 75253... |
| 75341 |
boolean first = true;
|
75253 |
boolean first = true;
|
| 75342 |
|
75254 |
|
| 75343 |
sb.append("ex:");
|
75255 |
sb.append("ex:");
|
| 75344 |
if (this.ex == null) {
|
75256 |
if (this.ex == null) {
|
| 75345 |
sb.append("null");
|
75257 |
sb.append("null");
|
| 75346 |
} else {
|
- |
|
| 75347 |
sb.append(this.ex);
|
- |
|
| 75348 |
}
|
- |
|
| 75349 |
first = false;
|
- |
|
| 75350 |
sb.append(")");
|
- |
|
| 75351 |
return sb.toString();
|
- |
|
| 75352 |
}
|
- |
|
| 75353 |
|
- |
|
| 75354 |
public void validate() throws org.apache.thrift.TException {
|
- |
|
| 75355 |
// check for required fields
|
- |
|
| 75356 |
}
|
- |
|
| 75357 |
|
- |
|
| 75358 |
private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
|
- |
|
| 75359 |
try {
|
- |
|
| 75360 |
write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
|
- |
|
| 75361 |
} catch (org.apache.thrift.TException te) {
|
- |
|
| 75362 |
throw new java.io.IOException(te);
|
- |
|
| 75363 |
}
|
- |
|
| 75364 |
}
|
- |
|
| 75365 |
|
- |
|
| 75366 |
private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
|
- |
|
| 75367 |
try {
|
- |
|
| 75368 |
read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
|
- |
|
| 75369 |
} catch (org.apache.thrift.TException te) {
|
- |
|
| 75370 |
throw new java.io.IOException(te);
|
- |
|
| 75371 |
}
|
- |
|
| 75372 |
}
|
- |
|
| 75373 |
|
- |
|
| 75374 |
}
|
- |
|
| 75375 |
|
- |
|
| 75376 |
public static class saveCODPaymentSettlement_args implements org.apache.thrift.TBase<saveCODPaymentSettlement_args, saveCODPaymentSettlement_args._Fields>, java.io.Serializable, Cloneable {
|
- |
|
| 75377 |
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("saveCODPaymentSettlement_args");
|
- |
|
| 75378 |
|
- |
|
| 75379 |
private static final org.apache.thrift.protocol.TField ORDER_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("orderId", org.apache.thrift.protocol.TType.I64, (short)1);
|
- |
|
| 75380 |
private static final org.apache.thrift.protocol.TField SETTLEMENT_DATE_FIELD_DESC = new org.apache.thrift.protocol.TField("settlementDate", org.apache.thrift.protocol.TType.I64, (short)2);
|
- |
|
| 75381 |
private static final org.apache.thrift.protocol.TField COLLECTION_FIELD_DESC = new org.apache.thrift.protocol.TField("collection", org.apache.thrift.protocol.TType.DOUBLE, (short)3);
|
- |
|
| 75382 |
|
- |
|
| 75383 |
private long orderId; // required
|
- |
|
| 75384 |
private long settlementDate; // required
|
- |
|
| 75385 |
private double collection; // required
|
- |
|
| 75386 |
|
- |
|
| 75387 |
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
|
- |
|
| 75388 |
public enum _Fields implements org.apache.thrift.TFieldIdEnum {
|
- |
|
| 75389 |
ORDER_ID((short)1, "orderId"),
|
- |
|
| 75390 |
SETTLEMENT_DATE((short)2, "settlementDate"),
|
- |
|
| 75391 |
COLLECTION((short)3, "collection");
|
- |
|
| 75392 |
|
- |
|
| 75393 |
private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
|
- |
|
| 75394 |
|
- |
|
| 75395 |
static {
|
- |
|
| 75396 |
for (_Fields field : EnumSet.allOf(_Fields.class)) {
|
- |
|
| 75397 |
byName.put(field.getFieldName(), field);
|
- |
|
| 75398 |
}
|
- |
|
| 75399 |
}
|
- |
|
| 75400 |
|
- |
|
| 75401 |
/**
|
- |
|
| 75402 |
* Find the _Fields constant that matches fieldId, or null if its not found.
|
- |
|
| 75403 |
*/
|
- |
|
| 75404 |
public static _Fields findByThriftId(int fieldId) {
|
- |
|
| 75405 |
switch(fieldId) {
|
- |
|
| 75406 |
case 1: // ORDER_ID
|
- |
|
| 75407 |
return ORDER_ID;
|
- |
|
| 75408 |
case 2: // SETTLEMENT_DATE
|
- |
|
| 75409 |
return SETTLEMENT_DATE;
|
- |
|
| 75410 |
case 3: // COLLECTION
|
- |
|
| 75411 |
return COLLECTION;
|
- |
|
| 75412 |
default:
|
- |
|
| 75413 |
return null;
|
- |
|
| 75414 |
}
|
- |
|
| 75415 |
}
|
- |
|
| 75416 |
|
- |
|
| 75417 |
/**
|
- |
|
| 75418 |
* Find the _Fields constant that matches fieldId, throwing an exception
|
- |
|
| 75419 |
* if it is not found.
|
- |
|
| 75420 |
*/
|
- |
|
| 75421 |
public static _Fields findByThriftIdOrThrow(int fieldId) {
|
- |
|
| 75422 |
_Fields fields = findByThriftId(fieldId);
|
- |
|
| 75423 |
if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
|
- |
|
| 75424 |
return fields;
|
- |
|
| 75425 |
}
|
- |
|
| 75426 |
|
- |
|
| 75427 |
/**
|
- |
|
| 75428 |
* Find the _Fields constant that matches name, or null if its not found.
|
- |
|
| 75429 |
*/
|
- |
|
| 75430 |
public static _Fields findByName(String name) {
|
- |
|
| 75431 |
return byName.get(name);
|
- |
|
| 75432 |
}
|
- |
|
| 75433 |
|
- |
|
| 75434 |
private final short _thriftId;
|
- |
|
| 75435 |
private final String _fieldName;
|
- |
|
| 75436 |
|
- |
|
| 75437 |
_Fields(short thriftId, String fieldName) {
|
- |
|
| 75438 |
_thriftId = thriftId;
|
- |
|
| 75439 |
_fieldName = fieldName;
|
- |
|
| 75440 |
}
|
- |
|
| 75441 |
|
- |
|
| 75442 |
public short getThriftFieldId() {
|
- |
|
| 75443 |
return _thriftId;
|
- |
|
| 75444 |
}
|
- |
|
| 75445 |
|
- |
|
| 75446 |
public String getFieldName() {
|
- |
|
| 75447 |
return _fieldName;
|
- |
|
| 75448 |
}
|
- |
|
| 75449 |
}
|
- |
|
| 75450 |
|
- |
|
| 75451 |
// isset id assignments
|
- |
|
| 75452 |
private static final int __ORDERID_ISSET_ID = 0;
|
- |
|
| 75453 |
private static final int __SETTLEMENTDATE_ISSET_ID = 1;
|
- |
|
| 75454 |
private static final int __COLLECTION_ISSET_ID = 2;
|
- |
|
| 75455 |
private BitSet __isset_bit_vector = new BitSet(3);
|
- |
|
| 75456 |
|
- |
|
| 75457 |
public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
|
- |
|
| 75458 |
static {
|
- |
|
| 75459 |
Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
|
- |
|
| 75460 |
tmpMap.put(_Fields.ORDER_ID, new org.apache.thrift.meta_data.FieldMetaData("orderId", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
- |
|
| 75461 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
- |
|
| 75462 |
tmpMap.put(_Fields.SETTLEMENT_DATE, new org.apache.thrift.meta_data.FieldMetaData("settlementDate", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
- |
|
| 75463 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
- |
|
| 75464 |
tmpMap.put(_Fields.COLLECTION, new org.apache.thrift.meta_data.FieldMetaData("collection", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
- |
|
| 75465 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
|
- |
|
| 75466 |
metaDataMap = Collections.unmodifiableMap(tmpMap);
|
- |
|
| 75467 |
org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(saveCODPaymentSettlement_args.class, metaDataMap);
|
- |
|
| 75468 |
}
|
- |
|
| 75469 |
|
- |
|
| 75470 |
public saveCODPaymentSettlement_args() {
|
- |
|
| 75471 |
}
|
- |
|
| 75472 |
|
- |
|
| 75473 |
public saveCODPaymentSettlement_args(
|
- |
|
| 75474 |
long orderId,
|
- |
|
| 75475 |
long settlementDate,
|
- |
|
| 75476 |
double collection)
|
- |
|
| 75477 |
{
|
- |
|
| 75478 |
this();
|
- |
|
| 75479 |
this.orderId = orderId;
|
- |
|
| 75480 |
setOrderIdIsSet(true);
|
- |
|
| 75481 |
this.settlementDate = settlementDate;
|
- |
|
| 75482 |
setSettlementDateIsSet(true);
|
- |
|
| 75483 |
this.collection = collection;
|
- |
|
| 75484 |
setCollectionIsSet(true);
|
- |
|
| 75485 |
}
|
- |
|
| 75486 |
|
- |
|
| 75487 |
/**
|
- |
|
| 75488 |
* Performs a deep copy on <i>other</i>.
|
- |
|
| 75489 |
*/
|
- |
|
| 75490 |
public saveCODPaymentSettlement_args(saveCODPaymentSettlement_args other) {
|
- |
|
| 75491 |
__isset_bit_vector.clear();
|
- |
|
| 75492 |
__isset_bit_vector.or(other.__isset_bit_vector);
|
- |
|
| 75493 |
this.orderId = other.orderId;
|
- |
|
| 75494 |
this.settlementDate = other.settlementDate;
|
- |
|
| 75495 |
this.collection = other.collection;
|
- |
|
| 75496 |
}
|
- |
|
| 75497 |
|
- |
|
| 75498 |
public saveCODPaymentSettlement_args deepCopy() {
|
- |
|
| 75499 |
return new saveCODPaymentSettlement_args(this);
|
- |
|
| 75500 |
}
|
- |
|
| 75501 |
|
- |
|
| 75502 |
@Override
|
- |
|
| 75503 |
public void clear() {
|
- |
|
| 75504 |
setOrderIdIsSet(false);
|
- |
|
| 75505 |
this.orderId = 0;
|
- |
|
| 75506 |
setSettlementDateIsSet(false);
|
- |
|
| 75507 |
this.settlementDate = 0;
|
- |
|
| 75508 |
setCollectionIsSet(false);
|
- |
|
| 75509 |
this.collection = 0.0;
|
- |
|
| 75510 |
}
|
- |
|
| 75511 |
|
- |
|
| 75512 |
public long getOrderId() {
|
- |
|
| 75513 |
return this.orderId;
|
- |
|
| 75514 |
}
|
- |
|
| 75515 |
|
- |
|
| 75516 |
public void setOrderId(long orderId) {
|
- |
|
| 75517 |
this.orderId = orderId;
|
- |
|
| 75518 |
setOrderIdIsSet(true);
|
- |
|
| 75519 |
}
|
- |
|
| 75520 |
|
- |
|
| 75521 |
public void unsetOrderId() {
|
- |
|
| 75522 |
__isset_bit_vector.clear(__ORDERID_ISSET_ID);
|
- |
|
| 75523 |
}
|
- |
|
| 75524 |
|
- |
|
| 75525 |
/** Returns true if field orderId is set (has been assigned a value) and false otherwise */
|
- |
|
| 75526 |
public boolean isSetOrderId() {
|
- |
|
| 75527 |
return __isset_bit_vector.get(__ORDERID_ISSET_ID);
|
- |
|
| 75528 |
}
|
- |
|
| 75529 |
|
- |
|
| 75530 |
public void setOrderIdIsSet(boolean value) {
|
- |
|
| 75531 |
__isset_bit_vector.set(__ORDERID_ISSET_ID, value);
|
- |
|
| 75532 |
}
|
- |
|
| 75533 |
|
- |
|
| 75534 |
public long getSettlementDate() {
|
- |
|
| 75535 |
return this.settlementDate;
|
- |
|
| 75536 |
}
|
- |
|
| 75537 |
|
- |
|
| 75538 |
public void setSettlementDate(long settlementDate) {
|
- |
|
| 75539 |
this.settlementDate = settlementDate;
|
- |
|
| 75540 |
setSettlementDateIsSet(true);
|
- |
|
| 75541 |
}
|
- |
|
| 75542 |
|
- |
|
| 75543 |
public void unsetSettlementDate() {
|
- |
|
| 75544 |
__isset_bit_vector.clear(__SETTLEMENTDATE_ISSET_ID);
|
- |
|
| 75545 |
}
|
- |
|
| 75546 |
|
- |
|
| 75547 |
/** Returns true if field settlementDate is set (has been assigned a value) and false otherwise */
|
- |
|
| 75548 |
public boolean isSetSettlementDate() {
|
- |
|
| 75549 |
return __isset_bit_vector.get(__SETTLEMENTDATE_ISSET_ID);
|
- |
|
| 75550 |
}
|
- |
|
| 75551 |
|
- |
|
| 75552 |
public void setSettlementDateIsSet(boolean value) {
|
- |
|
| 75553 |
__isset_bit_vector.set(__SETTLEMENTDATE_ISSET_ID, value);
|
- |
|
| 75554 |
}
|
- |
|
| 75555 |
|
- |
|
| 75556 |
public double getCollection() {
|
- |
|
| 75557 |
return this.collection;
|
- |
|
| 75558 |
}
|
- |
|
| 75559 |
|
- |
|
| 75560 |
public void setCollection(double collection) {
|
- |
|
| 75561 |
this.collection = collection;
|
- |
|
| 75562 |
setCollectionIsSet(true);
|
- |
|
| 75563 |
}
|
- |
|
| 75564 |
|
- |
|
| 75565 |
public void unsetCollection() {
|
- |
|
| 75566 |
__isset_bit_vector.clear(__COLLECTION_ISSET_ID);
|
- |
|
| 75567 |
}
|
- |
|
| 75568 |
|
- |
|
| 75569 |
/** Returns true if field collection is set (has been assigned a value) and false otherwise */
|
- |
|
| 75570 |
public boolean isSetCollection() {
|
- |
|
| 75571 |
return __isset_bit_vector.get(__COLLECTION_ISSET_ID);
|
- |
|
| 75572 |
}
|
- |
|
| 75573 |
|
- |
|
| 75574 |
public void setCollectionIsSet(boolean value) {
|
- |
|
| 75575 |
__isset_bit_vector.set(__COLLECTION_ISSET_ID, value);
|
- |
|
| 75576 |
}
|
- |
|
| 75577 |
|
- |
|
| 75578 |
public void setFieldValue(_Fields field, Object value) {
|
- |
|
| 75579 |
switch (field) {
|
- |
|
| 75580 |
case ORDER_ID:
|
- |
|
| 75581 |
if (value == null) {
|
- |
|
| 75582 |
unsetOrderId();
|
- |
|
| 75583 |
} else {
|
- |
|
| 75584 |
setOrderId((Long)value);
|
- |
|
| 75585 |
}
|
- |
|
| 75586 |
break;
|
- |
|
| 75587 |
|
- |
|
| 75588 |
case SETTLEMENT_DATE:
|
- |
|
| 75589 |
if (value == null) {
|
- |
|
| 75590 |
unsetSettlementDate();
|
- |
|
| 75591 |
} else {
|
- |
|
| 75592 |
setSettlementDate((Long)value);
|
- |
|
| 75593 |
}
|
- |
|
| 75594 |
break;
|
- |
|
| 75595 |
|
- |
|
| 75596 |
case COLLECTION:
|
- |
|
| 75597 |
if (value == null) {
|
- |
|
| 75598 |
unsetCollection();
|
- |
|
| 75599 |
} else {
|
- |
|
| 75600 |
setCollection((Double)value);
|
- |
|
| 75601 |
}
|
- |
|
| 75602 |
break;
|
- |
|
| 75603 |
|
- |
|
| 75604 |
}
|
- |
|
| 75605 |
}
|
- |
|
| 75606 |
|
- |
|
| 75607 |
public Object getFieldValue(_Fields field) {
|
- |
|
| 75608 |
switch (field) {
|
- |
|
| 75609 |
case ORDER_ID:
|
- |
|
| 75610 |
return Long.valueOf(getOrderId());
|
- |
|
| 75611 |
|
- |
|
| 75612 |
case SETTLEMENT_DATE:
|
- |
|
| 75613 |
return Long.valueOf(getSettlementDate());
|
- |
|
| 75614 |
|
- |
|
| 75615 |
case COLLECTION:
|
- |
|
| 75616 |
return Double.valueOf(getCollection());
|
- |
|
| 75617 |
|
- |
|
| 75618 |
}
|
- |
|
| 75619 |
throw new IllegalStateException();
|
- |
|
| 75620 |
}
|
- |
|
| 75621 |
|
- |
|
| 75622 |
/** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
|
- |
|
| 75623 |
public boolean isSet(_Fields field) {
|
- |
|
| 75624 |
if (field == null) {
|
- |
|
| 75625 |
throw new IllegalArgumentException();
|
- |
|
| 75626 |
}
|
- |
|
| 75627 |
|
- |
|
| 75628 |
switch (field) {
|
- |
|
| 75629 |
case ORDER_ID:
|
- |
|
| 75630 |
return isSetOrderId();
|
- |
|
| 75631 |
case SETTLEMENT_DATE:
|
- |
|
| 75632 |
return isSetSettlementDate();
|
- |
|
| 75633 |
case COLLECTION:
|
- |
|
| 75634 |
return isSetCollection();
|
- |
|
| 75635 |
}
|
- |
|
| 75636 |
throw new IllegalStateException();
|
- |
|
| 75637 |
}
|
- |
|
| 75638 |
|
- |
|
| 75639 |
@Override
|
- |
|
| 75640 |
public boolean equals(Object that) {
|
- |
|
| 75641 |
if (that == null)
|
- |
|
| 75642 |
return false;
|
- |
|
| 75643 |
if (that instanceof saveCODPaymentSettlement_args)
|
- |
|
| 75644 |
return this.equals((saveCODPaymentSettlement_args)that);
|
- |
|
| 75645 |
return false;
|
- |
|
| 75646 |
}
|
- |
|
| 75647 |
|
- |
|
| 75648 |
public boolean equals(saveCODPaymentSettlement_args that) {
|
- |
|
| 75649 |
if (that == null)
|
- |
|
| 75650 |
return false;
|
- |
|
| 75651 |
|
- |
|
| 75652 |
boolean this_present_orderId = true;
|
- |
|
| 75653 |
boolean that_present_orderId = true;
|
- |
|
| 75654 |
if (this_present_orderId || that_present_orderId) {
|
- |
|
| 75655 |
if (!(this_present_orderId && that_present_orderId))
|
- |
|
| 75656 |
return false;
|
- |
|
| 75657 |
if (this.orderId != that.orderId)
|
- |
|
| 75658 |
return false;
|
- |
|
| 75659 |
}
|
- |
|
| 75660 |
|
- |
|
| 75661 |
boolean this_present_settlementDate = true;
|
- |
|
| 75662 |
boolean that_present_settlementDate = true;
|
- |
|
| 75663 |
if (this_present_settlementDate || that_present_settlementDate) {
|
- |
|
| 75664 |
if (!(this_present_settlementDate && that_present_settlementDate))
|
- |
|
| 75665 |
return false;
|
- |
|
| 75666 |
if (this.settlementDate != that.settlementDate)
|
- |
|
| 75667 |
return false;
|
- |
|
| 75668 |
}
|
- |
|
| 75669 |
|
- |
|
| 75670 |
boolean this_present_collection = true;
|
- |
|
| 75671 |
boolean that_present_collection = true;
|
- |
|
| 75672 |
if (this_present_collection || that_present_collection) {
|
- |
|
| 75673 |
if (!(this_present_collection && that_present_collection))
|
- |
|
| 75674 |
return false;
|
- |
|
| 75675 |
if (this.collection != that.collection)
|
- |
|
| 75676 |
return false;
|
- |
|
| 75677 |
}
|
- |
|
| 75678 |
|
- |
|
| 75679 |
return true;
|
- |
|
| 75680 |
}
|
- |
|
| 75681 |
|
- |
|
| 75682 |
@Override
|
- |
|
| 75683 |
public int hashCode() {
|
- |
|
| 75684 |
return 0;
|
- |
|
| 75685 |
}
|
- |
|
| 75686 |
|
- |
|
| 75687 |
public int compareTo(saveCODPaymentSettlement_args other) {
|
- |
|
| 75688 |
if (!getClass().equals(other.getClass())) {
|
- |
|
| 75689 |
return getClass().getName().compareTo(other.getClass().getName());
|
- |
|
| 75690 |
}
|
- |
|
| 75691 |
|
- |
|
| 75692 |
int lastComparison = 0;
|
- |
|
| 75693 |
saveCODPaymentSettlement_args typedOther = (saveCODPaymentSettlement_args)other;
|
- |
|
| 75694 |
|
- |
|
| 75695 |
lastComparison = Boolean.valueOf(isSetOrderId()).compareTo(typedOther.isSetOrderId());
|
- |
|
| 75696 |
if (lastComparison != 0) {
|
- |
|
| 75697 |
return lastComparison;
|
- |
|
| 75698 |
}
|
- |
|
| 75699 |
if (isSetOrderId()) {
|
- |
|
| 75700 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.orderId, typedOther.orderId);
|
- |
|
| 75701 |
if (lastComparison != 0) {
|
- |
|
| 75702 |
return lastComparison;
|
- |
|
| 75703 |
}
|
- |
|
| 75704 |
}
|
- |
|
| 75705 |
lastComparison = Boolean.valueOf(isSetSettlementDate()).compareTo(typedOther.isSetSettlementDate());
|
- |
|
| 75706 |
if (lastComparison != 0) {
|
- |
|
| 75707 |
return lastComparison;
|
- |
|
| 75708 |
}
|
- |
|
| 75709 |
if (isSetSettlementDate()) {
|
- |
|
| 75710 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.settlementDate, typedOther.settlementDate);
|
- |
|
| 75711 |
if (lastComparison != 0) {
|
- |
|
| 75712 |
return lastComparison;
|
- |
|
| 75713 |
}
|
- |
|
| 75714 |
}
|
- |
|
| 75715 |
lastComparison = Boolean.valueOf(isSetCollection()).compareTo(typedOther.isSetCollection());
|
- |
|
| 75716 |
if (lastComparison != 0) {
|
- |
|
| 75717 |
return lastComparison;
|
- |
|
| 75718 |
}
|
- |
|
| 75719 |
if (isSetCollection()) {
|
- |
|
| 75720 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.collection, typedOther.collection);
|
- |
|
| 75721 |
if (lastComparison != 0) {
|
- |
|
| 75722 |
return lastComparison;
|
- |
|
| 75723 |
}
|
- |
|
| 75724 |
}
|
- |
|
| 75725 |
return 0;
|
- |
|
| 75726 |
}
|
- |
|
| 75727 |
|
- |
|
| 75728 |
public _Fields fieldForId(int fieldId) {
|
- |
|
| 75729 |
return _Fields.findByThriftId(fieldId);
|
- |
|
| 75730 |
}
|
- |
|
| 75731 |
|
- |
|
| 75732 |
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
|
- |
|
| 75733 |
org.apache.thrift.protocol.TField field;
|
- |
|
| 75734 |
iprot.readStructBegin();
|
- |
|
| 75735 |
while (true)
|
- |
|
| 75736 |
{
|
- |
|
| 75737 |
field = iprot.readFieldBegin();
|
- |
|
| 75738 |
if (field.type == org.apache.thrift.protocol.TType.STOP) {
|
- |
|
| 75739 |
break;
|
- |
|
| 75740 |
}
|
- |
|
| 75741 |
switch (field.id) {
|
- |
|
| 75742 |
case 1: // ORDER_ID
|
- |
|
| 75743 |
if (field.type == org.apache.thrift.protocol.TType.I64) {
|
- |
|
| 75744 |
this.orderId = iprot.readI64();
|
- |
|
| 75745 |
setOrderIdIsSet(true);
|
- |
|
| 75746 |
} else {
|
- |
|
| 75747 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
- |
|
| 75748 |
}
|
- |
|
| 75749 |
break;
|
- |
|
| 75750 |
case 2: // SETTLEMENT_DATE
|
- |
|
| 75751 |
if (field.type == org.apache.thrift.protocol.TType.I64) {
|
- |
|
| 75752 |
this.settlementDate = iprot.readI64();
|
- |
|
| 75753 |
setSettlementDateIsSet(true);
|
- |
|
| 75754 |
} else {
|
- |
|
| 75755 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
- |
|
| 75756 |
}
|
- |
|
| 75757 |
break;
|
- |
|
| 75758 |
case 3: // COLLECTION
|
- |
|
| 75759 |
if (field.type == org.apache.thrift.protocol.TType.DOUBLE) {
|
- |
|
| 75760 |
this.collection = iprot.readDouble();
|
- |
|
| 75761 |
setCollectionIsSet(true);
|
- |
|
| 75762 |
} else {
|
- |
|
| 75763 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
- |
|
| 75764 |
}
|
- |
|
| 75765 |
break;
|
- |
|
| 75766 |
default:
|
- |
|
| 75767 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
- |
|
| 75768 |
}
|
- |
|
| 75769 |
iprot.readFieldEnd();
|
- |
|
| 75770 |
}
|
- |
|
| 75771 |
iprot.readStructEnd();
|
- |
|
| 75772 |
validate();
|
- |
|
| 75773 |
}
|
- |
|
| 75774 |
|
- |
|
| 75775 |
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
|
- |
|
| 75776 |
validate();
|
- |
|
| 75777 |
|
- |
|
| 75778 |
oprot.writeStructBegin(STRUCT_DESC);
|
- |
|
| 75779 |
oprot.writeFieldBegin(ORDER_ID_FIELD_DESC);
|
- |
|
| 75780 |
oprot.writeI64(this.orderId);
|
- |
|
| 75781 |
oprot.writeFieldEnd();
|
- |
|
| 75782 |
oprot.writeFieldBegin(SETTLEMENT_DATE_FIELD_DESC);
|
- |
|
| 75783 |
oprot.writeI64(this.settlementDate);
|
- |
|
| 75784 |
oprot.writeFieldEnd();
|
- |
|
| 75785 |
oprot.writeFieldBegin(COLLECTION_FIELD_DESC);
|
- |
|
| 75786 |
oprot.writeDouble(this.collection);
|
- |
|
| 75787 |
oprot.writeFieldEnd();
|
- |
|
| 75788 |
oprot.writeFieldStop();
|
- |
|
| 75789 |
oprot.writeStructEnd();
|
- |
|
| 75790 |
}
|
- |
|
| 75791 |
|
- |
|
| 75792 |
@Override
|
- |
|
| 75793 |
public String toString() {
|
- |
|
| 75794 |
StringBuilder sb = new StringBuilder("saveCODPaymentSettlement_args(");
|
- |
|
| 75795 |
boolean first = true;
|
- |
|
| 75796 |
|
- |
|
| 75797 |
sb.append("orderId:");
|
- |
|
| 75798 |
sb.append(this.orderId);
|
- |
|
| 75799 |
first = false;
|
- |
|
| 75800 |
if (!first) sb.append(", ");
|
- |
|
| 75801 |
sb.append("settlementDate:");
|
- |
|
| 75802 |
sb.append(this.settlementDate);
|
- |
|
| 75803 |
first = false;
|
- |
|
| 75804 |
if (!first) sb.append(", ");
|
- |
|
| 75805 |
sb.append("collection:");
|
- |
|
| 75806 |
sb.append(this.collection);
|
- |
|
| 75807 |
first = false;
|
- |
|
| 75808 |
sb.append(")");
|
- |
|
| 75809 |
return sb.toString();
|
- |
|
| 75810 |
}
|
- |
|
| 75811 |
|
- |
|
| 75812 |
public void validate() throws org.apache.thrift.TException {
|
- |
|
| 75813 |
// check for required fields
|
- |
|
| 75814 |
}
|
- |
|
| 75815 |
|
- |
|
| 75816 |
private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
|
- |
|
| 75817 |
try {
|
- |
|
| 75818 |
write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
|
- |
|
| 75819 |
} catch (org.apache.thrift.TException te) {
|
- |
|
| 75820 |
throw new java.io.IOException(te);
|
- |
|
| 75821 |
}
|
- |
|
| 75822 |
}
|
- |
|
| 75823 |
|
- |
|
| 75824 |
private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
|
- |
|
| 75825 |
try {
|
- |
|
| 75826 |
// it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
|
- |
|
| 75827 |
__isset_bit_vector = new BitSet(1);
|
- |
|
| 75828 |
read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
|
- |
|
| 75829 |
} catch (org.apache.thrift.TException te) {
|
- |
|
| 75830 |
throw new java.io.IOException(te);
|
- |
|
| 75831 |
}
|
- |
|
| 75832 |
}
|
- |
|
| 75833 |
|
- |
|
| 75834 |
}
|
- |
|
| 75835 |
|
- |
|
| 75836 |
public static class saveCODPaymentSettlement_result implements org.apache.thrift.TBase<saveCODPaymentSettlement_result, saveCODPaymentSettlement_result._Fields>, java.io.Serializable, Cloneable {
|
- |
|
| 75837 |
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("saveCODPaymentSettlement_result");
|
- |
|
| 75838 |
|
- |
|
| 75839 |
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);
|
- |
|
| 75840 |
|
- |
|
| 75841 |
private TransactionServiceException ex; // required
|
- |
|
| 75842 |
|
- |
|
| 75843 |
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
|
- |
|
| 75844 |
public enum _Fields implements org.apache.thrift.TFieldIdEnum {
|
- |
|
| 75845 |
EX((short)1, "ex");
|
- |
|
| 75846 |
|
- |
|
| 75847 |
private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
|
- |
|
| 75848 |
|
- |
|
| 75849 |
static {
|
- |
|
| 75850 |
for (_Fields field : EnumSet.allOf(_Fields.class)) {
|
- |
|
| 75851 |
byName.put(field.getFieldName(), field);
|
- |
|
| 75852 |
}
|
- |
|
| 75853 |
}
|
- |
|
| 75854 |
|
- |
|
| 75855 |
/**
|
- |
|
| 75856 |
* Find the _Fields constant that matches fieldId, or null if its not found.
|
- |
|
| 75857 |
*/
|
- |
|
| 75858 |
public static _Fields findByThriftId(int fieldId) {
|
- |
|
| 75859 |
switch(fieldId) {
|
- |
|
| 75860 |
case 1: // EX
|
- |
|
| 75861 |
return EX;
|
- |
|
| 75862 |
default:
|
- |
|
| 75863 |
return null;
|
- |
|
| 75864 |
}
|
- |
|
| 75865 |
}
|
- |
|
| 75866 |
|
- |
|
| 75867 |
/**
|
- |
|
| 75868 |
* Find the _Fields constant that matches fieldId, throwing an exception
|
- |
|
| 75869 |
* if it is not found.
|
- |
|
| 75870 |
*/
|
- |
|
| 75871 |
public static _Fields findByThriftIdOrThrow(int fieldId) {
|
- |
|
| 75872 |
_Fields fields = findByThriftId(fieldId);
|
- |
|
| 75873 |
if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
|
- |
|
| 75874 |
return fields;
|
- |
|
| 75875 |
}
|
- |
|
| 75876 |
|
- |
|
| 75877 |
/**
|
- |
|
| 75878 |
* Find the _Fields constant that matches name, or null if its not found.
|
- |
|
| 75879 |
*/
|
- |
|
| 75880 |
public static _Fields findByName(String name) {
|
- |
|
| 75881 |
return byName.get(name);
|
- |
|
| 75882 |
}
|
- |
|
| 75883 |
|
- |
|
| 75884 |
private final short _thriftId;
|
- |
|
| 75885 |
private final String _fieldName;
|
- |
|
| 75886 |
|
- |
|
| 75887 |
_Fields(short thriftId, String fieldName) {
|
- |
|
| 75888 |
_thriftId = thriftId;
|
- |
|
| 75889 |
_fieldName = fieldName;
|
- |
|
| 75890 |
}
|
- |
|
| 75891 |
|
- |
|
| 75892 |
public short getThriftFieldId() {
|
- |
|
| 75893 |
return _thriftId;
|
- |
|
| 75894 |
}
|
- |
|
| 75895 |
|
- |
|
| 75896 |
public String getFieldName() {
|
- |
|
| 75897 |
return _fieldName;
|
- |
|
| 75898 |
}
|
- |
|
| 75899 |
}
|
- |
|
| 75900 |
|
- |
|
| 75901 |
// isset id assignments
|
- |
|
| 75902 |
|
- |
|
| 75903 |
public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
|
- |
|
| 75904 |
static {
|
- |
|
| 75905 |
Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
|
- |
|
| 75906 |
tmpMap.put(_Fields.EX, new org.apache.thrift.meta_data.FieldMetaData("ex", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
- |
|
| 75907 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT)));
|
- |
|
| 75908 |
metaDataMap = Collections.unmodifiableMap(tmpMap);
|
- |
|
| 75909 |
org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(saveCODPaymentSettlement_result.class, metaDataMap);
|
- |
|
| 75910 |
}
|
- |
|
| 75911 |
|
- |
|
| 75912 |
public saveCODPaymentSettlement_result() {
|
- |
|
| 75913 |
}
|
- |
|
| 75914 |
|
- |
|
| 75915 |
public saveCODPaymentSettlement_result(
|
- |
|
| 75916 |
TransactionServiceException ex)
|
- |
|
| 75917 |
{
|
- |
|
| 75918 |
this();
|
- |
|
| 75919 |
this.ex = ex;
|
- |
|
| 75920 |
}
|
- |
|
| 75921 |
|
- |
|
| 75922 |
/**
|
- |
|
| 75923 |
* Performs a deep copy on <i>other</i>.
|
- |
|
| 75924 |
*/
|
- |
|
| 75925 |
public saveCODPaymentSettlement_result(saveCODPaymentSettlement_result other) {
|
- |
|
| 75926 |
if (other.isSetEx()) {
|
- |
|
| 75927 |
this.ex = new TransactionServiceException(other.ex);
|
- |
|
| 75928 |
}
|
- |
|
| 75929 |
}
|
- |
|
| 75930 |
|
- |
|
| 75931 |
public saveCODPaymentSettlement_result deepCopy() {
|
- |
|
| 75932 |
return new saveCODPaymentSettlement_result(this);
|
- |
|
| 75933 |
}
|
- |
|
| 75934 |
|
- |
|
| 75935 |
@Override
|
- |
|
| 75936 |
public void clear() {
|
- |
|
| 75937 |
this.ex = null;
|
- |
|
| 75938 |
}
|
- |
|
| 75939 |
|
- |
|
| 75940 |
public TransactionServiceException getEx() {
|
- |
|
| 75941 |
return this.ex;
|
- |
|
| 75942 |
}
|
- |
|
| 75943 |
|
- |
|
| 75944 |
public void setEx(TransactionServiceException ex) {
|
- |
|
| 75945 |
this.ex = ex;
|
- |
|
| 75946 |
}
|
- |
|
| 75947 |
|
- |
|
| 75948 |
public void unsetEx() {
|
- |
|
| 75949 |
this.ex = null;
|
- |
|
| 75950 |
}
|
- |
|
| 75951 |
|
- |
|
| 75952 |
/** Returns true if field ex is set (has been assigned a value) and false otherwise */
|
- |
|
| 75953 |
public boolean isSetEx() {
|
- |
|
| 75954 |
return this.ex != null;
|
- |
|
| 75955 |
}
|
- |
|
| 75956 |
|
- |
|
| 75957 |
public void setExIsSet(boolean value) {
|
- |
|
| 75958 |
if (!value) {
|
- |
|
| 75959 |
this.ex = null;
|
- |
|
| 75960 |
}
|
- |
|
| 75961 |
}
|
- |
|
| 75962 |
|
- |
|
| 75963 |
public void setFieldValue(_Fields field, Object value) {
|
- |
|
| 75964 |
switch (field) {
|
- |
|
| 75965 |
case EX:
|
- |
|
| 75966 |
if (value == null) {
|
- |
|
| 75967 |
unsetEx();
|
- |
|
| 75968 |
} else {
|
- |
|
| 75969 |
setEx((TransactionServiceException)value);
|
- |
|
| 75970 |
}
|
- |
|
| 75971 |
break;
|
- |
|
| 75972 |
|
- |
|
| 75973 |
}
|
- |
|
| 75974 |
}
|
- |
|
| 75975 |
|
- |
|
| 75976 |
public Object getFieldValue(_Fields field) {
|
- |
|
| 75977 |
switch (field) {
|
- |
|
| 75978 |
case EX:
|
- |
|
| 75979 |
return getEx();
|
- |
|
| 75980 |
|
- |
|
| 75981 |
}
|
- |
|
| 75982 |
throw new IllegalStateException();
|
- |
|
| 75983 |
}
|
- |
|
| 75984 |
|
- |
|
| 75985 |
/** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
|
- |
|
| 75986 |
public boolean isSet(_Fields field) {
|
- |
|
| 75987 |
if (field == null) {
|
- |
|
| 75988 |
throw new IllegalArgumentException();
|
- |
|
| 75989 |
}
|
- |
|
| 75990 |
|
- |
|
| 75991 |
switch (field) {
|
- |
|
| 75992 |
case EX:
|
- |
|
| 75993 |
return isSetEx();
|
- |
|
| 75994 |
}
|
- |
|
| 75995 |
throw new IllegalStateException();
|
- |
|
| 75996 |
}
|
- |
|
| 75997 |
|
- |
|
| 75998 |
@Override
|
- |
|
| 75999 |
public boolean equals(Object that) {
|
- |
|
| 76000 |
if (that == null)
|
- |
|
| 76001 |
return false;
|
- |
|
| 76002 |
if (that instanceof saveCODPaymentSettlement_result)
|
- |
|
| 76003 |
return this.equals((saveCODPaymentSettlement_result)that);
|
- |
|
| 76004 |
return false;
|
- |
|
| 76005 |
}
|
- |
|
| 76006 |
|
- |
|
| 76007 |
public boolean equals(saveCODPaymentSettlement_result that) {
|
- |
|
| 76008 |
if (that == null)
|
- |
|
| 76009 |
return false;
|
- |
|
| 76010 |
|
- |
|
| 76011 |
boolean this_present_ex = true && this.isSetEx();
|
- |
|
| 76012 |
boolean that_present_ex = true && that.isSetEx();
|
- |
|
| 76013 |
if (this_present_ex || that_present_ex) {
|
- |
|
| 76014 |
if (!(this_present_ex && that_present_ex))
|
- |
|
| 76015 |
return false;
|
- |
|
| 76016 |
if (!this.ex.equals(that.ex))
|
- |
|
| 76017 |
return false;
|
- |
|
| 76018 |
}
|
- |
|
| 76019 |
|
- |
|
| 76020 |
return true;
|
- |
|
| 76021 |
}
|
- |
|
| 76022 |
|
- |
|
| 76023 |
@Override
|
- |
|
| 76024 |
public int hashCode() {
|
- |
|
| 76025 |
return 0;
|
- |
|
| 76026 |
}
|
- |
|
| 76027 |
|
- |
|
| 76028 |
public int compareTo(saveCODPaymentSettlement_result other) {
|
- |
|
| 76029 |
if (!getClass().equals(other.getClass())) {
|
- |
|
| 76030 |
return getClass().getName().compareTo(other.getClass().getName());
|
- |
|
| 76031 |
}
|
- |
|
| 76032 |
|
- |
|
| 76033 |
int lastComparison = 0;
|
- |
|
| 76034 |
saveCODPaymentSettlement_result typedOther = (saveCODPaymentSettlement_result)other;
|
- |
|
| 76035 |
|
- |
|
| 76036 |
lastComparison = Boolean.valueOf(isSetEx()).compareTo(typedOther.isSetEx());
|
- |
|
| 76037 |
if (lastComparison != 0) {
|
- |
|
| 76038 |
return lastComparison;
|
- |
|
| 76039 |
}
|
- |
|
| 76040 |
if (isSetEx()) {
|
- |
|
| 76041 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.ex, typedOther.ex);
|
- |
|
| 76042 |
if (lastComparison != 0) {
|
- |
|
| 76043 |
return lastComparison;
|
- |
|
| 76044 |
}
|
- |
|
| 76045 |
}
|
- |
|
| 76046 |
return 0;
|
- |
|
| 76047 |
}
|
- |
|
| 76048 |
|
- |
|
| 76049 |
public _Fields fieldForId(int fieldId) {
|
- |
|
| 76050 |
return _Fields.findByThriftId(fieldId);
|
- |
|
| 76051 |
}
|
- |
|
| 76052 |
|
- |
|
| 76053 |
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
|
- |
|
| 76054 |
org.apache.thrift.protocol.TField field;
|
- |
|
| 76055 |
iprot.readStructBegin();
|
- |
|
| 76056 |
while (true)
|
- |
|
| 76057 |
{
|
- |
|
| 76058 |
field = iprot.readFieldBegin();
|
- |
|
| 76059 |
if (field.type == org.apache.thrift.protocol.TType.STOP) {
|
- |
|
| 76060 |
break;
|
- |
|
| 76061 |
}
|
- |
|
| 76062 |
switch (field.id) {
|
- |
|
| 76063 |
case 1: // EX
|
- |
|
| 76064 |
if (field.type == org.apache.thrift.protocol.TType.STRUCT) {
|
- |
|
| 76065 |
this.ex = new TransactionServiceException();
|
- |
|
| 76066 |
this.ex.read(iprot);
|
- |
|
| 76067 |
} else {
|
- |
|
| 76068 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
- |
|
| 76069 |
}
|
- |
|
| 76070 |
break;
|
- |
|
| 76071 |
default:
|
- |
|
| 76072 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
- |
|
| 76073 |
}
|
- |
|
| 76074 |
iprot.readFieldEnd();
|
- |
|
| 76075 |
}
|
- |
|
| 76076 |
iprot.readStructEnd();
|
- |
|
| 76077 |
validate();
|
- |
|
| 76078 |
}
|
- |
|
| 76079 |
|
- |
|
| 76080 |
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
|
- |
|
| 76081 |
oprot.writeStructBegin(STRUCT_DESC);
|
- |
|
| 76082 |
|
- |
|
| 76083 |
if (this.isSetEx()) {
|
- |
|
| 76084 |
oprot.writeFieldBegin(EX_FIELD_DESC);
|
- |
|
| 76085 |
this.ex.write(oprot);
|
- |
|
| 76086 |
oprot.writeFieldEnd();
|
- |
|
| 76087 |
}
|
- |
|
| 76088 |
oprot.writeFieldStop();
|
- |
|
| 76089 |
oprot.writeStructEnd();
|
- |
|
| 76090 |
}
|
- |
|
| 76091 |
|
- |
|
| 76092 |
@Override
|
- |
|
| 76093 |
public String toString() {
|
- |
|
| 76094 |
StringBuilder sb = new StringBuilder("saveCODPaymentSettlement_result(");
|
- |
|
| 76095 |
boolean first = true;
|
- |
|
| 76096 |
|
- |
|
| 76097 |
sb.append("ex:");
|
- |
|
| 76098 |
if (this.ex == null) {
|
- |
|
| 76099 |
sb.append("null");
|
- |
|
| 76100 |
} else {
|
75258 |
} else {
|
| 76101 |
sb.append(this.ex);
|
75259 |
sb.append(this.ex);
|
| 76102 |
}
|
75260 |
}
|
| 76103 |
first = false;
|
75261 |
first = false;
|
| 76104 |
sb.append(")");
|
75262 |
sb.append(")");
|