Subversion Repositories SmartDukaan

Rev

Rev 4837 | Rev 4905 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 4837 Rev 4875
Line 684... Line 684...
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 paymentId, double serviceTax, double otherCharges, double netCollection) throws TransactionServiceException, org.apache.thrift.TException;
688
 
688
 
-
 
689
    public void saveCODPaymentSettlement(long orderId, long settlementDate, double collection) throws TransactionServiceException, org.apache.thrift.TException;
-
 
690
 
689
    public void saveEBSSettlementSummary(long settlementId, long settlementDate, long transactionDateFrom, long transactionDateTo, double amount) throws TransactionServiceException, org.apache.thrift.TException;
691
    public void saveEBSSettlementSummary(long settlementId, long settlementDate, long transactionDateFrom, long transactionDateTo, double amount) throws TransactionServiceException, org.apache.thrift.TException;
690
 
692
 
691
    public PaymentSettlement getSettlementForPaymentId(long paymentId) throws TransactionServiceException, org.apache.thrift.TException;
693
    public PaymentSettlement getSettlementForPaymentId(long paymentId) throws TransactionServiceException, org.apache.thrift.TException;
692
 
694
 
693
    public Map<Long,String> getEBSSettlementSummaries() throws TransactionServiceException, org.apache.thrift.TException;
695
    public Map<Long,String> getEBSSettlementSummaries() throws TransactionServiceException, org.apache.thrift.TException;
Line 713... Line 715...
713
     * @param purchaseOrderId
715
     * @param purchaseOrderId
714
     * @param warehouseId
716
     * @param warehouseId
715
     */
717
     */
716
    public void updateOrdersAsPORaised(Map<Long,Long> itemIdQuantityMap, long purchaseOrderId, long warehouseId) throws TransactionServiceException, org.apache.thrift.TException;
718
    public void updateOrdersAsPORaised(Map<Long,Long> itemIdQuantityMap, long purchaseOrderId, long warehouseId) throws TransactionServiceException, org.apache.thrift.TException;
717
 
719
 
-
 
720
    public List<Order> getOrdersWhereVendorNotPaid(long vendorId) throws TransactionServiceException, org.apache.thrift.TException;
-
 
721
 
718
  }
722
  }
719
 
723
 
720
  public interface AsyncIface extends in.shop2020.generic.GenericService .AsyncIface {
724
  public interface AsyncIface extends in.shop2020.generic.GenericService .AsyncIface {
721
 
725
 
722
    public void createTransaction(Transaction transaction, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.createTransaction_call> resultHandler) throws org.apache.thrift.TException;
726
    public void createTransaction(Transaction transaction, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.createTransaction_call> resultHandler) throws org.apache.thrift.TException;
Line 893... Line 897...
893
 
897
 
894
    public void saveBluedartSettlements(Map<Long,Double> mapAWBAndAmount, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.saveBluedartSettlements_call> resultHandler) throws org.apache.thrift.TException;
898
    public void saveBluedartSettlements(Map<Long,Double> mapAWBAndAmount, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.saveBluedartSettlements_call> resultHandler) throws org.apache.thrift.TException;
895
 
899
 
896
    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;
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;
897
 
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
 
898
    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;
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;
899
 
905
 
900
    public void getSettlementForPaymentId(long paymentId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getSettlementForPaymentId_call> resultHandler) throws org.apache.thrift.TException;
906
    public void getSettlementForPaymentId(long paymentId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getSettlementForPaymentId_call> resultHandler) throws org.apache.thrift.TException;
901
 
907
 
902
    public void getEBSSettlementSummaries(org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getEBSSettlementSummaries_call> resultHandler) throws org.apache.thrift.TException;
908
    public void getEBSSettlementSummaries(org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getEBSSettlementSummaries_call> resultHandler) throws org.apache.thrift.TException;
Line 909... Line 915...
909
 
915
 
910
    public void getReshippedOrderIds(List<Long> orderIds, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getReshippedOrderIds_call> resultHandler) throws org.apache.thrift.TException;
916
    public void getReshippedOrderIds(List<Long> orderIds, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getReshippedOrderIds_call> resultHandler) throws org.apache.thrift.TException;
911
 
917
 
912
    public void updateOrdersAsPORaised(Map<Long,Long> itemIdQuantityMap, long purchaseOrderId, long warehouseId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.updateOrdersAsPORaised_call> resultHandler) throws org.apache.thrift.TException;
918
    public void updateOrdersAsPORaised(Map<Long,Long> itemIdQuantityMap, long purchaseOrderId, long warehouseId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.updateOrdersAsPORaised_call> resultHandler) throws org.apache.thrift.TException;
913
 
919
 
-
 
920
    public void getOrdersWhereVendorNotPaid(long vendorId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getOrdersWhereVendorNotPaid_call> resultHandler) throws org.apache.thrift.TException;
-
 
921
 
914
  }
922
  }
915
 
923
 
916
  public static class Client extends in.shop2020.generic.GenericService.Client implements Iface {
924
  public static class Client extends in.shop2020.generic.GenericService.Client implements Iface {
917
    public static class Factory implements org.apache.thrift.TServiceClientFactory<Client> {
925
    public static class Factory implements org.apache.thrift.TServiceClientFactory<Client> {
918
      public Factory() {}
926
      public Factory() {}
Line 3212... Line 3220...
3212
        throw result.ex;
3220
        throw result.ex;
3213
      }
3221
      }
3214
      return;
3222
      return;
3215
    }
3223
    }
3216
 
3224
 
-
 
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
 
3217
    public void saveEBSSettlementSummary(long settlementId, long settlementDate, long transactionDateFrom, long transactionDateTo, double amount) throws TransactionServiceException, org.apache.thrift.TException
3250
    public void saveEBSSettlementSummary(long settlementId, long settlementDate, long transactionDateFrom, long transactionDateTo, double amount) throws TransactionServiceException, org.apache.thrift.TException
3218
    {
3251
    {
3219
      send_saveEBSSettlementSummary(settlementId, settlementDate, transactionDateFrom, transactionDateTo, amount);
3252
      send_saveEBSSettlementSummary(settlementId, settlementDate, transactionDateFrom, transactionDateTo, amount);
3220
      recv_saveEBSSettlementSummary();
3253
      recv_saveEBSSettlementSummary();
3221
    }
3254
    }
Line 3418... Line 3451...
3418
        throw result.ex;
3451
        throw result.ex;
3419
      }
3452
      }
3420
      return;
3453
      return;
3421
    }
3454
    }
3422
 
3455
 
-
 
3456
    public List<Order> getOrdersWhereVendorNotPaid(long vendorId) throws TransactionServiceException, org.apache.thrift.TException
-
 
3457
    {
-
 
3458
      send_getOrdersWhereVendorNotPaid(vendorId);
-
 
3459
      return recv_getOrdersWhereVendorNotPaid();
-
 
3460
    }
-
 
3461
 
-
 
3462
    public void send_getOrdersWhereVendorNotPaid(long vendorId) throws org.apache.thrift.TException
-
 
3463
    {
-
 
3464
      getOrdersWhereVendorNotPaid_args args = new getOrdersWhereVendorNotPaid_args();
-
 
3465
      args.setVendorId(vendorId);
-
 
3466
      sendBase("getOrdersWhereVendorNotPaid", args);
-
 
3467
    }
-
 
3468
 
-
 
3469
    public List<Order> recv_getOrdersWhereVendorNotPaid() throws TransactionServiceException, org.apache.thrift.TException
-
 
3470
    {
-
 
3471
      getOrdersWhereVendorNotPaid_result result = new getOrdersWhereVendorNotPaid_result();
-
 
3472
      receiveBase(result, "getOrdersWhereVendorNotPaid");
-
 
3473
      if (result.isSetSuccess()) {
-
 
3474
        return result.success;
-
 
3475
      }
-
 
3476
      if (result.ex != null) {
-
 
3477
        throw result.ex;
-
 
3478
      }
-
 
3479
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getOrdersWhereVendorNotPaid failed: unknown result");
-
 
3480
    }
-
 
3481
 
3423
  }
3482
  }
3424
  public static class AsyncClient extends in.shop2020.generic.GenericService.AsyncClient implements AsyncIface {
3483
  public static class AsyncClient extends in.shop2020.generic.GenericService.AsyncClient implements AsyncIface {
3425
    public static class Factory implements org.apache.thrift.async.TAsyncClientFactory<AsyncClient> {
3484
    public static class Factory implements org.apache.thrift.async.TAsyncClientFactory<AsyncClient> {
3426
      private org.apache.thrift.async.TAsyncClientManager clientManager;
3485
      private org.apache.thrift.async.TAsyncClientManager clientManager;
3427
      private org.apache.thrift.protocol.TProtocolFactory protocolFactory;
3486
      private org.apache.thrift.protocol.TProtocolFactory protocolFactory;
Line 6546... Line 6605...
6546
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
6605
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
6547
        (new Client(prot)).recv_savePaymentSettlements();
6606
        (new Client(prot)).recv_savePaymentSettlements();
6548
      }
6607
      }
6549
    }
6608
    }
6550
 
6609
 
-
 
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
 
6551
    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 {
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 {
6552
      checkReady();
6649
      checkReady();
6553
      saveEBSSettlementSummary_call method_call = new saveEBSSettlementSummary_call(settlementId, settlementDate, transactionDateFrom, transactionDateTo, amount, resultHandler, this, ___protocolFactory, ___transport);
6650
      saveEBSSettlementSummary_call method_call = new saveEBSSettlementSummary_call(settlementId, settlementDate, transactionDateFrom, transactionDateTo, amount, resultHandler, this, ___protocolFactory, ___transport);
6554
      this.___currentMethod = method_call;
6651
      this.___currentMethod = method_call;
6555
      ___manager.call(method_call);
6652
      ___manager.call(method_call);
Line 6823... Line 6920...
6823
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
6920
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
6824
        (new Client(prot)).recv_updateOrdersAsPORaised();
6921
        (new Client(prot)).recv_updateOrdersAsPORaised();
6825
      }
6922
      }
6826
    }
6923
    }
6827
 
6924
 
-
 
6925
    public void getOrdersWhereVendorNotPaid(long vendorId, org.apache.thrift.async.AsyncMethodCallback<getOrdersWhereVendorNotPaid_call> resultHandler) throws org.apache.thrift.TException {
-
 
6926
      checkReady();
-
 
6927
      getOrdersWhereVendorNotPaid_call method_call = new getOrdersWhereVendorNotPaid_call(vendorId, resultHandler, this, ___protocolFactory, ___transport);
-
 
6928
      this.___currentMethod = method_call;
-
 
6929
      ___manager.call(method_call);
-
 
6930
    }
-
 
6931
 
-
 
6932
    public static class getOrdersWhereVendorNotPaid_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
6933
      private long vendorId;
-
 
6934
      public getOrdersWhereVendorNotPaid_call(long vendorId, org.apache.thrift.async.AsyncMethodCallback<getOrdersWhereVendorNotPaid_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 {
-
 
6935
        super(client, protocolFactory, transport, resultHandler, false);
-
 
6936
        this.vendorId = vendorId;
-
 
6937
      }
-
 
6938
 
-
 
6939
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
6940
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getOrdersWhereVendorNotPaid", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
6941
        getOrdersWhereVendorNotPaid_args args = new getOrdersWhereVendorNotPaid_args();
-
 
6942
        args.setVendorId(vendorId);
-
 
6943
        args.write(prot);
-
 
6944
        prot.writeMessageEnd();
-
 
6945
      }
-
 
6946
 
-
 
6947
      public List<Order> getResult() throws TransactionServiceException, org.apache.thrift.TException {
-
 
6948
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
6949
          throw new IllegalStateException("Method call not finished!");
-
 
6950
        }
-
 
6951
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
6952
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
6953
        return (new Client(prot)).recv_getOrdersWhereVendorNotPaid();
-
 
6954
      }
-
 
6955
    }
-
 
6956
 
6828
  }
6957
  }
6829
 
6958
 
6830
  public static class Processor<I extends Iface> extends in.shop2020.generic.GenericService.Processor implements org.apache.thrift.TProcessor {
6959
  public static class Processor<I extends Iface> extends in.shop2020.generic.GenericService.Processor implements org.apache.thrift.TProcessor {
6831
    private static final Logger LOGGER = LoggerFactory.getLogger(Processor.class.getName());
6960
    private static final Logger LOGGER = LoggerFactory.getLogger(Processor.class.getName());
6832
    public Processor(I iface) {
6961
    public Processor(I iface) {
Line 6924... Line 7053...
6924
      processMap.put("getBilledOrdersForVendor", new getBilledOrdersForVendor());
7053
      processMap.put("getBilledOrdersForVendor", new getBilledOrdersForVendor());
6925
      processMap.put("getSlippedSippingDateOrders", new getSlippedSippingDateOrders());
7054
      processMap.put("getSlippedSippingDateOrders", new getSlippedSippingDateOrders());
6926
      processMap.put("getCancelledOrders", new getCancelledOrders());
7055
      processMap.put("getCancelledOrders", new getCancelledOrders());
6927
      processMap.put("saveBluedartSettlements", new saveBluedartSettlements());
7056
      processMap.put("saveBluedartSettlements", new saveBluedartSettlements());
6928
      processMap.put("savePaymentSettlements", new savePaymentSettlements());
7057
      processMap.put("savePaymentSettlements", new savePaymentSettlements());
-
 
7058
      processMap.put("saveCODPaymentSettlement", new saveCODPaymentSettlement());
6929
      processMap.put("saveEBSSettlementSummary", new saveEBSSettlementSummary());
7059
      processMap.put("saveEBSSettlementSummary", new saveEBSSettlementSummary());
6930
      processMap.put("getSettlementForPaymentId", new getSettlementForPaymentId());
7060
      processMap.put("getSettlementForPaymentId", new getSettlementForPaymentId());
6931
      processMap.put("getEBSSettlementSummaries", new getEBSSettlementSummaries());
7061
      processMap.put("getEBSSettlementSummaries", new getEBSSettlementSummaries());
6932
      processMap.put("markEBSSettlementUploaded", new markEBSSettlementUploaded());
7062
      processMap.put("markEBSSettlementUploaded", new markEBSSettlementUploaded());
6933
      processMap.put("getEBSSettlementDate", new getEBSSettlementDate());
7063
      processMap.put("getEBSSettlementDate", new getEBSSettlementDate());
6934
      processMap.put("getSettlementsByDate", new getSettlementsByDate());
7064
      processMap.put("getSettlementsByDate", new getSettlementsByDate());
6935
      processMap.put("getReshippedOrderIds", new getReshippedOrderIds());
7065
      processMap.put("getReshippedOrderIds", new getReshippedOrderIds());
6936
      processMap.put("updateOrdersAsPORaised", new updateOrdersAsPORaised());
7066
      processMap.put("updateOrdersAsPORaised", new updateOrdersAsPORaised());
-
 
7067
      processMap.put("getOrdersWhereVendorNotPaid", new getOrdersWhereVendorNotPaid());
6937
      return processMap;
7068
      return processMap;
6938
    }
7069
    }
6939
 
7070
 
6940
    private static class createTransaction<I extends Iface> extends org.apache.thrift.ProcessFunction<I, createTransaction_args> {
7071
    private static class createTransaction<I extends Iface> extends org.apache.thrift.ProcessFunction<I, createTransaction_args> {
6941
      public createTransaction() {
7072
      public createTransaction() {
Line 8660... Line 8791...
8660
        }
8791
        }
8661
        return result;
8792
        return result;
8662
      }
8793
      }
8663
    }
8794
    }
8664
 
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) {
-
 
8810
          result.ex = ex;
-
 
8811
        }
-
 
8812
        return result;
-
 
8813
      }
-
 
8814
    }
-
 
8815
 
8665
    private static class saveEBSSettlementSummary<I extends Iface> extends org.apache.thrift.ProcessFunction<I, saveEBSSettlementSummary_args> {
8816
    private static class saveEBSSettlementSummary<I extends Iface> extends org.apache.thrift.ProcessFunction<I, saveEBSSettlementSummary_args> {
8666
      public saveEBSSettlementSummary() {
8817
      public saveEBSSettlementSummary() {
8667
        super("saveEBSSettlementSummary");
8818
        super("saveEBSSettlementSummary");
8668
      }
8819
      }
8669
 
8820
 
Line 8821... Line 8972...
8821
        }
8972
        }
8822
        return result;
8973
        return result;
8823
      }
8974
      }
8824
    }
8975
    }
8825
 
8976
 
-
 
8977
    private static class getOrdersWhereVendorNotPaid<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getOrdersWhereVendorNotPaid_args> {
-
 
8978
      public getOrdersWhereVendorNotPaid() {
-
 
8979
        super("getOrdersWhereVendorNotPaid");
-
 
8980
      }
-
 
8981
 
-
 
8982
      protected getOrdersWhereVendorNotPaid_args getEmptyArgsInstance() {
-
 
8983
        return new getOrdersWhereVendorNotPaid_args();
-
 
8984
      }
-
 
8985
 
-
 
8986
      protected getOrdersWhereVendorNotPaid_result getResult(I iface, getOrdersWhereVendorNotPaid_args args) throws org.apache.thrift.TException {
-
 
8987
        getOrdersWhereVendorNotPaid_result result = new getOrdersWhereVendorNotPaid_result();
-
 
8988
        try {
-
 
8989
          result.success = iface.getOrdersWhereVendorNotPaid(args.vendorId);
-
 
8990
        } catch (TransactionServiceException ex) {
-
 
8991
          result.ex = ex;
-
 
8992
        }
-
 
8993
        return result;
-
 
8994
      }
-
 
8995
    }
-
 
8996
 
8826
  }
8997
  }
8827
 
8998
 
8828
  public static class createTransaction_args implements org.apache.thrift.TBase<createTransaction_args, createTransaction_args._Fields>, java.io.Serializable, Cloneable   {
8999
  public static class createTransaction_args implements org.apache.thrift.TBase<createTransaction_args, createTransaction_args._Fields>, java.io.Serializable, Cloneable   {
8829
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("createTransaction_args");
9000
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("createTransaction_args");
8830
 
9001
 
Line 75200... Line 75371...
75200
      }
75371
      }
75201
    }
75372
    }
75202
 
75373
 
75203
  }
75374
  }
75204
 
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 {
-
 
76101
        sb.append(this.ex);
-
 
76102
      }
-
 
76103
      first = false;
-
 
76104
      sb.append(")");
-
 
76105
      return sb.toString();
-
 
76106
    }
-
 
76107
 
-
 
76108
    public void validate() throws org.apache.thrift.TException {
-
 
76109
      // check for required fields
-
 
76110
    }
-
 
76111
 
-
 
76112
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
76113
      try {
-
 
76114
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
76115
      } catch (org.apache.thrift.TException te) {
-
 
76116
        throw new java.io.IOException(te);
-
 
76117
      }
-
 
76118
    }
-
 
76119
 
-
 
76120
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
76121
      try {
-
 
76122
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
76123
      } catch (org.apache.thrift.TException te) {
-
 
76124
        throw new java.io.IOException(te);
-
 
76125
      }
-
 
76126
    }
-
 
76127
 
-
 
76128
  }
-
 
76129
 
75205
  public static class saveEBSSettlementSummary_args implements org.apache.thrift.TBase<saveEBSSettlementSummary_args, saveEBSSettlementSummary_args._Fields>, java.io.Serializable, Cloneable   {
76130
  public static class saveEBSSettlementSummary_args implements org.apache.thrift.TBase<saveEBSSettlementSummary_args, saveEBSSettlementSummary_args._Fields>, java.io.Serializable, Cloneable   {
75206
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("saveEBSSettlementSummary_args");
76131
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("saveEBSSettlementSummary_args");
75207
 
76132
 
75208
    private static final org.apache.thrift.protocol.TField SETTLEMENT_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("settlementId", org.apache.thrift.protocol.TType.I64, (short)1);
76133
    private static final org.apache.thrift.protocol.TField SETTLEMENT_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("settlementId", org.apache.thrift.protocol.TType.I64, (short)1);
75209
    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);
76134
    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);
Line 81089... Line 82014...
81089
      sb.append("ex:");
82014
      sb.append("ex:");
81090
      if (this.ex == null) {
82015
      if (this.ex == null) {
81091
        sb.append("null");
82016
        sb.append("null");
81092
      } else {
82017
      } else {
81093
        sb.append(this.ex);
82018
        sb.append(this.ex);
-
 
82019
      }
-
 
82020
      first = false;
-
 
82021
      sb.append(")");
-
 
82022
      return sb.toString();
-
 
82023
    }
-
 
82024
 
-
 
82025
    public void validate() throws org.apache.thrift.TException {
-
 
82026
      // check for required fields
-
 
82027
    }
-
 
82028
 
-
 
82029
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
82030
      try {
-
 
82031
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
82032
      } catch (org.apache.thrift.TException te) {
-
 
82033
        throw new java.io.IOException(te);
-
 
82034
      }
-
 
82035
    }
-
 
82036
 
-
 
82037
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
82038
      try {
-
 
82039
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
82040
      } catch (org.apache.thrift.TException te) {
-
 
82041
        throw new java.io.IOException(te);
-
 
82042
      }
-
 
82043
    }
-
 
82044
 
-
 
82045
  }
-
 
82046
 
-
 
82047
  public static class getOrdersWhereVendorNotPaid_args implements org.apache.thrift.TBase<getOrdersWhereVendorNotPaid_args, getOrdersWhereVendorNotPaid_args._Fields>, java.io.Serializable, Cloneable   {
-
 
82048
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getOrdersWhereVendorNotPaid_args");
-
 
82049
 
-
 
82050
    private static final org.apache.thrift.protocol.TField VENDOR_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("vendorId", org.apache.thrift.protocol.TType.I64, (short)1);
-
 
82051
 
-
 
82052
    private long vendorId; // required
-
 
82053
 
-
 
82054
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
82055
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
82056
      VENDOR_ID((short)1, "vendorId");
-
 
82057
 
-
 
82058
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
82059
 
-
 
82060
      static {
-
 
82061
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
82062
          byName.put(field.getFieldName(), field);
-
 
82063
        }
-
 
82064
      }
-
 
82065
 
-
 
82066
      /**
-
 
82067
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
82068
       */
-
 
82069
      public static _Fields findByThriftId(int fieldId) {
-
 
82070
        switch(fieldId) {
-
 
82071
          case 1: // VENDOR_ID
-
 
82072
            return VENDOR_ID;
-
 
82073
          default:
-
 
82074
            return null;
-
 
82075
        }
-
 
82076
      }
-
 
82077
 
-
 
82078
      /**
-
 
82079
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
82080
       * if it is not found.
-
 
82081
       */
-
 
82082
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
82083
        _Fields fields = findByThriftId(fieldId);
-
 
82084
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
82085
        return fields;
-
 
82086
      }
-
 
82087
 
-
 
82088
      /**
-
 
82089
       * Find the _Fields constant that matches name, or null if its not found.
-
 
82090
       */
-
 
82091
      public static _Fields findByName(String name) {
-
 
82092
        return byName.get(name);
-
 
82093
      }
-
 
82094
 
-
 
82095
      private final short _thriftId;
-
 
82096
      private final String _fieldName;
-
 
82097
 
-
 
82098
      _Fields(short thriftId, String fieldName) {
-
 
82099
        _thriftId = thriftId;
-
 
82100
        _fieldName = fieldName;
-
 
82101
      }
-
 
82102
 
-
 
82103
      public short getThriftFieldId() {
-
 
82104
        return _thriftId;
-
 
82105
      }
-
 
82106
 
-
 
82107
      public String getFieldName() {
-
 
82108
        return _fieldName;
-
 
82109
      }
-
 
82110
    }
-
 
82111
 
-
 
82112
    // isset id assignments
-
 
82113
    private static final int __VENDORID_ISSET_ID = 0;
-
 
82114
    private BitSet __isset_bit_vector = new BitSet(1);
-
 
82115
 
-
 
82116
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
82117
    static {
-
 
82118
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
82119
      tmpMap.put(_Fields.VENDOR_ID, new org.apache.thrift.meta_data.FieldMetaData("vendorId", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
82120
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
82121
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
82122
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getOrdersWhereVendorNotPaid_args.class, metaDataMap);
-
 
82123
    }
-
 
82124
 
-
 
82125
    public getOrdersWhereVendorNotPaid_args() {
-
 
82126
    }
-
 
82127
 
-
 
82128
    public getOrdersWhereVendorNotPaid_args(
-
 
82129
      long vendorId)
-
 
82130
    {
-
 
82131
      this();
-
 
82132
      this.vendorId = vendorId;
-
 
82133
      setVendorIdIsSet(true);
-
 
82134
    }
-
 
82135
 
-
 
82136
    /**
-
 
82137
     * Performs a deep copy on <i>other</i>.
-
 
82138
     */
-
 
82139
    public getOrdersWhereVendorNotPaid_args(getOrdersWhereVendorNotPaid_args other) {
-
 
82140
      __isset_bit_vector.clear();
-
 
82141
      __isset_bit_vector.or(other.__isset_bit_vector);
-
 
82142
      this.vendorId = other.vendorId;
-
 
82143
    }
-
 
82144
 
-
 
82145
    public getOrdersWhereVendorNotPaid_args deepCopy() {
-
 
82146
      return new getOrdersWhereVendorNotPaid_args(this);
-
 
82147
    }
-
 
82148
 
-
 
82149
    @Override
-
 
82150
    public void clear() {
-
 
82151
      setVendorIdIsSet(false);
-
 
82152
      this.vendorId = 0;
-
 
82153
    }
-
 
82154
 
-
 
82155
    public long getVendorId() {
-
 
82156
      return this.vendorId;
-
 
82157
    }
-
 
82158
 
-
 
82159
    public void setVendorId(long vendorId) {
-
 
82160
      this.vendorId = vendorId;
-
 
82161
      setVendorIdIsSet(true);
-
 
82162
    }
-
 
82163
 
-
 
82164
    public void unsetVendorId() {
-
 
82165
      __isset_bit_vector.clear(__VENDORID_ISSET_ID);
-
 
82166
    }
-
 
82167
 
-
 
82168
    /** Returns true if field vendorId is set (has been assigned a value) and false otherwise */
-
 
82169
    public boolean isSetVendorId() {
-
 
82170
      return __isset_bit_vector.get(__VENDORID_ISSET_ID);
-
 
82171
    }
-
 
82172
 
-
 
82173
    public void setVendorIdIsSet(boolean value) {
-
 
82174
      __isset_bit_vector.set(__VENDORID_ISSET_ID, value);
-
 
82175
    }
-
 
82176
 
-
 
82177
    public void setFieldValue(_Fields field, Object value) {
-
 
82178
      switch (field) {
-
 
82179
      case VENDOR_ID:
-
 
82180
        if (value == null) {
-
 
82181
          unsetVendorId();
-
 
82182
        } else {
-
 
82183
          setVendorId((Long)value);
-
 
82184
        }
-
 
82185
        break;
-
 
82186
 
-
 
82187
      }
-
 
82188
    }
-
 
82189
 
-
 
82190
    public Object getFieldValue(_Fields field) {
-
 
82191
      switch (field) {
-
 
82192
      case VENDOR_ID:
-
 
82193
        return Long.valueOf(getVendorId());
-
 
82194
 
-
 
82195
      }
-
 
82196
      throw new IllegalStateException();
-
 
82197
    }
-
 
82198
 
-
 
82199
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
82200
    public boolean isSet(_Fields field) {
-
 
82201
      if (field == null) {
-
 
82202
        throw new IllegalArgumentException();
-
 
82203
      }
-
 
82204
 
-
 
82205
      switch (field) {
-
 
82206
      case VENDOR_ID:
-
 
82207
        return isSetVendorId();
-
 
82208
      }
-
 
82209
      throw new IllegalStateException();
-
 
82210
    }
-
 
82211
 
-
 
82212
    @Override
-
 
82213
    public boolean equals(Object that) {
-
 
82214
      if (that == null)
-
 
82215
        return false;
-
 
82216
      if (that instanceof getOrdersWhereVendorNotPaid_args)
-
 
82217
        return this.equals((getOrdersWhereVendorNotPaid_args)that);
-
 
82218
      return false;
-
 
82219
    }
-
 
82220
 
-
 
82221
    public boolean equals(getOrdersWhereVendorNotPaid_args that) {
-
 
82222
      if (that == null)
-
 
82223
        return false;
-
 
82224
 
-
 
82225
      boolean this_present_vendorId = true;
-
 
82226
      boolean that_present_vendorId = true;
-
 
82227
      if (this_present_vendorId || that_present_vendorId) {
-
 
82228
        if (!(this_present_vendorId && that_present_vendorId))
-
 
82229
          return false;
-
 
82230
        if (this.vendorId != that.vendorId)
-
 
82231
          return false;
-
 
82232
      }
-
 
82233
 
-
 
82234
      return true;
-
 
82235
    }
-
 
82236
 
-
 
82237
    @Override
-
 
82238
    public int hashCode() {
-
 
82239
      return 0;
-
 
82240
    }
-
 
82241
 
-
 
82242
    public int compareTo(getOrdersWhereVendorNotPaid_args other) {
-
 
82243
      if (!getClass().equals(other.getClass())) {
-
 
82244
        return getClass().getName().compareTo(other.getClass().getName());
-
 
82245
      }
-
 
82246
 
-
 
82247
      int lastComparison = 0;
-
 
82248
      getOrdersWhereVendorNotPaid_args typedOther = (getOrdersWhereVendorNotPaid_args)other;
-
 
82249
 
-
 
82250
      lastComparison = Boolean.valueOf(isSetVendorId()).compareTo(typedOther.isSetVendorId());
-
 
82251
      if (lastComparison != 0) {
-
 
82252
        return lastComparison;
-
 
82253
      }
-
 
82254
      if (isSetVendorId()) {
-
 
82255
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.vendorId, typedOther.vendorId);
-
 
82256
        if (lastComparison != 0) {
-
 
82257
          return lastComparison;
-
 
82258
        }
-
 
82259
      }
-
 
82260
      return 0;
-
 
82261
    }
-
 
82262
 
-
 
82263
    public _Fields fieldForId(int fieldId) {
-
 
82264
      return _Fields.findByThriftId(fieldId);
-
 
82265
    }
-
 
82266
 
-
 
82267
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
82268
      org.apache.thrift.protocol.TField field;
-
 
82269
      iprot.readStructBegin();
-
 
82270
      while (true)
-
 
82271
      {
-
 
82272
        field = iprot.readFieldBegin();
-
 
82273
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
82274
          break;
-
 
82275
        }
-
 
82276
        switch (field.id) {
-
 
82277
          case 1: // VENDOR_ID
-
 
82278
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
82279
              this.vendorId = iprot.readI64();
-
 
82280
              setVendorIdIsSet(true);
-
 
82281
            } else { 
-
 
82282
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
82283
            }
-
 
82284
            break;
-
 
82285
          default:
-
 
82286
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
82287
        }
-
 
82288
        iprot.readFieldEnd();
-
 
82289
      }
-
 
82290
      iprot.readStructEnd();
-
 
82291
      validate();
-
 
82292
    }
-
 
82293
 
-
 
82294
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
82295
      validate();
-
 
82296
 
-
 
82297
      oprot.writeStructBegin(STRUCT_DESC);
-
 
82298
      oprot.writeFieldBegin(VENDOR_ID_FIELD_DESC);
-
 
82299
      oprot.writeI64(this.vendorId);
-
 
82300
      oprot.writeFieldEnd();
-
 
82301
      oprot.writeFieldStop();
-
 
82302
      oprot.writeStructEnd();
-
 
82303
    }
-
 
82304
 
-
 
82305
    @Override
-
 
82306
    public String toString() {
-
 
82307
      StringBuilder sb = new StringBuilder("getOrdersWhereVendorNotPaid_args(");
-
 
82308
      boolean first = true;
-
 
82309
 
-
 
82310
      sb.append("vendorId:");
-
 
82311
      sb.append(this.vendorId);
-
 
82312
      first = false;
-
 
82313
      sb.append(")");
-
 
82314
      return sb.toString();
-
 
82315
    }
-
 
82316
 
-
 
82317
    public void validate() throws org.apache.thrift.TException {
-
 
82318
      // check for required fields
-
 
82319
    }
-
 
82320
 
-
 
82321
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
82322
      try {
-
 
82323
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
82324
      } catch (org.apache.thrift.TException te) {
-
 
82325
        throw new java.io.IOException(te);
-
 
82326
      }
-
 
82327
    }
-
 
82328
 
-
 
82329
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
82330
      try {
-
 
82331
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
82332
        __isset_bit_vector = new BitSet(1);
-
 
82333
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
82334
      } catch (org.apache.thrift.TException te) {
-
 
82335
        throw new java.io.IOException(te);
-
 
82336
      }
-
 
82337
    }
-
 
82338
 
-
 
82339
  }
-
 
82340
 
-
 
82341
  public static class getOrdersWhereVendorNotPaid_result implements org.apache.thrift.TBase<getOrdersWhereVendorNotPaid_result, getOrdersWhereVendorNotPaid_result._Fields>, java.io.Serializable, Cloneable   {
-
 
82342
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getOrdersWhereVendorNotPaid_result");
-
 
82343
 
-
 
82344
    private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.LIST, (short)0);
-
 
82345
    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);
-
 
82346
 
-
 
82347
    private List<Order> success; // required
-
 
82348
    private TransactionServiceException ex; // required
-
 
82349
 
-
 
82350
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
82351
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
82352
      SUCCESS((short)0, "success"),
-
 
82353
      EX((short)1, "ex");
-
 
82354
 
-
 
82355
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
82356
 
-
 
82357
      static {
-
 
82358
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
82359
          byName.put(field.getFieldName(), field);
-
 
82360
        }
-
 
82361
      }
-
 
82362
 
-
 
82363
      /**
-
 
82364
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
82365
       */
-
 
82366
      public static _Fields findByThriftId(int fieldId) {
-
 
82367
        switch(fieldId) {
-
 
82368
          case 0: // SUCCESS
-
 
82369
            return SUCCESS;
-
 
82370
          case 1: // EX
-
 
82371
            return EX;
-
 
82372
          default:
-
 
82373
            return null;
-
 
82374
        }
-
 
82375
      }
-
 
82376
 
-
 
82377
      /**
-
 
82378
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
82379
       * if it is not found.
-
 
82380
       */
-
 
82381
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
82382
        _Fields fields = findByThriftId(fieldId);
-
 
82383
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
82384
        return fields;
-
 
82385
      }
-
 
82386
 
-
 
82387
      /**
-
 
82388
       * Find the _Fields constant that matches name, or null if its not found.
-
 
82389
       */
-
 
82390
      public static _Fields findByName(String name) {
-
 
82391
        return byName.get(name);
-
 
82392
      }
-
 
82393
 
-
 
82394
      private final short _thriftId;
-
 
82395
      private final String _fieldName;
-
 
82396
 
-
 
82397
      _Fields(short thriftId, String fieldName) {
-
 
82398
        _thriftId = thriftId;
-
 
82399
        _fieldName = fieldName;
-
 
82400
      }
-
 
82401
 
-
 
82402
      public short getThriftFieldId() {
-
 
82403
        return _thriftId;
-
 
82404
      }
-
 
82405
 
-
 
82406
      public String getFieldName() {
-
 
82407
        return _fieldName;
-
 
82408
      }
-
 
82409
    }
-
 
82410
 
-
 
82411
    // isset id assignments
-
 
82412
 
-
 
82413
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
82414
    static {
-
 
82415
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
82416
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
82417
          new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, 
-
 
82418
              new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, Order.class))));
-
 
82419
      tmpMap.put(_Fields.EX, new org.apache.thrift.meta_data.FieldMetaData("ex", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
82420
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT)));
-
 
82421
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
82422
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getOrdersWhereVendorNotPaid_result.class, metaDataMap);
-
 
82423
    }
-
 
82424
 
-
 
82425
    public getOrdersWhereVendorNotPaid_result() {
-
 
82426
    }
-
 
82427
 
-
 
82428
    public getOrdersWhereVendorNotPaid_result(
-
 
82429
      List<Order> success,
-
 
82430
      TransactionServiceException ex)
-
 
82431
    {
-
 
82432
      this();
-
 
82433
      this.success = success;
-
 
82434
      this.ex = ex;
-
 
82435
    }
-
 
82436
 
-
 
82437
    /**
-
 
82438
     * Performs a deep copy on <i>other</i>.
-
 
82439
     */
-
 
82440
    public getOrdersWhereVendorNotPaid_result(getOrdersWhereVendorNotPaid_result other) {
-
 
82441
      if (other.isSetSuccess()) {
-
 
82442
        List<Order> __this__success = new ArrayList<Order>();
-
 
82443
        for (Order other_element : other.success) {
-
 
82444
          __this__success.add(new Order(other_element));
-
 
82445
        }
-
 
82446
        this.success = __this__success;
-
 
82447
      }
-
 
82448
      if (other.isSetEx()) {
-
 
82449
        this.ex = new TransactionServiceException(other.ex);
-
 
82450
      }
-
 
82451
    }
-
 
82452
 
-
 
82453
    public getOrdersWhereVendorNotPaid_result deepCopy() {
-
 
82454
      return new getOrdersWhereVendorNotPaid_result(this);
-
 
82455
    }
-
 
82456
 
-
 
82457
    @Override
-
 
82458
    public void clear() {
-
 
82459
      this.success = null;
-
 
82460
      this.ex = null;
-
 
82461
    }
-
 
82462
 
-
 
82463
    public int getSuccessSize() {
-
 
82464
      return (this.success == null) ? 0 : this.success.size();
-
 
82465
    }
-
 
82466
 
-
 
82467
    public java.util.Iterator<Order> getSuccessIterator() {
-
 
82468
      return (this.success == null) ? null : this.success.iterator();
-
 
82469
    }
-
 
82470
 
-
 
82471
    public void addToSuccess(Order elem) {
-
 
82472
      if (this.success == null) {
-
 
82473
        this.success = new ArrayList<Order>();
-
 
82474
      }
-
 
82475
      this.success.add(elem);
-
 
82476
    }
-
 
82477
 
-
 
82478
    public List<Order> getSuccess() {
-
 
82479
      return this.success;
-
 
82480
    }
-
 
82481
 
-
 
82482
    public void setSuccess(List<Order> success) {
-
 
82483
      this.success = success;
-
 
82484
    }
-
 
82485
 
-
 
82486
    public void unsetSuccess() {
-
 
82487
      this.success = null;
-
 
82488
    }
-
 
82489
 
-
 
82490
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
-
 
82491
    public boolean isSetSuccess() {
-
 
82492
      return this.success != null;
-
 
82493
    }
-
 
82494
 
-
 
82495
    public void setSuccessIsSet(boolean value) {
-
 
82496
      if (!value) {
-
 
82497
        this.success = null;
-
 
82498
      }
-
 
82499
    }
-
 
82500
 
-
 
82501
    public TransactionServiceException getEx() {
-
 
82502
      return this.ex;
-
 
82503
    }
-
 
82504
 
-
 
82505
    public void setEx(TransactionServiceException ex) {
-
 
82506
      this.ex = ex;
-
 
82507
    }
-
 
82508
 
-
 
82509
    public void unsetEx() {
-
 
82510
      this.ex = null;
-
 
82511
    }
-
 
82512
 
-
 
82513
    /** Returns true if field ex is set (has been assigned a value) and false otherwise */
-
 
82514
    public boolean isSetEx() {
-
 
82515
      return this.ex != null;
-
 
82516
    }
-
 
82517
 
-
 
82518
    public void setExIsSet(boolean value) {
-
 
82519
      if (!value) {
-
 
82520
        this.ex = null;
-
 
82521
      }
-
 
82522
    }
-
 
82523
 
-
 
82524
    public void setFieldValue(_Fields field, Object value) {
-
 
82525
      switch (field) {
-
 
82526
      case SUCCESS:
-
 
82527
        if (value == null) {
-
 
82528
          unsetSuccess();
-
 
82529
        } else {
-
 
82530
          setSuccess((List<Order>)value);
-
 
82531
        }
-
 
82532
        break;
-
 
82533
 
-
 
82534
      case EX:
-
 
82535
        if (value == null) {
-
 
82536
          unsetEx();
-
 
82537
        } else {
-
 
82538
          setEx((TransactionServiceException)value);
-
 
82539
        }
-
 
82540
        break;
-
 
82541
 
-
 
82542
      }
-
 
82543
    }
-
 
82544
 
-
 
82545
    public Object getFieldValue(_Fields field) {
-
 
82546
      switch (field) {
-
 
82547
      case SUCCESS:
-
 
82548
        return getSuccess();
-
 
82549
 
-
 
82550
      case EX:
-
 
82551
        return getEx();
-
 
82552
 
-
 
82553
      }
-
 
82554
      throw new IllegalStateException();
-
 
82555
    }
-
 
82556
 
-
 
82557
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
82558
    public boolean isSet(_Fields field) {
-
 
82559
      if (field == null) {
-
 
82560
        throw new IllegalArgumentException();
-
 
82561
      }
-
 
82562
 
-
 
82563
      switch (field) {
-
 
82564
      case SUCCESS:
-
 
82565
        return isSetSuccess();
-
 
82566
      case EX:
-
 
82567
        return isSetEx();
-
 
82568
      }
-
 
82569
      throw new IllegalStateException();
-
 
82570
    }
-
 
82571
 
-
 
82572
    @Override
-
 
82573
    public boolean equals(Object that) {
-
 
82574
      if (that == null)
-
 
82575
        return false;
-
 
82576
      if (that instanceof getOrdersWhereVendorNotPaid_result)
-
 
82577
        return this.equals((getOrdersWhereVendorNotPaid_result)that);
-
 
82578
      return false;
-
 
82579
    }
-
 
82580
 
-
 
82581
    public boolean equals(getOrdersWhereVendorNotPaid_result that) {
-
 
82582
      if (that == null)
-
 
82583
        return false;
-
 
82584
 
-
 
82585
      boolean this_present_success = true && this.isSetSuccess();
-
 
82586
      boolean that_present_success = true && that.isSetSuccess();
-
 
82587
      if (this_present_success || that_present_success) {
-
 
82588
        if (!(this_present_success && that_present_success))
-
 
82589
          return false;
-
 
82590
        if (!this.success.equals(that.success))
-
 
82591
          return false;
-
 
82592
      }
-
 
82593
 
-
 
82594
      boolean this_present_ex = true && this.isSetEx();
-
 
82595
      boolean that_present_ex = true && that.isSetEx();
-
 
82596
      if (this_present_ex || that_present_ex) {
-
 
82597
        if (!(this_present_ex && that_present_ex))
-
 
82598
          return false;
-
 
82599
        if (!this.ex.equals(that.ex))
-
 
82600
          return false;
-
 
82601
      }
-
 
82602
 
-
 
82603
      return true;
-
 
82604
    }
-
 
82605
 
-
 
82606
    @Override
-
 
82607
    public int hashCode() {
-
 
82608
      return 0;
-
 
82609
    }
-
 
82610
 
-
 
82611
    public int compareTo(getOrdersWhereVendorNotPaid_result other) {
-
 
82612
      if (!getClass().equals(other.getClass())) {
-
 
82613
        return getClass().getName().compareTo(other.getClass().getName());
-
 
82614
      }
-
 
82615
 
-
 
82616
      int lastComparison = 0;
-
 
82617
      getOrdersWhereVendorNotPaid_result typedOther = (getOrdersWhereVendorNotPaid_result)other;
-
 
82618
 
-
 
82619
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
-
 
82620
      if (lastComparison != 0) {
-
 
82621
        return lastComparison;
-
 
82622
      }
-
 
82623
      if (isSetSuccess()) {
-
 
82624
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
-
 
82625
        if (lastComparison != 0) {
-
 
82626
          return lastComparison;
-
 
82627
        }
-
 
82628
      }
-
 
82629
      lastComparison = Boolean.valueOf(isSetEx()).compareTo(typedOther.isSetEx());
-
 
82630
      if (lastComparison != 0) {
-
 
82631
        return lastComparison;
-
 
82632
      }
-
 
82633
      if (isSetEx()) {
-
 
82634
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.ex, typedOther.ex);
-
 
82635
        if (lastComparison != 0) {
-
 
82636
          return lastComparison;
-
 
82637
        }
-
 
82638
      }
-
 
82639
      return 0;
-
 
82640
    }
-
 
82641
 
-
 
82642
    public _Fields fieldForId(int fieldId) {
-
 
82643
      return _Fields.findByThriftId(fieldId);
-
 
82644
    }
-
 
82645
 
-
 
82646
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
82647
      org.apache.thrift.protocol.TField field;
-
 
82648
      iprot.readStructBegin();
-
 
82649
      while (true)
-
 
82650
      {
-
 
82651
        field = iprot.readFieldBegin();
-
 
82652
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
82653
          break;
-
 
82654
        }
-
 
82655
        switch (field.id) {
-
 
82656
          case 0: // SUCCESS
-
 
82657
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
-
 
82658
              {
-
 
82659
                org.apache.thrift.protocol.TList _list237 = iprot.readListBegin();
-
 
82660
                this.success = new ArrayList<Order>(_list237.size);
-
 
82661
                for (int _i238 = 0; _i238 < _list237.size; ++_i238)
-
 
82662
                {
-
 
82663
                  Order _elem239; // required
-
 
82664
                  _elem239 = new Order();
-
 
82665
                  _elem239.read(iprot);
-
 
82666
                  this.success.add(_elem239);
-
 
82667
                }
-
 
82668
                iprot.readListEnd();
-
 
82669
              }
-
 
82670
            } else { 
-
 
82671
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
82672
            }
-
 
82673
            break;
-
 
82674
          case 1: // EX
-
 
82675
            if (field.type == org.apache.thrift.protocol.TType.STRUCT) {
-
 
82676
              this.ex = new TransactionServiceException();
-
 
82677
              this.ex.read(iprot);
-
 
82678
            } else { 
-
 
82679
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
82680
            }
-
 
82681
            break;
-
 
82682
          default:
-
 
82683
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
82684
        }
-
 
82685
        iprot.readFieldEnd();
-
 
82686
      }
-
 
82687
      iprot.readStructEnd();
-
 
82688
      validate();
-
 
82689
    }
-
 
82690
 
-
 
82691
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
82692
      oprot.writeStructBegin(STRUCT_DESC);
-
 
82693
 
-
 
82694
      if (this.isSetSuccess()) {
-
 
82695
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-
 
82696
        {
-
 
82697
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
-
 
82698
          for (Order _iter240 : this.success)
-
 
82699
          {
-
 
82700
            _iter240.write(oprot);
-
 
82701
          }
-
 
82702
          oprot.writeListEnd();
-
 
82703
        }
-
 
82704
        oprot.writeFieldEnd();
-
 
82705
      } else if (this.isSetEx()) {
-
 
82706
        oprot.writeFieldBegin(EX_FIELD_DESC);
-
 
82707
        this.ex.write(oprot);
-
 
82708
        oprot.writeFieldEnd();
-
 
82709
      }
-
 
82710
      oprot.writeFieldStop();
-
 
82711
      oprot.writeStructEnd();
-
 
82712
    }
-
 
82713
 
-
 
82714
    @Override
-
 
82715
    public String toString() {
-
 
82716
      StringBuilder sb = new StringBuilder("getOrdersWhereVendorNotPaid_result(");
-
 
82717
      boolean first = true;
-
 
82718
 
-
 
82719
      sb.append("success:");
-
 
82720
      if (this.success == null) {
-
 
82721
        sb.append("null");
-
 
82722
      } else {
-
 
82723
        sb.append(this.success);
-
 
82724
      }
-
 
82725
      first = false;
-
 
82726
      if (!first) sb.append(", ");
-
 
82727
      sb.append("ex:");
-
 
82728
      if (this.ex == null) {
-
 
82729
        sb.append("null");
-
 
82730
      } else {
-
 
82731
        sb.append(this.ex);
81094
      }
82732
      }
81095
      first = false;
82733
      first = false;
81096
      sb.append(")");
82734
      sb.append(")");
81097
      return sb.toString();
82735
      return sb.toString();
81098
    }
82736
    }