Subversion Repositories SmartDukaan

Rev

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

Rev 4586 Rev 4600
Line 646... Line 646...
646
     * @param logistics_provider_id
646
     * @param logistics_provider_id
647
     * @param order_status
647
     * @param order_status
648
     */
648
     */
649
    public List<Order> getOrdersForProviderForStatus(long logistics_provider_id, OrderStatus order_status) throws TransactionServiceException, org.apache.thrift.TException;
649
    public List<Order> getOrdersForProviderForStatus(long logistics_provider_id, OrderStatus order_status) throws TransactionServiceException, org.apache.thrift.TException;
650
 
650
 
-
 
651
    /**
-
 
652
     * Returns list of orders fullfiled from a certain vendor and billed in a given date range
-
 
653
     * 
-
 
654
     * @param vendorId
-
 
655
     * @param billingDateFrom
-
 
656
     * @param billingDateTo
-
 
657
     */
-
 
658
    public List<Order> getBilledOrdersForVendor(long vendorId, long billingDateFrom, long billingDateTo) throws TransactionServiceException, org.apache.thrift.TException;
-
 
659
 
-
 
660
    public void saveBluedartSettlements(Map<Long,Double> mapAWBAndAmount) throws TransactionServiceException, org.apache.thrift.TException;
-
 
661
 
-
 
662
    public void savePaymentSettlements(long settlementDate, long paymentGatewayId, long paymentId, double serviceTax, double otherCharges, double netCollection) throws TransactionServiceException, org.apache.thrift.TException;
-
 
663
 
-
 
664
    public void saveEBSSettlementSummary(long settlementId, long settlementDate, long transactionDateFrom, long transactionDateTo, double amount) throws TransactionServiceException, org.apache.thrift.TException;
-
 
665
 
-
 
666
    public PaymentSettlement getSettlementForPaymentId(long paymentId) throws TransactionServiceException, org.apache.thrift.TException;
-
 
667
 
-
 
668
    public Map<Long,String> getEBSSettlementSummaries() throws TransactionServiceException, org.apache.thrift.TException;
-
 
669
 
-
 
670
    public void markEBSSettlementUploaded(long settlementId) throws TransactionServiceException, org.apache.thrift.TException;
-
 
671
 
-
 
672
    public long getEBSSettlementDate(long settlementId) throws TransactionServiceException, org.apache.thrift.TException;
-
 
673
 
651
  }
674
  }
652
 
675
 
653
  public interface AsyncIface extends in.shop2020.generic.GenericService .AsyncIface {
676
  public interface AsyncIface extends in.shop2020.generic.GenericService .AsyncIface {
654
 
677
 
655
    public void createTransaction(Transaction transaction, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.createTransaction_call> resultHandler) throws org.apache.thrift.TException;
678
    public void createTransaction(Transaction transaction, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.createTransaction_call> resultHandler) throws org.apache.thrift.TException;
Line 810... Line 833...
810
 
833
 
811
    public void getOrderForAwb(String awb, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getOrderForAwb_call> resultHandler) throws org.apache.thrift.TException;
834
    public void getOrderForAwb(String awb, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getOrderForAwb_call> resultHandler) throws org.apache.thrift.TException;
812
 
835
 
813
    public void getOrdersForProviderForStatus(long logistics_provider_id, OrderStatus order_status, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getOrdersForProviderForStatus_call> resultHandler) throws org.apache.thrift.TException;
836
    public void getOrdersForProviderForStatus(long logistics_provider_id, OrderStatus order_status, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getOrdersForProviderForStatus_call> resultHandler) throws org.apache.thrift.TException;
814
 
837
 
-
 
838
    public void getBilledOrdersForVendor(long vendorId, long billingDateFrom, long billingDateTo, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getBilledOrdersForVendor_call> resultHandler) throws org.apache.thrift.TException;
-
 
839
 
-
 
840
    public void saveBluedartSettlements(Map<Long,Double> mapAWBAndAmount, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.saveBluedartSettlements_call> resultHandler) throws org.apache.thrift.TException;
-
 
841
 
-
 
842
    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;
-
 
843
 
-
 
844
    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;
-
 
845
 
-
 
846
    public void getSettlementForPaymentId(long paymentId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getSettlementForPaymentId_call> resultHandler) throws org.apache.thrift.TException;
-
 
847
 
-
 
848
    public void getEBSSettlementSummaries(org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getEBSSettlementSummaries_call> resultHandler) throws org.apache.thrift.TException;
-
 
849
 
-
 
850
    public void markEBSSettlementUploaded(long settlementId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.markEBSSettlementUploaded_call> resultHandler) throws org.apache.thrift.TException;
-
 
851
 
-
 
852
    public void getEBSSettlementDate(long settlementId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getEBSSettlementDate_call> resultHandler) throws org.apache.thrift.TException;
-
 
853
 
815
  }
854
  }
816
 
855
 
817
  public static class Client extends in.shop2020.generic.GenericService.Client implements Iface {
856
  public static class Client extends in.shop2020.generic.GenericService.Client implements Iface {
818
    public static class Factory implements org.apache.thrift.TServiceClientFactory<Client> {
857
    public static class Factory implements org.apache.thrift.TServiceClientFactory<Client> {
819
      public Factory() {}
858
      public Factory() {}
Line 2906... Line 2945...
2906
        throw result.ex;
2945
        throw result.ex;
2907
      }
2946
      }
2908
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getOrdersForProviderForStatus failed: unknown result");
2947
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getOrdersForProviderForStatus failed: unknown result");
2909
    }
2948
    }
2910
 
2949
 
-
 
2950
    public List<Order> getBilledOrdersForVendor(long vendorId, long billingDateFrom, long billingDateTo) throws TransactionServiceException, org.apache.thrift.TException
-
 
2951
    {
-
 
2952
      send_getBilledOrdersForVendor(vendorId, billingDateFrom, billingDateTo);
-
 
2953
      return recv_getBilledOrdersForVendor();
-
 
2954
    }
-
 
2955
 
-
 
2956
    public void send_getBilledOrdersForVendor(long vendorId, long billingDateFrom, long billingDateTo) throws org.apache.thrift.TException
-
 
2957
    {
-
 
2958
      getBilledOrdersForVendor_args args = new getBilledOrdersForVendor_args();
-
 
2959
      args.setVendorId(vendorId);
-
 
2960
      args.setBillingDateFrom(billingDateFrom);
-
 
2961
      args.setBillingDateTo(billingDateTo);
-
 
2962
      sendBase("getBilledOrdersForVendor", args);
-
 
2963
    }
-
 
2964
 
-
 
2965
    public List<Order> recv_getBilledOrdersForVendor() throws TransactionServiceException, org.apache.thrift.TException
-
 
2966
    {
-
 
2967
      getBilledOrdersForVendor_result result = new getBilledOrdersForVendor_result();
-
 
2968
      receiveBase(result, "getBilledOrdersForVendor");
-
 
2969
      if (result.isSetSuccess()) {
-
 
2970
        return result.success;
-
 
2971
      }
-
 
2972
      if (result.ex != null) {
-
 
2973
        throw result.ex;
-
 
2974
      }
-
 
2975
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getBilledOrdersForVendor failed: unknown result");
-
 
2976
    }
-
 
2977
 
-
 
2978
    public void saveBluedartSettlements(Map<Long,Double> mapAWBAndAmount) throws TransactionServiceException, org.apache.thrift.TException
-
 
2979
    {
-
 
2980
      send_saveBluedartSettlements(mapAWBAndAmount);
-
 
2981
      recv_saveBluedartSettlements();
-
 
2982
    }
-
 
2983
 
-
 
2984
    public void send_saveBluedartSettlements(Map<Long,Double> mapAWBAndAmount) throws org.apache.thrift.TException
-
 
2985
    {
-
 
2986
      saveBluedartSettlements_args args = new saveBluedartSettlements_args();
-
 
2987
      args.setMapAWBAndAmount(mapAWBAndAmount);
-
 
2988
      sendBase("saveBluedartSettlements", args);
-
 
2989
    }
-
 
2990
 
-
 
2991
    public void recv_saveBluedartSettlements() throws TransactionServiceException, org.apache.thrift.TException
-
 
2992
    {
-
 
2993
      saveBluedartSettlements_result result = new saveBluedartSettlements_result();
-
 
2994
      receiveBase(result, "saveBluedartSettlements");
-
 
2995
      if (result.ex != null) {
-
 
2996
        throw result.ex;
-
 
2997
      }
-
 
2998
      return;
-
 
2999
    }
-
 
3000
 
-
 
3001
    public void savePaymentSettlements(long settlementDate, long paymentGatewayId, long paymentId, double serviceTax, double otherCharges, double netCollection) throws TransactionServiceException, org.apache.thrift.TException
-
 
3002
    {
-
 
3003
      send_savePaymentSettlements(settlementDate, paymentGatewayId, paymentId, serviceTax, otherCharges, netCollection);
-
 
3004
      recv_savePaymentSettlements();
-
 
3005
    }
-
 
3006
 
-
 
3007
    public void send_savePaymentSettlements(long settlementDate, long paymentGatewayId, long paymentId, double serviceTax, double otherCharges, double netCollection) throws org.apache.thrift.TException
-
 
3008
    {
-
 
3009
      savePaymentSettlements_args args = new savePaymentSettlements_args();
-
 
3010
      args.setSettlementDate(settlementDate);
-
 
3011
      args.setPaymentGatewayId(paymentGatewayId);
-
 
3012
      args.setPaymentId(paymentId);
-
 
3013
      args.setServiceTax(serviceTax);
-
 
3014
      args.setOtherCharges(otherCharges);
-
 
3015
      args.setNetCollection(netCollection);
-
 
3016
      sendBase("savePaymentSettlements", args);
-
 
3017
    }
-
 
3018
 
-
 
3019
    public void recv_savePaymentSettlements() throws TransactionServiceException, org.apache.thrift.TException
-
 
3020
    {
-
 
3021
      savePaymentSettlements_result result = new savePaymentSettlements_result();
-
 
3022
      receiveBase(result, "savePaymentSettlements");
-
 
3023
      if (result.ex != null) {
-
 
3024
        throw result.ex;
-
 
3025
      }
-
 
3026
      return;
-
 
3027
    }
-
 
3028
 
-
 
3029
    public void saveEBSSettlementSummary(long settlementId, long settlementDate, long transactionDateFrom, long transactionDateTo, double amount) throws TransactionServiceException, org.apache.thrift.TException
-
 
3030
    {
-
 
3031
      send_saveEBSSettlementSummary(settlementId, settlementDate, transactionDateFrom, transactionDateTo, amount);
-
 
3032
      recv_saveEBSSettlementSummary();
-
 
3033
    }
-
 
3034
 
-
 
3035
    public void send_saveEBSSettlementSummary(long settlementId, long settlementDate, long transactionDateFrom, long transactionDateTo, double amount) throws org.apache.thrift.TException
-
 
3036
    {
-
 
3037
      saveEBSSettlementSummary_args args = new saveEBSSettlementSummary_args();
-
 
3038
      args.setSettlementId(settlementId);
-
 
3039
      args.setSettlementDate(settlementDate);
-
 
3040
      args.setTransactionDateFrom(transactionDateFrom);
-
 
3041
      args.setTransactionDateTo(transactionDateTo);
-
 
3042
      args.setAmount(amount);
-
 
3043
      sendBase("saveEBSSettlementSummary", args);
-
 
3044
    }
-
 
3045
 
-
 
3046
    public void recv_saveEBSSettlementSummary() throws TransactionServiceException, org.apache.thrift.TException
-
 
3047
    {
-
 
3048
      saveEBSSettlementSummary_result result = new saveEBSSettlementSummary_result();
-
 
3049
      receiveBase(result, "saveEBSSettlementSummary");
-
 
3050
      if (result.ex != null) {
-
 
3051
        throw result.ex;
-
 
3052
      }
-
 
3053
      return;
-
 
3054
    }
-
 
3055
 
-
 
3056
    public PaymentSettlement getSettlementForPaymentId(long paymentId) throws TransactionServiceException, org.apache.thrift.TException
-
 
3057
    {
-
 
3058
      send_getSettlementForPaymentId(paymentId);
-
 
3059
      return recv_getSettlementForPaymentId();
-
 
3060
    }
-
 
3061
 
-
 
3062
    public void send_getSettlementForPaymentId(long paymentId) throws org.apache.thrift.TException
-
 
3063
    {
-
 
3064
      getSettlementForPaymentId_args args = new getSettlementForPaymentId_args();
-
 
3065
      args.setPaymentId(paymentId);
-
 
3066
      sendBase("getSettlementForPaymentId", args);
-
 
3067
    }
-
 
3068
 
-
 
3069
    public PaymentSettlement recv_getSettlementForPaymentId() throws TransactionServiceException, org.apache.thrift.TException
-
 
3070
    {
-
 
3071
      getSettlementForPaymentId_result result = new getSettlementForPaymentId_result();
-
 
3072
      receiveBase(result, "getSettlementForPaymentId");
-
 
3073
      if (result.isSetSuccess()) {
-
 
3074
        return result.success;
-
 
3075
      }
-
 
3076
      if (result.ex != null) {
-
 
3077
        throw result.ex;
-
 
3078
      }
-
 
3079
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getSettlementForPaymentId failed: unknown result");
-
 
3080
    }
-
 
3081
 
-
 
3082
    public Map<Long,String> getEBSSettlementSummaries() throws TransactionServiceException, org.apache.thrift.TException
-
 
3083
    {
-
 
3084
      send_getEBSSettlementSummaries();
-
 
3085
      return recv_getEBSSettlementSummaries();
-
 
3086
    }
-
 
3087
 
-
 
3088
    public void send_getEBSSettlementSummaries() throws org.apache.thrift.TException
-
 
3089
    {
-
 
3090
      getEBSSettlementSummaries_args args = new getEBSSettlementSummaries_args();
-
 
3091
      sendBase("getEBSSettlementSummaries", args);
-
 
3092
    }
-
 
3093
 
-
 
3094
    public Map<Long,String> recv_getEBSSettlementSummaries() throws TransactionServiceException, org.apache.thrift.TException
-
 
3095
    {
-
 
3096
      getEBSSettlementSummaries_result result = new getEBSSettlementSummaries_result();
-
 
3097
      receiveBase(result, "getEBSSettlementSummaries");
-
 
3098
      if (result.isSetSuccess()) {
-
 
3099
        return result.success;
-
 
3100
      }
-
 
3101
      if (result.ex != null) {
-
 
3102
        throw result.ex;
-
 
3103
      }
-
 
3104
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getEBSSettlementSummaries failed: unknown result");
-
 
3105
    }
-
 
3106
 
-
 
3107
    public void markEBSSettlementUploaded(long settlementId) throws TransactionServiceException, org.apache.thrift.TException
-
 
3108
    {
-
 
3109
      send_markEBSSettlementUploaded(settlementId);
-
 
3110
      recv_markEBSSettlementUploaded();
-
 
3111
    }
-
 
3112
 
-
 
3113
    public void send_markEBSSettlementUploaded(long settlementId) throws org.apache.thrift.TException
-
 
3114
    {
-
 
3115
      markEBSSettlementUploaded_args args = new markEBSSettlementUploaded_args();
-
 
3116
      args.setSettlementId(settlementId);
-
 
3117
      sendBase("markEBSSettlementUploaded", args);
-
 
3118
    }
-
 
3119
 
-
 
3120
    public void recv_markEBSSettlementUploaded() throws TransactionServiceException, org.apache.thrift.TException
-
 
3121
    {
-
 
3122
      markEBSSettlementUploaded_result result = new markEBSSettlementUploaded_result();
-
 
3123
      receiveBase(result, "markEBSSettlementUploaded");
-
 
3124
      if (result.ex != null) {
-
 
3125
        throw result.ex;
-
 
3126
      }
-
 
3127
      return;
-
 
3128
    }
-
 
3129
 
-
 
3130
    public long getEBSSettlementDate(long settlementId) throws TransactionServiceException, org.apache.thrift.TException
-
 
3131
    {
-
 
3132
      send_getEBSSettlementDate(settlementId);
-
 
3133
      return recv_getEBSSettlementDate();
-
 
3134
    }
-
 
3135
 
-
 
3136
    public void send_getEBSSettlementDate(long settlementId) throws org.apache.thrift.TException
-
 
3137
    {
-
 
3138
      getEBSSettlementDate_args args = new getEBSSettlementDate_args();
-
 
3139
      args.setSettlementId(settlementId);
-
 
3140
      sendBase("getEBSSettlementDate", args);
-
 
3141
    }
-
 
3142
 
-
 
3143
    public long recv_getEBSSettlementDate() throws TransactionServiceException, org.apache.thrift.TException
-
 
3144
    {
-
 
3145
      getEBSSettlementDate_result result = new getEBSSettlementDate_result();
-
 
3146
      receiveBase(result, "getEBSSettlementDate");
-
 
3147
      if (result.isSetSuccess()) {
-
 
3148
        return result.success;
-
 
3149
      }
-
 
3150
      if (result.ex != null) {
-
 
3151
        throw result.ex;
-
 
3152
      }
-
 
3153
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getEBSSettlementDate failed: unknown result");
-
 
3154
    }
-
 
3155
 
2911
  }
3156
  }
2912
  public static class AsyncClient extends in.shop2020.generic.GenericService.AsyncClient implements AsyncIface {
3157
  public static class AsyncClient extends in.shop2020.generic.GenericService.AsyncClient implements AsyncIface {
2913
    public static class Factory implements org.apache.thrift.async.TAsyncClientFactory<AsyncClient> {
3158
    public static class Factory implements org.apache.thrift.async.TAsyncClientFactory<AsyncClient> {
2914
      private org.apache.thrift.async.TAsyncClientManager clientManager;
3159
      private org.apache.thrift.async.TAsyncClientManager clientManager;
2915
      private org.apache.thrift.protocol.TProtocolFactory protocolFactory;
3160
      private org.apache.thrift.protocol.TProtocolFactory protocolFactory;
Line 5736... Line 5981...
5736
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
5981
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
5737
        return (new Client(prot)).recv_getOrdersForProviderForStatus();
5982
        return (new Client(prot)).recv_getOrdersForProviderForStatus();
5738
      }
5983
      }
5739
    }
5984
    }
5740
 
5985
 
-
 
5986
    public void getBilledOrdersForVendor(long vendorId, long billingDateFrom, long billingDateTo, org.apache.thrift.async.AsyncMethodCallback<getBilledOrdersForVendor_call> resultHandler) throws org.apache.thrift.TException {
-
 
5987
      checkReady();
-
 
5988
      getBilledOrdersForVendor_call method_call = new getBilledOrdersForVendor_call(vendorId, billingDateFrom, billingDateTo, resultHandler, this, ___protocolFactory, ___transport);
-
 
5989
      this.___currentMethod = method_call;
-
 
5990
      ___manager.call(method_call);
-
 
5991
    }
-
 
5992
 
-
 
5993
    public static class getBilledOrdersForVendor_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
5994
      private long vendorId;
-
 
5995
      private long billingDateFrom;
-
 
5996
      private long billingDateTo;
-
 
5997
      public getBilledOrdersForVendor_call(long vendorId, long billingDateFrom, long billingDateTo, org.apache.thrift.async.AsyncMethodCallback<getBilledOrdersForVendor_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 {
-
 
5998
        super(client, protocolFactory, transport, resultHandler, false);
-
 
5999
        this.vendorId = vendorId;
-
 
6000
        this.billingDateFrom = billingDateFrom;
-
 
6001
        this.billingDateTo = billingDateTo;
-
 
6002
      }
-
 
6003
 
-
 
6004
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
6005
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getBilledOrdersForVendor", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
6006
        getBilledOrdersForVendor_args args = new getBilledOrdersForVendor_args();
-
 
6007
        args.setVendorId(vendorId);
-
 
6008
        args.setBillingDateFrom(billingDateFrom);
-
 
6009
        args.setBillingDateTo(billingDateTo);
-
 
6010
        args.write(prot);
-
 
6011
        prot.writeMessageEnd();
-
 
6012
      }
-
 
6013
 
-
 
6014
      public List<Order> getResult() throws TransactionServiceException, org.apache.thrift.TException {
-
 
6015
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
6016
          throw new IllegalStateException("Method call not finished!");
-
 
6017
        }
-
 
6018
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
6019
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
6020
        return (new Client(prot)).recv_getBilledOrdersForVendor();
-
 
6021
      }
-
 
6022
    }
-
 
6023
 
-
 
6024
    public void saveBluedartSettlements(Map<Long,Double> mapAWBAndAmount, org.apache.thrift.async.AsyncMethodCallback<saveBluedartSettlements_call> resultHandler) throws org.apache.thrift.TException {
-
 
6025
      checkReady();
-
 
6026
      saveBluedartSettlements_call method_call = new saveBluedartSettlements_call(mapAWBAndAmount, resultHandler, this, ___protocolFactory, ___transport);
-
 
6027
      this.___currentMethod = method_call;
-
 
6028
      ___manager.call(method_call);
-
 
6029
    }
-
 
6030
 
-
 
6031
    public static class saveBluedartSettlements_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
6032
      private Map<Long,Double> mapAWBAndAmount;
-
 
6033
      public saveBluedartSettlements_call(Map<Long,Double> mapAWBAndAmount, org.apache.thrift.async.AsyncMethodCallback<saveBluedartSettlements_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 {
-
 
6034
        super(client, protocolFactory, transport, resultHandler, false);
-
 
6035
        this.mapAWBAndAmount = mapAWBAndAmount;
-
 
6036
      }
-
 
6037
 
-
 
6038
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
6039
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("saveBluedartSettlements", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
6040
        saveBluedartSettlements_args args = new saveBluedartSettlements_args();
-
 
6041
        args.setMapAWBAndAmount(mapAWBAndAmount);
-
 
6042
        args.write(prot);
-
 
6043
        prot.writeMessageEnd();
-
 
6044
      }
-
 
6045
 
-
 
6046
      public void getResult() throws TransactionServiceException, org.apache.thrift.TException {
-
 
6047
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
6048
          throw new IllegalStateException("Method call not finished!");
-
 
6049
        }
-
 
6050
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
6051
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
6052
        (new Client(prot)).recv_saveBluedartSettlements();
-
 
6053
      }
-
 
6054
    }
-
 
6055
 
-
 
6056
    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 {
-
 
6057
      checkReady();
-
 
6058
      savePaymentSettlements_call method_call = new savePaymentSettlements_call(settlementDate, paymentGatewayId, paymentId, serviceTax, otherCharges, netCollection, resultHandler, this, ___protocolFactory, ___transport);
-
 
6059
      this.___currentMethod = method_call;
-
 
6060
      ___manager.call(method_call);
-
 
6061
    }
-
 
6062
 
-
 
6063
    public static class savePaymentSettlements_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
6064
      private long settlementDate;
-
 
6065
      private long paymentGatewayId;
-
 
6066
      private long paymentId;
-
 
6067
      private double serviceTax;
-
 
6068
      private double otherCharges;
-
 
6069
      private double netCollection;
-
 
6070
      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 {
-
 
6071
        super(client, protocolFactory, transport, resultHandler, false);
-
 
6072
        this.settlementDate = settlementDate;
-
 
6073
        this.paymentGatewayId = paymentGatewayId;
-
 
6074
        this.paymentId = paymentId;
-
 
6075
        this.serviceTax = serviceTax;
-
 
6076
        this.otherCharges = otherCharges;
-
 
6077
        this.netCollection = netCollection;
-
 
6078
      }
-
 
6079
 
-
 
6080
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
6081
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("savePaymentSettlements", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
6082
        savePaymentSettlements_args args = new savePaymentSettlements_args();
-
 
6083
        args.setSettlementDate(settlementDate);
-
 
6084
        args.setPaymentGatewayId(paymentGatewayId);
-
 
6085
        args.setPaymentId(paymentId);
-
 
6086
        args.setServiceTax(serviceTax);
-
 
6087
        args.setOtherCharges(otherCharges);
-
 
6088
        args.setNetCollection(netCollection);
-
 
6089
        args.write(prot);
-
 
6090
        prot.writeMessageEnd();
-
 
6091
      }
-
 
6092
 
-
 
6093
      public void getResult() throws TransactionServiceException, org.apache.thrift.TException {
-
 
6094
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
6095
          throw new IllegalStateException("Method call not finished!");
-
 
6096
        }
-
 
6097
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
6098
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
6099
        (new Client(prot)).recv_savePaymentSettlements();
-
 
6100
      }
-
 
6101
    }
-
 
6102
 
-
 
6103
    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 {
-
 
6104
      checkReady();
-
 
6105
      saveEBSSettlementSummary_call method_call = new saveEBSSettlementSummary_call(settlementId, settlementDate, transactionDateFrom, transactionDateTo, amount, resultHandler, this, ___protocolFactory, ___transport);
-
 
6106
      this.___currentMethod = method_call;
-
 
6107
      ___manager.call(method_call);
-
 
6108
    }
-
 
6109
 
-
 
6110
    public static class saveEBSSettlementSummary_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
6111
      private long settlementId;
-
 
6112
      private long settlementDate;
-
 
6113
      private long transactionDateFrom;
-
 
6114
      private long transactionDateTo;
-
 
6115
      private double amount;
-
 
6116
      public saveEBSSettlementSummary_call(long settlementId, long settlementDate, long transactionDateFrom, long transactionDateTo, double amount, org.apache.thrift.async.AsyncMethodCallback<saveEBSSettlementSummary_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 {
-
 
6117
        super(client, protocolFactory, transport, resultHandler, false);
-
 
6118
        this.settlementId = settlementId;
-
 
6119
        this.settlementDate = settlementDate;
-
 
6120
        this.transactionDateFrom = transactionDateFrom;
-
 
6121
        this.transactionDateTo = transactionDateTo;
-
 
6122
        this.amount = amount;
-
 
6123
      }
-
 
6124
 
-
 
6125
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
6126
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("saveEBSSettlementSummary", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
6127
        saveEBSSettlementSummary_args args = new saveEBSSettlementSummary_args();
-
 
6128
        args.setSettlementId(settlementId);
-
 
6129
        args.setSettlementDate(settlementDate);
-
 
6130
        args.setTransactionDateFrom(transactionDateFrom);
-
 
6131
        args.setTransactionDateTo(transactionDateTo);
-
 
6132
        args.setAmount(amount);
-
 
6133
        args.write(prot);
-
 
6134
        prot.writeMessageEnd();
-
 
6135
      }
-
 
6136
 
-
 
6137
      public void getResult() throws TransactionServiceException, org.apache.thrift.TException {
-
 
6138
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
6139
          throw new IllegalStateException("Method call not finished!");
-
 
6140
        }
-
 
6141
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
6142
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
6143
        (new Client(prot)).recv_saveEBSSettlementSummary();
-
 
6144
      }
-
 
6145
    }
-
 
6146
 
-
 
6147
    public void getSettlementForPaymentId(long paymentId, org.apache.thrift.async.AsyncMethodCallback<getSettlementForPaymentId_call> resultHandler) throws org.apache.thrift.TException {
-
 
6148
      checkReady();
-
 
6149
      getSettlementForPaymentId_call method_call = new getSettlementForPaymentId_call(paymentId, resultHandler, this, ___protocolFactory, ___transport);
-
 
6150
      this.___currentMethod = method_call;
-
 
6151
      ___manager.call(method_call);
-
 
6152
    }
-
 
6153
 
-
 
6154
    public static class getSettlementForPaymentId_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
6155
      private long paymentId;
-
 
6156
      public getSettlementForPaymentId_call(long paymentId, org.apache.thrift.async.AsyncMethodCallback<getSettlementForPaymentId_call> resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
-
 
6157
        super(client, protocolFactory, transport, resultHandler, false);
-
 
6158
        this.paymentId = paymentId;
-
 
6159
      }
-
 
6160
 
-
 
6161
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
6162
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getSettlementForPaymentId", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
6163
        getSettlementForPaymentId_args args = new getSettlementForPaymentId_args();
-
 
6164
        args.setPaymentId(paymentId);
-
 
6165
        args.write(prot);
-
 
6166
        prot.writeMessageEnd();
-
 
6167
      }
-
 
6168
 
-
 
6169
      public PaymentSettlement getResult() throws TransactionServiceException, org.apache.thrift.TException {
-
 
6170
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
6171
          throw new IllegalStateException("Method call not finished!");
-
 
6172
        }
-
 
6173
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
6174
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
6175
        return (new Client(prot)).recv_getSettlementForPaymentId();
-
 
6176
      }
-
 
6177
    }
-
 
6178
 
-
 
6179
    public void getEBSSettlementSummaries(org.apache.thrift.async.AsyncMethodCallback<getEBSSettlementSummaries_call> resultHandler) throws org.apache.thrift.TException {
-
 
6180
      checkReady();
-
 
6181
      getEBSSettlementSummaries_call method_call = new getEBSSettlementSummaries_call(resultHandler, this, ___protocolFactory, ___transport);
-
 
6182
      this.___currentMethod = method_call;
-
 
6183
      ___manager.call(method_call);
-
 
6184
    }
-
 
6185
 
-
 
6186
    public static class getEBSSettlementSummaries_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
6187
      public getEBSSettlementSummaries_call(org.apache.thrift.async.AsyncMethodCallback<getEBSSettlementSummaries_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 {
-
 
6188
        super(client, protocolFactory, transport, resultHandler, false);
-
 
6189
      }
-
 
6190
 
-
 
6191
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
6192
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getEBSSettlementSummaries", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
6193
        getEBSSettlementSummaries_args args = new getEBSSettlementSummaries_args();
-
 
6194
        args.write(prot);
-
 
6195
        prot.writeMessageEnd();
-
 
6196
      }
-
 
6197
 
-
 
6198
      public Map<Long,String> getResult() throws TransactionServiceException, org.apache.thrift.TException {
-
 
6199
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
6200
          throw new IllegalStateException("Method call not finished!");
-
 
6201
        }
-
 
6202
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
6203
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
6204
        return (new Client(prot)).recv_getEBSSettlementSummaries();
-
 
6205
      }
-
 
6206
    }
-
 
6207
 
-
 
6208
    public void markEBSSettlementUploaded(long settlementId, org.apache.thrift.async.AsyncMethodCallback<markEBSSettlementUploaded_call> resultHandler) throws org.apache.thrift.TException {
-
 
6209
      checkReady();
-
 
6210
      markEBSSettlementUploaded_call method_call = new markEBSSettlementUploaded_call(settlementId, resultHandler, this, ___protocolFactory, ___transport);
-
 
6211
      this.___currentMethod = method_call;
-
 
6212
      ___manager.call(method_call);
-
 
6213
    }
-
 
6214
 
-
 
6215
    public static class markEBSSettlementUploaded_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
6216
      private long settlementId;
-
 
6217
      public markEBSSettlementUploaded_call(long settlementId, org.apache.thrift.async.AsyncMethodCallback<markEBSSettlementUploaded_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 {
-
 
6218
        super(client, protocolFactory, transport, resultHandler, false);
-
 
6219
        this.settlementId = settlementId;
-
 
6220
      }
-
 
6221
 
-
 
6222
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
6223
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("markEBSSettlementUploaded", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
6224
        markEBSSettlementUploaded_args args = new markEBSSettlementUploaded_args();
-
 
6225
        args.setSettlementId(settlementId);
-
 
6226
        args.write(prot);
-
 
6227
        prot.writeMessageEnd();
-
 
6228
      }
-
 
6229
 
-
 
6230
      public void getResult() throws TransactionServiceException, org.apache.thrift.TException {
-
 
6231
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
6232
          throw new IllegalStateException("Method call not finished!");
-
 
6233
        }
-
 
6234
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
6235
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
6236
        (new Client(prot)).recv_markEBSSettlementUploaded();
-
 
6237
      }
-
 
6238
    }
-
 
6239
 
-
 
6240
    public void getEBSSettlementDate(long settlementId, org.apache.thrift.async.AsyncMethodCallback<getEBSSettlementDate_call> resultHandler) throws org.apache.thrift.TException {
-
 
6241
      checkReady();
-
 
6242
      getEBSSettlementDate_call method_call = new getEBSSettlementDate_call(settlementId, resultHandler, this, ___protocolFactory, ___transport);
-
 
6243
      this.___currentMethod = method_call;
-
 
6244
      ___manager.call(method_call);
-
 
6245
    }
-
 
6246
 
-
 
6247
    public static class getEBSSettlementDate_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
6248
      private long settlementId;
-
 
6249
      public getEBSSettlementDate_call(long settlementId, org.apache.thrift.async.AsyncMethodCallback<getEBSSettlementDate_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 {
-
 
6250
        super(client, protocolFactory, transport, resultHandler, false);
-
 
6251
        this.settlementId = settlementId;
-
 
6252
      }
-
 
6253
 
-
 
6254
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
6255
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getEBSSettlementDate", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
6256
        getEBSSettlementDate_args args = new getEBSSettlementDate_args();
-
 
6257
        args.setSettlementId(settlementId);
-
 
6258
        args.write(prot);
-
 
6259
        prot.writeMessageEnd();
-
 
6260
      }
-
 
6261
 
-
 
6262
      public long getResult() throws TransactionServiceException, org.apache.thrift.TException {
-
 
6263
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
6264
          throw new IllegalStateException("Method call not finished!");
-
 
6265
        }
-
 
6266
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
6267
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
6268
        return (new Client(prot)).recv_getEBSSettlementDate();
-
 
6269
      }
-
 
6270
    }
-
 
6271
 
5741
  }
6272
  }
5742
 
6273
 
5743
  public static class Processor<I extends Iface> extends in.shop2020.generic.GenericService.Processor implements org.apache.thrift.TProcessor {
6274
  public static class Processor<I extends Iface> extends in.shop2020.generic.GenericService.Processor implements org.apache.thrift.TProcessor {
5744
    private static final Logger LOGGER = LoggerFactory.getLogger(Processor.class.getName());
6275
    private static final Logger LOGGER = LoggerFactory.getLogger(Processor.class.getName());
5745
    public Processor(I iface) {
6276
    public Processor(I iface) {
Line 5829... Line 6360...
5829
      processMap.put("markOrdersAsReversalInitiated", new markOrdersAsReversalInitiated());
6360
      processMap.put("markOrdersAsReversalInitiated", new markOrdersAsReversalInitiated());
5830
      processMap.put("markOrdersAsNotAvailabke", new markOrdersAsNotAvailabke());
6361
      processMap.put("markOrdersAsNotAvailabke", new markOrdersAsNotAvailabke());
5831
      processMap.put("markOrdersAsTimeout", new markOrdersAsTimeout());
6362
      processMap.put("markOrdersAsTimeout", new markOrdersAsTimeout());
5832
      processMap.put("getOrderForAwb", new getOrderForAwb());
6363
      processMap.put("getOrderForAwb", new getOrderForAwb());
5833
      processMap.put("getOrdersForProviderForStatus", new getOrdersForProviderForStatus());
6364
      processMap.put("getOrdersForProviderForStatus", new getOrdersForProviderForStatus());
-
 
6365
      processMap.put("getBilledOrdersForVendor", new getBilledOrdersForVendor());
-
 
6366
      processMap.put("saveBluedartSettlements", new saveBluedartSettlements());
-
 
6367
      processMap.put("savePaymentSettlements", new savePaymentSettlements());
-
 
6368
      processMap.put("saveEBSSettlementSummary", new saveEBSSettlementSummary());
-
 
6369
      processMap.put("getSettlementForPaymentId", new getSettlementForPaymentId());
-
 
6370
      processMap.put("getEBSSettlementSummaries", new getEBSSettlementSummaries());
-
 
6371
      processMap.put("markEBSSettlementUploaded", new markEBSSettlementUploaded());
-
 
6372
      processMap.put("getEBSSettlementDate", new getEBSSettlementDate());
5834
      return processMap;
6373
      return processMap;
5835
    }
6374
    }
5836
 
6375
 
5837
    private static class createTransaction<I extends Iface> extends org.apache.thrift.ProcessFunction<I, createTransaction_args> {
6376
    private static class createTransaction<I extends Iface> extends org.apache.thrift.ProcessFunction<I, createTransaction_args> {
5838
      public createTransaction() {
6377
      public createTransaction() {
Line 7404... Line 7943...
7404
        }
7943
        }
7405
        return result;
7944
        return result;
7406
      }
7945
      }
7407
    }
7946
    }
7408
 
7947
 
-
 
7948
    private static class getBilledOrdersForVendor<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getBilledOrdersForVendor_args> {
-
 
7949
      public getBilledOrdersForVendor() {
-
 
7950
        super("getBilledOrdersForVendor");
-
 
7951
      }
-
 
7952
 
-
 
7953
      protected getBilledOrdersForVendor_args getEmptyArgsInstance() {
-
 
7954
        return new getBilledOrdersForVendor_args();
-
 
7955
      }
-
 
7956
 
-
 
7957
      protected getBilledOrdersForVendor_result getResult(I iface, getBilledOrdersForVendor_args args) throws org.apache.thrift.TException {
-
 
7958
        getBilledOrdersForVendor_result result = new getBilledOrdersForVendor_result();
-
 
7959
        try {
-
 
7960
          result.success = iface.getBilledOrdersForVendor(args.vendorId, args.billingDateFrom, args.billingDateTo);
-
 
7961
        } catch (TransactionServiceException ex) {
-
 
7962
          result.ex = ex;
-
 
7963
        }
-
 
7964
        return result;
-
 
7965
      }
-
 
7966
    }
-
 
7967
 
-
 
7968
    private static class saveBluedartSettlements<I extends Iface> extends org.apache.thrift.ProcessFunction<I, saveBluedartSettlements_args> {
-
 
7969
      public saveBluedartSettlements() {
-
 
7970
        super("saveBluedartSettlements");
-
 
7971
      }
-
 
7972
 
-
 
7973
      protected saveBluedartSettlements_args getEmptyArgsInstance() {
-
 
7974
        return new saveBluedartSettlements_args();
-
 
7975
      }
-
 
7976
 
-
 
7977
      protected saveBluedartSettlements_result getResult(I iface, saveBluedartSettlements_args args) throws org.apache.thrift.TException {
-
 
7978
        saveBluedartSettlements_result result = new saveBluedartSettlements_result();
-
 
7979
        try {
-
 
7980
          iface.saveBluedartSettlements(args.mapAWBAndAmount);
-
 
7981
        } catch (TransactionServiceException ex) {
-
 
7982
          result.ex = ex;
-
 
7983
        }
-
 
7984
        return result;
-
 
7985
      }
-
 
7986
    }
-
 
7987
 
-
 
7988
    private static class savePaymentSettlements<I extends Iface> extends org.apache.thrift.ProcessFunction<I, savePaymentSettlements_args> {
-
 
7989
      public savePaymentSettlements() {
-
 
7990
        super("savePaymentSettlements");
-
 
7991
      }
-
 
7992
 
-
 
7993
      protected savePaymentSettlements_args getEmptyArgsInstance() {
-
 
7994
        return new savePaymentSettlements_args();
-
 
7995
      }
-
 
7996
 
-
 
7997
      protected savePaymentSettlements_result getResult(I iface, savePaymentSettlements_args args) throws org.apache.thrift.TException {
-
 
7998
        savePaymentSettlements_result result = new savePaymentSettlements_result();
-
 
7999
        try {
-
 
8000
          iface.savePaymentSettlements(args.settlementDate, args.paymentGatewayId, args.paymentId, args.serviceTax, args.otherCharges, args.netCollection);
-
 
8001
        } catch (TransactionServiceException ex) {
-
 
8002
          result.ex = ex;
-
 
8003
        }
-
 
8004
        return result;
-
 
8005
      }
-
 
8006
    }
-
 
8007
 
-
 
8008
    private static class saveEBSSettlementSummary<I extends Iface> extends org.apache.thrift.ProcessFunction<I, saveEBSSettlementSummary_args> {
-
 
8009
      public saveEBSSettlementSummary() {
-
 
8010
        super("saveEBSSettlementSummary");
-
 
8011
      }
-
 
8012
 
-
 
8013
      protected saveEBSSettlementSummary_args getEmptyArgsInstance() {
-
 
8014
        return new saveEBSSettlementSummary_args();
-
 
8015
      }
-
 
8016
 
-
 
8017
      protected saveEBSSettlementSummary_result getResult(I iface, saveEBSSettlementSummary_args args) throws org.apache.thrift.TException {
-
 
8018
        saveEBSSettlementSummary_result result = new saveEBSSettlementSummary_result();
-
 
8019
        try {
-
 
8020
          iface.saveEBSSettlementSummary(args.settlementId, args.settlementDate, args.transactionDateFrom, args.transactionDateTo, args.amount);
-
 
8021
        } catch (TransactionServiceException ex) {
-
 
8022
          result.ex = ex;
-
 
8023
        }
-
 
8024
        return result;
-
 
8025
      }
-
 
8026
    }
-
 
8027
 
-
 
8028
    private static class getSettlementForPaymentId<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getSettlementForPaymentId_args> {
-
 
8029
      public getSettlementForPaymentId() {
-
 
8030
        super("getSettlementForPaymentId");
-
 
8031
      }
-
 
8032
 
-
 
8033
      protected getSettlementForPaymentId_args getEmptyArgsInstance() {
-
 
8034
        return new getSettlementForPaymentId_args();
-
 
8035
      }
-
 
8036
 
-
 
8037
      protected getSettlementForPaymentId_result getResult(I iface, getSettlementForPaymentId_args args) throws org.apache.thrift.TException {
-
 
8038
        getSettlementForPaymentId_result result = new getSettlementForPaymentId_result();
-
 
8039
        try {
-
 
8040
          result.success = iface.getSettlementForPaymentId(args.paymentId);
-
 
8041
        } catch (TransactionServiceException ex) {
-
 
8042
          result.ex = ex;
-
 
8043
        }
-
 
8044
        return result;
-
 
8045
      }
-
 
8046
    }
-
 
8047
 
-
 
8048
    private static class getEBSSettlementSummaries<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getEBSSettlementSummaries_args> {
-
 
8049
      public getEBSSettlementSummaries() {
-
 
8050
        super("getEBSSettlementSummaries");
-
 
8051
      }
-
 
8052
 
-
 
8053
      protected getEBSSettlementSummaries_args getEmptyArgsInstance() {
-
 
8054
        return new getEBSSettlementSummaries_args();
-
 
8055
      }
-
 
8056
 
-
 
8057
      protected getEBSSettlementSummaries_result getResult(I iface, getEBSSettlementSummaries_args args) throws org.apache.thrift.TException {
-
 
8058
        getEBSSettlementSummaries_result result = new getEBSSettlementSummaries_result();
-
 
8059
        try {
-
 
8060
          result.success = iface.getEBSSettlementSummaries();
-
 
8061
        } catch (TransactionServiceException ex) {
-
 
8062
          result.ex = ex;
-
 
8063
        }
-
 
8064
        return result;
-
 
8065
      }
-
 
8066
    }
-
 
8067
 
-
 
8068
    private static class markEBSSettlementUploaded<I extends Iface> extends org.apache.thrift.ProcessFunction<I, markEBSSettlementUploaded_args> {
-
 
8069
      public markEBSSettlementUploaded() {
-
 
8070
        super("markEBSSettlementUploaded");
-
 
8071
      }
-
 
8072
 
-
 
8073
      protected markEBSSettlementUploaded_args getEmptyArgsInstance() {
-
 
8074
        return new markEBSSettlementUploaded_args();
-
 
8075
      }
-
 
8076
 
-
 
8077
      protected markEBSSettlementUploaded_result getResult(I iface, markEBSSettlementUploaded_args args) throws org.apache.thrift.TException {
-
 
8078
        markEBSSettlementUploaded_result result = new markEBSSettlementUploaded_result();
-
 
8079
        try {
-
 
8080
          iface.markEBSSettlementUploaded(args.settlementId);
-
 
8081
        } catch (TransactionServiceException ex) {
-
 
8082
          result.ex = ex;
-
 
8083
        }
-
 
8084
        return result;
-
 
8085
      }
-
 
8086
    }
-
 
8087
 
-
 
8088
    private static class getEBSSettlementDate<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getEBSSettlementDate_args> {
-
 
8089
      public getEBSSettlementDate() {
-
 
8090
        super("getEBSSettlementDate");
-
 
8091
      }
-
 
8092
 
-
 
8093
      protected getEBSSettlementDate_args getEmptyArgsInstance() {
-
 
8094
        return new getEBSSettlementDate_args();
-
 
8095
      }
-
 
8096
 
-
 
8097
      protected getEBSSettlementDate_result getResult(I iface, getEBSSettlementDate_args args) throws org.apache.thrift.TException {
-
 
8098
        getEBSSettlementDate_result result = new getEBSSettlementDate_result();
-
 
8099
        try {
-
 
8100
          result.success = iface.getEBSSettlementDate(args.settlementId);
-
 
8101
          result.setSuccessIsSet(true);
-
 
8102
        } catch (TransactionServiceException ex) {
-
 
8103
          result.ex = ex;
-
 
8104
        }
-
 
8105
        return result;
-
 
8106
      }
-
 
8107
    }
-
 
8108
 
7409
  }
8109
  }
7410
 
8110
 
7411
  public static class createTransaction_args implements org.apache.thrift.TBase<createTransaction_args, createTransaction_args._Fields>, java.io.Serializable, Cloneable   {
8111
  public static class createTransaction_args implements org.apache.thrift.TBase<createTransaction_args, createTransaction_args._Fields>, java.io.Serializable, Cloneable   {
7412
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("createTransaction_args");
8112
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("createTransaction_args");
7413
 
8113
 
Line 29001... Line 29701...
29001
      }
29701
      }
29002
    }
29702
    }
29003
 
29703
 
29004
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
29704
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
29005
      try {
29705
      try {
-
 
29706
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
29707
        __isset_bit_vector = new BitSet(1);
29006
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
29708
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
29007
      } catch (org.apache.thrift.TException te) {
29709
      } catch (org.apache.thrift.TException te) {
29008
        throw new java.io.IOException(te);
29710
        throw new java.io.IOException(te);
29009
      }
29711
      }
29010
    }
29712
    }
Line 67313... Line 68015...
67313
      first = false;
68015
      first = false;
67314
      if (!first) sb.append(", ");
68016
      if (!first) sb.append(", ");
67315
      sb.append("ex:");
68017
      sb.append("ex:");
67316
      if (this.ex == null) {
68018
      if (this.ex == null) {
67317
        sb.append("null");
68019
        sb.append("null");
-
 
68020
      } else {
-
 
68021
        sb.append(this.ex);
-
 
68022
      }
-
 
68023
      first = false;
-
 
68024
      sb.append(")");
-
 
68025
      return sb.toString();
-
 
68026
    }
-
 
68027
 
-
 
68028
    public void validate() throws org.apache.thrift.TException {
-
 
68029
      // check for required fields
-
 
68030
    }
-
 
68031
 
-
 
68032
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
68033
      try {
-
 
68034
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
68035
      } catch (org.apache.thrift.TException te) {
-
 
68036
        throw new java.io.IOException(te);
-
 
68037
      }
-
 
68038
    }
-
 
68039
 
-
 
68040
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
68041
      try {
-
 
68042
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
68043
      } catch (org.apache.thrift.TException te) {
-
 
68044
        throw new java.io.IOException(te);
-
 
68045
      }
-
 
68046
    }
-
 
68047
 
-
 
68048
  }
-
 
68049
 
-
 
68050
  public static class getBilledOrdersForVendor_args implements org.apache.thrift.TBase<getBilledOrdersForVendor_args, getBilledOrdersForVendor_args._Fields>, java.io.Serializable, Cloneable   {
-
 
68051
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getBilledOrdersForVendor_args");
-
 
68052
 
-
 
68053
    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);
-
 
68054
    private static final org.apache.thrift.protocol.TField BILLING_DATE_FROM_FIELD_DESC = new org.apache.thrift.protocol.TField("billingDateFrom", org.apache.thrift.protocol.TType.I64, (short)2);
-
 
68055
    private static final org.apache.thrift.protocol.TField BILLING_DATE_TO_FIELD_DESC = new org.apache.thrift.protocol.TField("billingDateTo", org.apache.thrift.protocol.TType.I64, (short)3);
-
 
68056
 
-
 
68057
    private long vendorId; // required
-
 
68058
    private long billingDateFrom; // required
-
 
68059
    private long billingDateTo; // required
-
 
68060
 
-
 
68061
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
68062
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
68063
      VENDOR_ID((short)1, "vendorId"),
-
 
68064
      BILLING_DATE_FROM((short)2, "billingDateFrom"),
-
 
68065
      BILLING_DATE_TO((short)3, "billingDateTo");
-
 
68066
 
-
 
68067
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
68068
 
-
 
68069
      static {
-
 
68070
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
68071
          byName.put(field.getFieldName(), field);
-
 
68072
        }
-
 
68073
      }
-
 
68074
 
-
 
68075
      /**
-
 
68076
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
68077
       */
-
 
68078
      public static _Fields findByThriftId(int fieldId) {
-
 
68079
        switch(fieldId) {
-
 
68080
          case 1: // VENDOR_ID
-
 
68081
            return VENDOR_ID;
-
 
68082
          case 2: // BILLING_DATE_FROM
-
 
68083
            return BILLING_DATE_FROM;
-
 
68084
          case 3: // BILLING_DATE_TO
-
 
68085
            return BILLING_DATE_TO;
-
 
68086
          default:
-
 
68087
            return null;
-
 
68088
        }
-
 
68089
      }
-
 
68090
 
-
 
68091
      /**
-
 
68092
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
68093
       * if it is not found.
-
 
68094
       */
-
 
68095
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
68096
        _Fields fields = findByThriftId(fieldId);
-
 
68097
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
68098
        return fields;
-
 
68099
      }
-
 
68100
 
-
 
68101
      /**
-
 
68102
       * Find the _Fields constant that matches name, or null if its not found.
-
 
68103
       */
-
 
68104
      public static _Fields findByName(String name) {
-
 
68105
        return byName.get(name);
-
 
68106
      }
-
 
68107
 
-
 
68108
      private final short _thriftId;
-
 
68109
      private final String _fieldName;
-
 
68110
 
-
 
68111
      _Fields(short thriftId, String fieldName) {
-
 
68112
        _thriftId = thriftId;
-
 
68113
        _fieldName = fieldName;
-
 
68114
      }
-
 
68115
 
-
 
68116
      public short getThriftFieldId() {
-
 
68117
        return _thriftId;
-
 
68118
      }
-
 
68119
 
-
 
68120
      public String getFieldName() {
-
 
68121
        return _fieldName;
-
 
68122
      }
-
 
68123
    }
-
 
68124
 
-
 
68125
    // isset id assignments
-
 
68126
    private static final int __VENDORID_ISSET_ID = 0;
-
 
68127
    private static final int __BILLINGDATEFROM_ISSET_ID = 1;
-
 
68128
    private static final int __BILLINGDATETO_ISSET_ID = 2;
-
 
68129
    private BitSet __isset_bit_vector = new BitSet(3);
-
 
68130
 
-
 
68131
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
68132
    static {
-
 
68133
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
68134
      tmpMap.put(_Fields.VENDOR_ID, new org.apache.thrift.meta_data.FieldMetaData("vendorId", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
68135
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
68136
      tmpMap.put(_Fields.BILLING_DATE_FROM, new org.apache.thrift.meta_data.FieldMetaData("billingDateFrom", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
68137
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
68138
      tmpMap.put(_Fields.BILLING_DATE_TO, new org.apache.thrift.meta_data.FieldMetaData("billingDateTo", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
68139
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
68140
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
68141
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getBilledOrdersForVendor_args.class, metaDataMap);
-
 
68142
    }
-
 
68143
 
-
 
68144
    public getBilledOrdersForVendor_args() {
-
 
68145
    }
-
 
68146
 
-
 
68147
    public getBilledOrdersForVendor_args(
-
 
68148
      long vendorId,
-
 
68149
      long billingDateFrom,
-
 
68150
      long billingDateTo)
-
 
68151
    {
-
 
68152
      this();
-
 
68153
      this.vendorId = vendorId;
-
 
68154
      setVendorIdIsSet(true);
-
 
68155
      this.billingDateFrom = billingDateFrom;
-
 
68156
      setBillingDateFromIsSet(true);
-
 
68157
      this.billingDateTo = billingDateTo;
-
 
68158
      setBillingDateToIsSet(true);
-
 
68159
    }
-
 
68160
 
-
 
68161
    /**
-
 
68162
     * Performs a deep copy on <i>other</i>.
-
 
68163
     */
-
 
68164
    public getBilledOrdersForVendor_args(getBilledOrdersForVendor_args other) {
-
 
68165
      __isset_bit_vector.clear();
-
 
68166
      __isset_bit_vector.or(other.__isset_bit_vector);
-
 
68167
      this.vendorId = other.vendorId;
-
 
68168
      this.billingDateFrom = other.billingDateFrom;
-
 
68169
      this.billingDateTo = other.billingDateTo;
-
 
68170
    }
-
 
68171
 
-
 
68172
    public getBilledOrdersForVendor_args deepCopy() {
-
 
68173
      return new getBilledOrdersForVendor_args(this);
-
 
68174
    }
-
 
68175
 
-
 
68176
    @Override
-
 
68177
    public void clear() {
-
 
68178
      setVendorIdIsSet(false);
-
 
68179
      this.vendorId = 0;
-
 
68180
      setBillingDateFromIsSet(false);
-
 
68181
      this.billingDateFrom = 0;
-
 
68182
      setBillingDateToIsSet(false);
-
 
68183
      this.billingDateTo = 0;
-
 
68184
    }
-
 
68185
 
-
 
68186
    public long getVendorId() {
-
 
68187
      return this.vendorId;
-
 
68188
    }
-
 
68189
 
-
 
68190
    public void setVendorId(long vendorId) {
-
 
68191
      this.vendorId = vendorId;
-
 
68192
      setVendorIdIsSet(true);
-
 
68193
    }
-
 
68194
 
-
 
68195
    public void unsetVendorId() {
-
 
68196
      __isset_bit_vector.clear(__VENDORID_ISSET_ID);
-
 
68197
    }
-
 
68198
 
-
 
68199
    /** Returns true if field vendorId is set (has been assigned a value) and false otherwise */
-
 
68200
    public boolean isSetVendorId() {
-
 
68201
      return __isset_bit_vector.get(__VENDORID_ISSET_ID);
-
 
68202
    }
-
 
68203
 
-
 
68204
    public void setVendorIdIsSet(boolean value) {
-
 
68205
      __isset_bit_vector.set(__VENDORID_ISSET_ID, value);
-
 
68206
    }
-
 
68207
 
-
 
68208
    public long getBillingDateFrom() {
-
 
68209
      return this.billingDateFrom;
-
 
68210
    }
-
 
68211
 
-
 
68212
    public void setBillingDateFrom(long billingDateFrom) {
-
 
68213
      this.billingDateFrom = billingDateFrom;
-
 
68214
      setBillingDateFromIsSet(true);
-
 
68215
    }
-
 
68216
 
-
 
68217
    public void unsetBillingDateFrom() {
-
 
68218
      __isset_bit_vector.clear(__BILLINGDATEFROM_ISSET_ID);
-
 
68219
    }
-
 
68220
 
-
 
68221
    /** Returns true if field billingDateFrom is set (has been assigned a value) and false otherwise */
-
 
68222
    public boolean isSetBillingDateFrom() {
-
 
68223
      return __isset_bit_vector.get(__BILLINGDATEFROM_ISSET_ID);
-
 
68224
    }
-
 
68225
 
-
 
68226
    public void setBillingDateFromIsSet(boolean value) {
-
 
68227
      __isset_bit_vector.set(__BILLINGDATEFROM_ISSET_ID, value);
-
 
68228
    }
-
 
68229
 
-
 
68230
    public long getBillingDateTo() {
-
 
68231
      return this.billingDateTo;
-
 
68232
    }
-
 
68233
 
-
 
68234
    public void setBillingDateTo(long billingDateTo) {
-
 
68235
      this.billingDateTo = billingDateTo;
-
 
68236
      setBillingDateToIsSet(true);
-
 
68237
    }
-
 
68238
 
-
 
68239
    public void unsetBillingDateTo() {
-
 
68240
      __isset_bit_vector.clear(__BILLINGDATETO_ISSET_ID);
-
 
68241
    }
-
 
68242
 
-
 
68243
    /** Returns true if field billingDateTo is set (has been assigned a value) and false otherwise */
-
 
68244
    public boolean isSetBillingDateTo() {
-
 
68245
      return __isset_bit_vector.get(__BILLINGDATETO_ISSET_ID);
-
 
68246
    }
-
 
68247
 
-
 
68248
    public void setBillingDateToIsSet(boolean value) {
-
 
68249
      __isset_bit_vector.set(__BILLINGDATETO_ISSET_ID, value);
-
 
68250
    }
-
 
68251
 
-
 
68252
    public void setFieldValue(_Fields field, Object value) {
-
 
68253
      switch (field) {
-
 
68254
      case VENDOR_ID:
-
 
68255
        if (value == null) {
-
 
68256
          unsetVendorId();
-
 
68257
        } else {
-
 
68258
          setVendorId((Long)value);
-
 
68259
        }
-
 
68260
        break;
-
 
68261
 
-
 
68262
      case BILLING_DATE_FROM:
-
 
68263
        if (value == null) {
-
 
68264
          unsetBillingDateFrom();
-
 
68265
        } else {
-
 
68266
          setBillingDateFrom((Long)value);
-
 
68267
        }
-
 
68268
        break;
-
 
68269
 
-
 
68270
      case BILLING_DATE_TO:
-
 
68271
        if (value == null) {
-
 
68272
          unsetBillingDateTo();
-
 
68273
        } else {
-
 
68274
          setBillingDateTo((Long)value);
-
 
68275
        }
-
 
68276
        break;
-
 
68277
 
-
 
68278
      }
-
 
68279
    }
-
 
68280
 
-
 
68281
    public Object getFieldValue(_Fields field) {
-
 
68282
      switch (field) {
-
 
68283
      case VENDOR_ID:
-
 
68284
        return Long.valueOf(getVendorId());
-
 
68285
 
-
 
68286
      case BILLING_DATE_FROM:
-
 
68287
        return Long.valueOf(getBillingDateFrom());
-
 
68288
 
-
 
68289
      case BILLING_DATE_TO:
-
 
68290
        return Long.valueOf(getBillingDateTo());
-
 
68291
 
-
 
68292
      }
-
 
68293
      throw new IllegalStateException();
-
 
68294
    }
-
 
68295
 
-
 
68296
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
68297
    public boolean isSet(_Fields field) {
-
 
68298
      if (field == null) {
-
 
68299
        throw new IllegalArgumentException();
-
 
68300
      }
-
 
68301
 
-
 
68302
      switch (field) {
-
 
68303
      case VENDOR_ID:
-
 
68304
        return isSetVendorId();
-
 
68305
      case BILLING_DATE_FROM:
-
 
68306
        return isSetBillingDateFrom();
-
 
68307
      case BILLING_DATE_TO:
-
 
68308
        return isSetBillingDateTo();
-
 
68309
      }
-
 
68310
      throw new IllegalStateException();
-
 
68311
    }
-
 
68312
 
-
 
68313
    @Override
-
 
68314
    public boolean equals(Object that) {
-
 
68315
      if (that == null)
-
 
68316
        return false;
-
 
68317
      if (that instanceof getBilledOrdersForVendor_args)
-
 
68318
        return this.equals((getBilledOrdersForVendor_args)that);
-
 
68319
      return false;
-
 
68320
    }
-
 
68321
 
-
 
68322
    public boolean equals(getBilledOrdersForVendor_args that) {
-
 
68323
      if (that == null)
-
 
68324
        return false;
-
 
68325
 
-
 
68326
      boolean this_present_vendorId = true;
-
 
68327
      boolean that_present_vendorId = true;
-
 
68328
      if (this_present_vendorId || that_present_vendorId) {
-
 
68329
        if (!(this_present_vendorId && that_present_vendorId))
-
 
68330
          return false;
-
 
68331
        if (this.vendorId != that.vendorId)
-
 
68332
          return false;
-
 
68333
      }
-
 
68334
 
-
 
68335
      boolean this_present_billingDateFrom = true;
-
 
68336
      boolean that_present_billingDateFrom = true;
-
 
68337
      if (this_present_billingDateFrom || that_present_billingDateFrom) {
-
 
68338
        if (!(this_present_billingDateFrom && that_present_billingDateFrom))
-
 
68339
          return false;
-
 
68340
        if (this.billingDateFrom != that.billingDateFrom)
-
 
68341
          return false;
-
 
68342
      }
-
 
68343
 
-
 
68344
      boolean this_present_billingDateTo = true;
-
 
68345
      boolean that_present_billingDateTo = true;
-
 
68346
      if (this_present_billingDateTo || that_present_billingDateTo) {
-
 
68347
        if (!(this_present_billingDateTo && that_present_billingDateTo))
-
 
68348
          return false;
-
 
68349
        if (this.billingDateTo != that.billingDateTo)
-
 
68350
          return false;
-
 
68351
      }
-
 
68352
 
-
 
68353
      return true;
-
 
68354
    }
-
 
68355
 
-
 
68356
    @Override
-
 
68357
    public int hashCode() {
-
 
68358
      return 0;
-
 
68359
    }
-
 
68360
 
-
 
68361
    public int compareTo(getBilledOrdersForVendor_args other) {
-
 
68362
      if (!getClass().equals(other.getClass())) {
-
 
68363
        return getClass().getName().compareTo(other.getClass().getName());
-
 
68364
      }
-
 
68365
 
-
 
68366
      int lastComparison = 0;
-
 
68367
      getBilledOrdersForVendor_args typedOther = (getBilledOrdersForVendor_args)other;
-
 
68368
 
-
 
68369
      lastComparison = Boolean.valueOf(isSetVendorId()).compareTo(typedOther.isSetVendorId());
-
 
68370
      if (lastComparison != 0) {
-
 
68371
        return lastComparison;
-
 
68372
      }
-
 
68373
      if (isSetVendorId()) {
-
 
68374
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.vendorId, typedOther.vendorId);
-
 
68375
        if (lastComparison != 0) {
-
 
68376
          return lastComparison;
-
 
68377
        }
-
 
68378
      }
-
 
68379
      lastComparison = Boolean.valueOf(isSetBillingDateFrom()).compareTo(typedOther.isSetBillingDateFrom());
-
 
68380
      if (lastComparison != 0) {
-
 
68381
        return lastComparison;
-
 
68382
      }
-
 
68383
      if (isSetBillingDateFrom()) {
-
 
68384
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.billingDateFrom, typedOther.billingDateFrom);
-
 
68385
        if (lastComparison != 0) {
-
 
68386
          return lastComparison;
-
 
68387
        }
-
 
68388
      }
-
 
68389
      lastComparison = Boolean.valueOf(isSetBillingDateTo()).compareTo(typedOther.isSetBillingDateTo());
-
 
68390
      if (lastComparison != 0) {
-
 
68391
        return lastComparison;
-
 
68392
      }
-
 
68393
      if (isSetBillingDateTo()) {
-
 
68394
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.billingDateTo, typedOther.billingDateTo);
-
 
68395
        if (lastComparison != 0) {
-
 
68396
          return lastComparison;
-
 
68397
        }
-
 
68398
      }
-
 
68399
      return 0;
-
 
68400
    }
-
 
68401
 
-
 
68402
    public _Fields fieldForId(int fieldId) {
-
 
68403
      return _Fields.findByThriftId(fieldId);
-
 
68404
    }
-
 
68405
 
-
 
68406
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
68407
      org.apache.thrift.protocol.TField field;
-
 
68408
      iprot.readStructBegin();
-
 
68409
      while (true)
-
 
68410
      {
-
 
68411
        field = iprot.readFieldBegin();
-
 
68412
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
68413
          break;
-
 
68414
        }
-
 
68415
        switch (field.id) {
-
 
68416
          case 1: // VENDOR_ID
-
 
68417
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
68418
              this.vendorId = iprot.readI64();
-
 
68419
              setVendorIdIsSet(true);
-
 
68420
            } else { 
-
 
68421
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
68422
            }
-
 
68423
            break;
-
 
68424
          case 2: // BILLING_DATE_FROM
-
 
68425
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
68426
              this.billingDateFrom = iprot.readI64();
-
 
68427
              setBillingDateFromIsSet(true);
-
 
68428
            } else { 
-
 
68429
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
68430
            }
-
 
68431
            break;
-
 
68432
          case 3: // BILLING_DATE_TO
-
 
68433
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
68434
              this.billingDateTo = iprot.readI64();
-
 
68435
              setBillingDateToIsSet(true);
-
 
68436
            } else { 
-
 
68437
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
68438
            }
-
 
68439
            break;
-
 
68440
          default:
-
 
68441
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
68442
        }
-
 
68443
        iprot.readFieldEnd();
-
 
68444
      }
-
 
68445
      iprot.readStructEnd();
-
 
68446
      validate();
-
 
68447
    }
-
 
68448
 
-
 
68449
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
68450
      validate();
-
 
68451
 
-
 
68452
      oprot.writeStructBegin(STRUCT_DESC);
-
 
68453
      oprot.writeFieldBegin(VENDOR_ID_FIELD_DESC);
-
 
68454
      oprot.writeI64(this.vendorId);
-
 
68455
      oprot.writeFieldEnd();
-
 
68456
      oprot.writeFieldBegin(BILLING_DATE_FROM_FIELD_DESC);
-
 
68457
      oprot.writeI64(this.billingDateFrom);
-
 
68458
      oprot.writeFieldEnd();
-
 
68459
      oprot.writeFieldBegin(BILLING_DATE_TO_FIELD_DESC);
-
 
68460
      oprot.writeI64(this.billingDateTo);
-
 
68461
      oprot.writeFieldEnd();
-
 
68462
      oprot.writeFieldStop();
-
 
68463
      oprot.writeStructEnd();
-
 
68464
    }
-
 
68465
 
-
 
68466
    @Override
-
 
68467
    public String toString() {
-
 
68468
      StringBuilder sb = new StringBuilder("getBilledOrdersForVendor_args(");
-
 
68469
      boolean first = true;
-
 
68470
 
-
 
68471
      sb.append("vendorId:");
-
 
68472
      sb.append(this.vendorId);
-
 
68473
      first = false;
-
 
68474
      if (!first) sb.append(", ");
-
 
68475
      sb.append("billingDateFrom:");
-
 
68476
      sb.append(this.billingDateFrom);
-
 
68477
      first = false;
-
 
68478
      if (!first) sb.append(", ");
-
 
68479
      sb.append("billingDateTo:");
-
 
68480
      sb.append(this.billingDateTo);
-
 
68481
      first = false;
-
 
68482
      sb.append(")");
-
 
68483
      return sb.toString();
-
 
68484
    }
-
 
68485
 
-
 
68486
    public void validate() throws org.apache.thrift.TException {
-
 
68487
      // check for required fields
-
 
68488
    }
-
 
68489
 
-
 
68490
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
68491
      try {
-
 
68492
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
68493
      } catch (org.apache.thrift.TException te) {
-
 
68494
        throw new java.io.IOException(te);
-
 
68495
      }
-
 
68496
    }
-
 
68497
 
-
 
68498
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
68499
      try {
-
 
68500
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
68501
        __isset_bit_vector = new BitSet(1);
-
 
68502
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
68503
      } catch (org.apache.thrift.TException te) {
-
 
68504
        throw new java.io.IOException(te);
-
 
68505
      }
-
 
68506
    }
-
 
68507
 
-
 
68508
  }
-
 
68509
 
-
 
68510
  public static class getBilledOrdersForVendor_result implements org.apache.thrift.TBase<getBilledOrdersForVendor_result, getBilledOrdersForVendor_result._Fields>, java.io.Serializable, Cloneable   {
-
 
68511
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getBilledOrdersForVendor_result");
-
 
68512
 
-
 
68513
    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);
-
 
68514
    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);
-
 
68515
 
-
 
68516
    private List<Order> success; // required
-
 
68517
    private TransactionServiceException ex; // required
-
 
68518
 
-
 
68519
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
68520
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
68521
      SUCCESS((short)0, "success"),
-
 
68522
      EX((short)1, "ex");
-
 
68523
 
-
 
68524
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
68525
 
-
 
68526
      static {
-
 
68527
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
68528
          byName.put(field.getFieldName(), field);
-
 
68529
        }
-
 
68530
      }
-
 
68531
 
-
 
68532
      /**
-
 
68533
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
68534
       */
-
 
68535
      public static _Fields findByThriftId(int fieldId) {
-
 
68536
        switch(fieldId) {
-
 
68537
          case 0: // SUCCESS
-
 
68538
            return SUCCESS;
-
 
68539
          case 1: // EX
-
 
68540
            return EX;
-
 
68541
          default:
-
 
68542
            return null;
-
 
68543
        }
-
 
68544
      }
-
 
68545
 
-
 
68546
      /**
-
 
68547
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
68548
       * if it is not found.
-
 
68549
       */
-
 
68550
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
68551
        _Fields fields = findByThriftId(fieldId);
-
 
68552
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
68553
        return fields;
-
 
68554
      }
-
 
68555
 
-
 
68556
      /**
-
 
68557
       * Find the _Fields constant that matches name, or null if its not found.
-
 
68558
       */
-
 
68559
      public static _Fields findByName(String name) {
-
 
68560
        return byName.get(name);
-
 
68561
      }
-
 
68562
 
-
 
68563
      private final short _thriftId;
-
 
68564
      private final String _fieldName;
-
 
68565
 
-
 
68566
      _Fields(short thriftId, String fieldName) {
-
 
68567
        _thriftId = thriftId;
-
 
68568
        _fieldName = fieldName;
-
 
68569
      }
-
 
68570
 
-
 
68571
      public short getThriftFieldId() {
-
 
68572
        return _thriftId;
-
 
68573
      }
-
 
68574
 
-
 
68575
      public String getFieldName() {
-
 
68576
        return _fieldName;
-
 
68577
      }
-
 
68578
    }
-
 
68579
 
-
 
68580
    // isset id assignments
-
 
68581
 
-
 
68582
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
68583
    static {
-
 
68584
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
68585
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
68586
          new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, 
-
 
68587
              new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, Order.class))));
-
 
68588
      tmpMap.put(_Fields.EX, new org.apache.thrift.meta_data.FieldMetaData("ex", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
68589
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT)));
-
 
68590
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
68591
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getBilledOrdersForVendor_result.class, metaDataMap);
-
 
68592
    }
-
 
68593
 
-
 
68594
    public getBilledOrdersForVendor_result() {
-
 
68595
    }
-
 
68596
 
-
 
68597
    public getBilledOrdersForVendor_result(
-
 
68598
      List<Order> success,
-
 
68599
      TransactionServiceException ex)
-
 
68600
    {
-
 
68601
      this();
-
 
68602
      this.success = success;
-
 
68603
      this.ex = ex;
-
 
68604
    }
-
 
68605
 
-
 
68606
    /**
-
 
68607
     * Performs a deep copy on <i>other</i>.
-
 
68608
     */
-
 
68609
    public getBilledOrdersForVendor_result(getBilledOrdersForVendor_result other) {
-
 
68610
      if (other.isSetSuccess()) {
-
 
68611
        List<Order> __this__success = new ArrayList<Order>();
-
 
68612
        for (Order other_element : other.success) {
-
 
68613
          __this__success.add(new Order(other_element));
-
 
68614
        }
-
 
68615
        this.success = __this__success;
-
 
68616
      }
-
 
68617
      if (other.isSetEx()) {
-
 
68618
        this.ex = new TransactionServiceException(other.ex);
-
 
68619
      }
-
 
68620
    }
-
 
68621
 
-
 
68622
    public getBilledOrdersForVendor_result deepCopy() {
-
 
68623
      return new getBilledOrdersForVendor_result(this);
-
 
68624
    }
-
 
68625
 
-
 
68626
    @Override
-
 
68627
    public void clear() {
-
 
68628
      this.success = null;
-
 
68629
      this.ex = null;
-
 
68630
    }
-
 
68631
 
-
 
68632
    public int getSuccessSize() {
-
 
68633
      return (this.success == null) ? 0 : this.success.size();
-
 
68634
    }
-
 
68635
 
-
 
68636
    public java.util.Iterator<Order> getSuccessIterator() {
-
 
68637
      return (this.success == null) ? null : this.success.iterator();
-
 
68638
    }
-
 
68639
 
-
 
68640
    public void addToSuccess(Order elem) {
-
 
68641
      if (this.success == null) {
-
 
68642
        this.success = new ArrayList<Order>();
-
 
68643
      }
-
 
68644
      this.success.add(elem);
-
 
68645
    }
-
 
68646
 
-
 
68647
    public List<Order> getSuccess() {
-
 
68648
      return this.success;
-
 
68649
    }
-
 
68650
 
-
 
68651
    public void setSuccess(List<Order> success) {
-
 
68652
      this.success = success;
-
 
68653
    }
-
 
68654
 
-
 
68655
    public void unsetSuccess() {
-
 
68656
      this.success = null;
-
 
68657
    }
-
 
68658
 
-
 
68659
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
-
 
68660
    public boolean isSetSuccess() {
-
 
68661
      return this.success != null;
-
 
68662
    }
-
 
68663
 
-
 
68664
    public void setSuccessIsSet(boolean value) {
-
 
68665
      if (!value) {
-
 
68666
        this.success = null;
-
 
68667
      }
-
 
68668
    }
-
 
68669
 
-
 
68670
    public TransactionServiceException getEx() {
-
 
68671
      return this.ex;
-
 
68672
    }
-
 
68673
 
-
 
68674
    public void setEx(TransactionServiceException ex) {
-
 
68675
      this.ex = ex;
-
 
68676
    }
-
 
68677
 
-
 
68678
    public void unsetEx() {
-
 
68679
      this.ex = null;
-
 
68680
    }
-
 
68681
 
-
 
68682
    /** Returns true if field ex is set (has been assigned a value) and false otherwise */
-
 
68683
    public boolean isSetEx() {
-
 
68684
      return this.ex != null;
-
 
68685
    }
-
 
68686
 
-
 
68687
    public void setExIsSet(boolean value) {
-
 
68688
      if (!value) {
-
 
68689
        this.ex = null;
-
 
68690
      }
-
 
68691
    }
-
 
68692
 
-
 
68693
    public void setFieldValue(_Fields field, Object value) {
-
 
68694
      switch (field) {
-
 
68695
      case SUCCESS:
-
 
68696
        if (value == null) {
-
 
68697
          unsetSuccess();
-
 
68698
        } else {
-
 
68699
          setSuccess((List<Order>)value);
-
 
68700
        }
-
 
68701
        break;
-
 
68702
 
-
 
68703
      case EX:
-
 
68704
        if (value == null) {
-
 
68705
          unsetEx();
-
 
68706
        } else {
-
 
68707
          setEx((TransactionServiceException)value);
-
 
68708
        }
-
 
68709
        break;
-
 
68710
 
-
 
68711
      }
-
 
68712
    }
-
 
68713
 
-
 
68714
    public Object getFieldValue(_Fields field) {
-
 
68715
      switch (field) {
-
 
68716
      case SUCCESS:
-
 
68717
        return getSuccess();
-
 
68718
 
-
 
68719
      case EX:
-
 
68720
        return getEx();
-
 
68721
 
-
 
68722
      }
-
 
68723
      throw new IllegalStateException();
-
 
68724
    }
-
 
68725
 
-
 
68726
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
68727
    public boolean isSet(_Fields field) {
-
 
68728
      if (field == null) {
-
 
68729
        throw new IllegalArgumentException();
-
 
68730
      }
-
 
68731
 
-
 
68732
      switch (field) {
-
 
68733
      case SUCCESS:
-
 
68734
        return isSetSuccess();
-
 
68735
      case EX:
-
 
68736
        return isSetEx();
-
 
68737
      }
-
 
68738
      throw new IllegalStateException();
-
 
68739
    }
-
 
68740
 
-
 
68741
    @Override
-
 
68742
    public boolean equals(Object that) {
-
 
68743
      if (that == null)
-
 
68744
        return false;
-
 
68745
      if (that instanceof getBilledOrdersForVendor_result)
-
 
68746
        return this.equals((getBilledOrdersForVendor_result)that);
-
 
68747
      return false;
-
 
68748
    }
-
 
68749
 
-
 
68750
    public boolean equals(getBilledOrdersForVendor_result that) {
-
 
68751
      if (that == null)
-
 
68752
        return false;
-
 
68753
 
-
 
68754
      boolean this_present_success = true && this.isSetSuccess();
-
 
68755
      boolean that_present_success = true && that.isSetSuccess();
-
 
68756
      if (this_present_success || that_present_success) {
-
 
68757
        if (!(this_present_success && that_present_success))
-
 
68758
          return false;
-
 
68759
        if (!this.success.equals(that.success))
-
 
68760
          return false;
-
 
68761
      }
-
 
68762
 
-
 
68763
      boolean this_present_ex = true && this.isSetEx();
-
 
68764
      boolean that_present_ex = true && that.isSetEx();
-
 
68765
      if (this_present_ex || that_present_ex) {
-
 
68766
        if (!(this_present_ex && that_present_ex))
-
 
68767
          return false;
-
 
68768
        if (!this.ex.equals(that.ex))
-
 
68769
          return false;
-
 
68770
      }
-
 
68771
 
-
 
68772
      return true;
-
 
68773
    }
-
 
68774
 
-
 
68775
    @Override
-
 
68776
    public int hashCode() {
-
 
68777
      return 0;
-
 
68778
    }
-
 
68779
 
-
 
68780
    public int compareTo(getBilledOrdersForVendor_result other) {
-
 
68781
      if (!getClass().equals(other.getClass())) {
-
 
68782
        return getClass().getName().compareTo(other.getClass().getName());
-
 
68783
      }
-
 
68784
 
-
 
68785
      int lastComparison = 0;
-
 
68786
      getBilledOrdersForVendor_result typedOther = (getBilledOrdersForVendor_result)other;
-
 
68787
 
-
 
68788
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
-
 
68789
      if (lastComparison != 0) {
-
 
68790
        return lastComparison;
-
 
68791
      }
-
 
68792
      if (isSetSuccess()) {
-
 
68793
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
-
 
68794
        if (lastComparison != 0) {
-
 
68795
          return lastComparison;
-
 
68796
        }
-
 
68797
      }
-
 
68798
      lastComparison = Boolean.valueOf(isSetEx()).compareTo(typedOther.isSetEx());
-
 
68799
      if (lastComparison != 0) {
-
 
68800
        return lastComparison;
-
 
68801
      }
-
 
68802
      if (isSetEx()) {
-
 
68803
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.ex, typedOther.ex);
-
 
68804
        if (lastComparison != 0) {
-
 
68805
          return lastComparison;
-
 
68806
        }
-
 
68807
      }
-
 
68808
      return 0;
-
 
68809
    }
-
 
68810
 
-
 
68811
    public _Fields fieldForId(int fieldId) {
-
 
68812
      return _Fields.findByThriftId(fieldId);
-
 
68813
    }
-
 
68814
 
-
 
68815
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
68816
      org.apache.thrift.protocol.TField field;
-
 
68817
      iprot.readStructBegin();
-
 
68818
      while (true)
-
 
68819
      {
-
 
68820
        field = iprot.readFieldBegin();
-
 
68821
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
68822
          break;
-
 
68823
        }
-
 
68824
        switch (field.id) {
-
 
68825
          case 0: // SUCCESS
-
 
68826
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
-
 
68827
              {
-
 
68828
                org.apache.thrift.protocol.TList _list165 = iprot.readListBegin();
-
 
68829
                this.success = new ArrayList<Order>(_list165.size);
-
 
68830
                for (int _i166 = 0; _i166 < _list165.size; ++_i166)
-
 
68831
                {
-
 
68832
                  Order _elem167; // required
-
 
68833
                  _elem167 = new Order();
-
 
68834
                  _elem167.read(iprot);
-
 
68835
                  this.success.add(_elem167);
-
 
68836
                }
-
 
68837
                iprot.readListEnd();
-
 
68838
              }
-
 
68839
            } else { 
-
 
68840
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
68841
            }
-
 
68842
            break;
-
 
68843
          case 1: // EX
-
 
68844
            if (field.type == org.apache.thrift.protocol.TType.STRUCT) {
-
 
68845
              this.ex = new TransactionServiceException();
-
 
68846
              this.ex.read(iprot);
-
 
68847
            } else { 
-
 
68848
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
68849
            }
-
 
68850
            break;
-
 
68851
          default:
-
 
68852
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
68853
        }
-
 
68854
        iprot.readFieldEnd();
-
 
68855
      }
-
 
68856
      iprot.readStructEnd();
-
 
68857
      validate();
-
 
68858
    }
-
 
68859
 
-
 
68860
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
68861
      oprot.writeStructBegin(STRUCT_DESC);
-
 
68862
 
-
 
68863
      if (this.isSetSuccess()) {
-
 
68864
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-
 
68865
        {
-
 
68866
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
-
 
68867
          for (Order _iter168 : this.success)
-
 
68868
          {
-
 
68869
            _iter168.write(oprot);
-
 
68870
          }
-
 
68871
          oprot.writeListEnd();
-
 
68872
        }
-
 
68873
        oprot.writeFieldEnd();
-
 
68874
      } else if (this.isSetEx()) {
-
 
68875
        oprot.writeFieldBegin(EX_FIELD_DESC);
-
 
68876
        this.ex.write(oprot);
-
 
68877
        oprot.writeFieldEnd();
-
 
68878
      }
-
 
68879
      oprot.writeFieldStop();
-
 
68880
      oprot.writeStructEnd();
-
 
68881
    }
-
 
68882
 
-
 
68883
    @Override
-
 
68884
    public String toString() {
-
 
68885
      StringBuilder sb = new StringBuilder("getBilledOrdersForVendor_result(");
-
 
68886
      boolean first = true;
-
 
68887
 
-
 
68888
      sb.append("success:");
-
 
68889
      if (this.success == null) {
-
 
68890
        sb.append("null");
-
 
68891
      } else {
-
 
68892
        sb.append(this.success);
-
 
68893
      }
-
 
68894
      first = false;
-
 
68895
      if (!first) sb.append(", ");
-
 
68896
      sb.append("ex:");
-
 
68897
      if (this.ex == null) {
-
 
68898
        sb.append("null");
-
 
68899
      } else {
-
 
68900
        sb.append(this.ex);
-
 
68901
      }
-
 
68902
      first = false;
-
 
68903
      sb.append(")");
-
 
68904
      return sb.toString();
-
 
68905
    }
-
 
68906
 
-
 
68907
    public void validate() throws org.apache.thrift.TException {
-
 
68908
      // check for required fields
-
 
68909
    }
-
 
68910
 
-
 
68911
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
68912
      try {
-
 
68913
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
68914
      } catch (org.apache.thrift.TException te) {
-
 
68915
        throw new java.io.IOException(te);
-
 
68916
      }
-
 
68917
    }
-
 
68918
 
-
 
68919
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
68920
      try {
-
 
68921
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
68922
      } catch (org.apache.thrift.TException te) {
-
 
68923
        throw new java.io.IOException(te);
-
 
68924
      }
-
 
68925
    }
-
 
68926
 
-
 
68927
  }
-
 
68928
 
-
 
68929
  public static class saveBluedartSettlements_args implements org.apache.thrift.TBase<saveBluedartSettlements_args, saveBluedartSettlements_args._Fields>, java.io.Serializable, Cloneable   {
-
 
68930
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("saveBluedartSettlements_args");
-
 
68931
 
-
 
68932
    private static final org.apache.thrift.protocol.TField MAP_AWBAND_AMOUNT_FIELD_DESC = new org.apache.thrift.protocol.TField("mapAWBAndAmount", org.apache.thrift.protocol.TType.MAP, (short)1);
-
 
68933
 
-
 
68934
    private Map<Long,Double> mapAWBAndAmount; // required
-
 
68935
 
-
 
68936
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
68937
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
68938
      MAP_AWBAND_AMOUNT((short)1, "mapAWBAndAmount");
-
 
68939
 
-
 
68940
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
68941
 
-
 
68942
      static {
-
 
68943
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
68944
          byName.put(field.getFieldName(), field);
-
 
68945
        }
-
 
68946
      }
-
 
68947
 
-
 
68948
      /**
-
 
68949
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
68950
       */
-
 
68951
      public static _Fields findByThriftId(int fieldId) {
-
 
68952
        switch(fieldId) {
-
 
68953
          case 1: // MAP_AWBAND_AMOUNT
-
 
68954
            return MAP_AWBAND_AMOUNT;
-
 
68955
          default:
-
 
68956
            return null;
-
 
68957
        }
-
 
68958
      }
-
 
68959
 
-
 
68960
      /**
-
 
68961
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
68962
       * if it is not found.
-
 
68963
       */
-
 
68964
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
68965
        _Fields fields = findByThriftId(fieldId);
-
 
68966
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
68967
        return fields;
-
 
68968
      }
-
 
68969
 
-
 
68970
      /**
-
 
68971
       * Find the _Fields constant that matches name, or null if its not found.
-
 
68972
       */
-
 
68973
      public static _Fields findByName(String name) {
-
 
68974
        return byName.get(name);
-
 
68975
      }
-
 
68976
 
-
 
68977
      private final short _thriftId;
-
 
68978
      private final String _fieldName;
-
 
68979
 
-
 
68980
      _Fields(short thriftId, String fieldName) {
-
 
68981
        _thriftId = thriftId;
-
 
68982
        _fieldName = fieldName;
-
 
68983
      }
-
 
68984
 
-
 
68985
      public short getThriftFieldId() {
-
 
68986
        return _thriftId;
-
 
68987
      }
-
 
68988
 
-
 
68989
      public String getFieldName() {
-
 
68990
        return _fieldName;
-
 
68991
      }
-
 
68992
    }
-
 
68993
 
-
 
68994
    // isset id assignments
-
 
68995
 
-
 
68996
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
68997
    static {
-
 
68998
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
68999
      tmpMap.put(_Fields.MAP_AWBAND_AMOUNT, new org.apache.thrift.meta_data.FieldMetaData("mapAWBAndAmount", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
69000
          new org.apache.thrift.meta_data.MapMetaData(org.apache.thrift.protocol.TType.MAP, 
-
 
69001
              new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64), 
-
 
69002
              new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE))));
-
 
69003
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
69004
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(saveBluedartSettlements_args.class, metaDataMap);
-
 
69005
    }
-
 
69006
 
-
 
69007
    public saveBluedartSettlements_args() {
-
 
69008
    }
-
 
69009
 
-
 
69010
    public saveBluedartSettlements_args(
-
 
69011
      Map<Long,Double> mapAWBAndAmount)
-
 
69012
    {
-
 
69013
      this();
-
 
69014
      this.mapAWBAndAmount = mapAWBAndAmount;
-
 
69015
    }
-
 
69016
 
-
 
69017
    /**
-
 
69018
     * Performs a deep copy on <i>other</i>.
-
 
69019
     */
-
 
69020
    public saveBluedartSettlements_args(saveBluedartSettlements_args other) {
-
 
69021
      if (other.isSetMapAWBAndAmount()) {
-
 
69022
        Map<Long,Double> __this__mapAWBAndAmount = new HashMap<Long,Double>();
-
 
69023
        for (Map.Entry<Long, Double> other_element : other.mapAWBAndAmount.entrySet()) {
-
 
69024
 
-
 
69025
          Long other_element_key = other_element.getKey();
-
 
69026
          Double other_element_value = other_element.getValue();
-
 
69027
 
-
 
69028
          Long __this__mapAWBAndAmount_copy_key = other_element_key;
-
 
69029
 
-
 
69030
          Double __this__mapAWBAndAmount_copy_value = other_element_value;
-
 
69031
 
-
 
69032
          __this__mapAWBAndAmount.put(__this__mapAWBAndAmount_copy_key, __this__mapAWBAndAmount_copy_value);
-
 
69033
        }
-
 
69034
        this.mapAWBAndAmount = __this__mapAWBAndAmount;
-
 
69035
      }
-
 
69036
    }
-
 
69037
 
-
 
69038
    public saveBluedartSettlements_args deepCopy() {
-
 
69039
      return new saveBluedartSettlements_args(this);
-
 
69040
    }
-
 
69041
 
-
 
69042
    @Override
-
 
69043
    public void clear() {
-
 
69044
      this.mapAWBAndAmount = null;
-
 
69045
    }
-
 
69046
 
-
 
69047
    public int getMapAWBAndAmountSize() {
-
 
69048
      return (this.mapAWBAndAmount == null) ? 0 : this.mapAWBAndAmount.size();
-
 
69049
    }
-
 
69050
 
-
 
69051
    public void putToMapAWBAndAmount(long key, double val) {
-
 
69052
      if (this.mapAWBAndAmount == null) {
-
 
69053
        this.mapAWBAndAmount = new HashMap<Long,Double>();
-
 
69054
      }
-
 
69055
      this.mapAWBAndAmount.put(key, val);
-
 
69056
    }
-
 
69057
 
-
 
69058
    public Map<Long,Double> getMapAWBAndAmount() {
-
 
69059
      return this.mapAWBAndAmount;
-
 
69060
    }
-
 
69061
 
-
 
69062
    public void setMapAWBAndAmount(Map<Long,Double> mapAWBAndAmount) {
-
 
69063
      this.mapAWBAndAmount = mapAWBAndAmount;
-
 
69064
    }
-
 
69065
 
-
 
69066
    public void unsetMapAWBAndAmount() {
-
 
69067
      this.mapAWBAndAmount = null;
-
 
69068
    }
-
 
69069
 
-
 
69070
    /** Returns true if field mapAWBAndAmount is set (has been assigned a value) and false otherwise */
-
 
69071
    public boolean isSetMapAWBAndAmount() {
-
 
69072
      return this.mapAWBAndAmount != null;
-
 
69073
    }
-
 
69074
 
-
 
69075
    public void setMapAWBAndAmountIsSet(boolean value) {
-
 
69076
      if (!value) {
-
 
69077
        this.mapAWBAndAmount = null;
-
 
69078
      }
-
 
69079
    }
-
 
69080
 
-
 
69081
    public void setFieldValue(_Fields field, Object value) {
-
 
69082
      switch (field) {
-
 
69083
      case MAP_AWBAND_AMOUNT:
-
 
69084
        if (value == null) {
-
 
69085
          unsetMapAWBAndAmount();
-
 
69086
        } else {
-
 
69087
          setMapAWBAndAmount((Map<Long,Double>)value);
-
 
69088
        }
-
 
69089
        break;
-
 
69090
 
-
 
69091
      }
-
 
69092
    }
-
 
69093
 
-
 
69094
    public Object getFieldValue(_Fields field) {
-
 
69095
      switch (field) {
-
 
69096
      case MAP_AWBAND_AMOUNT:
-
 
69097
        return getMapAWBAndAmount();
-
 
69098
 
-
 
69099
      }
-
 
69100
      throw new IllegalStateException();
-
 
69101
    }
-
 
69102
 
-
 
69103
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
69104
    public boolean isSet(_Fields field) {
-
 
69105
      if (field == null) {
-
 
69106
        throw new IllegalArgumentException();
-
 
69107
      }
-
 
69108
 
-
 
69109
      switch (field) {
-
 
69110
      case MAP_AWBAND_AMOUNT:
-
 
69111
        return isSetMapAWBAndAmount();
-
 
69112
      }
-
 
69113
      throw new IllegalStateException();
-
 
69114
    }
-
 
69115
 
-
 
69116
    @Override
-
 
69117
    public boolean equals(Object that) {
-
 
69118
      if (that == null)
-
 
69119
        return false;
-
 
69120
      if (that instanceof saveBluedartSettlements_args)
-
 
69121
        return this.equals((saveBluedartSettlements_args)that);
-
 
69122
      return false;
-
 
69123
    }
-
 
69124
 
-
 
69125
    public boolean equals(saveBluedartSettlements_args that) {
-
 
69126
      if (that == null)
-
 
69127
        return false;
-
 
69128
 
-
 
69129
      boolean this_present_mapAWBAndAmount = true && this.isSetMapAWBAndAmount();
-
 
69130
      boolean that_present_mapAWBAndAmount = true && that.isSetMapAWBAndAmount();
-
 
69131
      if (this_present_mapAWBAndAmount || that_present_mapAWBAndAmount) {
-
 
69132
        if (!(this_present_mapAWBAndAmount && that_present_mapAWBAndAmount))
-
 
69133
          return false;
-
 
69134
        if (!this.mapAWBAndAmount.equals(that.mapAWBAndAmount))
-
 
69135
          return false;
-
 
69136
      }
-
 
69137
 
-
 
69138
      return true;
-
 
69139
    }
-
 
69140
 
-
 
69141
    @Override
-
 
69142
    public int hashCode() {
-
 
69143
      return 0;
-
 
69144
    }
-
 
69145
 
-
 
69146
    public int compareTo(saveBluedartSettlements_args other) {
-
 
69147
      if (!getClass().equals(other.getClass())) {
-
 
69148
        return getClass().getName().compareTo(other.getClass().getName());
-
 
69149
      }
-
 
69150
 
-
 
69151
      int lastComparison = 0;
-
 
69152
      saveBluedartSettlements_args typedOther = (saveBluedartSettlements_args)other;
-
 
69153
 
-
 
69154
      lastComparison = Boolean.valueOf(isSetMapAWBAndAmount()).compareTo(typedOther.isSetMapAWBAndAmount());
-
 
69155
      if (lastComparison != 0) {
-
 
69156
        return lastComparison;
-
 
69157
      }
-
 
69158
      if (isSetMapAWBAndAmount()) {
-
 
69159
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.mapAWBAndAmount, typedOther.mapAWBAndAmount);
-
 
69160
        if (lastComparison != 0) {
-
 
69161
          return lastComparison;
-
 
69162
        }
-
 
69163
      }
-
 
69164
      return 0;
-
 
69165
    }
-
 
69166
 
-
 
69167
    public _Fields fieldForId(int fieldId) {
-
 
69168
      return _Fields.findByThriftId(fieldId);
-
 
69169
    }
-
 
69170
 
-
 
69171
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
69172
      org.apache.thrift.protocol.TField field;
-
 
69173
      iprot.readStructBegin();
-
 
69174
      while (true)
-
 
69175
      {
-
 
69176
        field = iprot.readFieldBegin();
-
 
69177
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
69178
          break;
-
 
69179
        }
-
 
69180
        switch (field.id) {
-
 
69181
          case 1: // MAP_AWBAND_AMOUNT
-
 
69182
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
-
 
69183
              {
-
 
69184
                org.apache.thrift.protocol.TMap _map169 = iprot.readMapBegin();
-
 
69185
                this.mapAWBAndAmount = new HashMap<Long,Double>(2*_map169.size);
-
 
69186
                for (int _i170 = 0; _i170 < _map169.size; ++_i170)
-
 
69187
                {
-
 
69188
                  long _key171; // required
-
 
69189
                  double _val172; // required
-
 
69190
                  _key171 = iprot.readI64();
-
 
69191
                  _val172 = iprot.readDouble();
-
 
69192
                  this.mapAWBAndAmount.put(_key171, _val172);
-
 
69193
                }
-
 
69194
                iprot.readMapEnd();
-
 
69195
              }
-
 
69196
            } else { 
-
 
69197
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
69198
            }
-
 
69199
            break;
-
 
69200
          default:
-
 
69201
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
69202
        }
-
 
69203
        iprot.readFieldEnd();
-
 
69204
      }
-
 
69205
      iprot.readStructEnd();
-
 
69206
      validate();
-
 
69207
    }
-
 
69208
 
-
 
69209
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
69210
      validate();
-
 
69211
 
-
 
69212
      oprot.writeStructBegin(STRUCT_DESC);
-
 
69213
      if (this.mapAWBAndAmount != null) {
-
 
69214
        oprot.writeFieldBegin(MAP_AWBAND_AMOUNT_FIELD_DESC);
-
 
69215
        {
-
 
69216
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.DOUBLE, this.mapAWBAndAmount.size()));
-
 
69217
          for (Map.Entry<Long, Double> _iter173 : this.mapAWBAndAmount.entrySet())
-
 
69218
          {
-
 
69219
            oprot.writeI64(_iter173.getKey());
-
 
69220
            oprot.writeDouble(_iter173.getValue());
-
 
69221
          }
-
 
69222
          oprot.writeMapEnd();
-
 
69223
        }
-
 
69224
        oprot.writeFieldEnd();
-
 
69225
      }
-
 
69226
      oprot.writeFieldStop();
-
 
69227
      oprot.writeStructEnd();
-
 
69228
    }
-
 
69229
 
-
 
69230
    @Override
-
 
69231
    public String toString() {
-
 
69232
      StringBuilder sb = new StringBuilder("saveBluedartSettlements_args(");
-
 
69233
      boolean first = true;
-
 
69234
 
-
 
69235
      sb.append("mapAWBAndAmount:");
-
 
69236
      if (this.mapAWBAndAmount == null) {
-
 
69237
        sb.append("null");
-
 
69238
      } else {
-
 
69239
        sb.append(this.mapAWBAndAmount);
-
 
69240
      }
-
 
69241
      first = false;
-
 
69242
      sb.append(")");
-
 
69243
      return sb.toString();
-
 
69244
    }
-
 
69245
 
-
 
69246
    public void validate() throws org.apache.thrift.TException {
-
 
69247
      // check for required fields
-
 
69248
    }
-
 
69249
 
-
 
69250
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
69251
      try {
-
 
69252
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
69253
      } catch (org.apache.thrift.TException te) {
-
 
69254
        throw new java.io.IOException(te);
-
 
69255
      }
-
 
69256
    }
-
 
69257
 
-
 
69258
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
69259
      try {
-
 
69260
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
69261
      } catch (org.apache.thrift.TException te) {
-
 
69262
        throw new java.io.IOException(te);
-
 
69263
      }
-
 
69264
    }
-
 
69265
 
-
 
69266
  }
-
 
69267
 
-
 
69268
  public static class saveBluedartSettlements_result implements org.apache.thrift.TBase<saveBluedartSettlements_result, saveBluedartSettlements_result._Fields>, java.io.Serializable, Cloneable   {
-
 
69269
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("saveBluedartSettlements_result");
-
 
69270
 
-
 
69271
    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);
-
 
69272
 
-
 
69273
    private TransactionServiceException ex; // required
-
 
69274
 
-
 
69275
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
69276
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
69277
      EX((short)1, "ex");
-
 
69278
 
-
 
69279
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
69280
 
-
 
69281
      static {
-
 
69282
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
69283
          byName.put(field.getFieldName(), field);
-
 
69284
        }
-
 
69285
      }
-
 
69286
 
-
 
69287
      /**
-
 
69288
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
69289
       */
-
 
69290
      public static _Fields findByThriftId(int fieldId) {
-
 
69291
        switch(fieldId) {
-
 
69292
          case 1: // EX
-
 
69293
            return EX;
-
 
69294
          default:
-
 
69295
            return null;
-
 
69296
        }
-
 
69297
      }
-
 
69298
 
-
 
69299
      /**
-
 
69300
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
69301
       * if it is not found.
-
 
69302
       */
-
 
69303
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
69304
        _Fields fields = findByThriftId(fieldId);
-
 
69305
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
69306
        return fields;
-
 
69307
      }
-
 
69308
 
-
 
69309
      /**
-
 
69310
       * Find the _Fields constant that matches name, or null if its not found.
-
 
69311
       */
-
 
69312
      public static _Fields findByName(String name) {
-
 
69313
        return byName.get(name);
-
 
69314
      }
-
 
69315
 
-
 
69316
      private final short _thriftId;
-
 
69317
      private final String _fieldName;
-
 
69318
 
-
 
69319
      _Fields(short thriftId, String fieldName) {
-
 
69320
        _thriftId = thriftId;
-
 
69321
        _fieldName = fieldName;
-
 
69322
      }
-
 
69323
 
-
 
69324
      public short getThriftFieldId() {
-
 
69325
        return _thriftId;
-
 
69326
      }
-
 
69327
 
-
 
69328
      public String getFieldName() {
-
 
69329
        return _fieldName;
-
 
69330
      }
-
 
69331
    }
-
 
69332
 
-
 
69333
    // isset id assignments
-
 
69334
 
-
 
69335
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
69336
    static {
-
 
69337
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
69338
      tmpMap.put(_Fields.EX, new org.apache.thrift.meta_data.FieldMetaData("ex", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
69339
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT)));
-
 
69340
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
69341
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(saveBluedartSettlements_result.class, metaDataMap);
-
 
69342
    }
-
 
69343
 
-
 
69344
    public saveBluedartSettlements_result() {
-
 
69345
    }
-
 
69346
 
-
 
69347
    public saveBluedartSettlements_result(
-
 
69348
      TransactionServiceException ex)
-
 
69349
    {
-
 
69350
      this();
-
 
69351
      this.ex = ex;
-
 
69352
    }
-
 
69353
 
-
 
69354
    /**
-
 
69355
     * Performs a deep copy on <i>other</i>.
-
 
69356
     */
-
 
69357
    public saveBluedartSettlements_result(saveBluedartSettlements_result other) {
-
 
69358
      if (other.isSetEx()) {
-
 
69359
        this.ex = new TransactionServiceException(other.ex);
-
 
69360
      }
-
 
69361
    }
-
 
69362
 
-
 
69363
    public saveBluedartSettlements_result deepCopy() {
-
 
69364
      return new saveBluedartSettlements_result(this);
-
 
69365
    }
-
 
69366
 
-
 
69367
    @Override
-
 
69368
    public void clear() {
-
 
69369
      this.ex = null;
-
 
69370
    }
-
 
69371
 
-
 
69372
    public TransactionServiceException getEx() {
-
 
69373
      return this.ex;
-
 
69374
    }
-
 
69375
 
-
 
69376
    public void setEx(TransactionServiceException ex) {
-
 
69377
      this.ex = ex;
-
 
69378
    }
-
 
69379
 
-
 
69380
    public void unsetEx() {
-
 
69381
      this.ex = null;
-
 
69382
    }
-
 
69383
 
-
 
69384
    /** Returns true if field ex is set (has been assigned a value) and false otherwise */
-
 
69385
    public boolean isSetEx() {
-
 
69386
      return this.ex != null;
-
 
69387
    }
-
 
69388
 
-
 
69389
    public void setExIsSet(boolean value) {
-
 
69390
      if (!value) {
-
 
69391
        this.ex = null;
-
 
69392
      }
-
 
69393
    }
-
 
69394
 
-
 
69395
    public void setFieldValue(_Fields field, Object value) {
-
 
69396
      switch (field) {
-
 
69397
      case EX:
-
 
69398
        if (value == null) {
-
 
69399
          unsetEx();
-
 
69400
        } else {
-
 
69401
          setEx((TransactionServiceException)value);
-
 
69402
        }
-
 
69403
        break;
-
 
69404
 
-
 
69405
      }
-
 
69406
    }
-
 
69407
 
-
 
69408
    public Object getFieldValue(_Fields field) {
-
 
69409
      switch (field) {
-
 
69410
      case EX:
-
 
69411
        return getEx();
-
 
69412
 
-
 
69413
      }
-
 
69414
      throw new IllegalStateException();
-
 
69415
    }
-
 
69416
 
-
 
69417
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
69418
    public boolean isSet(_Fields field) {
-
 
69419
      if (field == null) {
-
 
69420
        throw new IllegalArgumentException();
-
 
69421
      }
-
 
69422
 
-
 
69423
      switch (field) {
-
 
69424
      case EX:
-
 
69425
        return isSetEx();
-
 
69426
      }
-
 
69427
      throw new IllegalStateException();
-
 
69428
    }
-
 
69429
 
-
 
69430
    @Override
-
 
69431
    public boolean equals(Object that) {
-
 
69432
      if (that == null)
-
 
69433
        return false;
-
 
69434
      if (that instanceof saveBluedartSettlements_result)
-
 
69435
        return this.equals((saveBluedartSettlements_result)that);
-
 
69436
      return false;
-
 
69437
    }
-
 
69438
 
-
 
69439
    public boolean equals(saveBluedartSettlements_result that) {
-
 
69440
      if (that == null)
-
 
69441
        return false;
-
 
69442
 
-
 
69443
      boolean this_present_ex = true && this.isSetEx();
-
 
69444
      boolean that_present_ex = true && that.isSetEx();
-
 
69445
      if (this_present_ex || that_present_ex) {
-
 
69446
        if (!(this_present_ex && that_present_ex))
-
 
69447
          return false;
-
 
69448
        if (!this.ex.equals(that.ex))
-
 
69449
          return false;
-
 
69450
      }
-
 
69451
 
-
 
69452
      return true;
-
 
69453
    }
-
 
69454
 
-
 
69455
    @Override
-
 
69456
    public int hashCode() {
-
 
69457
      return 0;
-
 
69458
    }
-
 
69459
 
-
 
69460
    public int compareTo(saveBluedartSettlements_result other) {
-
 
69461
      if (!getClass().equals(other.getClass())) {
-
 
69462
        return getClass().getName().compareTo(other.getClass().getName());
-
 
69463
      }
-
 
69464
 
-
 
69465
      int lastComparison = 0;
-
 
69466
      saveBluedartSettlements_result typedOther = (saveBluedartSettlements_result)other;
-
 
69467
 
-
 
69468
      lastComparison = Boolean.valueOf(isSetEx()).compareTo(typedOther.isSetEx());
-
 
69469
      if (lastComparison != 0) {
-
 
69470
        return lastComparison;
-
 
69471
      }
-
 
69472
      if (isSetEx()) {
-
 
69473
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.ex, typedOther.ex);
-
 
69474
        if (lastComparison != 0) {
-
 
69475
          return lastComparison;
-
 
69476
        }
-
 
69477
      }
-
 
69478
      return 0;
-
 
69479
    }
-
 
69480
 
-
 
69481
    public _Fields fieldForId(int fieldId) {
-
 
69482
      return _Fields.findByThriftId(fieldId);
-
 
69483
    }
-
 
69484
 
-
 
69485
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
69486
      org.apache.thrift.protocol.TField field;
-
 
69487
      iprot.readStructBegin();
-
 
69488
      while (true)
-
 
69489
      {
-
 
69490
        field = iprot.readFieldBegin();
-
 
69491
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
69492
          break;
-
 
69493
        }
-
 
69494
        switch (field.id) {
-
 
69495
          case 1: // EX
-
 
69496
            if (field.type == org.apache.thrift.protocol.TType.STRUCT) {
-
 
69497
              this.ex = new TransactionServiceException();
-
 
69498
              this.ex.read(iprot);
-
 
69499
            } else { 
-
 
69500
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
69501
            }
-
 
69502
            break;
-
 
69503
          default:
-
 
69504
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
69505
        }
-
 
69506
        iprot.readFieldEnd();
-
 
69507
      }
-
 
69508
      iprot.readStructEnd();
-
 
69509
      validate();
-
 
69510
    }
-
 
69511
 
-
 
69512
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
69513
      oprot.writeStructBegin(STRUCT_DESC);
-
 
69514
 
-
 
69515
      if (this.isSetEx()) {
-
 
69516
        oprot.writeFieldBegin(EX_FIELD_DESC);
-
 
69517
        this.ex.write(oprot);
-
 
69518
        oprot.writeFieldEnd();
-
 
69519
      }
-
 
69520
      oprot.writeFieldStop();
-
 
69521
      oprot.writeStructEnd();
-
 
69522
    }
-
 
69523
 
-
 
69524
    @Override
-
 
69525
    public String toString() {
-
 
69526
      StringBuilder sb = new StringBuilder("saveBluedartSettlements_result(");
-
 
69527
      boolean first = true;
-
 
69528
 
-
 
69529
      sb.append("ex:");
-
 
69530
      if (this.ex == null) {
-
 
69531
        sb.append("null");
-
 
69532
      } else {
-
 
69533
        sb.append(this.ex);
-
 
69534
      }
-
 
69535
      first = false;
-
 
69536
      sb.append(")");
-
 
69537
      return sb.toString();
-
 
69538
    }
-
 
69539
 
-
 
69540
    public void validate() throws org.apache.thrift.TException {
-
 
69541
      // check for required fields
-
 
69542
    }
-
 
69543
 
-
 
69544
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
69545
      try {
-
 
69546
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
69547
      } catch (org.apache.thrift.TException te) {
-
 
69548
        throw new java.io.IOException(te);
-
 
69549
      }
-
 
69550
    }
-
 
69551
 
-
 
69552
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
69553
      try {
-
 
69554
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
69555
      } catch (org.apache.thrift.TException te) {
-
 
69556
        throw new java.io.IOException(te);
-
 
69557
      }
-
 
69558
    }
-
 
69559
 
-
 
69560
  }
-
 
69561
 
-
 
69562
  public static class savePaymentSettlements_args implements org.apache.thrift.TBase<savePaymentSettlements_args, savePaymentSettlements_args._Fields>, java.io.Serializable, Cloneable   {
-
 
69563
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("savePaymentSettlements_args");
-
 
69564
 
-
 
69565
    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);
-
 
69566
    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);
-
 
69567
    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);
-
 
69568
    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);
-
 
69569
    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);
-
 
69570
    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);
-
 
69571
 
-
 
69572
    private long settlementDate; // required
-
 
69573
    private long paymentGatewayId; // required
-
 
69574
    private long paymentId; // required
-
 
69575
    private double serviceTax; // required
-
 
69576
    private double otherCharges; // required
-
 
69577
    private double netCollection; // required
-
 
69578
 
-
 
69579
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
69580
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
69581
      SETTLEMENT_DATE((short)1, "settlementDate"),
-
 
69582
      PAYMENT_GATEWAY_ID((short)2, "paymentGatewayId"),
-
 
69583
      PAYMENT_ID((short)3, "paymentId"),
-
 
69584
      SERVICE_TAX((short)4, "serviceTax"),
-
 
69585
      OTHER_CHARGES((short)5, "otherCharges"),
-
 
69586
      NET_COLLECTION((short)6, "netCollection");
-
 
69587
 
-
 
69588
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
69589
 
-
 
69590
      static {
-
 
69591
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
69592
          byName.put(field.getFieldName(), field);
-
 
69593
        }
-
 
69594
      }
-
 
69595
 
-
 
69596
      /**
-
 
69597
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
69598
       */
-
 
69599
      public static _Fields findByThriftId(int fieldId) {
-
 
69600
        switch(fieldId) {
-
 
69601
          case 1: // SETTLEMENT_DATE
-
 
69602
            return SETTLEMENT_DATE;
-
 
69603
          case 2: // PAYMENT_GATEWAY_ID
-
 
69604
            return PAYMENT_GATEWAY_ID;
-
 
69605
          case 3: // PAYMENT_ID
-
 
69606
            return PAYMENT_ID;
-
 
69607
          case 4: // SERVICE_TAX
-
 
69608
            return SERVICE_TAX;
-
 
69609
          case 5: // OTHER_CHARGES
-
 
69610
            return OTHER_CHARGES;
-
 
69611
          case 6: // NET_COLLECTION
-
 
69612
            return NET_COLLECTION;
-
 
69613
          default:
-
 
69614
            return null;
-
 
69615
        }
-
 
69616
      }
-
 
69617
 
-
 
69618
      /**
-
 
69619
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
69620
       * if it is not found.
-
 
69621
       */
-
 
69622
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
69623
        _Fields fields = findByThriftId(fieldId);
-
 
69624
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
69625
        return fields;
-
 
69626
      }
-
 
69627
 
-
 
69628
      /**
-
 
69629
       * Find the _Fields constant that matches name, or null if its not found.
-
 
69630
       */
-
 
69631
      public static _Fields findByName(String name) {
-
 
69632
        return byName.get(name);
-
 
69633
      }
-
 
69634
 
-
 
69635
      private final short _thriftId;
-
 
69636
      private final String _fieldName;
-
 
69637
 
-
 
69638
      _Fields(short thriftId, String fieldName) {
-
 
69639
        _thriftId = thriftId;
-
 
69640
        _fieldName = fieldName;
-
 
69641
      }
-
 
69642
 
-
 
69643
      public short getThriftFieldId() {
-
 
69644
        return _thriftId;
-
 
69645
      }
-
 
69646
 
-
 
69647
      public String getFieldName() {
-
 
69648
        return _fieldName;
-
 
69649
      }
-
 
69650
    }
-
 
69651
 
-
 
69652
    // isset id assignments
-
 
69653
    private static final int __SETTLEMENTDATE_ISSET_ID = 0;
-
 
69654
    private static final int __PAYMENTGATEWAYID_ISSET_ID = 1;
-
 
69655
    private static final int __PAYMENTID_ISSET_ID = 2;
-
 
69656
    private static final int __SERVICETAX_ISSET_ID = 3;
-
 
69657
    private static final int __OTHERCHARGES_ISSET_ID = 4;
-
 
69658
    private static final int __NETCOLLECTION_ISSET_ID = 5;
-
 
69659
    private BitSet __isset_bit_vector = new BitSet(6);
-
 
69660
 
-
 
69661
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
69662
    static {
-
 
69663
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
69664
      tmpMap.put(_Fields.SETTLEMENT_DATE, new org.apache.thrift.meta_data.FieldMetaData("settlementDate", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
69665
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
69666
      tmpMap.put(_Fields.PAYMENT_GATEWAY_ID, new org.apache.thrift.meta_data.FieldMetaData("paymentGatewayId", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
69667
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
69668
      tmpMap.put(_Fields.PAYMENT_ID, new org.apache.thrift.meta_data.FieldMetaData("paymentId", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
69669
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
69670
      tmpMap.put(_Fields.SERVICE_TAX, new org.apache.thrift.meta_data.FieldMetaData("serviceTax", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
69671
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
-
 
69672
      tmpMap.put(_Fields.OTHER_CHARGES, new org.apache.thrift.meta_data.FieldMetaData("otherCharges", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
69673
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
-
 
69674
      tmpMap.put(_Fields.NET_COLLECTION, new org.apache.thrift.meta_data.FieldMetaData("netCollection", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
69675
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
-
 
69676
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
69677
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(savePaymentSettlements_args.class, metaDataMap);
-
 
69678
    }
-
 
69679
 
-
 
69680
    public savePaymentSettlements_args() {
-
 
69681
    }
-
 
69682
 
-
 
69683
    public savePaymentSettlements_args(
-
 
69684
      long settlementDate,
-
 
69685
      long paymentGatewayId,
-
 
69686
      long paymentId,
-
 
69687
      double serviceTax,
-
 
69688
      double otherCharges,
-
 
69689
      double netCollection)
-
 
69690
    {
-
 
69691
      this();
-
 
69692
      this.settlementDate = settlementDate;
-
 
69693
      setSettlementDateIsSet(true);
-
 
69694
      this.paymentGatewayId = paymentGatewayId;
-
 
69695
      setPaymentGatewayIdIsSet(true);
-
 
69696
      this.paymentId = paymentId;
-
 
69697
      setPaymentIdIsSet(true);
-
 
69698
      this.serviceTax = serviceTax;
-
 
69699
      setServiceTaxIsSet(true);
-
 
69700
      this.otherCharges = otherCharges;
-
 
69701
      setOtherChargesIsSet(true);
-
 
69702
      this.netCollection = netCollection;
-
 
69703
      setNetCollectionIsSet(true);
-
 
69704
    }
-
 
69705
 
-
 
69706
    /**
-
 
69707
     * Performs a deep copy on <i>other</i>.
-
 
69708
     */
-
 
69709
    public savePaymentSettlements_args(savePaymentSettlements_args other) {
-
 
69710
      __isset_bit_vector.clear();
-
 
69711
      __isset_bit_vector.or(other.__isset_bit_vector);
-
 
69712
      this.settlementDate = other.settlementDate;
-
 
69713
      this.paymentGatewayId = other.paymentGatewayId;
-
 
69714
      this.paymentId = other.paymentId;
-
 
69715
      this.serviceTax = other.serviceTax;
-
 
69716
      this.otherCharges = other.otherCharges;
-
 
69717
      this.netCollection = other.netCollection;
-
 
69718
    }
-
 
69719
 
-
 
69720
    public savePaymentSettlements_args deepCopy() {
-
 
69721
      return new savePaymentSettlements_args(this);
-
 
69722
    }
-
 
69723
 
-
 
69724
    @Override
-
 
69725
    public void clear() {
-
 
69726
      setSettlementDateIsSet(false);
-
 
69727
      this.settlementDate = 0;
-
 
69728
      setPaymentGatewayIdIsSet(false);
-
 
69729
      this.paymentGatewayId = 0;
-
 
69730
      setPaymentIdIsSet(false);
-
 
69731
      this.paymentId = 0;
-
 
69732
      setServiceTaxIsSet(false);
-
 
69733
      this.serviceTax = 0.0;
-
 
69734
      setOtherChargesIsSet(false);
-
 
69735
      this.otherCharges = 0.0;
-
 
69736
      setNetCollectionIsSet(false);
-
 
69737
      this.netCollection = 0.0;
-
 
69738
    }
-
 
69739
 
-
 
69740
    public long getSettlementDate() {
-
 
69741
      return this.settlementDate;
-
 
69742
    }
-
 
69743
 
-
 
69744
    public void setSettlementDate(long settlementDate) {
-
 
69745
      this.settlementDate = settlementDate;
-
 
69746
      setSettlementDateIsSet(true);
-
 
69747
    }
-
 
69748
 
-
 
69749
    public void unsetSettlementDate() {
-
 
69750
      __isset_bit_vector.clear(__SETTLEMENTDATE_ISSET_ID);
-
 
69751
    }
-
 
69752
 
-
 
69753
    /** Returns true if field settlementDate is set (has been assigned a value) and false otherwise */
-
 
69754
    public boolean isSetSettlementDate() {
-
 
69755
      return __isset_bit_vector.get(__SETTLEMENTDATE_ISSET_ID);
-
 
69756
    }
-
 
69757
 
-
 
69758
    public void setSettlementDateIsSet(boolean value) {
-
 
69759
      __isset_bit_vector.set(__SETTLEMENTDATE_ISSET_ID, value);
-
 
69760
    }
-
 
69761
 
-
 
69762
    public long getPaymentGatewayId() {
-
 
69763
      return this.paymentGatewayId;
-
 
69764
    }
-
 
69765
 
-
 
69766
    public void setPaymentGatewayId(long paymentGatewayId) {
-
 
69767
      this.paymentGatewayId = paymentGatewayId;
-
 
69768
      setPaymentGatewayIdIsSet(true);
-
 
69769
    }
-
 
69770
 
-
 
69771
    public void unsetPaymentGatewayId() {
-
 
69772
      __isset_bit_vector.clear(__PAYMENTGATEWAYID_ISSET_ID);
-
 
69773
    }
-
 
69774
 
-
 
69775
    /** Returns true if field paymentGatewayId is set (has been assigned a value) and false otherwise */
-
 
69776
    public boolean isSetPaymentGatewayId() {
-
 
69777
      return __isset_bit_vector.get(__PAYMENTGATEWAYID_ISSET_ID);
-
 
69778
    }
-
 
69779
 
-
 
69780
    public void setPaymentGatewayIdIsSet(boolean value) {
-
 
69781
      __isset_bit_vector.set(__PAYMENTGATEWAYID_ISSET_ID, value);
-
 
69782
    }
-
 
69783
 
-
 
69784
    public long getPaymentId() {
-
 
69785
      return this.paymentId;
-
 
69786
    }
-
 
69787
 
-
 
69788
    public void setPaymentId(long paymentId) {
-
 
69789
      this.paymentId = paymentId;
-
 
69790
      setPaymentIdIsSet(true);
-
 
69791
    }
-
 
69792
 
-
 
69793
    public void unsetPaymentId() {
-
 
69794
      __isset_bit_vector.clear(__PAYMENTID_ISSET_ID);
-
 
69795
    }
-
 
69796
 
-
 
69797
    /** Returns true if field paymentId is set (has been assigned a value) and false otherwise */
-
 
69798
    public boolean isSetPaymentId() {
-
 
69799
      return __isset_bit_vector.get(__PAYMENTID_ISSET_ID);
-
 
69800
    }
-
 
69801
 
-
 
69802
    public void setPaymentIdIsSet(boolean value) {
-
 
69803
      __isset_bit_vector.set(__PAYMENTID_ISSET_ID, value);
-
 
69804
    }
-
 
69805
 
-
 
69806
    public double getServiceTax() {
-
 
69807
      return this.serviceTax;
-
 
69808
    }
-
 
69809
 
-
 
69810
    public void setServiceTax(double serviceTax) {
-
 
69811
      this.serviceTax = serviceTax;
-
 
69812
      setServiceTaxIsSet(true);
-
 
69813
    }
-
 
69814
 
-
 
69815
    public void unsetServiceTax() {
-
 
69816
      __isset_bit_vector.clear(__SERVICETAX_ISSET_ID);
-
 
69817
    }
-
 
69818
 
-
 
69819
    /** Returns true if field serviceTax is set (has been assigned a value) and false otherwise */
-
 
69820
    public boolean isSetServiceTax() {
-
 
69821
      return __isset_bit_vector.get(__SERVICETAX_ISSET_ID);
-
 
69822
    }
-
 
69823
 
-
 
69824
    public void setServiceTaxIsSet(boolean value) {
-
 
69825
      __isset_bit_vector.set(__SERVICETAX_ISSET_ID, value);
-
 
69826
    }
-
 
69827
 
-
 
69828
    public double getOtherCharges() {
-
 
69829
      return this.otherCharges;
-
 
69830
    }
-
 
69831
 
-
 
69832
    public void setOtherCharges(double otherCharges) {
-
 
69833
      this.otherCharges = otherCharges;
-
 
69834
      setOtherChargesIsSet(true);
-
 
69835
    }
-
 
69836
 
-
 
69837
    public void unsetOtherCharges() {
-
 
69838
      __isset_bit_vector.clear(__OTHERCHARGES_ISSET_ID);
-
 
69839
    }
-
 
69840
 
-
 
69841
    /** Returns true if field otherCharges is set (has been assigned a value) and false otherwise */
-
 
69842
    public boolean isSetOtherCharges() {
-
 
69843
      return __isset_bit_vector.get(__OTHERCHARGES_ISSET_ID);
-
 
69844
    }
-
 
69845
 
-
 
69846
    public void setOtherChargesIsSet(boolean value) {
-
 
69847
      __isset_bit_vector.set(__OTHERCHARGES_ISSET_ID, value);
-
 
69848
    }
-
 
69849
 
-
 
69850
    public double getNetCollection() {
-
 
69851
      return this.netCollection;
-
 
69852
    }
-
 
69853
 
-
 
69854
    public void setNetCollection(double netCollection) {
-
 
69855
      this.netCollection = netCollection;
-
 
69856
      setNetCollectionIsSet(true);
-
 
69857
    }
-
 
69858
 
-
 
69859
    public void unsetNetCollection() {
-
 
69860
      __isset_bit_vector.clear(__NETCOLLECTION_ISSET_ID);
-
 
69861
    }
-
 
69862
 
-
 
69863
    /** Returns true if field netCollection is set (has been assigned a value) and false otherwise */
-
 
69864
    public boolean isSetNetCollection() {
-
 
69865
      return __isset_bit_vector.get(__NETCOLLECTION_ISSET_ID);
-
 
69866
    }
-
 
69867
 
-
 
69868
    public void setNetCollectionIsSet(boolean value) {
-
 
69869
      __isset_bit_vector.set(__NETCOLLECTION_ISSET_ID, value);
-
 
69870
    }
-
 
69871
 
-
 
69872
    public void setFieldValue(_Fields field, Object value) {
-
 
69873
      switch (field) {
-
 
69874
      case SETTLEMENT_DATE:
-
 
69875
        if (value == null) {
-
 
69876
          unsetSettlementDate();
-
 
69877
        } else {
-
 
69878
          setSettlementDate((Long)value);
-
 
69879
        }
-
 
69880
        break;
-
 
69881
 
-
 
69882
      case PAYMENT_GATEWAY_ID:
-
 
69883
        if (value == null) {
-
 
69884
          unsetPaymentGatewayId();
-
 
69885
        } else {
-
 
69886
          setPaymentGatewayId((Long)value);
-
 
69887
        }
-
 
69888
        break;
-
 
69889
 
-
 
69890
      case PAYMENT_ID:
-
 
69891
        if (value == null) {
-
 
69892
          unsetPaymentId();
-
 
69893
        } else {
-
 
69894
          setPaymentId((Long)value);
-
 
69895
        }
-
 
69896
        break;
-
 
69897
 
-
 
69898
      case SERVICE_TAX:
-
 
69899
        if (value == null) {
-
 
69900
          unsetServiceTax();
-
 
69901
        } else {
-
 
69902
          setServiceTax((Double)value);
-
 
69903
        }
-
 
69904
        break;
-
 
69905
 
-
 
69906
      case OTHER_CHARGES:
-
 
69907
        if (value == null) {
-
 
69908
          unsetOtherCharges();
-
 
69909
        } else {
-
 
69910
          setOtherCharges((Double)value);
-
 
69911
        }
-
 
69912
        break;
-
 
69913
 
-
 
69914
      case NET_COLLECTION:
-
 
69915
        if (value == null) {
-
 
69916
          unsetNetCollection();
-
 
69917
        } else {
-
 
69918
          setNetCollection((Double)value);
-
 
69919
        }
-
 
69920
        break;
-
 
69921
 
-
 
69922
      }
-
 
69923
    }
-
 
69924
 
-
 
69925
    public Object getFieldValue(_Fields field) {
-
 
69926
      switch (field) {
-
 
69927
      case SETTLEMENT_DATE:
-
 
69928
        return Long.valueOf(getSettlementDate());
-
 
69929
 
-
 
69930
      case PAYMENT_GATEWAY_ID:
-
 
69931
        return Long.valueOf(getPaymentGatewayId());
-
 
69932
 
-
 
69933
      case PAYMENT_ID:
-
 
69934
        return Long.valueOf(getPaymentId());
-
 
69935
 
-
 
69936
      case SERVICE_TAX:
-
 
69937
        return Double.valueOf(getServiceTax());
-
 
69938
 
-
 
69939
      case OTHER_CHARGES:
-
 
69940
        return Double.valueOf(getOtherCharges());
-
 
69941
 
-
 
69942
      case NET_COLLECTION:
-
 
69943
        return Double.valueOf(getNetCollection());
-
 
69944
 
-
 
69945
      }
-
 
69946
      throw new IllegalStateException();
-
 
69947
    }
-
 
69948
 
-
 
69949
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
69950
    public boolean isSet(_Fields field) {
-
 
69951
      if (field == null) {
-
 
69952
        throw new IllegalArgumentException();
-
 
69953
      }
-
 
69954
 
-
 
69955
      switch (field) {
-
 
69956
      case SETTLEMENT_DATE:
-
 
69957
        return isSetSettlementDate();
-
 
69958
      case PAYMENT_GATEWAY_ID:
-
 
69959
        return isSetPaymentGatewayId();
-
 
69960
      case PAYMENT_ID:
-
 
69961
        return isSetPaymentId();
-
 
69962
      case SERVICE_TAX:
-
 
69963
        return isSetServiceTax();
-
 
69964
      case OTHER_CHARGES:
-
 
69965
        return isSetOtherCharges();
-
 
69966
      case NET_COLLECTION:
-
 
69967
        return isSetNetCollection();
-
 
69968
      }
-
 
69969
      throw new IllegalStateException();
-
 
69970
    }
-
 
69971
 
-
 
69972
    @Override
-
 
69973
    public boolean equals(Object that) {
-
 
69974
      if (that == null)
-
 
69975
        return false;
-
 
69976
      if (that instanceof savePaymentSettlements_args)
-
 
69977
        return this.equals((savePaymentSettlements_args)that);
-
 
69978
      return false;
-
 
69979
    }
-
 
69980
 
-
 
69981
    public boolean equals(savePaymentSettlements_args that) {
-
 
69982
      if (that == null)
-
 
69983
        return false;
-
 
69984
 
-
 
69985
      boolean this_present_settlementDate = true;
-
 
69986
      boolean that_present_settlementDate = true;
-
 
69987
      if (this_present_settlementDate || that_present_settlementDate) {
-
 
69988
        if (!(this_present_settlementDate && that_present_settlementDate))
-
 
69989
          return false;
-
 
69990
        if (this.settlementDate != that.settlementDate)
-
 
69991
          return false;
-
 
69992
      }
-
 
69993
 
-
 
69994
      boolean this_present_paymentGatewayId = true;
-
 
69995
      boolean that_present_paymentGatewayId = true;
-
 
69996
      if (this_present_paymentGatewayId || that_present_paymentGatewayId) {
-
 
69997
        if (!(this_present_paymentGatewayId && that_present_paymentGatewayId))
-
 
69998
          return false;
-
 
69999
        if (this.paymentGatewayId != that.paymentGatewayId)
-
 
70000
          return false;
-
 
70001
      }
-
 
70002
 
-
 
70003
      boolean this_present_paymentId = true;
-
 
70004
      boolean that_present_paymentId = true;
-
 
70005
      if (this_present_paymentId || that_present_paymentId) {
-
 
70006
        if (!(this_present_paymentId && that_present_paymentId))
-
 
70007
          return false;
-
 
70008
        if (this.paymentId != that.paymentId)
-
 
70009
          return false;
-
 
70010
      }
-
 
70011
 
-
 
70012
      boolean this_present_serviceTax = true;
-
 
70013
      boolean that_present_serviceTax = true;
-
 
70014
      if (this_present_serviceTax || that_present_serviceTax) {
-
 
70015
        if (!(this_present_serviceTax && that_present_serviceTax))
-
 
70016
          return false;
-
 
70017
        if (this.serviceTax != that.serviceTax)
-
 
70018
          return false;
-
 
70019
      }
-
 
70020
 
-
 
70021
      boolean this_present_otherCharges = true;
-
 
70022
      boolean that_present_otherCharges = true;
-
 
70023
      if (this_present_otherCharges || that_present_otherCharges) {
-
 
70024
        if (!(this_present_otherCharges && that_present_otherCharges))
-
 
70025
          return false;
-
 
70026
        if (this.otherCharges != that.otherCharges)
-
 
70027
          return false;
-
 
70028
      }
-
 
70029
 
-
 
70030
      boolean this_present_netCollection = true;
-
 
70031
      boolean that_present_netCollection = true;
-
 
70032
      if (this_present_netCollection || that_present_netCollection) {
-
 
70033
        if (!(this_present_netCollection && that_present_netCollection))
-
 
70034
          return false;
-
 
70035
        if (this.netCollection != that.netCollection)
-
 
70036
          return false;
-
 
70037
      }
-
 
70038
 
-
 
70039
      return true;
-
 
70040
    }
-
 
70041
 
-
 
70042
    @Override
-
 
70043
    public int hashCode() {
-
 
70044
      return 0;
-
 
70045
    }
-
 
70046
 
-
 
70047
    public int compareTo(savePaymentSettlements_args other) {
-
 
70048
      if (!getClass().equals(other.getClass())) {
-
 
70049
        return getClass().getName().compareTo(other.getClass().getName());
-
 
70050
      }
-
 
70051
 
-
 
70052
      int lastComparison = 0;
-
 
70053
      savePaymentSettlements_args typedOther = (savePaymentSettlements_args)other;
-
 
70054
 
-
 
70055
      lastComparison = Boolean.valueOf(isSetSettlementDate()).compareTo(typedOther.isSetSettlementDate());
-
 
70056
      if (lastComparison != 0) {
-
 
70057
        return lastComparison;
-
 
70058
      }
-
 
70059
      if (isSetSettlementDate()) {
-
 
70060
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.settlementDate, typedOther.settlementDate);
-
 
70061
        if (lastComparison != 0) {
-
 
70062
          return lastComparison;
-
 
70063
        }
-
 
70064
      }
-
 
70065
      lastComparison = Boolean.valueOf(isSetPaymentGatewayId()).compareTo(typedOther.isSetPaymentGatewayId());
-
 
70066
      if (lastComparison != 0) {
-
 
70067
        return lastComparison;
-
 
70068
      }
-
 
70069
      if (isSetPaymentGatewayId()) {
-
 
70070
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.paymentGatewayId, typedOther.paymentGatewayId);
-
 
70071
        if (lastComparison != 0) {
-
 
70072
          return lastComparison;
-
 
70073
        }
-
 
70074
      }
-
 
70075
      lastComparison = Boolean.valueOf(isSetPaymentId()).compareTo(typedOther.isSetPaymentId());
-
 
70076
      if (lastComparison != 0) {
-
 
70077
        return lastComparison;
-
 
70078
      }
-
 
70079
      if (isSetPaymentId()) {
-
 
70080
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.paymentId, typedOther.paymentId);
-
 
70081
        if (lastComparison != 0) {
-
 
70082
          return lastComparison;
-
 
70083
        }
-
 
70084
      }
-
 
70085
      lastComparison = Boolean.valueOf(isSetServiceTax()).compareTo(typedOther.isSetServiceTax());
-
 
70086
      if (lastComparison != 0) {
-
 
70087
        return lastComparison;
-
 
70088
      }
-
 
70089
      if (isSetServiceTax()) {
-
 
70090
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.serviceTax, typedOther.serviceTax);
-
 
70091
        if (lastComparison != 0) {
-
 
70092
          return lastComparison;
-
 
70093
        }
-
 
70094
      }
-
 
70095
      lastComparison = Boolean.valueOf(isSetOtherCharges()).compareTo(typedOther.isSetOtherCharges());
-
 
70096
      if (lastComparison != 0) {
-
 
70097
        return lastComparison;
-
 
70098
      }
-
 
70099
      if (isSetOtherCharges()) {
-
 
70100
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.otherCharges, typedOther.otherCharges);
-
 
70101
        if (lastComparison != 0) {
-
 
70102
          return lastComparison;
-
 
70103
        }
-
 
70104
      }
-
 
70105
      lastComparison = Boolean.valueOf(isSetNetCollection()).compareTo(typedOther.isSetNetCollection());
-
 
70106
      if (lastComparison != 0) {
-
 
70107
        return lastComparison;
-
 
70108
      }
-
 
70109
      if (isSetNetCollection()) {
-
 
70110
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.netCollection, typedOther.netCollection);
-
 
70111
        if (lastComparison != 0) {
-
 
70112
          return lastComparison;
-
 
70113
        }
-
 
70114
      }
-
 
70115
      return 0;
-
 
70116
    }
-
 
70117
 
-
 
70118
    public _Fields fieldForId(int fieldId) {
-
 
70119
      return _Fields.findByThriftId(fieldId);
-
 
70120
    }
-
 
70121
 
-
 
70122
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
70123
      org.apache.thrift.protocol.TField field;
-
 
70124
      iprot.readStructBegin();
-
 
70125
      while (true)
-
 
70126
      {
-
 
70127
        field = iprot.readFieldBegin();
-
 
70128
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
70129
          break;
-
 
70130
        }
-
 
70131
        switch (field.id) {
-
 
70132
          case 1: // SETTLEMENT_DATE
-
 
70133
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
70134
              this.settlementDate = iprot.readI64();
-
 
70135
              setSettlementDateIsSet(true);
-
 
70136
            } else { 
-
 
70137
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
70138
            }
-
 
70139
            break;
-
 
70140
          case 2: // PAYMENT_GATEWAY_ID
-
 
70141
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
70142
              this.paymentGatewayId = iprot.readI64();
-
 
70143
              setPaymentGatewayIdIsSet(true);
-
 
70144
            } else { 
-
 
70145
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
70146
            }
-
 
70147
            break;
-
 
70148
          case 3: // PAYMENT_ID
-
 
70149
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
70150
              this.paymentId = iprot.readI64();
-
 
70151
              setPaymentIdIsSet(true);
-
 
70152
            } else { 
-
 
70153
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
70154
            }
-
 
70155
            break;
-
 
70156
          case 4: // SERVICE_TAX
-
 
70157
            if (field.type == org.apache.thrift.protocol.TType.DOUBLE) {
-
 
70158
              this.serviceTax = iprot.readDouble();
-
 
70159
              setServiceTaxIsSet(true);
-
 
70160
            } else { 
-
 
70161
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
70162
            }
-
 
70163
            break;
-
 
70164
          case 5: // OTHER_CHARGES
-
 
70165
            if (field.type == org.apache.thrift.protocol.TType.DOUBLE) {
-
 
70166
              this.otherCharges = iprot.readDouble();
-
 
70167
              setOtherChargesIsSet(true);
-
 
70168
            } else { 
-
 
70169
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
70170
            }
-
 
70171
            break;
-
 
70172
          case 6: // NET_COLLECTION
-
 
70173
            if (field.type == org.apache.thrift.protocol.TType.DOUBLE) {
-
 
70174
              this.netCollection = iprot.readDouble();
-
 
70175
              setNetCollectionIsSet(true);
-
 
70176
            } else { 
-
 
70177
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
70178
            }
-
 
70179
            break;
-
 
70180
          default:
-
 
70181
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
70182
        }
-
 
70183
        iprot.readFieldEnd();
-
 
70184
      }
-
 
70185
      iprot.readStructEnd();
-
 
70186
      validate();
-
 
70187
    }
-
 
70188
 
-
 
70189
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
70190
      validate();
-
 
70191
 
-
 
70192
      oprot.writeStructBegin(STRUCT_DESC);
-
 
70193
      oprot.writeFieldBegin(SETTLEMENT_DATE_FIELD_DESC);
-
 
70194
      oprot.writeI64(this.settlementDate);
-
 
70195
      oprot.writeFieldEnd();
-
 
70196
      oprot.writeFieldBegin(PAYMENT_GATEWAY_ID_FIELD_DESC);
-
 
70197
      oprot.writeI64(this.paymentGatewayId);
-
 
70198
      oprot.writeFieldEnd();
-
 
70199
      oprot.writeFieldBegin(PAYMENT_ID_FIELD_DESC);
-
 
70200
      oprot.writeI64(this.paymentId);
-
 
70201
      oprot.writeFieldEnd();
-
 
70202
      oprot.writeFieldBegin(SERVICE_TAX_FIELD_DESC);
-
 
70203
      oprot.writeDouble(this.serviceTax);
-
 
70204
      oprot.writeFieldEnd();
-
 
70205
      oprot.writeFieldBegin(OTHER_CHARGES_FIELD_DESC);
-
 
70206
      oprot.writeDouble(this.otherCharges);
-
 
70207
      oprot.writeFieldEnd();
-
 
70208
      oprot.writeFieldBegin(NET_COLLECTION_FIELD_DESC);
-
 
70209
      oprot.writeDouble(this.netCollection);
-
 
70210
      oprot.writeFieldEnd();
-
 
70211
      oprot.writeFieldStop();
-
 
70212
      oprot.writeStructEnd();
-
 
70213
    }
-
 
70214
 
-
 
70215
    @Override
-
 
70216
    public String toString() {
-
 
70217
      StringBuilder sb = new StringBuilder("savePaymentSettlements_args(");
-
 
70218
      boolean first = true;
-
 
70219
 
-
 
70220
      sb.append("settlementDate:");
-
 
70221
      sb.append(this.settlementDate);
-
 
70222
      first = false;
-
 
70223
      if (!first) sb.append(", ");
-
 
70224
      sb.append("paymentGatewayId:");
-
 
70225
      sb.append(this.paymentGatewayId);
-
 
70226
      first = false;
-
 
70227
      if (!first) sb.append(", ");
-
 
70228
      sb.append("paymentId:");
-
 
70229
      sb.append(this.paymentId);
-
 
70230
      first = false;
-
 
70231
      if (!first) sb.append(", ");
-
 
70232
      sb.append("serviceTax:");
-
 
70233
      sb.append(this.serviceTax);
-
 
70234
      first = false;
-
 
70235
      if (!first) sb.append(", ");
-
 
70236
      sb.append("otherCharges:");
-
 
70237
      sb.append(this.otherCharges);
-
 
70238
      first = false;
-
 
70239
      if (!first) sb.append(", ");
-
 
70240
      sb.append("netCollection:");
-
 
70241
      sb.append(this.netCollection);
-
 
70242
      first = false;
-
 
70243
      sb.append(")");
-
 
70244
      return sb.toString();
-
 
70245
    }
-
 
70246
 
-
 
70247
    public void validate() throws org.apache.thrift.TException {
-
 
70248
      // check for required fields
-
 
70249
    }
-
 
70250
 
-
 
70251
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
70252
      try {
-
 
70253
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
70254
      } catch (org.apache.thrift.TException te) {
-
 
70255
        throw new java.io.IOException(te);
-
 
70256
      }
-
 
70257
    }
-
 
70258
 
-
 
70259
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
70260
      try {
-
 
70261
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
70262
        __isset_bit_vector = new BitSet(1);
-
 
70263
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
70264
      } catch (org.apache.thrift.TException te) {
-
 
70265
        throw new java.io.IOException(te);
-
 
70266
      }
-
 
70267
    }
-
 
70268
 
-
 
70269
  }
-
 
70270
 
-
 
70271
  public static class savePaymentSettlements_result implements org.apache.thrift.TBase<savePaymentSettlements_result, savePaymentSettlements_result._Fields>, java.io.Serializable, Cloneable   {
-
 
70272
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("savePaymentSettlements_result");
-
 
70273
 
-
 
70274
    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);
-
 
70275
 
-
 
70276
    private TransactionServiceException ex; // required
-
 
70277
 
-
 
70278
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
70279
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
70280
      EX((short)1, "ex");
-
 
70281
 
-
 
70282
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
70283
 
-
 
70284
      static {
-
 
70285
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
70286
          byName.put(field.getFieldName(), field);
-
 
70287
        }
-
 
70288
      }
-
 
70289
 
-
 
70290
      /**
-
 
70291
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
70292
       */
-
 
70293
      public static _Fields findByThriftId(int fieldId) {
-
 
70294
        switch(fieldId) {
-
 
70295
          case 1: // EX
-
 
70296
            return EX;
-
 
70297
          default:
-
 
70298
            return null;
-
 
70299
        }
-
 
70300
      }
-
 
70301
 
-
 
70302
      /**
-
 
70303
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
70304
       * if it is not found.
-
 
70305
       */
-
 
70306
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
70307
        _Fields fields = findByThriftId(fieldId);
-
 
70308
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
70309
        return fields;
-
 
70310
      }
-
 
70311
 
-
 
70312
      /**
-
 
70313
       * Find the _Fields constant that matches name, or null if its not found.
-
 
70314
       */
-
 
70315
      public static _Fields findByName(String name) {
-
 
70316
        return byName.get(name);
-
 
70317
      }
-
 
70318
 
-
 
70319
      private final short _thriftId;
-
 
70320
      private final String _fieldName;
-
 
70321
 
-
 
70322
      _Fields(short thriftId, String fieldName) {
-
 
70323
        _thriftId = thriftId;
-
 
70324
        _fieldName = fieldName;
-
 
70325
      }
-
 
70326
 
-
 
70327
      public short getThriftFieldId() {
-
 
70328
        return _thriftId;
-
 
70329
      }
-
 
70330
 
-
 
70331
      public String getFieldName() {
-
 
70332
        return _fieldName;
-
 
70333
      }
-
 
70334
    }
-
 
70335
 
-
 
70336
    // isset id assignments
-
 
70337
 
-
 
70338
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
70339
    static {
-
 
70340
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
70341
      tmpMap.put(_Fields.EX, new org.apache.thrift.meta_data.FieldMetaData("ex", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
70342
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT)));
-
 
70343
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
70344
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(savePaymentSettlements_result.class, metaDataMap);
-
 
70345
    }
-
 
70346
 
-
 
70347
    public savePaymentSettlements_result() {
-
 
70348
    }
-
 
70349
 
-
 
70350
    public savePaymentSettlements_result(
-
 
70351
      TransactionServiceException ex)
-
 
70352
    {
-
 
70353
      this();
-
 
70354
      this.ex = ex;
-
 
70355
    }
-
 
70356
 
-
 
70357
    /**
-
 
70358
     * Performs a deep copy on <i>other</i>.
-
 
70359
     */
-
 
70360
    public savePaymentSettlements_result(savePaymentSettlements_result other) {
-
 
70361
      if (other.isSetEx()) {
-
 
70362
        this.ex = new TransactionServiceException(other.ex);
-
 
70363
      }
-
 
70364
    }
-
 
70365
 
-
 
70366
    public savePaymentSettlements_result deepCopy() {
-
 
70367
      return new savePaymentSettlements_result(this);
-
 
70368
    }
-
 
70369
 
-
 
70370
    @Override
-
 
70371
    public void clear() {
-
 
70372
      this.ex = null;
-
 
70373
    }
-
 
70374
 
-
 
70375
    public TransactionServiceException getEx() {
-
 
70376
      return this.ex;
-
 
70377
    }
-
 
70378
 
-
 
70379
    public void setEx(TransactionServiceException ex) {
-
 
70380
      this.ex = ex;
-
 
70381
    }
-
 
70382
 
-
 
70383
    public void unsetEx() {
-
 
70384
      this.ex = null;
-
 
70385
    }
-
 
70386
 
-
 
70387
    /** Returns true if field ex is set (has been assigned a value) and false otherwise */
-
 
70388
    public boolean isSetEx() {
-
 
70389
      return this.ex != null;
-
 
70390
    }
-
 
70391
 
-
 
70392
    public void setExIsSet(boolean value) {
-
 
70393
      if (!value) {
-
 
70394
        this.ex = null;
-
 
70395
      }
-
 
70396
    }
-
 
70397
 
-
 
70398
    public void setFieldValue(_Fields field, Object value) {
-
 
70399
      switch (field) {
-
 
70400
      case EX:
-
 
70401
        if (value == null) {
-
 
70402
          unsetEx();
-
 
70403
        } else {
-
 
70404
          setEx((TransactionServiceException)value);
-
 
70405
        }
-
 
70406
        break;
-
 
70407
 
-
 
70408
      }
-
 
70409
    }
-
 
70410
 
-
 
70411
    public Object getFieldValue(_Fields field) {
-
 
70412
      switch (field) {
-
 
70413
      case EX:
-
 
70414
        return getEx();
-
 
70415
 
-
 
70416
      }
-
 
70417
      throw new IllegalStateException();
-
 
70418
    }
-
 
70419
 
-
 
70420
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
70421
    public boolean isSet(_Fields field) {
-
 
70422
      if (field == null) {
-
 
70423
        throw new IllegalArgumentException();
-
 
70424
      }
-
 
70425
 
-
 
70426
      switch (field) {
-
 
70427
      case EX:
-
 
70428
        return isSetEx();
-
 
70429
      }
-
 
70430
      throw new IllegalStateException();
-
 
70431
    }
-
 
70432
 
-
 
70433
    @Override
-
 
70434
    public boolean equals(Object that) {
-
 
70435
      if (that == null)
-
 
70436
        return false;
-
 
70437
      if (that instanceof savePaymentSettlements_result)
-
 
70438
        return this.equals((savePaymentSettlements_result)that);
-
 
70439
      return false;
-
 
70440
    }
-
 
70441
 
-
 
70442
    public boolean equals(savePaymentSettlements_result that) {
-
 
70443
      if (that == null)
-
 
70444
        return false;
-
 
70445
 
-
 
70446
      boolean this_present_ex = true && this.isSetEx();
-
 
70447
      boolean that_present_ex = true && that.isSetEx();
-
 
70448
      if (this_present_ex || that_present_ex) {
-
 
70449
        if (!(this_present_ex && that_present_ex))
-
 
70450
          return false;
-
 
70451
        if (!this.ex.equals(that.ex))
-
 
70452
          return false;
-
 
70453
      }
-
 
70454
 
-
 
70455
      return true;
-
 
70456
    }
-
 
70457
 
-
 
70458
    @Override
-
 
70459
    public int hashCode() {
-
 
70460
      return 0;
-
 
70461
    }
-
 
70462
 
-
 
70463
    public int compareTo(savePaymentSettlements_result other) {
-
 
70464
      if (!getClass().equals(other.getClass())) {
-
 
70465
        return getClass().getName().compareTo(other.getClass().getName());
-
 
70466
      }
-
 
70467
 
-
 
70468
      int lastComparison = 0;
-
 
70469
      savePaymentSettlements_result typedOther = (savePaymentSettlements_result)other;
-
 
70470
 
-
 
70471
      lastComparison = Boolean.valueOf(isSetEx()).compareTo(typedOther.isSetEx());
-
 
70472
      if (lastComparison != 0) {
-
 
70473
        return lastComparison;
-
 
70474
      }
-
 
70475
      if (isSetEx()) {
-
 
70476
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.ex, typedOther.ex);
-
 
70477
        if (lastComparison != 0) {
-
 
70478
          return lastComparison;
-
 
70479
        }
-
 
70480
      }
-
 
70481
      return 0;
-
 
70482
    }
-
 
70483
 
-
 
70484
    public _Fields fieldForId(int fieldId) {
-
 
70485
      return _Fields.findByThriftId(fieldId);
-
 
70486
    }
-
 
70487
 
-
 
70488
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
70489
      org.apache.thrift.protocol.TField field;
-
 
70490
      iprot.readStructBegin();
-
 
70491
      while (true)
-
 
70492
      {
-
 
70493
        field = iprot.readFieldBegin();
-
 
70494
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
70495
          break;
-
 
70496
        }
-
 
70497
        switch (field.id) {
-
 
70498
          case 1: // EX
-
 
70499
            if (field.type == org.apache.thrift.protocol.TType.STRUCT) {
-
 
70500
              this.ex = new TransactionServiceException();
-
 
70501
              this.ex.read(iprot);
-
 
70502
            } else { 
-
 
70503
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
70504
            }
-
 
70505
            break;
-
 
70506
          default:
-
 
70507
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
70508
        }
-
 
70509
        iprot.readFieldEnd();
-
 
70510
      }
-
 
70511
      iprot.readStructEnd();
-
 
70512
      validate();
-
 
70513
    }
-
 
70514
 
-
 
70515
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
70516
      oprot.writeStructBegin(STRUCT_DESC);
-
 
70517
 
-
 
70518
      if (this.isSetEx()) {
-
 
70519
        oprot.writeFieldBegin(EX_FIELD_DESC);
-
 
70520
        this.ex.write(oprot);
-
 
70521
        oprot.writeFieldEnd();
-
 
70522
      }
-
 
70523
      oprot.writeFieldStop();
-
 
70524
      oprot.writeStructEnd();
-
 
70525
    }
-
 
70526
 
-
 
70527
    @Override
-
 
70528
    public String toString() {
-
 
70529
      StringBuilder sb = new StringBuilder("savePaymentSettlements_result(");
-
 
70530
      boolean first = true;
-
 
70531
 
-
 
70532
      sb.append("ex:");
-
 
70533
      if (this.ex == null) {
-
 
70534
        sb.append("null");
-
 
70535
      } else {
-
 
70536
        sb.append(this.ex);
-
 
70537
      }
-
 
70538
      first = false;
-
 
70539
      sb.append(")");
-
 
70540
      return sb.toString();
-
 
70541
    }
-
 
70542
 
-
 
70543
    public void validate() throws org.apache.thrift.TException {
-
 
70544
      // check for required fields
-
 
70545
    }
-
 
70546
 
-
 
70547
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
70548
      try {
-
 
70549
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
70550
      } catch (org.apache.thrift.TException te) {
-
 
70551
        throw new java.io.IOException(te);
-
 
70552
      }
-
 
70553
    }
-
 
70554
 
-
 
70555
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
70556
      try {
-
 
70557
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
70558
      } catch (org.apache.thrift.TException te) {
-
 
70559
        throw new java.io.IOException(te);
-
 
70560
      }
-
 
70561
    }
-
 
70562
 
-
 
70563
  }
-
 
70564
 
-
 
70565
  public static class saveEBSSettlementSummary_args implements org.apache.thrift.TBase<saveEBSSettlementSummary_args, saveEBSSettlementSummary_args._Fields>, java.io.Serializable, Cloneable   {
-
 
70566
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("saveEBSSettlementSummary_args");
-
 
70567
 
-
 
70568
    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);
-
 
70569
    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);
-
 
70570
    private static final org.apache.thrift.protocol.TField TRANSACTION_DATE_FROM_FIELD_DESC = new org.apache.thrift.protocol.TField("transactionDateFrom", org.apache.thrift.protocol.TType.I64, (short)3);
-
 
70571
    private static final org.apache.thrift.protocol.TField TRANSACTION_DATE_TO_FIELD_DESC = new org.apache.thrift.protocol.TField("transactionDateTo", org.apache.thrift.protocol.TType.I64, (short)4);
-
 
70572
    private static final org.apache.thrift.protocol.TField AMOUNT_FIELD_DESC = new org.apache.thrift.protocol.TField("amount", org.apache.thrift.protocol.TType.DOUBLE, (short)5);
-
 
70573
 
-
 
70574
    private long settlementId; // required
-
 
70575
    private long settlementDate; // required
-
 
70576
    private long transactionDateFrom; // required
-
 
70577
    private long transactionDateTo; // required
-
 
70578
    private double amount; // required
-
 
70579
 
-
 
70580
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
70581
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
70582
      SETTLEMENT_ID((short)1, "settlementId"),
-
 
70583
      SETTLEMENT_DATE((short)2, "settlementDate"),
-
 
70584
      TRANSACTION_DATE_FROM((short)3, "transactionDateFrom"),
-
 
70585
      TRANSACTION_DATE_TO((short)4, "transactionDateTo"),
-
 
70586
      AMOUNT((short)5, "amount");
-
 
70587
 
-
 
70588
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
70589
 
-
 
70590
      static {
-
 
70591
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
70592
          byName.put(field.getFieldName(), field);
-
 
70593
        }
-
 
70594
      }
-
 
70595
 
-
 
70596
      /**
-
 
70597
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
70598
       */
-
 
70599
      public static _Fields findByThriftId(int fieldId) {
-
 
70600
        switch(fieldId) {
-
 
70601
          case 1: // SETTLEMENT_ID
-
 
70602
            return SETTLEMENT_ID;
-
 
70603
          case 2: // SETTLEMENT_DATE
-
 
70604
            return SETTLEMENT_DATE;
-
 
70605
          case 3: // TRANSACTION_DATE_FROM
-
 
70606
            return TRANSACTION_DATE_FROM;
-
 
70607
          case 4: // TRANSACTION_DATE_TO
-
 
70608
            return TRANSACTION_DATE_TO;
-
 
70609
          case 5: // AMOUNT
-
 
70610
            return AMOUNT;
-
 
70611
          default:
-
 
70612
            return null;
-
 
70613
        }
-
 
70614
      }
-
 
70615
 
-
 
70616
      /**
-
 
70617
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
70618
       * if it is not found.
-
 
70619
       */
-
 
70620
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
70621
        _Fields fields = findByThriftId(fieldId);
-
 
70622
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
70623
        return fields;
-
 
70624
      }
-
 
70625
 
-
 
70626
      /**
-
 
70627
       * Find the _Fields constant that matches name, or null if its not found.
-
 
70628
       */
-
 
70629
      public static _Fields findByName(String name) {
-
 
70630
        return byName.get(name);
-
 
70631
      }
-
 
70632
 
-
 
70633
      private final short _thriftId;
-
 
70634
      private final String _fieldName;
-
 
70635
 
-
 
70636
      _Fields(short thriftId, String fieldName) {
-
 
70637
        _thriftId = thriftId;
-
 
70638
        _fieldName = fieldName;
-
 
70639
      }
-
 
70640
 
-
 
70641
      public short getThriftFieldId() {
-
 
70642
        return _thriftId;
-
 
70643
      }
-
 
70644
 
-
 
70645
      public String getFieldName() {
-
 
70646
        return _fieldName;
-
 
70647
      }
-
 
70648
    }
-
 
70649
 
-
 
70650
    // isset id assignments
-
 
70651
    private static final int __SETTLEMENTID_ISSET_ID = 0;
-
 
70652
    private static final int __SETTLEMENTDATE_ISSET_ID = 1;
-
 
70653
    private static final int __TRANSACTIONDATEFROM_ISSET_ID = 2;
-
 
70654
    private static final int __TRANSACTIONDATETO_ISSET_ID = 3;
-
 
70655
    private static final int __AMOUNT_ISSET_ID = 4;
-
 
70656
    private BitSet __isset_bit_vector = new BitSet(5);
-
 
70657
 
-
 
70658
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
70659
    static {
-
 
70660
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
70661
      tmpMap.put(_Fields.SETTLEMENT_ID, new org.apache.thrift.meta_data.FieldMetaData("settlementId", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
70662
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
70663
      tmpMap.put(_Fields.SETTLEMENT_DATE, new org.apache.thrift.meta_data.FieldMetaData("settlementDate", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
70664
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
70665
      tmpMap.put(_Fields.TRANSACTION_DATE_FROM, new org.apache.thrift.meta_data.FieldMetaData("transactionDateFrom", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
70666
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
70667
      tmpMap.put(_Fields.TRANSACTION_DATE_TO, new org.apache.thrift.meta_data.FieldMetaData("transactionDateTo", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
70668
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
70669
      tmpMap.put(_Fields.AMOUNT, new org.apache.thrift.meta_data.FieldMetaData("amount", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
70670
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
-
 
70671
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
70672
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(saveEBSSettlementSummary_args.class, metaDataMap);
-
 
70673
    }
-
 
70674
 
-
 
70675
    public saveEBSSettlementSummary_args() {
-
 
70676
    }
-
 
70677
 
-
 
70678
    public saveEBSSettlementSummary_args(
-
 
70679
      long settlementId,
-
 
70680
      long settlementDate,
-
 
70681
      long transactionDateFrom,
-
 
70682
      long transactionDateTo,
-
 
70683
      double amount)
-
 
70684
    {
-
 
70685
      this();
-
 
70686
      this.settlementId = settlementId;
-
 
70687
      setSettlementIdIsSet(true);
-
 
70688
      this.settlementDate = settlementDate;
-
 
70689
      setSettlementDateIsSet(true);
-
 
70690
      this.transactionDateFrom = transactionDateFrom;
-
 
70691
      setTransactionDateFromIsSet(true);
-
 
70692
      this.transactionDateTo = transactionDateTo;
-
 
70693
      setTransactionDateToIsSet(true);
-
 
70694
      this.amount = amount;
-
 
70695
      setAmountIsSet(true);
-
 
70696
    }
-
 
70697
 
-
 
70698
    /**
-
 
70699
     * Performs a deep copy on <i>other</i>.
-
 
70700
     */
-
 
70701
    public saveEBSSettlementSummary_args(saveEBSSettlementSummary_args other) {
-
 
70702
      __isset_bit_vector.clear();
-
 
70703
      __isset_bit_vector.or(other.__isset_bit_vector);
-
 
70704
      this.settlementId = other.settlementId;
-
 
70705
      this.settlementDate = other.settlementDate;
-
 
70706
      this.transactionDateFrom = other.transactionDateFrom;
-
 
70707
      this.transactionDateTo = other.transactionDateTo;
-
 
70708
      this.amount = other.amount;
-
 
70709
    }
-
 
70710
 
-
 
70711
    public saveEBSSettlementSummary_args deepCopy() {
-
 
70712
      return new saveEBSSettlementSummary_args(this);
-
 
70713
    }
-
 
70714
 
-
 
70715
    @Override
-
 
70716
    public void clear() {
-
 
70717
      setSettlementIdIsSet(false);
-
 
70718
      this.settlementId = 0;
-
 
70719
      setSettlementDateIsSet(false);
-
 
70720
      this.settlementDate = 0;
-
 
70721
      setTransactionDateFromIsSet(false);
-
 
70722
      this.transactionDateFrom = 0;
-
 
70723
      setTransactionDateToIsSet(false);
-
 
70724
      this.transactionDateTo = 0;
-
 
70725
      setAmountIsSet(false);
-
 
70726
      this.amount = 0.0;
-
 
70727
    }
-
 
70728
 
-
 
70729
    public long getSettlementId() {
-
 
70730
      return this.settlementId;
-
 
70731
    }
-
 
70732
 
-
 
70733
    public void setSettlementId(long settlementId) {
-
 
70734
      this.settlementId = settlementId;
-
 
70735
      setSettlementIdIsSet(true);
-
 
70736
    }
-
 
70737
 
-
 
70738
    public void unsetSettlementId() {
-
 
70739
      __isset_bit_vector.clear(__SETTLEMENTID_ISSET_ID);
-
 
70740
    }
-
 
70741
 
-
 
70742
    /** Returns true if field settlementId is set (has been assigned a value) and false otherwise */
-
 
70743
    public boolean isSetSettlementId() {
-
 
70744
      return __isset_bit_vector.get(__SETTLEMENTID_ISSET_ID);
-
 
70745
    }
-
 
70746
 
-
 
70747
    public void setSettlementIdIsSet(boolean value) {
-
 
70748
      __isset_bit_vector.set(__SETTLEMENTID_ISSET_ID, value);
-
 
70749
    }
-
 
70750
 
-
 
70751
    public long getSettlementDate() {
-
 
70752
      return this.settlementDate;
-
 
70753
    }
-
 
70754
 
-
 
70755
    public void setSettlementDate(long settlementDate) {
-
 
70756
      this.settlementDate = settlementDate;
-
 
70757
      setSettlementDateIsSet(true);
-
 
70758
    }
-
 
70759
 
-
 
70760
    public void unsetSettlementDate() {
-
 
70761
      __isset_bit_vector.clear(__SETTLEMENTDATE_ISSET_ID);
-
 
70762
    }
-
 
70763
 
-
 
70764
    /** Returns true if field settlementDate is set (has been assigned a value) and false otherwise */
-
 
70765
    public boolean isSetSettlementDate() {
-
 
70766
      return __isset_bit_vector.get(__SETTLEMENTDATE_ISSET_ID);
-
 
70767
    }
-
 
70768
 
-
 
70769
    public void setSettlementDateIsSet(boolean value) {
-
 
70770
      __isset_bit_vector.set(__SETTLEMENTDATE_ISSET_ID, value);
-
 
70771
    }
-
 
70772
 
-
 
70773
    public long getTransactionDateFrom() {
-
 
70774
      return this.transactionDateFrom;
-
 
70775
    }
-
 
70776
 
-
 
70777
    public void setTransactionDateFrom(long transactionDateFrom) {
-
 
70778
      this.transactionDateFrom = transactionDateFrom;
-
 
70779
      setTransactionDateFromIsSet(true);
-
 
70780
    }
-
 
70781
 
-
 
70782
    public void unsetTransactionDateFrom() {
-
 
70783
      __isset_bit_vector.clear(__TRANSACTIONDATEFROM_ISSET_ID);
-
 
70784
    }
-
 
70785
 
-
 
70786
    /** Returns true if field transactionDateFrom is set (has been assigned a value) and false otherwise */
-
 
70787
    public boolean isSetTransactionDateFrom() {
-
 
70788
      return __isset_bit_vector.get(__TRANSACTIONDATEFROM_ISSET_ID);
-
 
70789
    }
-
 
70790
 
-
 
70791
    public void setTransactionDateFromIsSet(boolean value) {
-
 
70792
      __isset_bit_vector.set(__TRANSACTIONDATEFROM_ISSET_ID, value);
-
 
70793
    }
-
 
70794
 
-
 
70795
    public long getTransactionDateTo() {
-
 
70796
      return this.transactionDateTo;
-
 
70797
    }
-
 
70798
 
-
 
70799
    public void setTransactionDateTo(long transactionDateTo) {
-
 
70800
      this.transactionDateTo = transactionDateTo;
-
 
70801
      setTransactionDateToIsSet(true);
-
 
70802
    }
-
 
70803
 
-
 
70804
    public void unsetTransactionDateTo() {
-
 
70805
      __isset_bit_vector.clear(__TRANSACTIONDATETO_ISSET_ID);
-
 
70806
    }
-
 
70807
 
-
 
70808
    /** Returns true if field transactionDateTo is set (has been assigned a value) and false otherwise */
-
 
70809
    public boolean isSetTransactionDateTo() {
-
 
70810
      return __isset_bit_vector.get(__TRANSACTIONDATETO_ISSET_ID);
-
 
70811
    }
-
 
70812
 
-
 
70813
    public void setTransactionDateToIsSet(boolean value) {
-
 
70814
      __isset_bit_vector.set(__TRANSACTIONDATETO_ISSET_ID, value);
-
 
70815
    }
-
 
70816
 
-
 
70817
    public double getAmount() {
-
 
70818
      return this.amount;
-
 
70819
    }
-
 
70820
 
-
 
70821
    public void setAmount(double amount) {
-
 
70822
      this.amount = amount;
-
 
70823
      setAmountIsSet(true);
-
 
70824
    }
-
 
70825
 
-
 
70826
    public void unsetAmount() {
-
 
70827
      __isset_bit_vector.clear(__AMOUNT_ISSET_ID);
-
 
70828
    }
-
 
70829
 
-
 
70830
    /** Returns true if field amount is set (has been assigned a value) and false otherwise */
-
 
70831
    public boolean isSetAmount() {
-
 
70832
      return __isset_bit_vector.get(__AMOUNT_ISSET_ID);
-
 
70833
    }
-
 
70834
 
-
 
70835
    public void setAmountIsSet(boolean value) {
-
 
70836
      __isset_bit_vector.set(__AMOUNT_ISSET_ID, value);
-
 
70837
    }
-
 
70838
 
-
 
70839
    public void setFieldValue(_Fields field, Object value) {
-
 
70840
      switch (field) {
-
 
70841
      case SETTLEMENT_ID:
-
 
70842
        if (value == null) {
-
 
70843
          unsetSettlementId();
-
 
70844
        } else {
-
 
70845
          setSettlementId((Long)value);
-
 
70846
        }
-
 
70847
        break;
-
 
70848
 
-
 
70849
      case SETTLEMENT_DATE:
-
 
70850
        if (value == null) {
-
 
70851
          unsetSettlementDate();
-
 
70852
        } else {
-
 
70853
          setSettlementDate((Long)value);
-
 
70854
        }
-
 
70855
        break;
-
 
70856
 
-
 
70857
      case TRANSACTION_DATE_FROM:
-
 
70858
        if (value == null) {
-
 
70859
          unsetTransactionDateFrom();
-
 
70860
        } else {
-
 
70861
          setTransactionDateFrom((Long)value);
-
 
70862
        }
-
 
70863
        break;
-
 
70864
 
-
 
70865
      case TRANSACTION_DATE_TO:
-
 
70866
        if (value == null) {
-
 
70867
          unsetTransactionDateTo();
-
 
70868
        } else {
-
 
70869
          setTransactionDateTo((Long)value);
-
 
70870
        }
-
 
70871
        break;
-
 
70872
 
-
 
70873
      case AMOUNT:
-
 
70874
        if (value == null) {
-
 
70875
          unsetAmount();
-
 
70876
        } else {
-
 
70877
          setAmount((Double)value);
-
 
70878
        }
-
 
70879
        break;
-
 
70880
 
-
 
70881
      }
-
 
70882
    }
-
 
70883
 
-
 
70884
    public Object getFieldValue(_Fields field) {
-
 
70885
      switch (field) {
-
 
70886
      case SETTLEMENT_ID:
-
 
70887
        return Long.valueOf(getSettlementId());
-
 
70888
 
-
 
70889
      case SETTLEMENT_DATE:
-
 
70890
        return Long.valueOf(getSettlementDate());
-
 
70891
 
-
 
70892
      case TRANSACTION_DATE_FROM:
-
 
70893
        return Long.valueOf(getTransactionDateFrom());
-
 
70894
 
-
 
70895
      case TRANSACTION_DATE_TO:
-
 
70896
        return Long.valueOf(getTransactionDateTo());
-
 
70897
 
-
 
70898
      case AMOUNT:
-
 
70899
        return Double.valueOf(getAmount());
-
 
70900
 
-
 
70901
      }
-
 
70902
      throw new IllegalStateException();
-
 
70903
    }
-
 
70904
 
-
 
70905
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
70906
    public boolean isSet(_Fields field) {
-
 
70907
      if (field == null) {
-
 
70908
        throw new IllegalArgumentException();
-
 
70909
      }
-
 
70910
 
-
 
70911
      switch (field) {
-
 
70912
      case SETTLEMENT_ID:
-
 
70913
        return isSetSettlementId();
-
 
70914
      case SETTLEMENT_DATE:
-
 
70915
        return isSetSettlementDate();
-
 
70916
      case TRANSACTION_DATE_FROM:
-
 
70917
        return isSetTransactionDateFrom();
-
 
70918
      case TRANSACTION_DATE_TO:
-
 
70919
        return isSetTransactionDateTo();
-
 
70920
      case AMOUNT:
-
 
70921
        return isSetAmount();
-
 
70922
      }
-
 
70923
      throw new IllegalStateException();
-
 
70924
    }
-
 
70925
 
-
 
70926
    @Override
-
 
70927
    public boolean equals(Object that) {
-
 
70928
      if (that == null)
-
 
70929
        return false;
-
 
70930
      if (that instanceof saveEBSSettlementSummary_args)
-
 
70931
        return this.equals((saveEBSSettlementSummary_args)that);
-
 
70932
      return false;
-
 
70933
    }
-
 
70934
 
-
 
70935
    public boolean equals(saveEBSSettlementSummary_args that) {
-
 
70936
      if (that == null)
-
 
70937
        return false;
-
 
70938
 
-
 
70939
      boolean this_present_settlementId = true;
-
 
70940
      boolean that_present_settlementId = true;
-
 
70941
      if (this_present_settlementId || that_present_settlementId) {
-
 
70942
        if (!(this_present_settlementId && that_present_settlementId))
-
 
70943
          return false;
-
 
70944
        if (this.settlementId != that.settlementId)
-
 
70945
          return false;
-
 
70946
      }
-
 
70947
 
-
 
70948
      boolean this_present_settlementDate = true;
-
 
70949
      boolean that_present_settlementDate = true;
-
 
70950
      if (this_present_settlementDate || that_present_settlementDate) {
-
 
70951
        if (!(this_present_settlementDate && that_present_settlementDate))
-
 
70952
          return false;
-
 
70953
        if (this.settlementDate != that.settlementDate)
-
 
70954
          return false;
-
 
70955
      }
-
 
70956
 
-
 
70957
      boolean this_present_transactionDateFrom = true;
-
 
70958
      boolean that_present_transactionDateFrom = true;
-
 
70959
      if (this_present_transactionDateFrom || that_present_transactionDateFrom) {
-
 
70960
        if (!(this_present_transactionDateFrom && that_present_transactionDateFrom))
-
 
70961
          return false;
-
 
70962
        if (this.transactionDateFrom != that.transactionDateFrom)
-
 
70963
          return false;
-
 
70964
      }
-
 
70965
 
-
 
70966
      boolean this_present_transactionDateTo = true;
-
 
70967
      boolean that_present_transactionDateTo = true;
-
 
70968
      if (this_present_transactionDateTo || that_present_transactionDateTo) {
-
 
70969
        if (!(this_present_transactionDateTo && that_present_transactionDateTo))
-
 
70970
          return false;
-
 
70971
        if (this.transactionDateTo != that.transactionDateTo)
-
 
70972
          return false;
-
 
70973
      }
-
 
70974
 
-
 
70975
      boolean this_present_amount = true;
-
 
70976
      boolean that_present_amount = true;
-
 
70977
      if (this_present_amount || that_present_amount) {
-
 
70978
        if (!(this_present_amount && that_present_amount))
-
 
70979
          return false;
-
 
70980
        if (this.amount != that.amount)
-
 
70981
          return false;
-
 
70982
      }
-
 
70983
 
-
 
70984
      return true;
-
 
70985
    }
-
 
70986
 
-
 
70987
    @Override
-
 
70988
    public int hashCode() {
-
 
70989
      return 0;
-
 
70990
    }
-
 
70991
 
-
 
70992
    public int compareTo(saveEBSSettlementSummary_args other) {
-
 
70993
      if (!getClass().equals(other.getClass())) {
-
 
70994
        return getClass().getName().compareTo(other.getClass().getName());
-
 
70995
      }
-
 
70996
 
-
 
70997
      int lastComparison = 0;
-
 
70998
      saveEBSSettlementSummary_args typedOther = (saveEBSSettlementSummary_args)other;
-
 
70999
 
-
 
71000
      lastComparison = Boolean.valueOf(isSetSettlementId()).compareTo(typedOther.isSetSettlementId());
-
 
71001
      if (lastComparison != 0) {
-
 
71002
        return lastComparison;
-
 
71003
      }
-
 
71004
      if (isSetSettlementId()) {
-
 
71005
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.settlementId, typedOther.settlementId);
-
 
71006
        if (lastComparison != 0) {
-
 
71007
          return lastComparison;
-
 
71008
        }
-
 
71009
      }
-
 
71010
      lastComparison = Boolean.valueOf(isSetSettlementDate()).compareTo(typedOther.isSetSettlementDate());
-
 
71011
      if (lastComparison != 0) {
-
 
71012
        return lastComparison;
-
 
71013
      }
-
 
71014
      if (isSetSettlementDate()) {
-
 
71015
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.settlementDate, typedOther.settlementDate);
-
 
71016
        if (lastComparison != 0) {
-
 
71017
          return lastComparison;
-
 
71018
        }
-
 
71019
      }
-
 
71020
      lastComparison = Boolean.valueOf(isSetTransactionDateFrom()).compareTo(typedOther.isSetTransactionDateFrom());
-
 
71021
      if (lastComparison != 0) {
-
 
71022
        return lastComparison;
-
 
71023
      }
-
 
71024
      if (isSetTransactionDateFrom()) {
-
 
71025
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.transactionDateFrom, typedOther.transactionDateFrom);
-
 
71026
        if (lastComparison != 0) {
-
 
71027
          return lastComparison;
-
 
71028
        }
-
 
71029
      }
-
 
71030
      lastComparison = Boolean.valueOf(isSetTransactionDateTo()).compareTo(typedOther.isSetTransactionDateTo());
-
 
71031
      if (lastComparison != 0) {
-
 
71032
        return lastComparison;
-
 
71033
      }
-
 
71034
      if (isSetTransactionDateTo()) {
-
 
71035
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.transactionDateTo, typedOther.transactionDateTo);
-
 
71036
        if (lastComparison != 0) {
-
 
71037
          return lastComparison;
-
 
71038
        }
-
 
71039
      }
-
 
71040
      lastComparison = Boolean.valueOf(isSetAmount()).compareTo(typedOther.isSetAmount());
-
 
71041
      if (lastComparison != 0) {
-
 
71042
        return lastComparison;
-
 
71043
      }
-
 
71044
      if (isSetAmount()) {
-
 
71045
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.amount, typedOther.amount);
-
 
71046
        if (lastComparison != 0) {
-
 
71047
          return lastComparison;
-
 
71048
        }
-
 
71049
      }
-
 
71050
      return 0;
-
 
71051
    }
-
 
71052
 
-
 
71053
    public _Fields fieldForId(int fieldId) {
-
 
71054
      return _Fields.findByThriftId(fieldId);
-
 
71055
    }
-
 
71056
 
-
 
71057
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
71058
      org.apache.thrift.protocol.TField field;
-
 
71059
      iprot.readStructBegin();
-
 
71060
      while (true)
-
 
71061
      {
-
 
71062
        field = iprot.readFieldBegin();
-
 
71063
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
71064
          break;
-
 
71065
        }
-
 
71066
        switch (field.id) {
-
 
71067
          case 1: // SETTLEMENT_ID
-
 
71068
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
71069
              this.settlementId = iprot.readI64();
-
 
71070
              setSettlementIdIsSet(true);
-
 
71071
            } else { 
-
 
71072
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
71073
            }
-
 
71074
            break;
-
 
71075
          case 2: // SETTLEMENT_DATE
-
 
71076
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
71077
              this.settlementDate = iprot.readI64();
-
 
71078
              setSettlementDateIsSet(true);
-
 
71079
            } else { 
-
 
71080
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
71081
            }
-
 
71082
            break;
-
 
71083
          case 3: // TRANSACTION_DATE_FROM
-
 
71084
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
71085
              this.transactionDateFrom = iprot.readI64();
-
 
71086
              setTransactionDateFromIsSet(true);
-
 
71087
            } else { 
-
 
71088
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
71089
            }
-
 
71090
            break;
-
 
71091
          case 4: // TRANSACTION_DATE_TO
-
 
71092
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
71093
              this.transactionDateTo = iprot.readI64();
-
 
71094
              setTransactionDateToIsSet(true);
-
 
71095
            } else { 
-
 
71096
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
71097
            }
-
 
71098
            break;
-
 
71099
          case 5: // AMOUNT
-
 
71100
            if (field.type == org.apache.thrift.protocol.TType.DOUBLE) {
-
 
71101
              this.amount = iprot.readDouble();
-
 
71102
              setAmountIsSet(true);
-
 
71103
            } else { 
-
 
71104
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
71105
            }
-
 
71106
            break;
-
 
71107
          default:
-
 
71108
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
71109
        }
-
 
71110
        iprot.readFieldEnd();
-
 
71111
      }
-
 
71112
      iprot.readStructEnd();
-
 
71113
      validate();
-
 
71114
    }
-
 
71115
 
-
 
71116
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
71117
      validate();
-
 
71118
 
-
 
71119
      oprot.writeStructBegin(STRUCT_DESC);
-
 
71120
      oprot.writeFieldBegin(SETTLEMENT_ID_FIELD_DESC);
-
 
71121
      oprot.writeI64(this.settlementId);
-
 
71122
      oprot.writeFieldEnd();
-
 
71123
      oprot.writeFieldBegin(SETTLEMENT_DATE_FIELD_DESC);
-
 
71124
      oprot.writeI64(this.settlementDate);
-
 
71125
      oprot.writeFieldEnd();
-
 
71126
      oprot.writeFieldBegin(TRANSACTION_DATE_FROM_FIELD_DESC);
-
 
71127
      oprot.writeI64(this.transactionDateFrom);
-
 
71128
      oprot.writeFieldEnd();
-
 
71129
      oprot.writeFieldBegin(TRANSACTION_DATE_TO_FIELD_DESC);
-
 
71130
      oprot.writeI64(this.transactionDateTo);
-
 
71131
      oprot.writeFieldEnd();
-
 
71132
      oprot.writeFieldBegin(AMOUNT_FIELD_DESC);
-
 
71133
      oprot.writeDouble(this.amount);
-
 
71134
      oprot.writeFieldEnd();
-
 
71135
      oprot.writeFieldStop();
-
 
71136
      oprot.writeStructEnd();
-
 
71137
    }
-
 
71138
 
-
 
71139
    @Override
-
 
71140
    public String toString() {
-
 
71141
      StringBuilder sb = new StringBuilder("saveEBSSettlementSummary_args(");
-
 
71142
      boolean first = true;
-
 
71143
 
-
 
71144
      sb.append("settlementId:");
-
 
71145
      sb.append(this.settlementId);
-
 
71146
      first = false;
-
 
71147
      if (!first) sb.append(", ");
-
 
71148
      sb.append("settlementDate:");
-
 
71149
      sb.append(this.settlementDate);
-
 
71150
      first = false;
-
 
71151
      if (!first) sb.append(", ");
-
 
71152
      sb.append("transactionDateFrom:");
-
 
71153
      sb.append(this.transactionDateFrom);
-
 
71154
      first = false;
-
 
71155
      if (!first) sb.append(", ");
-
 
71156
      sb.append("transactionDateTo:");
-
 
71157
      sb.append(this.transactionDateTo);
-
 
71158
      first = false;
-
 
71159
      if (!first) sb.append(", ");
-
 
71160
      sb.append("amount:");
-
 
71161
      sb.append(this.amount);
-
 
71162
      first = false;
-
 
71163
      sb.append(")");
-
 
71164
      return sb.toString();
-
 
71165
    }
-
 
71166
 
-
 
71167
    public void validate() throws org.apache.thrift.TException {
-
 
71168
      // check for required fields
-
 
71169
    }
-
 
71170
 
-
 
71171
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
71172
      try {
-
 
71173
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
71174
      } catch (org.apache.thrift.TException te) {
-
 
71175
        throw new java.io.IOException(te);
-
 
71176
      }
-
 
71177
    }
-
 
71178
 
-
 
71179
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
71180
      try {
-
 
71181
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
71182
        __isset_bit_vector = new BitSet(1);
-
 
71183
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
71184
      } catch (org.apache.thrift.TException te) {
-
 
71185
        throw new java.io.IOException(te);
-
 
71186
      }
-
 
71187
    }
-
 
71188
 
-
 
71189
  }
-
 
71190
 
-
 
71191
  public static class saveEBSSettlementSummary_result implements org.apache.thrift.TBase<saveEBSSettlementSummary_result, saveEBSSettlementSummary_result._Fields>, java.io.Serializable, Cloneable   {
-
 
71192
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("saveEBSSettlementSummary_result");
-
 
71193
 
-
 
71194
    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);
-
 
71195
 
-
 
71196
    private TransactionServiceException ex; // required
-
 
71197
 
-
 
71198
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
71199
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
71200
      EX((short)1, "ex");
-
 
71201
 
-
 
71202
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
71203
 
-
 
71204
      static {
-
 
71205
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
71206
          byName.put(field.getFieldName(), field);
-
 
71207
        }
-
 
71208
      }
-
 
71209
 
-
 
71210
      /**
-
 
71211
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
71212
       */
-
 
71213
      public static _Fields findByThriftId(int fieldId) {
-
 
71214
        switch(fieldId) {
-
 
71215
          case 1: // EX
-
 
71216
            return EX;
-
 
71217
          default:
-
 
71218
            return null;
-
 
71219
        }
-
 
71220
      }
-
 
71221
 
-
 
71222
      /**
-
 
71223
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
71224
       * if it is not found.
-
 
71225
       */
-
 
71226
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
71227
        _Fields fields = findByThriftId(fieldId);
-
 
71228
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
71229
        return fields;
-
 
71230
      }
-
 
71231
 
-
 
71232
      /**
-
 
71233
       * Find the _Fields constant that matches name, or null if its not found.
-
 
71234
       */
-
 
71235
      public static _Fields findByName(String name) {
-
 
71236
        return byName.get(name);
-
 
71237
      }
-
 
71238
 
-
 
71239
      private final short _thriftId;
-
 
71240
      private final String _fieldName;
-
 
71241
 
-
 
71242
      _Fields(short thriftId, String fieldName) {
-
 
71243
        _thriftId = thriftId;
-
 
71244
        _fieldName = fieldName;
-
 
71245
      }
-
 
71246
 
-
 
71247
      public short getThriftFieldId() {
-
 
71248
        return _thriftId;
-
 
71249
      }
-
 
71250
 
-
 
71251
      public String getFieldName() {
-
 
71252
        return _fieldName;
-
 
71253
      }
-
 
71254
    }
-
 
71255
 
-
 
71256
    // isset id assignments
-
 
71257
 
-
 
71258
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
71259
    static {
-
 
71260
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
71261
      tmpMap.put(_Fields.EX, new org.apache.thrift.meta_data.FieldMetaData("ex", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
71262
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT)));
-
 
71263
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
71264
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(saveEBSSettlementSummary_result.class, metaDataMap);
-
 
71265
    }
-
 
71266
 
-
 
71267
    public saveEBSSettlementSummary_result() {
-
 
71268
    }
-
 
71269
 
-
 
71270
    public saveEBSSettlementSummary_result(
-
 
71271
      TransactionServiceException ex)
-
 
71272
    {
-
 
71273
      this();
-
 
71274
      this.ex = ex;
-
 
71275
    }
-
 
71276
 
-
 
71277
    /**
-
 
71278
     * Performs a deep copy on <i>other</i>.
-
 
71279
     */
-
 
71280
    public saveEBSSettlementSummary_result(saveEBSSettlementSummary_result other) {
-
 
71281
      if (other.isSetEx()) {
-
 
71282
        this.ex = new TransactionServiceException(other.ex);
-
 
71283
      }
-
 
71284
    }
-
 
71285
 
-
 
71286
    public saveEBSSettlementSummary_result deepCopy() {
-
 
71287
      return new saveEBSSettlementSummary_result(this);
-
 
71288
    }
-
 
71289
 
-
 
71290
    @Override
-
 
71291
    public void clear() {
-
 
71292
      this.ex = null;
-
 
71293
    }
-
 
71294
 
-
 
71295
    public TransactionServiceException getEx() {
-
 
71296
      return this.ex;
-
 
71297
    }
-
 
71298
 
-
 
71299
    public void setEx(TransactionServiceException ex) {
-
 
71300
      this.ex = ex;
-
 
71301
    }
-
 
71302
 
-
 
71303
    public void unsetEx() {
-
 
71304
      this.ex = null;
-
 
71305
    }
-
 
71306
 
-
 
71307
    /** Returns true if field ex is set (has been assigned a value) and false otherwise */
-
 
71308
    public boolean isSetEx() {
-
 
71309
      return this.ex != null;
-
 
71310
    }
-
 
71311
 
-
 
71312
    public void setExIsSet(boolean value) {
-
 
71313
      if (!value) {
-
 
71314
        this.ex = null;
-
 
71315
      }
-
 
71316
    }
-
 
71317
 
-
 
71318
    public void setFieldValue(_Fields field, Object value) {
-
 
71319
      switch (field) {
-
 
71320
      case EX:
-
 
71321
        if (value == null) {
-
 
71322
          unsetEx();
-
 
71323
        } else {
-
 
71324
          setEx((TransactionServiceException)value);
-
 
71325
        }
-
 
71326
        break;
-
 
71327
 
-
 
71328
      }
-
 
71329
    }
-
 
71330
 
-
 
71331
    public Object getFieldValue(_Fields field) {
-
 
71332
      switch (field) {
-
 
71333
      case EX:
-
 
71334
        return getEx();
-
 
71335
 
-
 
71336
      }
-
 
71337
      throw new IllegalStateException();
-
 
71338
    }
-
 
71339
 
-
 
71340
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
71341
    public boolean isSet(_Fields field) {
-
 
71342
      if (field == null) {
-
 
71343
        throw new IllegalArgumentException();
-
 
71344
      }
-
 
71345
 
-
 
71346
      switch (field) {
-
 
71347
      case EX:
-
 
71348
        return isSetEx();
-
 
71349
      }
-
 
71350
      throw new IllegalStateException();
-
 
71351
    }
-
 
71352
 
-
 
71353
    @Override
-
 
71354
    public boolean equals(Object that) {
-
 
71355
      if (that == null)
-
 
71356
        return false;
-
 
71357
      if (that instanceof saveEBSSettlementSummary_result)
-
 
71358
        return this.equals((saveEBSSettlementSummary_result)that);
-
 
71359
      return false;
-
 
71360
    }
-
 
71361
 
-
 
71362
    public boolean equals(saveEBSSettlementSummary_result that) {
-
 
71363
      if (that == null)
-
 
71364
        return false;
-
 
71365
 
-
 
71366
      boolean this_present_ex = true && this.isSetEx();
-
 
71367
      boolean that_present_ex = true && that.isSetEx();
-
 
71368
      if (this_present_ex || that_present_ex) {
-
 
71369
        if (!(this_present_ex && that_present_ex))
-
 
71370
          return false;
-
 
71371
        if (!this.ex.equals(that.ex))
-
 
71372
          return false;
-
 
71373
      }
-
 
71374
 
-
 
71375
      return true;
-
 
71376
    }
-
 
71377
 
-
 
71378
    @Override
-
 
71379
    public int hashCode() {
-
 
71380
      return 0;
-
 
71381
    }
-
 
71382
 
-
 
71383
    public int compareTo(saveEBSSettlementSummary_result other) {
-
 
71384
      if (!getClass().equals(other.getClass())) {
-
 
71385
        return getClass().getName().compareTo(other.getClass().getName());
-
 
71386
      }
-
 
71387
 
-
 
71388
      int lastComparison = 0;
-
 
71389
      saveEBSSettlementSummary_result typedOther = (saveEBSSettlementSummary_result)other;
-
 
71390
 
-
 
71391
      lastComparison = Boolean.valueOf(isSetEx()).compareTo(typedOther.isSetEx());
-
 
71392
      if (lastComparison != 0) {
-
 
71393
        return lastComparison;
-
 
71394
      }
-
 
71395
      if (isSetEx()) {
-
 
71396
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.ex, typedOther.ex);
-
 
71397
        if (lastComparison != 0) {
-
 
71398
          return lastComparison;
-
 
71399
        }
-
 
71400
      }
-
 
71401
      return 0;
-
 
71402
    }
-
 
71403
 
-
 
71404
    public _Fields fieldForId(int fieldId) {
-
 
71405
      return _Fields.findByThriftId(fieldId);
-
 
71406
    }
-
 
71407
 
-
 
71408
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
71409
      org.apache.thrift.protocol.TField field;
-
 
71410
      iprot.readStructBegin();
-
 
71411
      while (true)
-
 
71412
      {
-
 
71413
        field = iprot.readFieldBegin();
-
 
71414
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
71415
          break;
-
 
71416
        }
-
 
71417
        switch (field.id) {
-
 
71418
          case 1: // EX
-
 
71419
            if (field.type == org.apache.thrift.protocol.TType.STRUCT) {
-
 
71420
              this.ex = new TransactionServiceException();
-
 
71421
              this.ex.read(iprot);
-
 
71422
            } else { 
-
 
71423
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
71424
            }
-
 
71425
            break;
-
 
71426
          default:
-
 
71427
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
71428
        }
-
 
71429
        iprot.readFieldEnd();
-
 
71430
      }
-
 
71431
      iprot.readStructEnd();
-
 
71432
      validate();
-
 
71433
    }
-
 
71434
 
-
 
71435
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
71436
      oprot.writeStructBegin(STRUCT_DESC);
-
 
71437
 
-
 
71438
      if (this.isSetEx()) {
-
 
71439
        oprot.writeFieldBegin(EX_FIELD_DESC);
-
 
71440
        this.ex.write(oprot);
-
 
71441
        oprot.writeFieldEnd();
-
 
71442
      }
-
 
71443
      oprot.writeFieldStop();
-
 
71444
      oprot.writeStructEnd();
-
 
71445
    }
-
 
71446
 
-
 
71447
    @Override
-
 
71448
    public String toString() {
-
 
71449
      StringBuilder sb = new StringBuilder("saveEBSSettlementSummary_result(");
-
 
71450
      boolean first = true;
-
 
71451
 
-
 
71452
      sb.append("ex:");
-
 
71453
      if (this.ex == null) {
-
 
71454
        sb.append("null");
-
 
71455
      } else {
-
 
71456
        sb.append(this.ex);
-
 
71457
      }
-
 
71458
      first = false;
-
 
71459
      sb.append(")");
-
 
71460
      return sb.toString();
-
 
71461
    }
-
 
71462
 
-
 
71463
    public void validate() throws org.apache.thrift.TException {
-
 
71464
      // check for required fields
-
 
71465
    }
-
 
71466
 
-
 
71467
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
71468
      try {
-
 
71469
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
71470
      } catch (org.apache.thrift.TException te) {
-
 
71471
        throw new java.io.IOException(te);
-
 
71472
      }
-
 
71473
    }
-
 
71474
 
-
 
71475
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
71476
      try {
-
 
71477
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
71478
      } catch (org.apache.thrift.TException te) {
-
 
71479
        throw new java.io.IOException(te);
-
 
71480
      }
-
 
71481
    }
-
 
71482
 
-
 
71483
  }
-
 
71484
 
-
 
71485
  public static class getSettlementForPaymentId_args implements org.apache.thrift.TBase<getSettlementForPaymentId_args, getSettlementForPaymentId_args._Fields>, java.io.Serializable, Cloneable   {
-
 
71486
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getSettlementForPaymentId_args");
-
 
71487
 
-
 
71488
    private static final org.apache.thrift.protocol.TField PAYMENT_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("paymentId", org.apache.thrift.protocol.TType.I64, (short)1);
-
 
71489
 
-
 
71490
    private long paymentId; // required
-
 
71491
 
-
 
71492
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
71493
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
71494
      PAYMENT_ID((short)1, "paymentId");
-
 
71495
 
-
 
71496
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
71497
 
-
 
71498
      static {
-
 
71499
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
71500
          byName.put(field.getFieldName(), field);
-
 
71501
        }
-
 
71502
      }
-
 
71503
 
-
 
71504
      /**
-
 
71505
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
71506
       */
-
 
71507
      public static _Fields findByThriftId(int fieldId) {
-
 
71508
        switch(fieldId) {
-
 
71509
          case 1: // PAYMENT_ID
-
 
71510
            return PAYMENT_ID;
-
 
71511
          default:
-
 
71512
            return null;
-
 
71513
        }
-
 
71514
      }
-
 
71515
 
-
 
71516
      /**
-
 
71517
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
71518
       * if it is not found.
-
 
71519
       */
-
 
71520
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
71521
        _Fields fields = findByThriftId(fieldId);
-
 
71522
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
71523
        return fields;
-
 
71524
      }
-
 
71525
 
-
 
71526
      /**
-
 
71527
       * Find the _Fields constant that matches name, or null if its not found.
-
 
71528
       */
-
 
71529
      public static _Fields findByName(String name) {
-
 
71530
        return byName.get(name);
-
 
71531
      }
-
 
71532
 
-
 
71533
      private final short _thriftId;
-
 
71534
      private final String _fieldName;
-
 
71535
 
-
 
71536
      _Fields(short thriftId, String fieldName) {
-
 
71537
        _thriftId = thriftId;
-
 
71538
        _fieldName = fieldName;
-
 
71539
      }
-
 
71540
 
-
 
71541
      public short getThriftFieldId() {
-
 
71542
        return _thriftId;
-
 
71543
      }
-
 
71544
 
-
 
71545
      public String getFieldName() {
-
 
71546
        return _fieldName;
-
 
71547
      }
-
 
71548
    }
-
 
71549
 
-
 
71550
    // isset id assignments
-
 
71551
    private static final int __PAYMENTID_ISSET_ID = 0;
-
 
71552
    private BitSet __isset_bit_vector = new BitSet(1);
-
 
71553
 
-
 
71554
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
71555
    static {
-
 
71556
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
71557
      tmpMap.put(_Fields.PAYMENT_ID, new org.apache.thrift.meta_data.FieldMetaData("paymentId", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
71558
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
71559
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
71560
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getSettlementForPaymentId_args.class, metaDataMap);
-
 
71561
    }
-
 
71562
 
-
 
71563
    public getSettlementForPaymentId_args() {
-
 
71564
    }
-
 
71565
 
-
 
71566
    public getSettlementForPaymentId_args(
-
 
71567
      long paymentId)
-
 
71568
    {
-
 
71569
      this();
-
 
71570
      this.paymentId = paymentId;
-
 
71571
      setPaymentIdIsSet(true);
-
 
71572
    }
-
 
71573
 
-
 
71574
    /**
-
 
71575
     * Performs a deep copy on <i>other</i>.
-
 
71576
     */
-
 
71577
    public getSettlementForPaymentId_args(getSettlementForPaymentId_args other) {
-
 
71578
      __isset_bit_vector.clear();
-
 
71579
      __isset_bit_vector.or(other.__isset_bit_vector);
-
 
71580
      this.paymentId = other.paymentId;
-
 
71581
    }
-
 
71582
 
-
 
71583
    public getSettlementForPaymentId_args deepCopy() {
-
 
71584
      return new getSettlementForPaymentId_args(this);
-
 
71585
    }
-
 
71586
 
-
 
71587
    @Override
-
 
71588
    public void clear() {
-
 
71589
      setPaymentIdIsSet(false);
-
 
71590
      this.paymentId = 0;
-
 
71591
    }
-
 
71592
 
-
 
71593
    public long getPaymentId() {
-
 
71594
      return this.paymentId;
-
 
71595
    }
-
 
71596
 
-
 
71597
    public void setPaymentId(long paymentId) {
-
 
71598
      this.paymentId = paymentId;
-
 
71599
      setPaymentIdIsSet(true);
-
 
71600
    }
-
 
71601
 
-
 
71602
    public void unsetPaymentId() {
-
 
71603
      __isset_bit_vector.clear(__PAYMENTID_ISSET_ID);
-
 
71604
    }
-
 
71605
 
-
 
71606
    /** Returns true if field paymentId is set (has been assigned a value) and false otherwise */
-
 
71607
    public boolean isSetPaymentId() {
-
 
71608
      return __isset_bit_vector.get(__PAYMENTID_ISSET_ID);
-
 
71609
    }
-
 
71610
 
-
 
71611
    public void setPaymentIdIsSet(boolean value) {
-
 
71612
      __isset_bit_vector.set(__PAYMENTID_ISSET_ID, value);
-
 
71613
    }
-
 
71614
 
-
 
71615
    public void setFieldValue(_Fields field, Object value) {
-
 
71616
      switch (field) {
-
 
71617
      case PAYMENT_ID:
-
 
71618
        if (value == null) {
-
 
71619
          unsetPaymentId();
-
 
71620
        } else {
-
 
71621
          setPaymentId((Long)value);
-
 
71622
        }
-
 
71623
        break;
-
 
71624
 
-
 
71625
      }
-
 
71626
    }
-
 
71627
 
-
 
71628
    public Object getFieldValue(_Fields field) {
-
 
71629
      switch (field) {
-
 
71630
      case PAYMENT_ID:
-
 
71631
        return Long.valueOf(getPaymentId());
-
 
71632
 
-
 
71633
      }
-
 
71634
      throw new IllegalStateException();
-
 
71635
    }
-
 
71636
 
-
 
71637
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
71638
    public boolean isSet(_Fields field) {
-
 
71639
      if (field == null) {
-
 
71640
        throw new IllegalArgumentException();
-
 
71641
      }
-
 
71642
 
-
 
71643
      switch (field) {
-
 
71644
      case PAYMENT_ID:
-
 
71645
        return isSetPaymentId();
-
 
71646
      }
-
 
71647
      throw new IllegalStateException();
-
 
71648
    }
-
 
71649
 
-
 
71650
    @Override
-
 
71651
    public boolean equals(Object that) {
-
 
71652
      if (that == null)
-
 
71653
        return false;
-
 
71654
      if (that instanceof getSettlementForPaymentId_args)
-
 
71655
        return this.equals((getSettlementForPaymentId_args)that);
-
 
71656
      return false;
-
 
71657
    }
-
 
71658
 
-
 
71659
    public boolean equals(getSettlementForPaymentId_args that) {
-
 
71660
      if (that == null)
-
 
71661
        return false;
-
 
71662
 
-
 
71663
      boolean this_present_paymentId = true;
-
 
71664
      boolean that_present_paymentId = true;
-
 
71665
      if (this_present_paymentId || that_present_paymentId) {
-
 
71666
        if (!(this_present_paymentId && that_present_paymentId))
-
 
71667
          return false;
-
 
71668
        if (this.paymentId != that.paymentId)
-
 
71669
          return false;
-
 
71670
      }
-
 
71671
 
-
 
71672
      return true;
-
 
71673
    }
-
 
71674
 
-
 
71675
    @Override
-
 
71676
    public int hashCode() {
-
 
71677
      return 0;
-
 
71678
    }
-
 
71679
 
-
 
71680
    public int compareTo(getSettlementForPaymentId_args other) {
-
 
71681
      if (!getClass().equals(other.getClass())) {
-
 
71682
        return getClass().getName().compareTo(other.getClass().getName());
-
 
71683
      }
-
 
71684
 
-
 
71685
      int lastComparison = 0;
-
 
71686
      getSettlementForPaymentId_args typedOther = (getSettlementForPaymentId_args)other;
-
 
71687
 
-
 
71688
      lastComparison = Boolean.valueOf(isSetPaymentId()).compareTo(typedOther.isSetPaymentId());
-
 
71689
      if (lastComparison != 0) {
-
 
71690
        return lastComparison;
-
 
71691
      }
-
 
71692
      if (isSetPaymentId()) {
-
 
71693
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.paymentId, typedOther.paymentId);
-
 
71694
        if (lastComparison != 0) {
-
 
71695
          return lastComparison;
-
 
71696
        }
-
 
71697
      }
-
 
71698
      return 0;
-
 
71699
    }
-
 
71700
 
-
 
71701
    public _Fields fieldForId(int fieldId) {
-
 
71702
      return _Fields.findByThriftId(fieldId);
-
 
71703
    }
-
 
71704
 
-
 
71705
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
71706
      org.apache.thrift.protocol.TField field;
-
 
71707
      iprot.readStructBegin();
-
 
71708
      while (true)
-
 
71709
      {
-
 
71710
        field = iprot.readFieldBegin();
-
 
71711
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
71712
          break;
-
 
71713
        }
-
 
71714
        switch (field.id) {
-
 
71715
          case 1: // PAYMENT_ID
-
 
71716
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
71717
              this.paymentId = iprot.readI64();
-
 
71718
              setPaymentIdIsSet(true);
-
 
71719
            } else { 
-
 
71720
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
71721
            }
-
 
71722
            break;
-
 
71723
          default:
-
 
71724
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
71725
        }
-
 
71726
        iprot.readFieldEnd();
-
 
71727
      }
-
 
71728
      iprot.readStructEnd();
-
 
71729
      validate();
-
 
71730
    }
-
 
71731
 
-
 
71732
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
71733
      validate();
-
 
71734
 
-
 
71735
      oprot.writeStructBegin(STRUCT_DESC);
-
 
71736
      oprot.writeFieldBegin(PAYMENT_ID_FIELD_DESC);
-
 
71737
      oprot.writeI64(this.paymentId);
-
 
71738
      oprot.writeFieldEnd();
-
 
71739
      oprot.writeFieldStop();
-
 
71740
      oprot.writeStructEnd();
-
 
71741
    }
-
 
71742
 
-
 
71743
    @Override
-
 
71744
    public String toString() {
-
 
71745
      StringBuilder sb = new StringBuilder("getSettlementForPaymentId_args(");
-
 
71746
      boolean first = true;
-
 
71747
 
-
 
71748
      sb.append("paymentId:");
-
 
71749
      sb.append(this.paymentId);
-
 
71750
      first = false;
-
 
71751
      sb.append(")");
-
 
71752
      return sb.toString();
-
 
71753
    }
-
 
71754
 
-
 
71755
    public void validate() throws org.apache.thrift.TException {
-
 
71756
      // check for required fields
-
 
71757
    }
-
 
71758
 
-
 
71759
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
71760
      try {
-
 
71761
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
71762
      } catch (org.apache.thrift.TException te) {
-
 
71763
        throw new java.io.IOException(te);
-
 
71764
      }
-
 
71765
    }
-
 
71766
 
-
 
71767
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
71768
      try {
-
 
71769
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
71770
        __isset_bit_vector = new BitSet(1);
-
 
71771
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
71772
      } catch (org.apache.thrift.TException te) {
-
 
71773
        throw new java.io.IOException(te);
-
 
71774
      }
-
 
71775
    }
-
 
71776
 
-
 
71777
  }
-
 
71778
 
-
 
71779
  public static class getSettlementForPaymentId_result implements org.apache.thrift.TBase<getSettlementForPaymentId_result, getSettlementForPaymentId_result._Fields>, java.io.Serializable, Cloneable   {
-
 
71780
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getSettlementForPaymentId_result");
-
 
71781
 
-
 
71782
    private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.STRUCT, (short)0);
-
 
71783
    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);
-
 
71784
 
-
 
71785
    private PaymentSettlement success; // required
-
 
71786
    private TransactionServiceException ex; // required
-
 
71787
 
-
 
71788
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
71789
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
71790
      SUCCESS((short)0, "success"),
-
 
71791
      EX((short)1, "ex");
-
 
71792
 
-
 
71793
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
71794
 
-
 
71795
      static {
-
 
71796
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
71797
          byName.put(field.getFieldName(), field);
-
 
71798
        }
-
 
71799
      }
-
 
71800
 
-
 
71801
      /**
-
 
71802
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
71803
       */
-
 
71804
      public static _Fields findByThriftId(int fieldId) {
-
 
71805
        switch(fieldId) {
-
 
71806
          case 0: // SUCCESS
-
 
71807
            return SUCCESS;
-
 
71808
          case 1: // EX
-
 
71809
            return EX;
-
 
71810
          default:
-
 
71811
            return null;
-
 
71812
        }
-
 
71813
      }
-
 
71814
 
-
 
71815
      /**
-
 
71816
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
71817
       * if it is not found.
-
 
71818
       */
-
 
71819
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
71820
        _Fields fields = findByThriftId(fieldId);
-
 
71821
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
71822
        return fields;
-
 
71823
      }
-
 
71824
 
-
 
71825
      /**
-
 
71826
       * Find the _Fields constant that matches name, or null if its not found.
-
 
71827
       */
-
 
71828
      public static _Fields findByName(String name) {
-
 
71829
        return byName.get(name);
-
 
71830
      }
-
 
71831
 
-
 
71832
      private final short _thriftId;
-
 
71833
      private final String _fieldName;
-
 
71834
 
-
 
71835
      _Fields(short thriftId, String fieldName) {
-
 
71836
        _thriftId = thriftId;
-
 
71837
        _fieldName = fieldName;
-
 
71838
      }
-
 
71839
 
-
 
71840
      public short getThriftFieldId() {
-
 
71841
        return _thriftId;
-
 
71842
      }
-
 
71843
 
-
 
71844
      public String getFieldName() {
-
 
71845
        return _fieldName;
-
 
71846
      }
-
 
71847
    }
-
 
71848
 
-
 
71849
    // isset id assignments
-
 
71850
 
-
 
71851
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
71852
    static {
-
 
71853
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
71854
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
71855
          new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, PaymentSettlement.class)));
-
 
71856
      tmpMap.put(_Fields.EX, new org.apache.thrift.meta_data.FieldMetaData("ex", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
71857
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT)));
-
 
71858
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
71859
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getSettlementForPaymentId_result.class, metaDataMap);
-
 
71860
    }
-
 
71861
 
-
 
71862
    public getSettlementForPaymentId_result() {
-
 
71863
    }
-
 
71864
 
-
 
71865
    public getSettlementForPaymentId_result(
-
 
71866
      PaymentSettlement success,
-
 
71867
      TransactionServiceException ex)
-
 
71868
    {
-
 
71869
      this();
-
 
71870
      this.success = success;
-
 
71871
      this.ex = ex;
-
 
71872
    }
-
 
71873
 
-
 
71874
    /**
-
 
71875
     * Performs a deep copy on <i>other</i>.
-
 
71876
     */
-
 
71877
    public getSettlementForPaymentId_result(getSettlementForPaymentId_result other) {
-
 
71878
      if (other.isSetSuccess()) {
-
 
71879
        this.success = new PaymentSettlement(other.success);
-
 
71880
      }
-
 
71881
      if (other.isSetEx()) {
-
 
71882
        this.ex = new TransactionServiceException(other.ex);
-
 
71883
      }
-
 
71884
    }
-
 
71885
 
-
 
71886
    public getSettlementForPaymentId_result deepCopy() {
-
 
71887
      return new getSettlementForPaymentId_result(this);
-
 
71888
    }
-
 
71889
 
-
 
71890
    @Override
-
 
71891
    public void clear() {
-
 
71892
      this.success = null;
-
 
71893
      this.ex = null;
-
 
71894
    }
-
 
71895
 
-
 
71896
    public PaymentSettlement getSuccess() {
-
 
71897
      return this.success;
-
 
71898
    }
-
 
71899
 
-
 
71900
    public void setSuccess(PaymentSettlement success) {
-
 
71901
      this.success = success;
-
 
71902
    }
-
 
71903
 
-
 
71904
    public void unsetSuccess() {
-
 
71905
      this.success = null;
-
 
71906
    }
-
 
71907
 
-
 
71908
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
-
 
71909
    public boolean isSetSuccess() {
-
 
71910
      return this.success != null;
-
 
71911
    }
-
 
71912
 
-
 
71913
    public void setSuccessIsSet(boolean value) {
-
 
71914
      if (!value) {
-
 
71915
        this.success = null;
-
 
71916
      }
-
 
71917
    }
-
 
71918
 
-
 
71919
    public TransactionServiceException getEx() {
-
 
71920
      return this.ex;
-
 
71921
    }
-
 
71922
 
-
 
71923
    public void setEx(TransactionServiceException ex) {
-
 
71924
      this.ex = ex;
-
 
71925
    }
-
 
71926
 
-
 
71927
    public void unsetEx() {
-
 
71928
      this.ex = null;
-
 
71929
    }
-
 
71930
 
-
 
71931
    /** Returns true if field ex is set (has been assigned a value) and false otherwise */
-
 
71932
    public boolean isSetEx() {
-
 
71933
      return this.ex != null;
-
 
71934
    }
-
 
71935
 
-
 
71936
    public void setExIsSet(boolean value) {
-
 
71937
      if (!value) {
-
 
71938
        this.ex = null;
-
 
71939
      }
-
 
71940
    }
-
 
71941
 
-
 
71942
    public void setFieldValue(_Fields field, Object value) {
-
 
71943
      switch (field) {
-
 
71944
      case SUCCESS:
-
 
71945
        if (value == null) {
-
 
71946
          unsetSuccess();
-
 
71947
        } else {
-
 
71948
          setSuccess((PaymentSettlement)value);
-
 
71949
        }
-
 
71950
        break;
-
 
71951
 
-
 
71952
      case EX:
-
 
71953
        if (value == null) {
-
 
71954
          unsetEx();
-
 
71955
        } else {
-
 
71956
          setEx((TransactionServiceException)value);
-
 
71957
        }
-
 
71958
        break;
-
 
71959
 
-
 
71960
      }
-
 
71961
    }
-
 
71962
 
-
 
71963
    public Object getFieldValue(_Fields field) {
-
 
71964
      switch (field) {
-
 
71965
      case SUCCESS:
-
 
71966
        return getSuccess();
-
 
71967
 
-
 
71968
      case EX:
-
 
71969
        return getEx();
-
 
71970
 
-
 
71971
      }
-
 
71972
      throw new IllegalStateException();
-
 
71973
    }
-
 
71974
 
-
 
71975
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
71976
    public boolean isSet(_Fields field) {
-
 
71977
      if (field == null) {
-
 
71978
        throw new IllegalArgumentException();
-
 
71979
      }
-
 
71980
 
-
 
71981
      switch (field) {
-
 
71982
      case SUCCESS:
-
 
71983
        return isSetSuccess();
-
 
71984
      case EX:
-
 
71985
        return isSetEx();
-
 
71986
      }
-
 
71987
      throw new IllegalStateException();
-
 
71988
    }
-
 
71989
 
-
 
71990
    @Override
-
 
71991
    public boolean equals(Object that) {
-
 
71992
      if (that == null)
-
 
71993
        return false;
-
 
71994
      if (that instanceof getSettlementForPaymentId_result)
-
 
71995
        return this.equals((getSettlementForPaymentId_result)that);
-
 
71996
      return false;
-
 
71997
    }
-
 
71998
 
-
 
71999
    public boolean equals(getSettlementForPaymentId_result that) {
-
 
72000
      if (that == null)
-
 
72001
        return false;
-
 
72002
 
-
 
72003
      boolean this_present_success = true && this.isSetSuccess();
-
 
72004
      boolean that_present_success = true && that.isSetSuccess();
-
 
72005
      if (this_present_success || that_present_success) {
-
 
72006
        if (!(this_present_success && that_present_success))
-
 
72007
          return false;
-
 
72008
        if (!this.success.equals(that.success))
-
 
72009
          return false;
-
 
72010
      }
-
 
72011
 
-
 
72012
      boolean this_present_ex = true && this.isSetEx();
-
 
72013
      boolean that_present_ex = true && that.isSetEx();
-
 
72014
      if (this_present_ex || that_present_ex) {
-
 
72015
        if (!(this_present_ex && that_present_ex))
-
 
72016
          return false;
-
 
72017
        if (!this.ex.equals(that.ex))
-
 
72018
          return false;
-
 
72019
      }
-
 
72020
 
-
 
72021
      return true;
-
 
72022
    }
-
 
72023
 
-
 
72024
    @Override
-
 
72025
    public int hashCode() {
-
 
72026
      return 0;
-
 
72027
    }
-
 
72028
 
-
 
72029
    public int compareTo(getSettlementForPaymentId_result other) {
-
 
72030
      if (!getClass().equals(other.getClass())) {
-
 
72031
        return getClass().getName().compareTo(other.getClass().getName());
-
 
72032
      }
-
 
72033
 
-
 
72034
      int lastComparison = 0;
-
 
72035
      getSettlementForPaymentId_result typedOther = (getSettlementForPaymentId_result)other;
-
 
72036
 
-
 
72037
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
-
 
72038
      if (lastComparison != 0) {
-
 
72039
        return lastComparison;
-
 
72040
      }
-
 
72041
      if (isSetSuccess()) {
-
 
72042
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
-
 
72043
        if (lastComparison != 0) {
-
 
72044
          return lastComparison;
-
 
72045
        }
-
 
72046
      }
-
 
72047
      lastComparison = Boolean.valueOf(isSetEx()).compareTo(typedOther.isSetEx());
-
 
72048
      if (lastComparison != 0) {
-
 
72049
        return lastComparison;
-
 
72050
      }
-
 
72051
      if (isSetEx()) {
-
 
72052
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.ex, typedOther.ex);
-
 
72053
        if (lastComparison != 0) {
-
 
72054
          return lastComparison;
-
 
72055
        }
-
 
72056
      }
-
 
72057
      return 0;
-
 
72058
    }
-
 
72059
 
-
 
72060
    public _Fields fieldForId(int fieldId) {
-
 
72061
      return _Fields.findByThriftId(fieldId);
-
 
72062
    }
-
 
72063
 
-
 
72064
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
72065
      org.apache.thrift.protocol.TField field;
-
 
72066
      iprot.readStructBegin();
-
 
72067
      while (true)
-
 
72068
      {
-
 
72069
        field = iprot.readFieldBegin();
-
 
72070
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
72071
          break;
-
 
72072
        }
-
 
72073
        switch (field.id) {
-
 
72074
          case 0: // SUCCESS
-
 
72075
            if (field.type == org.apache.thrift.protocol.TType.STRUCT) {
-
 
72076
              this.success = new PaymentSettlement();
-
 
72077
              this.success.read(iprot);
-
 
72078
            } else { 
-
 
72079
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
72080
            }
-
 
72081
            break;
-
 
72082
          case 1: // EX
-
 
72083
            if (field.type == org.apache.thrift.protocol.TType.STRUCT) {
-
 
72084
              this.ex = new TransactionServiceException();
-
 
72085
              this.ex.read(iprot);
-
 
72086
            } else { 
-
 
72087
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
72088
            }
-
 
72089
            break;
-
 
72090
          default:
-
 
72091
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
72092
        }
-
 
72093
        iprot.readFieldEnd();
-
 
72094
      }
-
 
72095
      iprot.readStructEnd();
-
 
72096
      validate();
-
 
72097
    }
-
 
72098
 
-
 
72099
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
72100
      oprot.writeStructBegin(STRUCT_DESC);
-
 
72101
 
-
 
72102
      if (this.isSetSuccess()) {
-
 
72103
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-
 
72104
        this.success.write(oprot);
-
 
72105
        oprot.writeFieldEnd();
-
 
72106
      } else if (this.isSetEx()) {
-
 
72107
        oprot.writeFieldBegin(EX_FIELD_DESC);
-
 
72108
        this.ex.write(oprot);
-
 
72109
        oprot.writeFieldEnd();
-
 
72110
      }
-
 
72111
      oprot.writeFieldStop();
-
 
72112
      oprot.writeStructEnd();
-
 
72113
    }
-
 
72114
 
-
 
72115
    @Override
-
 
72116
    public String toString() {
-
 
72117
      StringBuilder sb = new StringBuilder("getSettlementForPaymentId_result(");
-
 
72118
      boolean first = true;
-
 
72119
 
-
 
72120
      sb.append("success:");
-
 
72121
      if (this.success == null) {
-
 
72122
        sb.append("null");
-
 
72123
      } else {
-
 
72124
        sb.append(this.success);
-
 
72125
      }
-
 
72126
      first = false;
-
 
72127
      if (!first) sb.append(", ");
-
 
72128
      sb.append("ex:");
-
 
72129
      if (this.ex == null) {
-
 
72130
        sb.append("null");
-
 
72131
      } else {
-
 
72132
        sb.append(this.ex);
-
 
72133
      }
-
 
72134
      first = false;
-
 
72135
      sb.append(")");
-
 
72136
      return sb.toString();
-
 
72137
    }
-
 
72138
 
-
 
72139
    public void validate() throws org.apache.thrift.TException {
-
 
72140
      // check for required fields
-
 
72141
    }
-
 
72142
 
-
 
72143
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
72144
      try {
-
 
72145
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
72146
      } catch (org.apache.thrift.TException te) {
-
 
72147
        throw new java.io.IOException(te);
-
 
72148
      }
-
 
72149
    }
-
 
72150
 
-
 
72151
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
72152
      try {
-
 
72153
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
72154
      } catch (org.apache.thrift.TException te) {
-
 
72155
        throw new java.io.IOException(te);
-
 
72156
      }
-
 
72157
    }
-
 
72158
 
-
 
72159
  }
-
 
72160
 
-
 
72161
  public static class getEBSSettlementSummaries_args implements org.apache.thrift.TBase<getEBSSettlementSummaries_args, getEBSSettlementSummaries_args._Fields>, java.io.Serializable, Cloneable   {
-
 
72162
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getEBSSettlementSummaries_args");
-
 
72163
 
-
 
72164
 
-
 
72165
 
-
 
72166
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
72167
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
72168
;
-
 
72169
 
-
 
72170
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
72171
 
-
 
72172
      static {
-
 
72173
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
72174
          byName.put(field.getFieldName(), field);
-
 
72175
        }
-
 
72176
      }
-
 
72177
 
-
 
72178
      /**
-
 
72179
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
72180
       */
-
 
72181
      public static _Fields findByThriftId(int fieldId) {
-
 
72182
        switch(fieldId) {
-
 
72183
          default:
-
 
72184
            return null;
-
 
72185
        }
-
 
72186
      }
-
 
72187
 
-
 
72188
      /**
-
 
72189
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
72190
       * if it is not found.
-
 
72191
       */
-
 
72192
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
72193
        _Fields fields = findByThriftId(fieldId);
-
 
72194
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
72195
        return fields;
-
 
72196
      }
-
 
72197
 
-
 
72198
      /**
-
 
72199
       * Find the _Fields constant that matches name, or null if its not found.
-
 
72200
       */
-
 
72201
      public static _Fields findByName(String name) {
-
 
72202
        return byName.get(name);
-
 
72203
      }
-
 
72204
 
-
 
72205
      private final short _thriftId;
-
 
72206
      private final String _fieldName;
-
 
72207
 
-
 
72208
      _Fields(short thriftId, String fieldName) {
-
 
72209
        _thriftId = thriftId;
-
 
72210
        _fieldName = fieldName;
-
 
72211
      }
-
 
72212
 
-
 
72213
      public short getThriftFieldId() {
-
 
72214
        return _thriftId;
-
 
72215
      }
-
 
72216
 
-
 
72217
      public String getFieldName() {
-
 
72218
        return _fieldName;
-
 
72219
      }
-
 
72220
    }
-
 
72221
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
72222
    static {
-
 
72223
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
72224
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
72225
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getEBSSettlementSummaries_args.class, metaDataMap);
-
 
72226
    }
-
 
72227
 
-
 
72228
    public getEBSSettlementSummaries_args() {
-
 
72229
    }
-
 
72230
 
-
 
72231
    /**
-
 
72232
     * Performs a deep copy on <i>other</i>.
-
 
72233
     */
-
 
72234
    public getEBSSettlementSummaries_args(getEBSSettlementSummaries_args other) {
-
 
72235
    }
-
 
72236
 
-
 
72237
    public getEBSSettlementSummaries_args deepCopy() {
-
 
72238
      return new getEBSSettlementSummaries_args(this);
-
 
72239
    }
-
 
72240
 
-
 
72241
    @Override
-
 
72242
    public void clear() {
-
 
72243
    }
-
 
72244
 
-
 
72245
    public void setFieldValue(_Fields field, Object value) {
-
 
72246
      switch (field) {
-
 
72247
      }
-
 
72248
    }
-
 
72249
 
-
 
72250
    public Object getFieldValue(_Fields field) {
-
 
72251
      switch (field) {
-
 
72252
      }
-
 
72253
      throw new IllegalStateException();
-
 
72254
    }
-
 
72255
 
-
 
72256
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
72257
    public boolean isSet(_Fields field) {
-
 
72258
      if (field == null) {
-
 
72259
        throw new IllegalArgumentException();
-
 
72260
      }
-
 
72261
 
-
 
72262
      switch (field) {
-
 
72263
      }
-
 
72264
      throw new IllegalStateException();
-
 
72265
    }
-
 
72266
 
-
 
72267
    @Override
-
 
72268
    public boolean equals(Object that) {
-
 
72269
      if (that == null)
-
 
72270
        return false;
-
 
72271
      if (that instanceof getEBSSettlementSummaries_args)
-
 
72272
        return this.equals((getEBSSettlementSummaries_args)that);
-
 
72273
      return false;
-
 
72274
    }
-
 
72275
 
-
 
72276
    public boolean equals(getEBSSettlementSummaries_args that) {
-
 
72277
      if (that == null)
-
 
72278
        return false;
-
 
72279
 
-
 
72280
      return true;
-
 
72281
    }
-
 
72282
 
-
 
72283
    @Override
-
 
72284
    public int hashCode() {
-
 
72285
      return 0;
-
 
72286
    }
-
 
72287
 
-
 
72288
    public int compareTo(getEBSSettlementSummaries_args other) {
-
 
72289
      if (!getClass().equals(other.getClass())) {
-
 
72290
        return getClass().getName().compareTo(other.getClass().getName());
-
 
72291
      }
-
 
72292
 
-
 
72293
      int lastComparison = 0;
-
 
72294
      getEBSSettlementSummaries_args typedOther = (getEBSSettlementSummaries_args)other;
-
 
72295
 
-
 
72296
      return 0;
-
 
72297
    }
-
 
72298
 
-
 
72299
    public _Fields fieldForId(int fieldId) {
-
 
72300
      return _Fields.findByThriftId(fieldId);
-
 
72301
    }
-
 
72302
 
-
 
72303
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
72304
      org.apache.thrift.protocol.TField field;
-
 
72305
      iprot.readStructBegin();
-
 
72306
      while (true)
-
 
72307
      {
-
 
72308
        field = iprot.readFieldBegin();
-
 
72309
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
72310
          break;
-
 
72311
        }
-
 
72312
        switch (field.id) {
-
 
72313
          default:
-
 
72314
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
72315
        }
-
 
72316
        iprot.readFieldEnd();
-
 
72317
      }
-
 
72318
      iprot.readStructEnd();
-
 
72319
      validate();
-
 
72320
    }
-
 
72321
 
-
 
72322
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
72323
      validate();
-
 
72324
 
-
 
72325
      oprot.writeStructBegin(STRUCT_DESC);
-
 
72326
      oprot.writeFieldStop();
-
 
72327
      oprot.writeStructEnd();
-
 
72328
    }
-
 
72329
 
-
 
72330
    @Override
-
 
72331
    public String toString() {
-
 
72332
      StringBuilder sb = new StringBuilder("getEBSSettlementSummaries_args(");
-
 
72333
      boolean first = true;
-
 
72334
 
-
 
72335
      sb.append(")");
-
 
72336
      return sb.toString();
-
 
72337
    }
-
 
72338
 
-
 
72339
    public void validate() throws org.apache.thrift.TException {
-
 
72340
      // check for required fields
-
 
72341
    }
-
 
72342
 
-
 
72343
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
72344
      try {
-
 
72345
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
72346
      } catch (org.apache.thrift.TException te) {
-
 
72347
        throw new java.io.IOException(te);
-
 
72348
      }
-
 
72349
    }
-
 
72350
 
-
 
72351
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
72352
      try {
-
 
72353
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
72354
      } catch (org.apache.thrift.TException te) {
-
 
72355
        throw new java.io.IOException(te);
-
 
72356
      }
-
 
72357
    }
-
 
72358
 
-
 
72359
  }
-
 
72360
 
-
 
72361
  public static class getEBSSettlementSummaries_result implements org.apache.thrift.TBase<getEBSSettlementSummaries_result, getEBSSettlementSummaries_result._Fields>, java.io.Serializable, Cloneable   {
-
 
72362
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getEBSSettlementSummaries_result");
-
 
72363
 
-
 
72364
    private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.MAP, (short)0);
-
 
72365
    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);
-
 
72366
 
-
 
72367
    private Map<Long,String> success; // required
-
 
72368
    private TransactionServiceException ex; // required
-
 
72369
 
-
 
72370
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
72371
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
72372
      SUCCESS((short)0, "success"),
-
 
72373
      EX((short)1, "ex");
-
 
72374
 
-
 
72375
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
72376
 
-
 
72377
      static {
-
 
72378
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
72379
          byName.put(field.getFieldName(), field);
-
 
72380
        }
-
 
72381
      }
-
 
72382
 
-
 
72383
      /**
-
 
72384
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
72385
       */
-
 
72386
      public static _Fields findByThriftId(int fieldId) {
-
 
72387
        switch(fieldId) {
-
 
72388
          case 0: // SUCCESS
-
 
72389
            return SUCCESS;
-
 
72390
          case 1: // EX
-
 
72391
            return EX;
-
 
72392
          default:
-
 
72393
            return null;
-
 
72394
        }
-
 
72395
      }
-
 
72396
 
-
 
72397
      /**
-
 
72398
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
72399
       * if it is not found.
-
 
72400
       */
-
 
72401
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
72402
        _Fields fields = findByThriftId(fieldId);
-
 
72403
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
72404
        return fields;
-
 
72405
      }
-
 
72406
 
-
 
72407
      /**
-
 
72408
       * Find the _Fields constant that matches name, or null if its not found.
-
 
72409
       */
-
 
72410
      public static _Fields findByName(String name) {
-
 
72411
        return byName.get(name);
-
 
72412
      }
-
 
72413
 
-
 
72414
      private final short _thriftId;
-
 
72415
      private final String _fieldName;
-
 
72416
 
-
 
72417
      _Fields(short thriftId, String fieldName) {
-
 
72418
        _thriftId = thriftId;
-
 
72419
        _fieldName = fieldName;
-
 
72420
      }
-
 
72421
 
-
 
72422
      public short getThriftFieldId() {
-
 
72423
        return _thriftId;
-
 
72424
      }
-
 
72425
 
-
 
72426
      public String getFieldName() {
-
 
72427
        return _fieldName;
-
 
72428
      }
-
 
72429
    }
-
 
72430
 
-
 
72431
    // isset id assignments
-
 
72432
 
-
 
72433
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
72434
    static {
-
 
72435
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
72436
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
72437
          new org.apache.thrift.meta_data.MapMetaData(org.apache.thrift.protocol.TType.MAP, 
-
 
72438
              new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64), 
-
 
72439
              new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))));
-
 
72440
      tmpMap.put(_Fields.EX, new org.apache.thrift.meta_data.FieldMetaData("ex", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
72441
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT)));
-
 
72442
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
72443
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getEBSSettlementSummaries_result.class, metaDataMap);
-
 
72444
    }
-
 
72445
 
-
 
72446
    public getEBSSettlementSummaries_result() {
-
 
72447
    }
-
 
72448
 
-
 
72449
    public getEBSSettlementSummaries_result(
-
 
72450
      Map<Long,String> success,
-
 
72451
      TransactionServiceException ex)
-
 
72452
    {
-
 
72453
      this();
-
 
72454
      this.success = success;
-
 
72455
      this.ex = ex;
-
 
72456
    }
-
 
72457
 
-
 
72458
    /**
-
 
72459
     * Performs a deep copy on <i>other</i>.
-
 
72460
     */
-
 
72461
    public getEBSSettlementSummaries_result(getEBSSettlementSummaries_result other) {
-
 
72462
      if (other.isSetSuccess()) {
-
 
72463
        Map<Long,String> __this__success = new HashMap<Long,String>();
-
 
72464
        for (Map.Entry<Long, String> other_element : other.success.entrySet()) {
-
 
72465
 
-
 
72466
          Long other_element_key = other_element.getKey();
-
 
72467
          String other_element_value = other_element.getValue();
-
 
72468
 
-
 
72469
          Long __this__success_copy_key = other_element_key;
-
 
72470
 
-
 
72471
          String __this__success_copy_value = other_element_value;
-
 
72472
 
-
 
72473
          __this__success.put(__this__success_copy_key, __this__success_copy_value);
-
 
72474
        }
-
 
72475
        this.success = __this__success;
-
 
72476
      }
-
 
72477
      if (other.isSetEx()) {
-
 
72478
        this.ex = new TransactionServiceException(other.ex);
-
 
72479
      }
-
 
72480
    }
-
 
72481
 
-
 
72482
    public getEBSSettlementSummaries_result deepCopy() {
-
 
72483
      return new getEBSSettlementSummaries_result(this);
-
 
72484
    }
-
 
72485
 
-
 
72486
    @Override
-
 
72487
    public void clear() {
-
 
72488
      this.success = null;
-
 
72489
      this.ex = null;
-
 
72490
    }
-
 
72491
 
-
 
72492
    public int getSuccessSize() {
-
 
72493
      return (this.success == null) ? 0 : this.success.size();
-
 
72494
    }
-
 
72495
 
-
 
72496
    public void putToSuccess(long key, String val) {
-
 
72497
      if (this.success == null) {
-
 
72498
        this.success = new HashMap<Long,String>();
-
 
72499
      }
-
 
72500
      this.success.put(key, val);
-
 
72501
    }
-
 
72502
 
-
 
72503
    public Map<Long,String> getSuccess() {
-
 
72504
      return this.success;
-
 
72505
    }
-
 
72506
 
-
 
72507
    public void setSuccess(Map<Long,String> success) {
-
 
72508
      this.success = success;
-
 
72509
    }
-
 
72510
 
-
 
72511
    public void unsetSuccess() {
-
 
72512
      this.success = null;
-
 
72513
    }
-
 
72514
 
-
 
72515
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
-
 
72516
    public boolean isSetSuccess() {
-
 
72517
      return this.success != null;
-
 
72518
    }
-
 
72519
 
-
 
72520
    public void setSuccessIsSet(boolean value) {
-
 
72521
      if (!value) {
-
 
72522
        this.success = null;
-
 
72523
      }
-
 
72524
    }
-
 
72525
 
-
 
72526
    public TransactionServiceException getEx() {
-
 
72527
      return this.ex;
-
 
72528
    }
-
 
72529
 
-
 
72530
    public void setEx(TransactionServiceException ex) {
-
 
72531
      this.ex = ex;
-
 
72532
    }
-
 
72533
 
-
 
72534
    public void unsetEx() {
-
 
72535
      this.ex = null;
-
 
72536
    }
-
 
72537
 
-
 
72538
    /** Returns true if field ex is set (has been assigned a value) and false otherwise */
-
 
72539
    public boolean isSetEx() {
-
 
72540
      return this.ex != null;
-
 
72541
    }
-
 
72542
 
-
 
72543
    public void setExIsSet(boolean value) {
-
 
72544
      if (!value) {
-
 
72545
        this.ex = null;
-
 
72546
      }
-
 
72547
    }
-
 
72548
 
-
 
72549
    public void setFieldValue(_Fields field, Object value) {
-
 
72550
      switch (field) {
-
 
72551
      case SUCCESS:
-
 
72552
        if (value == null) {
-
 
72553
          unsetSuccess();
-
 
72554
        } else {
-
 
72555
          setSuccess((Map<Long,String>)value);
-
 
72556
        }
-
 
72557
        break;
-
 
72558
 
-
 
72559
      case EX:
-
 
72560
        if (value == null) {
-
 
72561
          unsetEx();
-
 
72562
        } else {
-
 
72563
          setEx((TransactionServiceException)value);
-
 
72564
        }
-
 
72565
        break;
-
 
72566
 
-
 
72567
      }
-
 
72568
    }
-
 
72569
 
-
 
72570
    public Object getFieldValue(_Fields field) {
-
 
72571
      switch (field) {
-
 
72572
      case SUCCESS:
-
 
72573
        return getSuccess();
-
 
72574
 
-
 
72575
      case EX:
-
 
72576
        return getEx();
-
 
72577
 
-
 
72578
      }
-
 
72579
      throw new IllegalStateException();
-
 
72580
    }
-
 
72581
 
-
 
72582
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
72583
    public boolean isSet(_Fields field) {
-
 
72584
      if (field == null) {
-
 
72585
        throw new IllegalArgumentException();
-
 
72586
      }
-
 
72587
 
-
 
72588
      switch (field) {
-
 
72589
      case SUCCESS:
-
 
72590
        return isSetSuccess();
-
 
72591
      case EX:
-
 
72592
        return isSetEx();
-
 
72593
      }
-
 
72594
      throw new IllegalStateException();
-
 
72595
    }
-
 
72596
 
-
 
72597
    @Override
-
 
72598
    public boolean equals(Object that) {
-
 
72599
      if (that == null)
-
 
72600
        return false;
-
 
72601
      if (that instanceof getEBSSettlementSummaries_result)
-
 
72602
        return this.equals((getEBSSettlementSummaries_result)that);
-
 
72603
      return false;
-
 
72604
    }
-
 
72605
 
-
 
72606
    public boolean equals(getEBSSettlementSummaries_result that) {
-
 
72607
      if (that == null)
-
 
72608
        return false;
-
 
72609
 
-
 
72610
      boolean this_present_success = true && this.isSetSuccess();
-
 
72611
      boolean that_present_success = true && that.isSetSuccess();
-
 
72612
      if (this_present_success || that_present_success) {
-
 
72613
        if (!(this_present_success && that_present_success))
-
 
72614
          return false;
-
 
72615
        if (!this.success.equals(that.success))
-
 
72616
          return false;
-
 
72617
      }
-
 
72618
 
-
 
72619
      boolean this_present_ex = true && this.isSetEx();
-
 
72620
      boolean that_present_ex = true && that.isSetEx();
-
 
72621
      if (this_present_ex || that_present_ex) {
-
 
72622
        if (!(this_present_ex && that_present_ex))
-
 
72623
          return false;
-
 
72624
        if (!this.ex.equals(that.ex))
-
 
72625
          return false;
-
 
72626
      }
-
 
72627
 
-
 
72628
      return true;
-
 
72629
    }
-
 
72630
 
-
 
72631
    @Override
-
 
72632
    public int hashCode() {
-
 
72633
      return 0;
-
 
72634
    }
-
 
72635
 
-
 
72636
    public int compareTo(getEBSSettlementSummaries_result other) {
-
 
72637
      if (!getClass().equals(other.getClass())) {
-
 
72638
        return getClass().getName().compareTo(other.getClass().getName());
-
 
72639
      }
-
 
72640
 
-
 
72641
      int lastComparison = 0;
-
 
72642
      getEBSSettlementSummaries_result typedOther = (getEBSSettlementSummaries_result)other;
-
 
72643
 
-
 
72644
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
-
 
72645
      if (lastComparison != 0) {
-
 
72646
        return lastComparison;
-
 
72647
      }
-
 
72648
      if (isSetSuccess()) {
-
 
72649
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
-
 
72650
        if (lastComparison != 0) {
-
 
72651
          return lastComparison;
-
 
72652
        }
-
 
72653
      }
-
 
72654
      lastComparison = Boolean.valueOf(isSetEx()).compareTo(typedOther.isSetEx());
-
 
72655
      if (lastComparison != 0) {
-
 
72656
        return lastComparison;
-
 
72657
      }
-
 
72658
      if (isSetEx()) {
-
 
72659
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.ex, typedOther.ex);
-
 
72660
        if (lastComparison != 0) {
-
 
72661
          return lastComparison;
-
 
72662
        }
-
 
72663
      }
-
 
72664
      return 0;
-
 
72665
    }
-
 
72666
 
-
 
72667
    public _Fields fieldForId(int fieldId) {
-
 
72668
      return _Fields.findByThriftId(fieldId);
-
 
72669
    }
-
 
72670
 
-
 
72671
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
72672
      org.apache.thrift.protocol.TField field;
-
 
72673
      iprot.readStructBegin();
-
 
72674
      while (true)
-
 
72675
      {
-
 
72676
        field = iprot.readFieldBegin();
-
 
72677
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
72678
          break;
-
 
72679
        }
-
 
72680
        switch (field.id) {
-
 
72681
          case 0: // SUCCESS
-
 
72682
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
-
 
72683
              {
-
 
72684
                org.apache.thrift.protocol.TMap _map174 = iprot.readMapBegin();
-
 
72685
                this.success = new HashMap<Long,String>(2*_map174.size);
-
 
72686
                for (int _i175 = 0; _i175 < _map174.size; ++_i175)
-
 
72687
                {
-
 
72688
                  long _key176; // required
-
 
72689
                  String _val177; // required
-
 
72690
                  _key176 = iprot.readI64();
-
 
72691
                  _val177 = iprot.readString();
-
 
72692
                  this.success.put(_key176, _val177);
-
 
72693
                }
-
 
72694
                iprot.readMapEnd();
-
 
72695
              }
-
 
72696
            } else { 
-
 
72697
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
72698
            }
-
 
72699
            break;
-
 
72700
          case 1: // EX
-
 
72701
            if (field.type == org.apache.thrift.protocol.TType.STRUCT) {
-
 
72702
              this.ex = new TransactionServiceException();
-
 
72703
              this.ex.read(iprot);
-
 
72704
            } else { 
-
 
72705
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
72706
            }
-
 
72707
            break;
-
 
72708
          default:
-
 
72709
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
72710
        }
-
 
72711
        iprot.readFieldEnd();
-
 
72712
      }
-
 
72713
      iprot.readStructEnd();
-
 
72714
      validate();
-
 
72715
    }
-
 
72716
 
-
 
72717
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
72718
      oprot.writeStructBegin(STRUCT_DESC);
-
 
72719
 
-
 
72720
      if (this.isSetSuccess()) {
-
 
72721
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-
 
72722
        {
-
 
72723
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.STRING, this.success.size()));
-
 
72724
          for (Map.Entry<Long, String> _iter178 : this.success.entrySet())
-
 
72725
          {
-
 
72726
            oprot.writeI64(_iter178.getKey());
-
 
72727
            oprot.writeString(_iter178.getValue());
-
 
72728
          }
-
 
72729
          oprot.writeMapEnd();
-
 
72730
        }
-
 
72731
        oprot.writeFieldEnd();
-
 
72732
      } else if (this.isSetEx()) {
-
 
72733
        oprot.writeFieldBegin(EX_FIELD_DESC);
-
 
72734
        this.ex.write(oprot);
-
 
72735
        oprot.writeFieldEnd();
-
 
72736
      }
-
 
72737
      oprot.writeFieldStop();
-
 
72738
      oprot.writeStructEnd();
-
 
72739
    }
-
 
72740
 
-
 
72741
    @Override
-
 
72742
    public String toString() {
-
 
72743
      StringBuilder sb = new StringBuilder("getEBSSettlementSummaries_result(");
-
 
72744
      boolean first = true;
-
 
72745
 
-
 
72746
      sb.append("success:");
-
 
72747
      if (this.success == null) {
-
 
72748
        sb.append("null");
-
 
72749
      } else {
-
 
72750
        sb.append(this.success);
-
 
72751
      }
-
 
72752
      first = false;
-
 
72753
      if (!first) sb.append(", ");
-
 
72754
      sb.append("ex:");
-
 
72755
      if (this.ex == null) {
-
 
72756
        sb.append("null");
-
 
72757
      } else {
-
 
72758
        sb.append(this.ex);
-
 
72759
      }
-
 
72760
      first = false;
-
 
72761
      sb.append(")");
-
 
72762
      return sb.toString();
-
 
72763
    }
-
 
72764
 
-
 
72765
    public void validate() throws org.apache.thrift.TException {
-
 
72766
      // check for required fields
-
 
72767
    }
-
 
72768
 
-
 
72769
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
72770
      try {
-
 
72771
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
72772
      } catch (org.apache.thrift.TException te) {
-
 
72773
        throw new java.io.IOException(te);
-
 
72774
      }
-
 
72775
    }
-
 
72776
 
-
 
72777
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
72778
      try {
-
 
72779
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
72780
      } catch (org.apache.thrift.TException te) {
-
 
72781
        throw new java.io.IOException(te);
-
 
72782
      }
-
 
72783
    }
-
 
72784
 
-
 
72785
  }
-
 
72786
 
-
 
72787
  public static class markEBSSettlementUploaded_args implements org.apache.thrift.TBase<markEBSSettlementUploaded_args, markEBSSettlementUploaded_args._Fields>, java.io.Serializable, Cloneable   {
-
 
72788
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("markEBSSettlementUploaded_args");
-
 
72789
 
-
 
72790
    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);
-
 
72791
 
-
 
72792
    private long settlementId; // required
-
 
72793
 
-
 
72794
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
72795
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
72796
      SETTLEMENT_ID((short)1, "settlementId");
-
 
72797
 
-
 
72798
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
72799
 
-
 
72800
      static {
-
 
72801
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
72802
          byName.put(field.getFieldName(), field);
-
 
72803
        }
-
 
72804
      }
-
 
72805
 
-
 
72806
      /**
-
 
72807
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
72808
       */
-
 
72809
      public static _Fields findByThriftId(int fieldId) {
-
 
72810
        switch(fieldId) {
-
 
72811
          case 1: // SETTLEMENT_ID
-
 
72812
            return SETTLEMENT_ID;
-
 
72813
          default:
-
 
72814
            return null;
-
 
72815
        }
-
 
72816
      }
-
 
72817
 
-
 
72818
      /**
-
 
72819
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
72820
       * if it is not found.
-
 
72821
       */
-
 
72822
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
72823
        _Fields fields = findByThriftId(fieldId);
-
 
72824
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
72825
        return fields;
-
 
72826
      }
-
 
72827
 
-
 
72828
      /**
-
 
72829
       * Find the _Fields constant that matches name, or null if its not found.
-
 
72830
       */
-
 
72831
      public static _Fields findByName(String name) {
-
 
72832
        return byName.get(name);
-
 
72833
      }
-
 
72834
 
-
 
72835
      private final short _thriftId;
-
 
72836
      private final String _fieldName;
-
 
72837
 
-
 
72838
      _Fields(short thriftId, String fieldName) {
-
 
72839
        _thriftId = thriftId;
-
 
72840
        _fieldName = fieldName;
-
 
72841
      }
-
 
72842
 
-
 
72843
      public short getThriftFieldId() {
-
 
72844
        return _thriftId;
-
 
72845
      }
-
 
72846
 
-
 
72847
      public String getFieldName() {
-
 
72848
        return _fieldName;
-
 
72849
      }
-
 
72850
    }
-
 
72851
 
-
 
72852
    // isset id assignments
-
 
72853
    private static final int __SETTLEMENTID_ISSET_ID = 0;
-
 
72854
    private BitSet __isset_bit_vector = new BitSet(1);
-
 
72855
 
-
 
72856
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
72857
    static {
-
 
72858
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
72859
      tmpMap.put(_Fields.SETTLEMENT_ID, new org.apache.thrift.meta_data.FieldMetaData("settlementId", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
72860
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
72861
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
72862
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(markEBSSettlementUploaded_args.class, metaDataMap);
-
 
72863
    }
-
 
72864
 
-
 
72865
    public markEBSSettlementUploaded_args() {
-
 
72866
    }
-
 
72867
 
-
 
72868
    public markEBSSettlementUploaded_args(
-
 
72869
      long settlementId)
-
 
72870
    {
-
 
72871
      this();
-
 
72872
      this.settlementId = settlementId;
-
 
72873
      setSettlementIdIsSet(true);
-
 
72874
    }
-
 
72875
 
-
 
72876
    /**
-
 
72877
     * Performs a deep copy on <i>other</i>.
-
 
72878
     */
-
 
72879
    public markEBSSettlementUploaded_args(markEBSSettlementUploaded_args other) {
-
 
72880
      __isset_bit_vector.clear();
-
 
72881
      __isset_bit_vector.or(other.__isset_bit_vector);
-
 
72882
      this.settlementId = other.settlementId;
-
 
72883
    }
-
 
72884
 
-
 
72885
    public markEBSSettlementUploaded_args deepCopy() {
-
 
72886
      return new markEBSSettlementUploaded_args(this);
-
 
72887
    }
-
 
72888
 
-
 
72889
    @Override
-
 
72890
    public void clear() {
-
 
72891
      setSettlementIdIsSet(false);
-
 
72892
      this.settlementId = 0;
-
 
72893
    }
-
 
72894
 
-
 
72895
    public long getSettlementId() {
-
 
72896
      return this.settlementId;
-
 
72897
    }
-
 
72898
 
-
 
72899
    public void setSettlementId(long settlementId) {
-
 
72900
      this.settlementId = settlementId;
-
 
72901
      setSettlementIdIsSet(true);
-
 
72902
    }
-
 
72903
 
-
 
72904
    public void unsetSettlementId() {
-
 
72905
      __isset_bit_vector.clear(__SETTLEMENTID_ISSET_ID);
-
 
72906
    }
-
 
72907
 
-
 
72908
    /** Returns true if field settlementId is set (has been assigned a value) and false otherwise */
-
 
72909
    public boolean isSetSettlementId() {
-
 
72910
      return __isset_bit_vector.get(__SETTLEMENTID_ISSET_ID);
-
 
72911
    }
-
 
72912
 
-
 
72913
    public void setSettlementIdIsSet(boolean value) {
-
 
72914
      __isset_bit_vector.set(__SETTLEMENTID_ISSET_ID, value);
-
 
72915
    }
-
 
72916
 
-
 
72917
    public void setFieldValue(_Fields field, Object value) {
-
 
72918
      switch (field) {
-
 
72919
      case SETTLEMENT_ID:
-
 
72920
        if (value == null) {
-
 
72921
          unsetSettlementId();
-
 
72922
        } else {
-
 
72923
          setSettlementId((Long)value);
-
 
72924
        }
-
 
72925
        break;
-
 
72926
 
-
 
72927
      }
-
 
72928
    }
-
 
72929
 
-
 
72930
    public Object getFieldValue(_Fields field) {
-
 
72931
      switch (field) {
-
 
72932
      case SETTLEMENT_ID:
-
 
72933
        return Long.valueOf(getSettlementId());
-
 
72934
 
-
 
72935
      }
-
 
72936
      throw new IllegalStateException();
-
 
72937
    }
-
 
72938
 
-
 
72939
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
72940
    public boolean isSet(_Fields field) {
-
 
72941
      if (field == null) {
-
 
72942
        throw new IllegalArgumentException();
-
 
72943
      }
-
 
72944
 
-
 
72945
      switch (field) {
-
 
72946
      case SETTLEMENT_ID:
-
 
72947
        return isSetSettlementId();
-
 
72948
      }
-
 
72949
      throw new IllegalStateException();
-
 
72950
    }
-
 
72951
 
-
 
72952
    @Override
-
 
72953
    public boolean equals(Object that) {
-
 
72954
      if (that == null)
-
 
72955
        return false;
-
 
72956
      if (that instanceof markEBSSettlementUploaded_args)
-
 
72957
        return this.equals((markEBSSettlementUploaded_args)that);
-
 
72958
      return false;
-
 
72959
    }
-
 
72960
 
-
 
72961
    public boolean equals(markEBSSettlementUploaded_args that) {
-
 
72962
      if (that == null)
-
 
72963
        return false;
-
 
72964
 
-
 
72965
      boolean this_present_settlementId = true;
-
 
72966
      boolean that_present_settlementId = true;
-
 
72967
      if (this_present_settlementId || that_present_settlementId) {
-
 
72968
        if (!(this_present_settlementId && that_present_settlementId))
-
 
72969
          return false;
-
 
72970
        if (this.settlementId != that.settlementId)
-
 
72971
          return false;
-
 
72972
      }
-
 
72973
 
-
 
72974
      return true;
-
 
72975
    }
-
 
72976
 
-
 
72977
    @Override
-
 
72978
    public int hashCode() {
-
 
72979
      return 0;
-
 
72980
    }
-
 
72981
 
-
 
72982
    public int compareTo(markEBSSettlementUploaded_args other) {
-
 
72983
      if (!getClass().equals(other.getClass())) {
-
 
72984
        return getClass().getName().compareTo(other.getClass().getName());
-
 
72985
      }
-
 
72986
 
-
 
72987
      int lastComparison = 0;
-
 
72988
      markEBSSettlementUploaded_args typedOther = (markEBSSettlementUploaded_args)other;
-
 
72989
 
-
 
72990
      lastComparison = Boolean.valueOf(isSetSettlementId()).compareTo(typedOther.isSetSettlementId());
-
 
72991
      if (lastComparison != 0) {
-
 
72992
        return lastComparison;
-
 
72993
      }
-
 
72994
      if (isSetSettlementId()) {
-
 
72995
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.settlementId, typedOther.settlementId);
-
 
72996
        if (lastComparison != 0) {
-
 
72997
          return lastComparison;
-
 
72998
        }
-
 
72999
      }
-
 
73000
      return 0;
-
 
73001
    }
-
 
73002
 
-
 
73003
    public _Fields fieldForId(int fieldId) {
-
 
73004
      return _Fields.findByThriftId(fieldId);
-
 
73005
    }
-
 
73006
 
-
 
73007
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
73008
      org.apache.thrift.protocol.TField field;
-
 
73009
      iprot.readStructBegin();
-
 
73010
      while (true)
-
 
73011
      {
-
 
73012
        field = iprot.readFieldBegin();
-
 
73013
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
73014
          break;
-
 
73015
        }
-
 
73016
        switch (field.id) {
-
 
73017
          case 1: // SETTLEMENT_ID
-
 
73018
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
73019
              this.settlementId = iprot.readI64();
-
 
73020
              setSettlementIdIsSet(true);
-
 
73021
            } else { 
-
 
73022
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
73023
            }
-
 
73024
            break;
-
 
73025
          default:
-
 
73026
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
73027
        }
-
 
73028
        iprot.readFieldEnd();
-
 
73029
      }
-
 
73030
      iprot.readStructEnd();
-
 
73031
      validate();
-
 
73032
    }
-
 
73033
 
-
 
73034
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
73035
      validate();
-
 
73036
 
-
 
73037
      oprot.writeStructBegin(STRUCT_DESC);
-
 
73038
      oprot.writeFieldBegin(SETTLEMENT_ID_FIELD_DESC);
-
 
73039
      oprot.writeI64(this.settlementId);
-
 
73040
      oprot.writeFieldEnd();
-
 
73041
      oprot.writeFieldStop();
-
 
73042
      oprot.writeStructEnd();
-
 
73043
    }
-
 
73044
 
-
 
73045
    @Override
-
 
73046
    public String toString() {
-
 
73047
      StringBuilder sb = new StringBuilder("markEBSSettlementUploaded_args(");
-
 
73048
      boolean first = true;
-
 
73049
 
-
 
73050
      sb.append("settlementId:");
-
 
73051
      sb.append(this.settlementId);
-
 
73052
      first = false;
-
 
73053
      sb.append(")");
-
 
73054
      return sb.toString();
-
 
73055
    }
-
 
73056
 
-
 
73057
    public void validate() throws org.apache.thrift.TException {
-
 
73058
      // check for required fields
-
 
73059
    }
-
 
73060
 
-
 
73061
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
73062
      try {
-
 
73063
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
73064
      } catch (org.apache.thrift.TException te) {
-
 
73065
        throw new java.io.IOException(te);
-
 
73066
      }
-
 
73067
    }
-
 
73068
 
-
 
73069
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
73070
      try {
-
 
73071
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
73072
        __isset_bit_vector = new BitSet(1);
-
 
73073
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
73074
      } catch (org.apache.thrift.TException te) {
-
 
73075
        throw new java.io.IOException(te);
-
 
73076
      }
-
 
73077
    }
-
 
73078
 
-
 
73079
  }
-
 
73080
 
-
 
73081
  public static class markEBSSettlementUploaded_result implements org.apache.thrift.TBase<markEBSSettlementUploaded_result, markEBSSettlementUploaded_result._Fields>, java.io.Serializable, Cloneable   {
-
 
73082
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("markEBSSettlementUploaded_result");
-
 
73083
 
-
 
73084
    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);
-
 
73085
 
-
 
73086
    private TransactionServiceException ex; // required
-
 
73087
 
-
 
73088
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
73089
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
73090
      EX((short)1, "ex");
-
 
73091
 
-
 
73092
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
73093
 
-
 
73094
      static {
-
 
73095
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
73096
          byName.put(field.getFieldName(), field);
-
 
73097
        }
-
 
73098
      }
-
 
73099
 
-
 
73100
      /**
-
 
73101
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
73102
       */
-
 
73103
      public static _Fields findByThriftId(int fieldId) {
-
 
73104
        switch(fieldId) {
-
 
73105
          case 1: // EX
-
 
73106
            return EX;
-
 
73107
          default:
-
 
73108
            return null;
-
 
73109
        }
-
 
73110
      }
-
 
73111
 
-
 
73112
      /**
-
 
73113
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
73114
       * if it is not found.
-
 
73115
       */
-
 
73116
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
73117
        _Fields fields = findByThriftId(fieldId);
-
 
73118
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
73119
        return fields;
-
 
73120
      }
-
 
73121
 
-
 
73122
      /**
-
 
73123
       * Find the _Fields constant that matches name, or null if its not found.
-
 
73124
       */
-
 
73125
      public static _Fields findByName(String name) {
-
 
73126
        return byName.get(name);
-
 
73127
      }
-
 
73128
 
-
 
73129
      private final short _thriftId;
-
 
73130
      private final String _fieldName;
-
 
73131
 
-
 
73132
      _Fields(short thriftId, String fieldName) {
-
 
73133
        _thriftId = thriftId;
-
 
73134
        _fieldName = fieldName;
-
 
73135
      }
-
 
73136
 
-
 
73137
      public short getThriftFieldId() {
-
 
73138
        return _thriftId;
-
 
73139
      }
-
 
73140
 
-
 
73141
      public String getFieldName() {
-
 
73142
        return _fieldName;
-
 
73143
      }
-
 
73144
    }
-
 
73145
 
-
 
73146
    // isset id assignments
-
 
73147
 
-
 
73148
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
73149
    static {
-
 
73150
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
73151
      tmpMap.put(_Fields.EX, new org.apache.thrift.meta_data.FieldMetaData("ex", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
73152
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT)));
-
 
73153
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
73154
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(markEBSSettlementUploaded_result.class, metaDataMap);
-
 
73155
    }
-
 
73156
 
-
 
73157
    public markEBSSettlementUploaded_result() {
-
 
73158
    }
-
 
73159
 
-
 
73160
    public markEBSSettlementUploaded_result(
-
 
73161
      TransactionServiceException ex)
-
 
73162
    {
-
 
73163
      this();
-
 
73164
      this.ex = ex;
-
 
73165
    }
-
 
73166
 
-
 
73167
    /**
-
 
73168
     * Performs a deep copy on <i>other</i>.
-
 
73169
     */
-
 
73170
    public markEBSSettlementUploaded_result(markEBSSettlementUploaded_result other) {
-
 
73171
      if (other.isSetEx()) {
-
 
73172
        this.ex = new TransactionServiceException(other.ex);
-
 
73173
      }
-
 
73174
    }
-
 
73175
 
-
 
73176
    public markEBSSettlementUploaded_result deepCopy() {
-
 
73177
      return new markEBSSettlementUploaded_result(this);
-
 
73178
    }
-
 
73179
 
-
 
73180
    @Override
-
 
73181
    public void clear() {
-
 
73182
      this.ex = null;
-
 
73183
    }
-
 
73184
 
-
 
73185
    public TransactionServiceException getEx() {
-
 
73186
      return this.ex;
-
 
73187
    }
-
 
73188
 
-
 
73189
    public void setEx(TransactionServiceException ex) {
-
 
73190
      this.ex = ex;
-
 
73191
    }
-
 
73192
 
-
 
73193
    public void unsetEx() {
-
 
73194
      this.ex = null;
-
 
73195
    }
-
 
73196
 
-
 
73197
    /** Returns true if field ex is set (has been assigned a value) and false otherwise */
-
 
73198
    public boolean isSetEx() {
-
 
73199
      return this.ex != null;
-
 
73200
    }
-
 
73201
 
-
 
73202
    public void setExIsSet(boolean value) {
-
 
73203
      if (!value) {
-
 
73204
        this.ex = null;
-
 
73205
      }
-
 
73206
    }
-
 
73207
 
-
 
73208
    public void setFieldValue(_Fields field, Object value) {
-
 
73209
      switch (field) {
-
 
73210
      case EX:
-
 
73211
        if (value == null) {
-
 
73212
          unsetEx();
-
 
73213
        } else {
-
 
73214
          setEx((TransactionServiceException)value);
-
 
73215
        }
-
 
73216
        break;
-
 
73217
 
-
 
73218
      }
-
 
73219
    }
-
 
73220
 
-
 
73221
    public Object getFieldValue(_Fields field) {
-
 
73222
      switch (field) {
-
 
73223
      case EX:
-
 
73224
        return getEx();
-
 
73225
 
-
 
73226
      }
-
 
73227
      throw new IllegalStateException();
-
 
73228
    }
-
 
73229
 
-
 
73230
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
73231
    public boolean isSet(_Fields field) {
-
 
73232
      if (field == null) {
-
 
73233
        throw new IllegalArgumentException();
-
 
73234
      }
-
 
73235
 
-
 
73236
      switch (field) {
-
 
73237
      case EX:
-
 
73238
        return isSetEx();
-
 
73239
      }
-
 
73240
      throw new IllegalStateException();
-
 
73241
    }
-
 
73242
 
-
 
73243
    @Override
-
 
73244
    public boolean equals(Object that) {
-
 
73245
      if (that == null)
-
 
73246
        return false;
-
 
73247
      if (that instanceof markEBSSettlementUploaded_result)
-
 
73248
        return this.equals((markEBSSettlementUploaded_result)that);
-
 
73249
      return false;
-
 
73250
    }
-
 
73251
 
-
 
73252
    public boolean equals(markEBSSettlementUploaded_result that) {
-
 
73253
      if (that == null)
-
 
73254
        return false;
-
 
73255
 
-
 
73256
      boolean this_present_ex = true && this.isSetEx();
-
 
73257
      boolean that_present_ex = true && that.isSetEx();
-
 
73258
      if (this_present_ex || that_present_ex) {
-
 
73259
        if (!(this_present_ex && that_present_ex))
-
 
73260
          return false;
-
 
73261
        if (!this.ex.equals(that.ex))
-
 
73262
          return false;
-
 
73263
      }
-
 
73264
 
-
 
73265
      return true;
-
 
73266
    }
-
 
73267
 
-
 
73268
    @Override
-
 
73269
    public int hashCode() {
-
 
73270
      return 0;
-
 
73271
    }
-
 
73272
 
-
 
73273
    public int compareTo(markEBSSettlementUploaded_result other) {
-
 
73274
      if (!getClass().equals(other.getClass())) {
-
 
73275
        return getClass().getName().compareTo(other.getClass().getName());
-
 
73276
      }
-
 
73277
 
-
 
73278
      int lastComparison = 0;
-
 
73279
      markEBSSettlementUploaded_result typedOther = (markEBSSettlementUploaded_result)other;
-
 
73280
 
-
 
73281
      lastComparison = Boolean.valueOf(isSetEx()).compareTo(typedOther.isSetEx());
-
 
73282
      if (lastComparison != 0) {
-
 
73283
        return lastComparison;
-
 
73284
      }
-
 
73285
      if (isSetEx()) {
-
 
73286
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.ex, typedOther.ex);
-
 
73287
        if (lastComparison != 0) {
-
 
73288
          return lastComparison;
-
 
73289
        }
-
 
73290
      }
-
 
73291
      return 0;
-
 
73292
    }
-
 
73293
 
-
 
73294
    public _Fields fieldForId(int fieldId) {
-
 
73295
      return _Fields.findByThriftId(fieldId);
-
 
73296
    }
-
 
73297
 
-
 
73298
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
73299
      org.apache.thrift.protocol.TField field;
-
 
73300
      iprot.readStructBegin();
-
 
73301
      while (true)
-
 
73302
      {
-
 
73303
        field = iprot.readFieldBegin();
-
 
73304
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
73305
          break;
-
 
73306
        }
-
 
73307
        switch (field.id) {
-
 
73308
          case 1: // EX
-
 
73309
            if (field.type == org.apache.thrift.protocol.TType.STRUCT) {
-
 
73310
              this.ex = new TransactionServiceException();
-
 
73311
              this.ex.read(iprot);
-
 
73312
            } else { 
-
 
73313
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
73314
            }
-
 
73315
            break;
-
 
73316
          default:
-
 
73317
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
73318
        }
-
 
73319
        iprot.readFieldEnd();
-
 
73320
      }
-
 
73321
      iprot.readStructEnd();
-
 
73322
      validate();
-
 
73323
    }
-
 
73324
 
-
 
73325
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
73326
      oprot.writeStructBegin(STRUCT_DESC);
-
 
73327
 
-
 
73328
      if (this.isSetEx()) {
-
 
73329
        oprot.writeFieldBegin(EX_FIELD_DESC);
-
 
73330
        this.ex.write(oprot);
-
 
73331
        oprot.writeFieldEnd();
-
 
73332
      }
-
 
73333
      oprot.writeFieldStop();
-
 
73334
      oprot.writeStructEnd();
-
 
73335
    }
-
 
73336
 
-
 
73337
    @Override
-
 
73338
    public String toString() {
-
 
73339
      StringBuilder sb = new StringBuilder("markEBSSettlementUploaded_result(");
-
 
73340
      boolean first = true;
-
 
73341
 
-
 
73342
      sb.append("ex:");
-
 
73343
      if (this.ex == null) {
-
 
73344
        sb.append("null");
-
 
73345
      } else {
-
 
73346
        sb.append(this.ex);
-
 
73347
      }
-
 
73348
      first = false;
-
 
73349
      sb.append(")");
-
 
73350
      return sb.toString();
-
 
73351
    }
-
 
73352
 
-
 
73353
    public void validate() throws org.apache.thrift.TException {
-
 
73354
      // check for required fields
-
 
73355
    }
-
 
73356
 
-
 
73357
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
73358
      try {
-
 
73359
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
73360
      } catch (org.apache.thrift.TException te) {
-
 
73361
        throw new java.io.IOException(te);
-
 
73362
      }
-
 
73363
    }
-
 
73364
 
-
 
73365
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
73366
      try {
-
 
73367
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
73368
      } catch (org.apache.thrift.TException te) {
-
 
73369
        throw new java.io.IOException(te);
-
 
73370
      }
-
 
73371
    }
-
 
73372
 
-
 
73373
  }
-
 
73374
 
-
 
73375
  public static class getEBSSettlementDate_args implements org.apache.thrift.TBase<getEBSSettlementDate_args, getEBSSettlementDate_args._Fields>, java.io.Serializable, Cloneable   {
-
 
73376
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getEBSSettlementDate_args");
-
 
73377
 
-
 
73378
    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);
-
 
73379
 
-
 
73380
    private long settlementId; // required
-
 
73381
 
-
 
73382
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
73383
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
73384
      SETTLEMENT_ID((short)1, "settlementId");
-
 
73385
 
-
 
73386
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
73387
 
-
 
73388
      static {
-
 
73389
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
73390
          byName.put(field.getFieldName(), field);
-
 
73391
        }
-
 
73392
      }
-
 
73393
 
-
 
73394
      /**
-
 
73395
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
73396
       */
-
 
73397
      public static _Fields findByThriftId(int fieldId) {
-
 
73398
        switch(fieldId) {
-
 
73399
          case 1: // SETTLEMENT_ID
-
 
73400
            return SETTLEMENT_ID;
-
 
73401
          default:
-
 
73402
            return null;
-
 
73403
        }
-
 
73404
      }
-
 
73405
 
-
 
73406
      /**
-
 
73407
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
73408
       * if it is not found.
-
 
73409
       */
-
 
73410
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
73411
        _Fields fields = findByThriftId(fieldId);
-
 
73412
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
73413
        return fields;
-
 
73414
      }
-
 
73415
 
-
 
73416
      /**
-
 
73417
       * Find the _Fields constant that matches name, or null if its not found.
-
 
73418
       */
-
 
73419
      public static _Fields findByName(String name) {
-
 
73420
        return byName.get(name);
-
 
73421
      }
-
 
73422
 
-
 
73423
      private final short _thriftId;
-
 
73424
      private final String _fieldName;
-
 
73425
 
-
 
73426
      _Fields(short thriftId, String fieldName) {
-
 
73427
        _thriftId = thriftId;
-
 
73428
        _fieldName = fieldName;
-
 
73429
      }
-
 
73430
 
-
 
73431
      public short getThriftFieldId() {
-
 
73432
        return _thriftId;
-
 
73433
      }
-
 
73434
 
-
 
73435
      public String getFieldName() {
-
 
73436
        return _fieldName;
-
 
73437
      }
-
 
73438
    }
-
 
73439
 
-
 
73440
    // isset id assignments
-
 
73441
    private static final int __SETTLEMENTID_ISSET_ID = 0;
-
 
73442
    private BitSet __isset_bit_vector = new BitSet(1);
-
 
73443
 
-
 
73444
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
73445
    static {
-
 
73446
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
73447
      tmpMap.put(_Fields.SETTLEMENT_ID, new org.apache.thrift.meta_data.FieldMetaData("settlementId", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
73448
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
73449
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
73450
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getEBSSettlementDate_args.class, metaDataMap);
-
 
73451
    }
-
 
73452
 
-
 
73453
    public getEBSSettlementDate_args() {
-
 
73454
    }
-
 
73455
 
-
 
73456
    public getEBSSettlementDate_args(
-
 
73457
      long settlementId)
-
 
73458
    {
-
 
73459
      this();
-
 
73460
      this.settlementId = settlementId;
-
 
73461
      setSettlementIdIsSet(true);
-
 
73462
    }
-
 
73463
 
-
 
73464
    /**
-
 
73465
     * Performs a deep copy on <i>other</i>.
-
 
73466
     */
-
 
73467
    public getEBSSettlementDate_args(getEBSSettlementDate_args other) {
-
 
73468
      __isset_bit_vector.clear();
-
 
73469
      __isset_bit_vector.or(other.__isset_bit_vector);
-
 
73470
      this.settlementId = other.settlementId;
-
 
73471
    }
-
 
73472
 
-
 
73473
    public getEBSSettlementDate_args deepCopy() {
-
 
73474
      return new getEBSSettlementDate_args(this);
-
 
73475
    }
-
 
73476
 
-
 
73477
    @Override
-
 
73478
    public void clear() {
-
 
73479
      setSettlementIdIsSet(false);
-
 
73480
      this.settlementId = 0;
-
 
73481
    }
-
 
73482
 
-
 
73483
    public long getSettlementId() {
-
 
73484
      return this.settlementId;
-
 
73485
    }
-
 
73486
 
-
 
73487
    public void setSettlementId(long settlementId) {
-
 
73488
      this.settlementId = settlementId;
-
 
73489
      setSettlementIdIsSet(true);
-
 
73490
    }
-
 
73491
 
-
 
73492
    public void unsetSettlementId() {
-
 
73493
      __isset_bit_vector.clear(__SETTLEMENTID_ISSET_ID);
-
 
73494
    }
-
 
73495
 
-
 
73496
    /** Returns true if field settlementId is set (has been assigned a value) and false otherwise */
-
 
73497
    public boolean isSetSettlementId() {
-
 
73498
      return __isset_bit_vector.get(__SETTLEMENTID_ISSET_ID);
-
 
73499
    }
-
 
73500
 
-
 
73501
    public void setSettlementIdIsSet(boolean value) {
-
 
73502
      __isset_bit_vector.set(__SETTLEMENTID_ISSET_ID, value);
-
 
73503
    }
-
 
73504
 
-
 
73505
    public void setFieldValue(_Fields field, Object value) {
-
 
73506
      switch (field) {
-
 
73507
      case SETTLEMENT_ID:
-
 
73508
        if (value == null) {
-
 
73509
          unsetSettlementId();
-
 
73510
        } else {
-
 
73511
          setSettlementId((Long)value);
-
 
73512
        }
-
 
73513
        break;
-
 
73514
 
-
 
73515
      }
-
 
73516
    }
-
 
73517
 
-
 
73518
    public Object getFieldValue(_Fields field) {
-
 
73519
      switch (field) {
-
 
73520
      case SETTLEMENT_ID:
-
 
73521
        return Long.valueOf(getSettlementId());
-
 
73522
 
-
 
73523
      }
-
 
73524
      throw new IllegalStateException();
-
 
73525
    }
-
 
73526
 
-
 
73527
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
73528
    public boolean isSet(_Fields field) {
-
 
73529
      if (field == null) {
-
 
73530
        throw new IllegalArgumentException();
-
 
73531
      }
-
 
73532
 
-
 
73533
      switch (field) {
-
 
73534
      case SETTLEMENT_ID:
-
 
73535
        return isSetSettlementId();
-
 
73536
      }
-
 
73537
      throw new IllegalStateException();
-
 
73538
    }
-
 
73539
 
-
 
73540
    @Override
-
 
73541
    public boolean equals(Object that) {
-
 
73542
      if (that == null)
-
 
73543
        return false;
-
 
73544
      if (that instanceof getEBSSettlementDate_args)
-
 
73545
        return this.equals((getEBSSettlementDate_args)that);
-
 
73546
      return false;
-
 
73547
    }
-
 
73548
 
-
 
73549
    public boolean equals(getEBSSettlementDate_args that) {
-
 
73550
      if (that == null)
-
 
73551
        return false;
-
 
73552
 
-
 
73553
      boolean this_present_settlementId = true;
-
 
73554
      boolean that_present_settlementId = true;
-
 
73555
      if (this_present_settlementId || that_present_settlementId) {
-
 
73556
        if (!(this_present_settlementId && that_present_settlementId))
-
 
73557
          return false;
-
 
73558
        if (this.settlementId != that.settlementId)
-
 
73559
          return false;
-
 
73560
      }
-
 
73561
 
-
 
73562
      return true;
-
 
73563
    }
-
 
73564
 
-
 
73565
    @Override
-
 
73566
    public int hashCode() {
-
 
73567
      return 0;
-
 
73568
    }
-
 
73569
 
-
 
73570
    public int compareTo(getEBSSettlementDate_args other) {
-
 
73571
      if (!getClass().equals(other.getClass())) {
-
 
73572
        return getClass().getName().compareTo(other.getClass().getName());
-
 
73573
      }
-
 
73574
 
-
 
73575
      int lastComparison = 0;
-
 
73576
      getEBSSettlementDate_args typedOther = (getEBSSettlementDate_args)other;
-
 
73577
 
-
 
73578
      lastComparison = Boolean.valueOf(isSetSettlementId()).compareTo(typedOther.isSetSettlementId());
-
 
73579
      if (lastComparison != 0) {
-
 
73580
        return lastComparison;
-
 
73581
      }
-
 
73582
      if (isSetSettlementId()) {
-
 
73583
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.settlementId, typedOther.settlementId);
-
 
73584
        if (lastComparison != 0) {
-
 
73585
          return lastComparison;
-
 
73586
        }
-
 
73587
      }
-
 
73588
      return 0;
-
 
73589
    }
-
 
73590
 
-
 
73591
    public _Fields fieldForId(int fieldId) {
-
 
73592
      return _Fields.findByThriftId(fieldId);
-
 
73593
    }
-
 
73594
 
-
 
73595
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
73596
      org.apache.thrift.protocol.TField field;
-
 
73597
      iprot.readStructBegin();
-
 
73598
      while (true)
-
 
73599
      {
-
 
73600
        field = iprot.readFieldBegin();
-
 
73601
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
73602
          break;
-
 
73603
        }
-
 
73604
        switch (field.id) {
-
 
73605
          case 1: // SETTLEMENT_ID
-
 
73606
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
73607
              this.settlementId = iprot.readI64();
-
 
73608
              setSettlementIdIsSet(true);
-
 
73609
            } else { 
-
 
73610
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
73611
            }
-
 
73612
            break;
-
 
73613
          default:
-
 
73614
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
73615
        }
-
 
73616
        iprot.readFieldEnd();
-
 
73617
      }
-
 
73618
      iprot.readStructEnd();
-
 
73619
      validate();
-
 
73620
    }
-
 
73621
 
-
 
73622
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
73623
      validate();
-
 
73624
 
-
 
73625
      oprot.writeStructBegin(STRUCT_DESC);
-
 
73626
      oprot.writeFieldBegin(SETTLEMENT_ID_FIELD_DESC);
-
 
73627
      oprot.writeI64(this.settlementId);
-
 
73628
      oprot.writeFieldEnd();
-
 
73629
      oprot.writeFieldStop();
-
 
73630
      oprot.writeStructEnd();
-
 
73631
    }
-
 
73632
 
-
 
73633
    @Override
-
 
73634
    public String toString() {
-
 
73635
      StringBuilder sb = new StringBuilder("getEBSSettlementDate_args(");
-
 
73636
      boolean first = true;
-
 
73637
 
-
 
73638
      sb.append("settlementId:");
-
 
73639
      sb.append(this.settlementId);
-
 
73640
      first = false;
-
 
73641
      sb.append(")");
-
 
73642
      return sb.toString();
-
 
73643
    }
-
 
73644
 
-
 
73645
    public void validate() throws org.apache.thrift.TException {
-
 
73646
      // check for required fields
-
 
73647
    }
-
 
73648
 
-
 
73649
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
73650
      try {
-
 
73651
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
73652
      } catch (org.apache.thrift.TException te) {
-
 
73653
        throw new java.io.IOException(te);
-
 
73654
      }
-
 
73655
    }
-
 
73656
 
-
 
73657
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
73658
      try {
-
 
73659
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
73660
        __isset_bit_vector = new BitSet(1);
-
 
73661
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
73662
      } catch (org.apache.thrift.TException te) {
-
 
73663
        throw new java.io.IOException(te);
-
 
73664
      }
-
 
73665
    }
-
 
73666
 
-
 
73667
  }
-
 
73668
 
-
 
73669
  public static class getEBSSettlementDate_result implements org.apache.thrift.TBase<getEBSSettlementDate_result, getEBSSettlementDate_result._Fields>, java.io.Serializable, Cloneable   {
-
 
73670
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getEBSSettlementDate_result");
-
 
73671
 
-
 
73672
    private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.I64, (short)0);
-
 
73673
    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);
-
 
73674
 
-
 
73675
    private long success; // required
-
 
73676
    private TransactionServiceException ex; // required
-
 
73677
 
-
 
73678
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
73679
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
73680
      SUCCESS((short)0, "success"),
-
 
73681
      EX((short)1, "ex");
-
 
73682
 
-
 
73683
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
73684
 
-
 
73685
      static {
-
 
73686
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
73687
          byName.put(field.getFieldName(), field);
-
 
73688
        }
-
 
73689
      }
-
 
73690
 
-
 
73691
      /**
-
 
73692
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
73693
       */
-
 
73694
      public static _Fields findByThriftId(int fieldId) {
-
 
73695
        switch(fieldId) {
-
 
73696
          case 0: // SUCCESS
-
 
73697
            return SUCCESS;
-
 
73698
          case 1: // EX
-
 
73699
            return EX;
-
 
73700
          default:
-
 
73701
            return null;
-
 
73702
        }
-
 
73703
      }
-
 
73704
 
-
 
73705
      /**
-
 
73706
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
73707
       * if it is not found.
-
 
73708
       */
-
 
73709
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
73710
        _Fields fields = findByThriftId(fieldId);
-
 
73711
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
73712
        return fields;
-
 
73713
      }
-
 
73714
 
-
 
73715
      /**
-
 
73716
       * Find the _Fields constant that matches name, or null if its not found.
-
 
73717
       */
-
 
73718
      public static _Fields findByName(String name) {
-
 
73719
        return byName.get(name);
-
 
73720
      }
-
 
73721
 
-
 
73722
      private final short _thriftId;
-
 
73723
      private final String _fieldName;
-
 
73724
 
-
 
73725
      _Fields(short thriftId, String fieldName) {
-
 
73726
        _thriftId = thriftId;
-
 
73727
        _fieldName = fieldName;
-
 
73728
      }
-
 
73729
 
-
 
73730
      public short getThriftFieldId() {
-
 
73731
        return _thriftId;
-
 
73732
      }
-
 
73733
 
-
 
73734
      public String getFieldName() {
-
 
73735
        return _fieldName;
-
 
73736
      }
-
 
73737
    }
-
 
73738
 
-
 
73739
    // isset id assignments
-
 
73740
    private static final int __SUCCESS_ISSET_ID = 0;
-
 
73741
    private BitSet __isset_bit_vector = new BitSet(1);
-
 
73742
 
-
 
73743
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
73744
    static {
-
 
73745
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
73746
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
73747
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
73748
      tmpMap.put(_Fields.EX, new org.apache.thrift.meta_data.FieldMetaData("ex", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
73749
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT)));
-
 
73750
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
73751
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getEBSSettlementDate_result.class, metaDataMap);
-
 
73752
    }
-
 
73753
 
-
 
73754
    public getEBSSettlementDate_result() {
-
 
73755
    }
-
 
73756
 
-
 
73757
    public getEBSSettlementDate_result(
-
 
73758
      long success,
-
 
73759
      TransactionServiceException ex)
-
 
73760
    {
-
 
73761
      this();
-
 
73762
      this.success = success;
-
 
73763
      setSuccessIsSet(true);
-
 
73764
      this.ex = ex;
-
 
73765
    }
-
 
73766
 
-
 
73767
    /**
-
 
73768
     * Performs a deep copy on <i>other</i>.
-
 
73769
     */
-
 
73770
    public getEBSSettlementDate_result(getEBSSettlementDate_result other) {
-
 
73771
      __isset_bit_vector.clear();
-
 
73772
      __isset_bit_vector.or(other.__isset_bit_vector);
-
 
73773
      this.success = other.success;
-
 
73774
      if (other.isSetEx()) {
-
 
73775
        this.ex = new TransactionServiceException(other.ex);
-
 
73776
      }
-
 
73777
    }
-
 
73778
 
-
 
73779
    public getEBSSettlementDate_result deepCopy() {
-
 
73780
      return new getEBSSettlementDate_result(this);
-
 
73781
    }
-
 
73782
 
-
 
73783
    @Override
-
 
73784
    public void clear() {
-
 
73785
      setSuccessIsSet(false);
-
 
73786
      this.success = 0;
-
 
73787
      this.ex = null;
-
 
73788
    }
-
 
73789
 
-
 
73790
    public long getSuccess() {
-
 
73791
      return this.success;
-
 
73792
    }
-
 
73793
 
-
 
73794
    public void setSuccess(long success) {
-
 
73795
      this.success = success;
-
 
73796
      setSuccessIsSet(true);
-
 
73797
    }
-
 
73798
 
-
 
73799
    public void unsetSuccess() {
-
 
73800
      __isset_bit_vector.clear(__SUCCESS_ISSET_ID);
-
 
73801
    }
-
 
73802
 
-
 
73803
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
-
 
73804
    public boolean isSetSuccess() {
-
 
73805
      return __isset_bit_vector.get(__SUCCESS_ISSET_ID);
-
 
73806
    }
-
 
73807
 
-
 
73808
    public void setSuccessIsSet(boolean value) {
-
 
73809
      __isset_bit_vector.set(__SUCCESS_ISSET_ID, value);
-
 
73810
    }
-
 
73811
 
-
 
73812
    public TransactionServiceException getEx() {
-
 
73813
      return this.ex;
-
 
73814
    }
-
 
73815
 
-
 
73816
    public void setEx(TransactionServiceException ex) {
-
 
73817
      this.ex = ex;
-
 
73818
    }
-
 
73819
 
-
 
73820
    public void unsetEx() {
-
 
73821
      this.ex = null;
-
 
73822
    }
-
 
73823
 
-
 
73824
    /** Returns true if field ex is set (has been assigned a value) and false otherwise */
-
 
73825
    public boolean isSetEx() {
-
 
73826
      return this.ex != null;
-
 
73827
    }
-
 
73828
 
-
 
73829
    public void setExIsSet(boolean value) {
-
 
73830
      if (!value) {
-
 
73831
        this.ex = null;
-
 
73832
      }
-
 
73833
    }
-
 
73834
 
-
 
73835
    public void setFieldValue(_Fields field, Object value) {
-
 
73836
      switch (field) {
-
 
73837
      case SUCCESS:
-
 
73838
        if (value == null) {
-
 
73839
          unsetSuccess();
-
 
73840
        } else {
-
 
73841
          setSuccess((Long)value);
-
 
73842
        }
-
 
73843
        break;
-
 
73844
 
-
 
73845
      case EX:
-
 
73846
        if (value == null) {
-
 
73847
          unsetEx();
-
 
73848
        } else {
-
 
73849
          setEx((TransactionServiceException)value);
-
 
73850
        }
-
 
73851
        break;
-
 
73852
 
-
 
73853
      }
-
 
73854
    }
-
 
73855
 
-
 
73856
    public Object getFieldValue(_Fields field) {
-
 
73857
      switch (field) {
-
 
73858
      case SUCCESS:
-
 
73859
        return Long.valueOf(getSuccess());
-
 
73860
 
-
 
73861
      case EX:
-
 
73862
        return getEx();
-
 
73863
 
-
 
73864
      }
-
 
73865
      throw new IllegalStateException();
-
 
73866
    }
-
 
73867
 
-
 
73868
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
73869
    public boolean isSet(_Fields field) {
-
 
73870
      if (field == null) {
-
 
73871
        throw new IllegalArgumentException();
-
 
73872
      }
-
 
73873
 
-
 
73874
      switch (field) {
-
 
73875
      case SUCCESS:
-
 
73876
        return isSetSuccess();
-
 
73877
      case EX:
-
 
73878
        return isSetEx();
-
 
73879
      }
-
 
73880
      throw new IllegalStateException();
-
 
73881
    }
-
 
73882
 
-
 
73883
    @Override
-
 
73884
    public boolean equals(Object that) {
-
 
73885
      if (that == null)
-
 
73886
        return false;
-
 
73887
      if (that instanceof getEBSSettlementDate_result)
-
 
73888
        return this.equals((getEBSSettlementDate_result)that);
-
 
73889
      return false;
-
 
73890
    }
-
 
73891
 
-
 
73892
    public boolean equals(getEBSSettlementDate_result that) {
-
 
73893
      if (that == null)
-
 
73894
        return false;
-
 
73895
 
-
 
73896
      boolean this_present_success = true;
-
 
73897
      boolean that_present_success = true;
-
 
73898
      if (this_present_success || that_present_success) {
-
 
73899
        if (!(this_present_success && that_present_success))
-
 
73900
          return false;
-
 
73901
        if (this.success != that.success)
-
 
73902
          return false;
-
 
73903
      }
-
 
73904
 
-
 
73905
      boolean this_present_ex = true && this.isSetEx();
-
 
73906
      boolean that_present_ex = true && that.isSetEx();
-
 
73907
      if (this_present_ex || that_present_ex) {
-
 
73908
        if (!(this_present_ex && that_present_ex))
-
 
73909
          return false;
-
 
73910
        if (!this.ex.equals(that.ex))
-
 
73911
          return false;
-
 
73912
      }
-
 
73913
 
-
 
73914
      return true;
-
 
73915
    }
-
 
73916
 
-
 
73917
    @Override
-
 
73918
    public int hashCode() {
-
 
73919
      return 0;
-
 
73920
    }
-
 
73921
 
-
 
73922
    public int compareTo(getEBSSettlementDate_result other) {
-
 
73923
      if (!getClass().equals(other.getClass())) {
-
 
73924
        return getClass().getName().compareTo(other.getClass().getName());
-
 
73925
      }
-
 
73926
 
-
 
73927
      int lastComparison = 0;
-
 
73928
      getEBSSettlementDate_result typedOther = (getEBSSettlementDate_result)other;
-
 
73929
 
-
 
73930
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
-
 
73931
      if (lastComparison != 0) {
-
 
73932
        return lastComparison;
-
 
73933
      }
-
 
73934
      if (isSetSuccess()) {
-
 
73935
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
-
 
73936
        if (lastComparison != 0) {
-
 
73937
          return lastComparison;
-
 
73938
        }
-
 
73939
      }
-
 
73940
      lastComparison = Boolean.valueOf(isSetEx()).compareTo(typedOther.isSetEx());
-
 
73941
      if (lastComparison != 0) {
-
 
73942
        return lastComparison;
-
 
73943
      }
-
 
73944
      if (isSetEx()) {
-
 
73945
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.ex, typedOther.ex);
-
 
73946
        if (lastComparison != 0) {
-
 
73947
          return lastComparison;
-
 
73948
        }
-
 
73949
      }
-
 
73950
      return 0;
-
 
73951
    }
-
 
73952
 
-
 
73953
    public _Fields fieldForId(int fieldId) {
-
 
73954
      return _Fields.findByThriftId(fieldId);
-
 
73955
    }
-
 
73956
 
-
 
73957
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
73958
      org.apache.thrift.protocol.TField field;
-
 
73959
      iprot.readStructBegin();
-
 
73960
      while (true)
-
 
73961
      {
-
 
73962
        field = iprot.readFieldBegin();
-
 
73963
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
73964
          break;
-
 
73965
        }
-
 
73966
        switch (field.id) {
-
 
73967
          case 0: // SUCCESS
-
 
73968
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
73969
              this.success = iprot.readI64();
-
 
73970
              setSuccessIsSet(true);
-
 
73971
            } else { 
-
 
73972
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
73973
            }
-
 
73974
            break;
-
 
73975
          case 1: // EX
-
 
73976
            if (field.type == org.apache.thrift.protocol.TType.STRUCT) {
-
 
73977
              this.ex = new TransactionServiceException();
-
 
73978
              this.ex.read(iprot);
-
 
73979
            } else { 
-
 
73980
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
73981
            }
-
 
73982
            break;
-
 
73983
          default:
-
 
73984
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
73985
        }
-
 
73986
        iprot.readFieldEnd();
-
 
73987
      }
-
 
73988
      iprot.readStructEnd();
-
 
73989
      validate();
-
 
73990
    }
-
 
73991
 
-
 
73992
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
73993
      oprot.writeStructBegin(STRUCT_DESC);
-
 
73994
 
-
 
73995
      if (this.isSetSuccess()) {
-
 
73996
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-
 
73997
        oprot.writeI64(this.success);
-
 
73998
        oprot.writeFieldEnd();
-
 
73999
      } else if (this.isSetEx()) {
-
 
74000
        oprot.writeFieldBegin(EX_FIELD_DESC);
-
 
74001
        this.ex.write(oprot);
-
 
74002
        oprot.writeFieldEnd();
-
 
74003
      }
-
 
74004
      oprot.writeFieldStop();
-
 
74005
      oprot.writeStructEnd();
-
 
74006
    }
-
 
74007
 
-
 
74008
    @Override
-
 
74009
    public String toString() {
-
 
74010
      StringBuilder sb = new StringBuilder("getEBSSettlementDate_result(");
-
 
74011
      boolean first = true;
-
 
74012
 
-
 
74013
      sb.append("success:");
-
 
74014
      sb.append(this.success);
-
 
74015
      first = false;
-
 
74016
      if (!first) sb.append(", ");
-
 
74017
      sb.append("ex:");
-
 
74018
      if (this.ex == null) {
-
 
74019
        sb.append("null");
67318
      } else {
74020
      } else {
67319
        sb.append(this.ex);
74021
        sb.append(this.ex);
67320
      }
74022
      }
67321
      first = false;
74023
      first = false;
67322
      sb.append(")");
74024
      sb.append(")");