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 883... Line 883...
883
     - logistics_provider_id
883
     - logistics_provider_id
884
     - order_status
884
     - order_status
885
    """
885
    """
886
    pass
886
    pass
887
 
887
 
-
 
888
  def getBilledOrdersForVendor(self, vendorId, billingDateFrom, billingDateTo):
-
 
889
    """
-
 
890
    Returns list of orders fullfiled from a certain vendor and billed in a given date range
-
 
891
 
-
 
892
    Parameters:
-
 
893
     - vendorId
-
 
894
     - billingDateFrom
-
 
895
     - billingDateTo
-
 
896
    """
-
 
897
    pass
-
 
898
 
-
 
899
  def saveBluedartSettlements(self, mapAWBAndAmount):
-
 
900
    """
-
 
901
    Parameters:
-
 
902
     - mapAWBAndAmount
-
 
903
    """
-
 
904
    pass
-
 
905
 
-
 
906
  def savePaymentSettlements(self, settlementDate, paymentGatewayId, paymentId, serviceTax, otherCharges, netCollection):
-
 
907
    """
-
 
908
    Parameters:
-
 
909
     - settlementDate
-
 
910
     - paymentGatewayId
-
 
911
     - paymentId
-
 
912
     - serviceTax
-
 
913
     - otherCharges
-
 
914
     - netCollection
-
 
915
    """
-
 
916
    pass
-
 
917
 
-
 
918
  def saveEBSSettlementSummary(self, settlementId, settlementDate, transactionDateFrom, transactionDateTo, amount):
-
 
919
    """
-
 
920
    Parameters:
-
 
921
     - settlementId
-
 
922
     - settlementDate
-
 
923
     - transactionDateFrom
-
 
924
     - transactionDateTo
-
 
925
     - amount
-
 
926
    """
-
 
927
    pass
-
 
928
 
-
 
929
  def getSettlementForPaymentId(self, paymentId):
-
 
930
    """
-
 
931
    Parameters:
-
 
932
     - paymentId
-
 
933
    """
-
 
934
    pass
-
 
935
 
-
 
936
  def getEBSSettlementSummaries(self, ):
-
 
937
    pass
-
 
938
 
-
 
939
  def markEBSSettlementUploaded(self, settlementId):
-
 
940
    """
-
 
941
    Parameters:
-
 
942
     - settlementId
-
 
943
    """
-
 
944
    pass
-
 
945
 
-
 
946
  def getEBSSettlementDate(self, settlementId):
-
 
947
    """
-
 
948
    Parameters:
-
 
949
     - settlementId
-
 
950
    """
-
 
951
    pass
-
 
952
 
888
 
953
 
889
class Client(shop2020.thriftpy.generic.GenericService.Client, Iface):
954
class Client(shop2020.thriftpy.generic.GenericService.Client, Iface):
890
  def __init__(self, iprot, oprot=None):
955
  def __init__(self, iprot, oprot=None):
891
    shop2020.thriftpy.generic.GenericService.Client.__init__(self, iprot, oprot)
956
    shop2020.thriftpy.generic.GenericService.Client.__init__(self, iprot, oprot)
892
 
957
 
Line 3780... Line 3845...
3780
      return result.success
3845
      return result.success
3781
    if result.ex is not None:
3846
    if result.ex is not None:
3782
      raise result.ex
3847
      raise result.ex
3783
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getOrdersForProviderForStatus failed: unknown result");
3848
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getOrdersForProviderForStatus failed: unknown result");
3784
 
3849
 
-
 
3850
  def getBilledOrdersForVendor(self, vendorId, billingDateFrom, billingDateTo):
-
 
3851
    """
-
 
3852
    Returns list of orders fullfiled from a certain vendor and billed in a given date range
-
 
3853
 
-
 
3854
    Parameters:
-
 
3855
     - vendorId
-
 
3856
     - billingDateFrom
-
 
3857
     - billingDateTo
-
 
3858
    """
-
 
3859
    self.send_getBilledOrdersForVendor(vendorId, billingDateFrom, billingDateTo)
-
 
3860
    return self.recv_getBilledOrdersForVendor()
-
 
3861
 
-
 
3862
  def send_getBilledOrdersForVendor(self, vendorId, billingDateFrom, billingDateTo):
-
 
3863
    self._oprot.writeMessageBegin('getBilledOrdersForVendor', TMessageType.CALL, self._seqid)
-
 
3864
    args = getBilledOrdersForVendor_args()
-
 
3865
    args.vendorId = vendorId
-
 
3866
    args.billingDateFrom = billingDateFrom
-
 
3867
    args.billingDateTo = billingDateTo
-
 
3868
    args.write(self._oprot)
-
 
3869
    self._oprot.writeMessageEnd()
-
 
3870
    self._oprot.trans.flush()
-
 
3871
 
-
 
3872
  def recv_getBilledOrdersForVendor(self, ):
-
 
3873
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
-
 
3874
    if mtype == TMessageType.EXCEPTION:
-
 
3875
      x = TApplicationException()
-
 
3876
      x.read(self._iprot)
-
 
3877
      self._iprot.readMessageEnd()
-
 
3878
      raise x
-
 
3879
    result = getBilledOrdersForVendor_result()
-
 
3880
    result.read(self._iprot)
-
 
3881
    self._iprot.readMessageEnd()
-
 
3882
    if result.success is not None:
-
 
3883
      return result.success
-
 
3884
    if result.ex is not None:
-
 
3885
      raise result.ex
-
 
3886
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getBilledOrdersForVendor failed: unknown result");
-
 
3887
 
-
 
3888
  def saveBluedartSettlements(self, mapAWBAndAmount):
-
 
3889
    """
-
 
3890
    Parameters:
-
 
3891
     - mapAWBAndAmount
-
 
3892
    """
-
 
3893
    self.send_saveBluedartSettlements(mapAWBAndAmount)
-
 
3894
    self.recv_saveBluedartSettlements()
-
 
3895
 
-
 
3896
  def send_saveBluedartSettlements(self, mapAWBAndAmount):
-
 
3897
    self._oprot.writeMessageBegin('saveBluedartSettlements', TMessageType.CALL, self._seqid)
-
 
3898
    args = saveBluedartSettlements_args()
-
 
3899
    args.mapAWBAndAmount = mapAWBAndAmount
-
 
3900
    args.write(self._oprot)
-
 
3901
    self._oprot.writeMessageEnd()
-
 
3902
    self._oprot.trans.flush()
-
 
3903
 
-
 
3904
  def recv_saveBluedartSettlements(self, ):
-
 
3905
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
-
 
3906
    if mtype == TMessageType.EXCEPTION:
-
 
3907
      x = TApplicationException()
-
 
3908
      x.read(self._iprot)
-
 
3909
      self._iprot.readMessageEnd()
-
 
3910
      raise x
-
 
3911
    result = saveBluedartSettlements_result()
-
 
3912
    result.read(self._iprot)
-
 
3913
    self._iprot.readMessageEnd()
-
 
3914
    if result.ex is not None:
-
 
3915
      raise result.ex
-
 
3916
    return
-
 
3917
 
-
 
3918
  def savePaymentSettlements(self, settlementDate, paymentGatewayId, paymentId, serviceTax, otherCharges, netCollection):
-
 
3919
    """
-
 
3920
    Parameters:
-
 
3921
     - settlementDate
-
 
3922
     - paymentGatewayId
-
 
3923
     - paymentId
-
 
3924
     - serviceTax
-
 
3925
     - otherCharges
-
 
3926
     - netCollection
-
 
3927
    """
-
 
3928
    self.send_savePaymentSettlements(settlementDate, paymentGatewayId, paymentId, serviceTax, otherCharges, netCollection)
-
 
3929
    self.recv_savePaymentSettlements()
-
 
3930
 
-
 
3931
  def send_savePaymentSettlements(self, settlementDate, paymentGatewayId, paymentId, serviceTax, otherCharges, netCollection):
-
 
3932
    self._oprot.writeMessageBegin('savePaymentSettlements', TMessageType.CALL, self._seqid)
-
 
3933
    args = savePaymentSettlements_args()
-
 
3934
    args.settlementDate = settlementDate
-
 
3935
    args.paymentGatewayId = paymentGatewayId
-
 
3936
    args.paymentId = paymentId
-
 
3937
    args.serviceTax = serviceTax
-
 
3938
    args.otherCharges = otherCharges
-
 
3939
    args.netCollection = netCollection
-
 
3940
    args.write(self._oprot)
-
 
3941
    self._oprot.writeMessageEnd()
-
 
3942
    self._oprot.trans.flush()
-
 
3943
 
-
 
3944
  def recv_savePaymentSettlements(self, ):
-
 
3945
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
-
 
3946
    if mtype == TMessageType.EXCEPTION:
-
 
3947
      x = TApplicationException()
-
 
3948
      x.read(self._iprot)
-
 
3949
      self._iprot.readMessageEnd()
-
 
3950
      raise x
-
 
3951
    result = savePaymentSettlements_result()
-
 
3952
    result.read(self._iprot)
-
 
3953
    self._iprot.readMessageEnd()
-
 
3954
    if result.ex is not None:
-
 
3955
      raise result.ex
-
 
3956
    return
-
 
3957
 
-
 
3958
  def saveEBSSettlementSummary(self, settlementId, settlementDate, transactionDateFrom, transactionDateTo, amount):
-
 
3959
    """
-
 
3960
    Parameters:
-
 
3961
     - settlementId
-
 
3962
     - settlementDate
-
 
3963
     - transactionDateFrom
-
 
3964
     - transactionDateTo
-
 
3965
     - amount
-
 
3966
    """
-
 
3967
    self.send_saveEBSSettlementSummary(settlementId, settlementDate, transactionDateFrom, transactionDateTo, amount)
-
 
3968
    self.recv_saveEBSSettlementSummary()
-
 
3969
 
-
 
3970
  def send_saveEBSSettlementSummary(self, settlementId, settlementDate, transactionDateFrom, transactionDateTo, amount):
-
 
3971
    self._oprot.writeMessageBegin('saveEBSSettlementSummary', TMessageType.CALL, self._seqid)
-
 
3972
    args = saveEBSSettlementSummary_args()
-
 
3973
    args.settlementId = settlementId
-
 
3974
    args.settlementDate = settlementDate
-
 
3975
    args.transactionDateFrom = transactionDateFrom
-
 
3976
    args.transactionDateTo = transactionDateTo
-
 
3977
    args.amount = amount
-
 
3978
    args.write(self._oprot)
-
 
3979
    self._oprot.writeMessageEnd()
-
 
3980
    self._oprot.trans.flush()
-
 
3981
 
-
 
3982
  def recv_saveEBSSettlementSummary(self, ):
-
 
3983
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
-
 
3984
    if mtype == TMessageType.EXCEPTION:
-
 
3985
      x = TApplicationException()
-
 
3986
      x.read(self._iprot)
-
 
3987
      self._iprot.readMessageEnd()
-
 
3988
      raise x
-
 
3989
    result = saveEBSSettlementSummary_result()
-
 
3990
    result.read(self._iprot)
-
 
3991
    self._iprot.readMessageEnd()
-
 
3992
    if result.ex is not None:
-
 
3993
      raise result.ex
-
 
3994
    return
-
 
3995
 
-
 
3996
  def getSettlementForPaymentId(self, paymentId):
-
 
3997
    """
-
 
3998
    Parameters:
-
 
3999
     - paymentId
-
 
4000
    """
-
 
4001
    self.send_getSettlementForPaymentId(paymentId)
-
 
4002
    return self.recv_getSettlementForPaymentId()
-
 
4003
 
-
 
4004
  def send_getSettlementForPaymentId(self, paymentId):
-
 
4005
    self._oprot.writeMessageBegin('getSettlementForPaymentId', TMessageType.CALL, self._seqid)
-
 
4006
    args = getSettlementForPaymentId_args()
-
 
4007
    args.paymentId = paymentId
-
 
4008
    args.write(self._oprot)
-
 
4009
    self._oprot.writeMessageEnd()
-
 
4010
    self._oprot.trans.flush()
-
 
4011
 
-
 
4012
  def recv_getSettlementForPaymentId(self, ):
-
 
4013
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
-
 
4014
    if mtype == TMessageType.EXCEPTION:
-
 
4015
      x = TApplicationException()
-
 
4016
      x.read(self._iprot)
-
 
4017
      self._iprot.readMessageEnd()
-
 
4018
      raise x
-
 
4019
    result = getSettlementForPaymentId_result()
-
 
4020
    result.read(self._iprot)
-
 
4021
    self._iprot.readMessageEnd()
-
 
4022
    if result.success is not None:
-
 
4023
      return result.success
-
 
4024
    if result.ex is not None:
-
 
4025
      raise result.ex
-
 
4026
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getSettlementForPaymentId failed: unknown result");
-
 
4027
 
-
 
4028
  def getEBSSettlementSummaries(self, ):
-
 
4029
    self.send_getEBSSettlementSummaries()
-
 
4030
    return self.recv_getEBSSettlementSummaries()
-
 
4031
 
-
 
4032
  def send_getEBSSettlementSummaries(self, ):
-
 
4033
    self._oprot.writeMessageBegin('getEBSSettlementSummaries', TMessageType.CALL, self._seqid)
-
 
4034
    args = getEBSSettlementSummaries_args()
-
 
4035
    args.write(self._oprot)
-
 
4036
    self._oprot.writeMessageEnd()
-
 
4037
    self._oprot.trans.flush()
-
 
4038
 
-
 
4039
  def recv_getEBSSettlementSummaries(self, ):
-
 
4040
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
-
 
4041
    if mtype == TMessageType.EXCEPTION:
-
 
4042
      x = TApplicationException()
-
 
4043
      x.read(self._iprot)
-
 
4044
      self._iprot.readMessageEnd()
-
 
4045
      raise x
-
 
4046
    result = getEBSSettlementSummaries_result()
-
 
4047
    result.read(self._iprot)
-
 
4048
    self._iprot.readMessageEnd()
-
 
4049
    if result.success is not None:
-
 
4050
      return result.success
-
 
4051
    if result.ex is not None:
-
 
4052
      raise result.ex
-
 
4053
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getEBSSettlementSummaries failed: unknown result");
-
 
4054
 
-
 
4055
  def markEBSSettlementUploaded(self, settlementId):
-
 
4056
    """
-
 
4057
    Parameters:
-
 
4058
     - settlementId
-
 
4059
    """
-
 
4060
    self.send_markEBSSettlementUploaded(settlementId)
-
 
4061
    self.recv_markEBSSettlementUploaded()
-
 
4062
 
-
 
4063
  def send_markEBSSettlementUploaded(self, settlementId):
-
 
4064
    self._oprot.writeMessageBegin('markEBSSettlementUploaded', TMessageType.CALL, self._seqid)
-
 
4065
    args = markEBSSettlementUploaded_args()
-
 
4066
    args.settlementId = settlementId
-
 
4067
    args.write(self._oprot)
-
 
4068
    self._oprot.writeMessageEnd()
-
 
4069
    self._oprot.trans.flush()
-
 
4070
 
-
 
4071
  def recv_markEBSSettlementUploaded(self, ):
-
 
4072
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
-
 
4073
    if mtype == TMessageType.EXCEPTION:
-
 
4074
      x = TApplicationException()
-
 
4075
      x.read(self._iprot)
-
 
4076
      self._iprot.readMessageEnd()
-
 
4077
      raise x
-
 
4078
    result = markEBSSettlementUploaded_result()
-
 
4079
    result.read(self._iprot)
-
 
4080
    self._iprot.readMessageEnd()
-
 
4081
    if result.ex is not None:
-
 
4082
      raise result.ex
-
 
4083
    return
-
 
4084
 
-
 
4085
  def getEBSSettlementDate(self, settlementId):
-
 
4086
    """
-
 
4087
    Parameters:
-
 
4088
     - settlementId
-
 
4089
    """
-
 
4090
    self.send_getEBSSettlementDate(settlementId)
-
 
4091
    return self.recv_getEBSSettlementDate()
-
 
4092
 
-
 
4093
  def send_getEBSSettlementDate(self, settlementId):
-
 
4094
    self._oprot.writeMessageBegin('getEBSSettlementDate', TMessageType.CALL, self._seqid)
-
 
4095
    args = getEBSSettlementDate_args()
-
 
4096
    args.settlementId = settlementId
-
 
4097
    args.write(self._oprot)
-
 
4098
    self._oprot.writeMessageEnd()
-
 
4099
    self._oprot.trans.flush()
-
 
4100
 
-
 
4101
  def recv_getEBSSettlementDate(self, ):
-
 
4102
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
-
 
4103
    if mtype == TMessageType.EXCEPTION:
-
 
4104
      x = TApplicationException()
-
 
4105
      x.read(self._iprot)
-
 
4106
      self._iprot.readMessageEnd()
-
 
4107
      raise x
-
 
4108
    result = getEBSSettlementDate_result()
-
 
4109
    result.read(self._iprot)
-
 
4110
    self._iprot.readMessageEnd()
-
 
4111
    if result.success is not None:
-
 
4112
      return result.success
-
 
4113
    if result.ex is not None:
-
 
4114
      raise result.ex
-
 
4115
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getEBSSettlementDate failed: unknown result");
-
 
4116
 
3785
 
4117
 
3786
class Processor(shop2020.thriftpy.generic.GenericService.Processor, Iface, TProcessor):
4118
class Processor(shop2020.thriftpy.generic.GenericService.Processor, Iface, TProcessor):
3787
  def __init__(self, handler):
4119
  def __init__(self, handler):
3788
    shop2020.thriftpy.generic.GenericService.Processor.__init__(self, handler)
4120
    shop2020.thriftpy.generic.GenericService.Processor.__init__(self, handler)
3789
    self._processMap["createTransaction"] = Processor.process_createTransaction
4121
    self._processMap["createTransaction"] = Processor.process_createTransaction
Line 3864... Line 4196...
3864
    self._processMap["markOrdersAsReversalInitiated"] = Processor.process_markOrdersAsReversalInitiated
4196
    self._processMap["markOrdersAsReversalInitiated"] = Processor.process_markOrdersAsReversalInitiated
3865
    self._processMap["markOrdersAsNotAvailabke"] = Processor.process_markOrdersAsNotAvailabke
4197
    self._processMap["markOrdersAsNotAvailabke"] = Processor.process_markOrdersAsNotAvailabke
3866
    self._processMap["markOrdersAsTimeout"] = Processor.process_markOrdersAsTimeout
4198
    self._processMap["markOrdersAsTimeout"] = Processor.process_markOrdersAsTimeout
3867
    self._processMap["getOrderForAwb"] = Processor.process_getOrderForAwb
4199
    self._processMap["getOrderForAwb"] = Processor.process_getOrderForAwb
3868
    self._processMap["getOrdersForProviderForStatus"] = Processor.process_getOrdersForProviderForStatus
4200
    self._processMap["getOrdersForProviderForStatus"] = Processor.process_getOrdersForProviderForStatus
-
 
4201
    self._processMap["getBilledOrdersForVendor"] = Processor.process_getBilledOrdersForVendor
-
 
4202
    self._processMap["saveBluedartSettlements"] = Processor.process_saveBluedartSettlements
-
 
4203
    self._processMap["savePaymentSettlements"] = Processor.process_savePaymentSettlements
-
 
4204
    self._processMap["saveEBSSettlementSummary"] = Processor.process_saveEBSSettlementSummary
-
 
4205
    self._processMap["getSettlementForPaymentId"] = Processor.process_getSettlementForPaymentId
-
 
4206
    self._processMap["getEBSSettlementSummaries"] = Processor.process_getEBSSettlementSummaries
-
 
4207
    self._processMap["markEBSSettlementUploaded"] = Processor.process_markEBSSettlementUploaded
-
 
4208
    self._processMap["getEBSSettlementDate"] = Processor.process_getEBSSettlementDate
3869
 
4209
 
3870
  def process(self, iprot, oprot):
4210
  def process(self, iprot, oprot):
3871
    (name, type, seqid) = iprot.readMessageBegin()
4211
    (name, type, seqid) = iprot.readMessageBegin()
3872
    if name not in self._processMap:
4212
    if name not in self._processMap:
3873
      iprot.skip(TType.STRUCT)
4213
      iprot.skip(TType.STRUCT)
Line 4958... Line 5298...
4958
    oprot.writeMessageBegin("getOrdersForProviderForStatus", TMessageType.REPLY, seqid)
5298
    oprot.writeMessageBegin("getOrdersForProviderForStatus", TMessageType.REPLY, seqid)
4959
    result.write(oprot)
5299
    result.write(oprot)
4960
    oprot.writeMessageEnd()
5300
    oprot.writeMessageEnd()
4961
    oprot.trans.flush()
5301
    oprot.trans.flush()
4962
 
5302
 
-
 
5303
  def process_getBilledOrdersForVendor(self, seqid, iprot, oprot):
-
 
5304
    args = getBilledOrdersForVendor_args()
-
 
5305
    args.read(iprot)
-
 
5306
    iprot.readMessageEnd()
-
 
5307
    result = getBilledOrdersForVendor_result()
-
 
5308
    try:
-
 
5309
      result.success = self._handler.getBilledOrdersForVendor(args.vendorId, args.billingDateFrom, args.billingDateTo)
-
 
5310
    except TransactionServiceException, ex:
-
 
5311
      result.ex = ex
-
 
5312
    oprot.writeMessageBegin("getBilledOrdersForVendor", TMessageType.REPLY, seqid)
-
 
5313
    result.write(oprot)
-
 
5314
    oprot.writeMessageEnd()
-
 
5315
    oprot.trans.flush()
-
 
5316
 
-
 
5317
  def process_saveBluedartSettlements(self, seqid, iprot, oprot):
-
 
5318
    args = saveBluedartSettlements_args()
-
 
5319
    args.read(iprot)
-
 
5320
    iprot.readMessageEnd()
-
 
5321
    result = saveBluedartSettlements_result()
-
 
5322
    try:
-
 
5323
      self._handler.saveBluedartSettlements(args.mapAWBAndAmount)
-
 
5324
    except TransactionServiceException, ex:
-
 
5325
      result.ex = ex
-
 
5326
    oprot.writeMessageBegin("saveBluedartSettlements", TMessageType.REPLY, seqid)
-
 
5327
    result.write(oprot)
-
 
5328
    oprot.writeMessageEnd()
-
 
5329
    oprot.trans.flush()
-
 
5330
 
-
 
5331
  def process_savePaymentSettlements(self, seqid, iprot, oprot):
-
 
5332
    args = savePaymentSettlements_args()
-
 
5333
    args.read(iprot)
-
 
5334
    iprot.readMessageEnd()
-
 
5335
    result = savePaymentSettlements_result()
-
 
5336
    try:
-
 
5337
      self._handler.savePaymentSettlements(args.settlementDate, args.paymentGatewayId, args.paymentId, args.serviceTax, args.otherCharges, args.netCollection)
-
 
5338
    except TransactionServiceException, ex:
-
 
5339
      result.ex = ex
-
 
5340
    oprot.writeMessageBegin("savePaymentSettlements", TMessageType.REPLY, seqid)
-
 
5341
    result.write(oprot)
-
 
5342
    oprot.writeMessageEnd()
-
 
5343
    oprot.trans.flush()
-
 
5344
 
-
 
5345
  def process_saveEBSSettlementSummary(self, seqid, iprot, oprot):
-
 
5346
    args = saveEBSSettlementSummary_args()
-
 
5347
    args.read(iprot)
-
 
5348
    iprot.readMessageEnd()
-
 
5349
    result = saveEBSSettlementSummary_result()
-
 
5350
    try:
-
 
5351
      self._handler.saveEBSSettlementSummary(args.settlementId, args.settlementDate, args.transactionDateFrom, args.transactionDateTo, args.amount)
-
 
5352
    except TransactionServiceException, ex:
-
 
5353
      result.ex = ex
-
 
5354
    oprot.writeMessageBegin("saveEBSSettlementSummary", TMessageType.REPLY, seqid)
-
 
5355
    result.write(oprot)
-
 
5356
    oprot.writeMessageEnd()
-
 
5357
    oprot.trans.flush()
-
 
5358
 
-
 
5359
  def process_getSettlementForPaymentId(self, seqid, iprot, oprot):
-
 
5360
    args = getSettlementForPaymentId_args()
-
 
5361
    args.read(iprot)
-
 
5362
    iprot.readMessageEnd()
-
 
5363
    result = getSettlementForPaymentId_result()
-
 
5364
    try:
-
 
5365
      result.success = self._handler.getSettlementForPaymentId(args.paymentId)
-
 
5366
    except TransactionServiceException, ex:
-
 
5367
      result.ex = ex
-
 
5368
    oprot.writeMessageBegin("getSettlementForPaymentId", TMessageType.REPLY, seqid)
-
 
5369
    result.write(oprot)
-
 
5370
    oprot.writeMessageEnd()
-
 
5371
    oprot.trans.flush()
-
 
5372
 
-
 
5373
  def process_getEBSSettlementSummaries(self, seqid, iprot, oprot):
-
 
5374
    args = getEBSSettlementSummaries_args()
-
 
5375
    args.read(iprot)
-
 
5376
    iprot.readMessageEnd()
-
 
5377
    result = getEBSSettlementSummaries_result()
-
 
5378
    try:
-
 
5379
      result.success = self._handler.getEBSSettlementSummaries()
-
 
5380
    except TransactionServiceException, ex:
-
 
5381
      result.ex = ex
-
 
5382
    oprot.writeMessageBegin("getEBSSettlementSummaries", TMessageType.REPLY, seqid)
-
 
5383
    result.write(oprot)
-
 
5384
    oprot.writeMessageEnd()
-
 
5385
    oprot.trans.flush()
-
 
5386
 
-
 
5387
  def process_markEBSSettlementUploaded(self, seqid, iprot, oprot):
-
 
5388
    args = markEBSSettlementUploaded_args()
-
 
5389
    args.read(iprot)
-
 
5390
    iprot.readMessageEnd()
-
 
5391
    result = markEBSSettlementUploaded_result()
-
 
5392
    try:
-
 
5393
      self._handler.markEBSSettlementUploaded(args.settlementId)
-
 
5394
    except TransactionServiceException, ex:
-
 
5395
      result.ex = ex
-
 
5396
    oprot.writeMessageBegin("markEBSSettlementUploaded", TMessageType.REPLY, seqid)
-
 
5397
    result.write(oprot)
-
 
5398
    oprot.writeMessageEnd()
-
 
5399
    oprot.trans.flush()
-
 
5400
 
-
 
5401
  def process_getEBSSettlementDate(self, seqid, iprot, oprot):
-
 
5402
    args = getEBSSettlementDate_args()
-
 
5403
    args.read(iprot)
-
 
5404
    iprot.readMessageEnd()
-
 
5405
    result = getEBSSettlementDate_result()
-
 
5406
    try:
-
 
5407
      result.success = self._handler.getEBSSettlementDate(args.settlementId)
-
 
5408
    except TransactionServiceException, ex:
-
 
5409
      result.ex = ex
-
 
5410
    oprot.writeMessageBegin("getEBSSettlementDate", TMessageType.REPLY, seqid)
-
 
5411
    result.write(oprot)
-
 
5412
    oprot.writeMessageEnd()
-
 
5413
    oprot.trans.flush()
-
 
5414
 
4963
 
5415
 
4964
# HELPER FUNCTIONS AND STRUCTURES
5416
# HELPER FUNCTIONS AND STRUCTURES
4965
 
5417
 
4966
class createTransaction_args:
5418
class createTransaction_args:
4967
  """
5419
  """
Line 16455... Line 16907...
16455
      oprot.writeFieldEnd()
16907
      oprot.writeFieldEnd()
16456
    if self.ex is not None:
16908
    if self.ex is not None:
16457
      oprot.writeFieldBegin('ex', TType.STRUCT, 1)
16909
      oprot.writeFieldBegin('ex', TType.STRUCT, 1)
16458
      self.ex.write(oprot)
16910
      self.ex.write(oprot)
16459
      oprot.writeFieldEnd()
16911
      oprot.writeFieldEnd()
-
 
16912
    oprot.writeFieldStop()
-
 
16913
    oprot.writeStructEnd()
-
 
16914
 
-
 
16915
  def validate(self):
-
 
16916
    return
-
 
16917
 
-
 
16918
 
-
 
16919
  def __repr__(self):
-
 
16920
    L = ['%s=%r' % (key, value)
-
 
16921
      for key, value in self.__dict__.iteritems()]
-
 
16922
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
-
 
16923
 
-
 
16924
  def __eq__(self, other):
-
 
16925
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
-
 
16926
 
-
 
16927
  def __ne__(self, other):
-
 
16928
    return not (self == other)
-
 
16929
 
-
 
16930
class getBilledOrdersForVendor_args:
-
 
16931
  """
-
 
16932
  Attributes:
-
 
16933
   - vendorId
-
 
16934
   - billingDateFrom
-
 
16935
   - billingDateTo
-
 
16936
  """
-
 
16937
 
-
 
16938
  thrift_spec = (
-
 
16939
    None, # 0
-
 
16940
    (1, TType.I64, 'vendorId', None, None, ), # 1
-
 
16941
    (2, TType.I64, 'billingDateFrom', None, None, ), # 2
-
 
16942
    (3, TType.I64, 'billingDateTo', None, None, ), # 3
-
 
16943
  )
-
 
16944
 
-
 
16945
  def __init__(self, vendorId=None, billingDateFrom=None, billingDateTo=None,):
-
 
16946
    self.vendorId = vendorId
-
 
16947
    self.billingDateFrom = billingDateFrom
-
 
16948
    self.billingDateTo = billingDateTo
-
 
16949
 
-
 
16950
  def read(self, iprot):
-
 
16951
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
-
 
16952
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
-
 
16953
      return
-
 
16954
    iprot.readStructBegin()
-
 
16955
    while True:
-
 
16956
      (fname, ftype, fid) = iprot.readFieldBegin()
-
 
16957
      if ftype == TType.STOP:
-
 
16958
        break
-
 
16959
      if fid == 1:
-
 
16960
        if ftype == TType.I64:
-
 
16961
          self.vendorId = iprot.readI64();
-
 
16962
        else:
-
 
16963
          iprot.skip(ftype)
-
 
16964
      elif fid == 2:
-
 
16965
        if ftype == TType.I64:
-
 
16966
          self.billingDateFrom = iprot.readI64();
-
 
16967
        else:
-
 
16968
          iprot.skip(ftype)
-
 
16969
      elif fid == 3:
-
 
16970
        if ftype == TType.I64:
-
 
16971
          self.billingDateTo = iprot.readI64();
-
 
16972
        else:
-
 
16973
          iprot.skip(ftype)
-
 
16974
      else:
-
 
16975
        iprot.skip(ftype)
-
 
16976
      iprot.readFieldEnd()
-
 
16977
    iprot.readStructEnd()
-
 
16978
 
-
 
16979
  def write(self, oprot):
-
 
16980
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
-
 
16981
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
-
 
16982
      return
-
 
16983
    oprot.writeStructBegin('getBilledOrdersForVendor_args')
-
 
16984
    if self.vendorId is not None:
-
 
16985
      oprot.writeFieldBegin('vendorId', TType.I64, 1)
-
 
16986
      oprot.writeI64(self.vendorId)
-
 
16987
      oprot.writeFieldEnd()
-
 
16988
    if self.billingDateFrom is not None:
-
 
16989
      oprot.writeFieldBegin('billingDateFrom', TType.I64, 2)
-
 
16990
      oprot.writeI64(self.billingDateFrom)
-
 
16991
      oprot.writeFieldEnd()
-
 
16992
    if self.billingDateTo is not None:
-
 
16993
      oprot.writeFieldBegin('billingDateTo', TType.I64, 3)
-
 
16994
      oprot.writeI64(self.billingDateTo)
-
 
16995
      oprot.writeFieldEnd()
-
 
16996
    oprot.writeFieldStop()
-
 
16997
    oprot.writeStructEnd()
-
 
16998
 
-
 
16999
  def validate(self):
-
 
17000
    return
-
 
17001
 
-
 
17002
 
-
 
17003
  def __repr__(self):
-
 
17004
    L = ['%s=%r' % (key, value)
-
 
17005
      for key, value in self.__dict__.iteritems()]
-
 
17006
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
-
 
17007
 
-
 
17008
  def __eq__(self, other):
-
 
17009
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
-
 
17010
 
-
 
17011
  def __ne__(self, other):
-
 
17012
    return not (self == other)
-
 
17013
 
-
 
17014
class getBilledOrdersForVendor_result:
-
 
17015
  """
-
 
17016
  Attributes:
-
 
17017
   - success
-
 
17018
   - ex
-
 
17019
  """
-
 
17020
 
-
 
17021
  thrift_spec = (
-
 
17022
    (0, TType.LIST, 'success', (TType.STRUCT,(Order, Order.thrift_spec)), None, ), # 0
-
 
17023
    (1, TType.STRUCT, 'ex', (TransactionServiceException, TransactionServiceException.thrift_spec), None, ), # 1
-
 
17024
  )
-
 
17025
 
-
 
17026
  def __init__(self, success=None, ex=None,):
-
 
17027
    self.success = success
-
 
17028
    self.ex = ex
-
 
17029
 
-
 
17030
  def read(self, iprot):
-
 
17031
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
-
 
17032
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
-
 
17033
      return
-
 
17034
    iprot.readStructBegin()
-
 
17035
    while True:
-
 
17036
      (fname, ftype, fid) = iprot.readFieldBegin()
-
 
17037
      if ftype == TType.STOP:
-
 
17038
        break
-
 
17039
      if fid == 0:
-
 
17040
        if ftype == TType.LIST:
-
 
17041
          self.success = []
-
 
17042
          (_etype294, _size291) = iprot.readListBegin()
-
 
17043
          for _i295 in xrange(_size291):
-
 
17044
            _elem296 = Order()
-
 
17045
            _elem296.read(iprot)
-
 
17046
            self.success.append(_elem296)
-
 
17047
          iprot.readListEnd()
-
 
17048
        else:
-
 
17049
          iprot.skip(ftype)
-
 
17050
      elif fid == 1:
-
 
17051
        if ftype == TType.STRUCT:
-
 
17052
          self.ex = TransactionServiceException()
-
 
17053
          self.ex.read(iprot)
-
 
17054
        else:
-
 
17055
          iprot.skip(ftype)
-
 
17056
      else:
-
 
17057
        iprot.skip(ftype)
-
 
17058
      iprot.readFieldEnd()
-
 
17059
    iprot.readStructEnd()
-
 
17060
 
-
 
17061
  def write(self, oprot):
-
 
17062
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
-
 
17063
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
-
 
17064
      return
-
 
17065
    oprot.writeStructBegin('getBilledOrdersForVendor_result')
-
 
17066
    if self.success is not None:
-
 
17067
      oprot.writeFieldBegin('success', TType.LIST, 0)
-
 
17068
      oprot.writeListBegin(TType.STRUCT, len(self.success))
-
 
17069
      for iter297 in self.success:
-
 
17070
        iter297.write(oprot)
-
 
17071
      oprot.writeListEnd()
-
 
17072
      oprot.writeFieldEnd()
-
 
17073
    if self.ex is not None:
-
 
17074
      oprot.writeFieldBegin('ex', TType.STRUCT, 1)
-
 
17075
      self.ex.write(oprot)
-
 
17076
      oprot.writeFieldEnd()
-
 
17077
    oprot.writeFieldStop()
-
 
17078
    oprot.writeStructEnd()
-
 
17079
 
-
 
17080
  def validate(self):
-
 
17081
    return
-
 
17082
 
-
 
17083
 
-
 
17084
  def __repr__(self):
-
 
17085
    L = ['%s=%r' % (key, value)
-
 
17086
      for key, value in self.__dict__.iteritems()]
-
 
17087
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
-
 
17088
 
-
 
17089
  def __eq__(self, other):
-
 
17090
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
-
 
17091
 
-
 
17092
  def __ne__(self, other):
-
 
17093
    return not (self == other)
-
 
17094
 
-
 
17095
class saveBluedartSettlements_args:
-
 
17096
  """
-
 
17097
  Attributes:
-
 
17098
   - mapAWBAndAmount
-
 
17099
  """
-
 
17100
 
-
 
17101
  thrift_spec = (
-
 
17102
    None, # 0
-
 
17103
    (1, TType.MAP, 'mapAWBAndAmount', (TType.I64,None,TType.DOUBLE,None), None, ), # 1
-
 
17104
  )
-
 
17105
 
-
 
17106
  def __init__(self, mapAWBAndAmount=None,):
-
 
17107
    self.mapAWBAndAmount = mapAWBAndAmount
-
 
17108
 
-
 
17109
  def read(self, iprot):
-
 
17110
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
-
 
17111
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
-
 
17112
      return
-
 
17113
    iprot.readStructBegin()
-
 
17114
    while True:
-
 
17115
      (fname, ftype, fid) = iprot.readFieldBegin()
-
 
17116
      if ftype == TType.STOP:
-
 
17117
        break
-
 
17118
      if fid == 1:
-
 
17119
        if ftype == TType.MAP:
-
 
17120
          self.mapAWBAndAmount = {}
-
 
17121
          (_ktype299, _vtype300, _size298 ) = iprot.readMapBegin() 
-
 
17122
          for _i302 in xrange(_size298):
-
 
17123
            _key303 = iprot.readI64();
-
 
17124
            _val304 = iprot.readDouble();
-
 
17125
            self.mapAWBAndAmount[_key303] = _val304
-
 
17126
          iprot.readMapEnd()
-
 
17127
        else:
-
 
17128
          iprot.skip(ftype)
-
 
17129
      else:
-
 
17130
        iprot.skip(ftype)
-
 
17131
      iprot.readFieldEnd()
-
 
17132
    iprot.readStructEnd()
-
 
17133
 
-
 
17134
  def write(self, oprot):
-
 
17135
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
-
 
17136
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
-
 
17137
      return
-
 
17138
    oprot.writeStructBegin('saveBluedartSettlements_args')
-
 
17139
    if self.mapAWBAndAmount is not None:
-
 
17140
      oprot.writeFieldBegin('mapAWBAndAmount', TType.MAP, 1)
-
 
17141
      oprot.writeMapBegin(TType.I64, TType.DOUBLE, len(self.mapAWBAndAmount))
-
 
17142
      for kiter305,viter306 in self.mapAWBAndAmount.items():
-
 
17143
        oprot.writeI64(kiter305)
-
 
17144
        oprot.writeDouble(viter306)
-
 
17145
      oprot.writeMapEnd()
-
 
17146
      oprot.writeFieldEnd()
-
 
17147
    oprot.writeFieldStop()
-
 
17148
    oprot.writeStructEnd()
-
 
17149
 
-
 
17150
  def validate(self):
-
 
17151
    return
-
 
17152
 
-
 
17153
 
-
 
17154
  def __repr__(self):
-
 
17155
    L = ['%s=%r' % (key, value)
-
 
17156
      for key, value in self.__dict__.iteritems()]
-
 
17157
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
-
 
17158
 
-
 
17159
  def __eq__(self, other):
-
 
17160
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
-
 
17161
 
-
 
17162
  def __ne__(self, other):
-
 
17163
    return not (self == other)
-
 
17164
 
-
 
17165
class saveBluedartSettlements_result:
-
 
17166
  """
-
 
17167
  Attributes:
-
 
17168
   - ex
-
 
17169
  """
-
 
17170
 
-
 
17171
  thrift_spec = (
-
 
17172
    None, # 0
-
 
17173
    (1, TType.STRUCT, 'ex', (TransactionServiceException, TransactionServiceException.thrift_spec), None, ), # 1
-
 
17174
  )
-
 
17175
 
-
 
17176
  def __init__(self, ex=None,):
-
 
17177
    self.ex = ex
-
 
17178
 
-
 
17179
  def read(self, iprot):
-
 
17180
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
-
 
17181
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
-
 
17182
      return
-
 
17183
    iprot.readStructBegin()
-
 
17184
    while True:
-
 
17185
      (fname, ftype, fid) = iprot.readFieldBegin()
-
 
17186
      if ftype == TType.STOP:
-
 
17187
        break
-
 
17188
      if fid == 1:
-
 
17189
        if ftype == TType.STRUCT:
-
 
17190
          self.ex = TransactionServiceException()
-
 
17191
          self.ex.read(iprot)
-
 
17192
        else:
-
 
17193
          iprot.skip(ftype)
-
 
17194
      else:
-
 
17195
        iprot.skip(ftype)
-
 
17196
      iprot.readFieldEnd()
-
 
17197
    iprot.readStructEnd()
-
 
17198
 
-
 
17199
  def write(self, oprot):
-
 
17200
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
-
 
17201
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
-
 
17202
      return
-
 
17203
    oprot.writeStructBegin('saveBluedartSettlements_result')
-
 
17204
    if self.ex is not None:
-
 
17205
      oprot.writeFieldBegin('ex', TType.STRUCT, 1)
-
 
17206
      self.ex.write(oprot)
-
 
17207
      oprot.writeFieldEnd()
-
 
17208
    oprot.writeFieldStop()
-
 
17209
    oprot.writeStructEnd()
-
 
17210
 
-
 
17211
  def validate(self):
-
 
17212
    return
-
 
17213
 
-
 
17214
 
-
 
17215
  def __repr__(self):
-
 
17216
    L = ['%s=%r' % (key, value)
-
 
17217
      for key, value in self.__dict__.iteritems()]
-
 
17218
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
-
 
17219
 
-
 
17220
  def __eq__(self, other):
-
 
17221
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
-
 
17222
 
-
 
17223
  def __ne__(self, other):
-
 
17224
    return not (self == other)
-
 
17225
 
-
 
17226
class savePaymentSettlements_args:
-
 
17227
  """
-
 
17228
  Attributes:
-
 
17229
   - settlementDate
-
 
17230
   - paymentGatewayId
-
 
17231
   - paymentId
-
 
17232
   - serviceTax
-
 
17233
   - otherCharges
-
 
17234
   - netCollection
-
 
17235
  """
-
 
17236
 
-
 
17237
  thrift_spec = (
-
 
17238
    None, # 0
-
 
17239
    (1, TType.I64, 'settlementDate', None, None, ), # 1
-
 
17240
    (2, TType.I64, 'paymentGatewayId', None, None, ), # 2
-
 
17241
    (3, TType.I64, 'paymentId', None, None, ), # 3
-
 
17242
    (4, TType.DOUBLE, 'serviceTax', None, None, ), # 4
-
 
17243
    (5, TType.DOUBLE, 'otherCharges', None, None, ), # 5
-
 
17244
    (6, TType.DOUBLE, 'netCollection', None, None, ), # 6
-
 
17245
  )
-
 
17246
 
-
 
17247
  def __init__(self, settlementDate=None, paymentGatewayId=None, paymentId=None, serviceTax=None, otherCharges=None, netCollection=None,):
-
 
17248
    self.settlementDate = settlementDate
-
 
17249
    self.paymentGatewayId = paymentGatewayId
-
 
17250
    self.paymentId = paymentId
-
 
17251
    self.serviceTax = serviceTax
-
 
17252
    self.otherCharges = otherCharges
-
 
17253
    self.netCollection = netCollection
-
 
17254
 
-
 
17255
  def read(self, iprot):
-
 
17256
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
-
 
17257
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
-
 
17258
      return
-
 
17259
    iprot.readStructBegin()
-
 
17260
    while True:
-
 
17261
      (fname, ftype, fid) = iprot.readFieldBegin()
-
 
17262
      if ftype == TType.STOP:
-
 
17263
        break
-
 
17264
      if fid == 1:
-
 
17265
        if ftype == TType.I64:
-
 
17266
          self.settlementDate = iprot.readI64();
-
 
17267
        else:
-
 
17268
          iprot.skip(ftype)
-
 
17269
      elif fid == 2:
-
 
17270
        if ftype == TType.I64:
-
 
17271
          self.paymentGatewayId = iprot.readI64();
-
 
17272
        else:
-
 
17273
          iprot.skip(ftype)
-
 
17274
      elif fid == 3:
-
 
17275
        if ftype == TType.I64:
-
 
17276
          self.paymentId = iprot.readI64();
-
 
17277
        else:
-
 
17278
          iprot.skip(ftype)
-
 
17279
      elif fid == 4:
-
 
17280
        if ftype == TType.DOUBLE:
-
 
17281
          self.serviceTax = iprot.readDouble();
-
 
17282
        else:
-
 
17283
          iprot.skip(ftype)
-
 
17284
      elif fid == 5:
-
 
17285
        if ftype == TType.DOUBLE:
-
 
17286
          self.otherCharges = iprot.readDouble();
-
 
17287
        else:
-
 
17288
          iprot.skip(ftype)
-
 
17289
      elif fid == 6:
-
 
17290
        if ftype == TType.DOUBLE:
-
 
17291
          self.netCollection = iprot.readDouble();
-
 
17292
        else:
-
 
17293
          iprot.skip(ftype)
-
 
17294
      else:
-
 
17295
        iprot.skip(ftype)
-
 
17296
      iprot.readFieldEnd()
-
 
17297
    iprot.readStructEnd()
-
 
17298
 
-
 
17299
  def write(self, oprot):
-
 
17300
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
-
 
17301
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
-
 
17302
      return
-
 
17303
    oprot.writeStructBegin('savePaymentSettlements_args')
-
 
17304
    if self.settlementDate is not None:
-
 
17305
      oprot.writeFieldBegin('settlementDate', TType.I64, 1)
-
 
17306
      oprot.writeI64(self.settlementDate)
-
 
17307
      oprot.writeFieldEnd()
-
 
17308
    if self.paymentGatewayId is not None:
-
 
17309
      oprot.writeFieldBegin('paymentGatewayId', TType.I64, 2)
-
 
17310
      oprot.writeI64(self.paymentGatewayId)
-
 
17311
      oprot.writeFieldEnd()
-
 
17312
    if self.paymentId is not None:
-
 
17313
      oprot.writeFieldBegin('paymentId', TType.I64, 3)
-
 
17314
      oprot.writeI64(self.paymentId)
-
 
17315
      oprot.writeFieldEnd()
-
 
17316
    if self.serviceTax is not None:
-
 
17317
      oprot.writeFieldBegin('serviceTax', TType.DOUBLE, 4)
-
 
17318
      oprot.writeDouble(self.serviceTax)
-
 
17319
      oprot.writeFieldEnd()
-
 
17320
    if self.otherCharges is not None:
-
 
17321
      oprot.writeFieldBegin('otherCharges', TType.DOUBLE, 5)
-
 
17322
      oprot.writeDouble(self.otherCharges)
-
 
17323
      oprot.writeFieldEnd()
-
 
17324
    if self.netCollection is not None:
-
 
17325
      oprot.writeFieldBegin('netCollection', TType.DOUBLE, 6)
-
 
17326
      oprot.writeDouble(self.netCollection)
-
 
17327
      oprot.writeFieldEnd()
-
 
17328
    oprot.writeFieldStop()
-
 
17329
    oprot.writeStructEnd()
-
 
17330
 
-
 
17331
  def validate(self):
-
 
17332
    return
-
 
17333
 
-
 
17334
 
-
 
17335
  def __repr__(self):
-
 
17336
    L = ['%s=%r' % (key, value)
-
 
17337
      for key, value in self.__dict__.iteritems()]
-
 
17338
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
-
 
17339
 
-
 
17340
  def __eq__(self, other):
-
 
17341
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
-
 
17342
 
-
 
17343
  def __ne__(self, other):
-
 
17344
    return not (self == other)
-
 
17345
 
-
 
17346
class savePaymentSettlements_result:
-
 
17347
  """
-
 
17348
  Attributes:
-
 
17349
   - ex
-
 
17350
  """
-
 
17351
 
-
 
17352
  thrift_spec = (
-
 
17353
    None, # 0
-
 
17354
    (1, TType.STRUCT, 'ex', (TransactionServiceException, TransactionServiceException.thrift_spec), None, ), # 1
-
 
17355
  )
-
 
17356
 
-
 
17357
  def __init__(self, ex=None,):
-
 
17358
    self.ex = ex
-
 
17359
 
-
 
17360
  def read(self, iprot):
-
 
17361
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
-
 
17362
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
-
 
17363
      return
-
 
17364
    iprot.readStructBegin()
-
 
17365
    while True:
-
 
17366
      (fname, ftype, fid) = iprot.readFieldBegin()
-
 
17367
      if ftype == TType.STOP:
-
 
17368
        break
-
 
17369
      if fid == 1:
-
 
17370
        if ftype == TType.STRUCT:
-
 
17371
          self.ex = TransactionServiceException()
-
 
17372
          self.ex.read(iprot)
-
 
17373
        else:
-
 
17374
          iprot.skip(ftype)
-
 
17375
      else:
-
 
17376
        iprot.skip(ftype)
-
 
17377
      iprot.readFieldEnd()
-
 
17378
    iprot.readStructEnd()
-
 
17379
 
-
 
17380
  def write(self, oprot):
-
 
17381
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
-
 
17382
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
-
 
17383
      return
-
 
17384
    oprot.writeStructBegin('savePaymentSettlements_result')
-
 
17385
    if self.ex is not None:
-
 
17386
      oprot.writeFieldBegin('ex', TType.STRUCT, 1)
-
 
17387
      self.ex.write(oprot)
-
 
17388
      oprot.writeFieldEnd()
-
 
17389
    oprot.writeFieldStop()
-
 
17390
    oprot.writeStructEnd()
-
 
17391
 
-
 
17392
  def validate(self):
-
 
17393
    return
-
 
17394
 
-
 
17395
 
-
 
17396
  def __repr__(self):
-
 
17397
    L = ['%s=%r' % (key, value)
-
 
17398
      for key, value in self.__dict__.iteritems()]
-
 
17399
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
-
 
17400
 
-
 
17401
  def __eq__(self, other):
-
 
17402
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
-
 
17403
 
-
 
17404
  def __ne__(self, other):
-
 
17405
    return not (self == other)
-
 
17406
 
-
 
17407
class saveEBSSettlementSummary_args:
-
 
17408
  """
-
 
17409
  Attributes:
-
 
17410
   - settlementId
-
 
17411
   - settlementDate
-
 
17412
   - transactionDateFrom
-
 
17413
   - transactionDateTo
-
 
17414
   - amount
-
 
17415
  """
-
 
17416
 
-
 
17417
  thrift_spec = (
-
 
17418
    None, # 0
-
 
17419
    (1, TType.I64, 'settlementId', None, None, ), # 1
-
 
17420
    (2, TType.I64, 'settlementDate', None, None, ), # 2
-
 
17421
    (3, TType.I64, 'transactionDateFrom', None, None, ), # 3
-
 
17422
    (4, TType.I64, 'transactionDateTo', None, None, ), # 4
-
 
17423
    (5, TType.DOUBLE, 'amount', None, None, ), # 5
-
 
17424
  )
-
 
17425
 
-
 
17426
  def __init__(self, settlementId=None, settlementDate=None, transactionDateFrom=None, transactionDateTo=None, amount=None,):
-
 
17427
    self.settlementId = settlementId
-
 
17428
    self.settlementDate = settlementDate
-
 
17429
    self.transactionDateFrom = transactionDateFrom
-
 
17430
    self.transactionDateTo = transactionDateTo
-
 
17431
    self.amount = amount
-
 
17432
 
-
 
17433
  def read(self, iprot):
-
 
17434
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
-
 
17435
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
-
 
17436
      return
-
 
17437
    iprot.readStructBegin()
-
 
17438
    while True:
-
 
17439
      (fname, ftype, fid) = iprot.readFieldBegin()
-
 
17440
      if ftype == TType.STOP:
-
 
17441
        break
-
 
17442
      if fid == 1:
-
 
17443
        if ftype == TType.I64:
-
 
17444
          self.settlementId = iprot.readI64();
-
 
17445
        else:
-
 
17446
          iprot.skip(ftype)
-
 
17447
      elif fid == 2:
-
 
17448
        if ftype == TType.I64:
-
 
17449
          self.settlementDate = iprot.readI64();
-
 
17450
        else:
-
 
17451
          iprot.skip(ftype)
-
 
17452
      elif fid == 3:
-
 
17453
        if ftype == TType.I64:
-
 
17454
          self.transactionDateFrom = iprot.readI64();
-
 
17455
        else:
-
 
17456
          iprot.skip(ftype)
-
 
17457
      elif fid == 4:
-
 
17458
        if ftype == TType.I64:
-
 
17459
          self.transactionDateTo = iprot.readI64();
-
 
17460
        else:
-
 
17461
          iprot.skip(ftype)
-
 
17462
      elif fid == 5:
-
 
17463
        if ftype == TType.DOUBLE:
-
 
17464
          self.amount = iprot.readDouble();
-
 
17465
        else:
-
 
17466
          iprot.skip(ftype)
-
 
17467
      else:
-
 
17468
        iprot.skip(ftype)
-
 
17469
      iprot.readFieldEnd()
-
 
17470
    iprot.readStructEnd()
-
 
17471
 
-
 
17472
  def write(self, oprot):
-
 
17473
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
-
 
17474
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
-
 
17475
      return
-
 
17476
    oprot.writeStructBegin('saveEBSSettlementSummary_args')
-
 
17477
    if self.settlementId is not None:
-
 
17478
      oprot.writeFieldBegin('settlementId', TType.I64, 1)
-
 
17479
      oprot.writeI64(self.settlementId)
-
 
17480
      oprot.writeFieldEnd()
-
 
17481
    if self.settlementDate is not None:
-
 
17482
      oprot.writeFieldBegin('settlementDate', TType.I64, 2)
-
 
17483
      oprot.writeI64(self.settlementDate)
-
 
17484
      oprot.writeFieldEnd()
-
 
17485
    if self.transactionDateFrom is not None:
-
 
17486
      oprot.writeFieldBegin('transactionDateFrom', TType.I64, 3)
-
 
17487
      oprot.writeI64(self.transactionDateFrom)
-
 
17488
      oprot.writeFieldEnd()
-
 
17489
    if self.transactionDateTo is not None:
-
 
17490
      oprot.writeFieldBegin('transactionDateTo', TType.I64, 4)
-
 
17491
      oprot.writeI64(self.transactionDateTo)
-
 
17492
      oprot.writeFieldEnd()
-
 
17493
    if self.amount is not None:
-
 
17494
      oprot.writeFieldBegin('amount', TType.DOUBLE, 5)
-
 
17495
      oprot.writeDouble(self.amount)
-
 
17496
      oprot.writeFieldEnd()
-
 
17497
    oprot.writeFieldStop()
-
 
17498
    oprot.writeStructEnd()
-
 
17499
 
-
 
17500
  def validate(self):
-
 
17501
    return
-
 
17502
 
-
 
17503
 
-
 
17504
  def __repr__(self):
-
 
17505
    L = ['%s=%r' % (key, value)
-
 
17506
      for key, value in self.__dict__.iteritems()]
-
 
17507
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
-
 
17508
 
-
 
17509
  def __eq__(self, other):
-
 
17510
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
-
 
17511
 
-
 
17512
  def __ne__(self, other):
-
 
17513
    return not (self == other)
-
 
17514
 
-
 
17515
class saveEBSSettlementSummary_result:
-
 
17516
  """
-
 
17517
  Attributes:
-
 
17518
   - ex
-
 
17519
  """
-
 
17520
 
-
 
17521
  thrift_spec = (
-
 
17522
    None, # 0
-
 
17523
    (1, TType.STRUCT, 'ex', (TransactionServiceException, TransactionServiceException.thrift_spec), None, ), # 1
-
 
17524
  )
-
 
17525
 
-
 
17526
  def __init__(self, ex=None,):
-
 
17527
    self.ex = ex
-
 
17528
 
-
 
17529
  def read(self, iprot):
-
 
17530
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
-
 
17531
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
-
 
17532
      return
-
 
17533
    iprot.readStructBegin()
-
 
17534
    while True:
-
 
17535
      (fname, ftype, fid) = iprot.readFieldBegin()
-
 
17536
      if ftype == TType.STOP:
-
 
17537
        break
-
 
17538
      if fid == 1:
-
 
17539
        if ftype == TType.STRUCT:
-
 
17540
          self.ex = TransactionServiceException()
-
 
17541
          self.ex.read(iprot)
-
 
17542
        else:
-
 
17543
          iprot.skip(ftype)
-
 
17544
      else:
-
 
17545
        iprot.skip(ftype)
-
 
17546
      iprot.readFieldEnd()
-
 
17547
    iprot.readStructEnd()
-
 
17548
 
-
 
17549
  def write(self, oprot):
-
 
17550
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
-
 
17551
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
-
 
17552
      return
-
 
17553
    oprot.writeStructBegin('saveEBSSettlementSummary_result')
-
 
17554
    if self.ex is not None:
-
 
17555
      oprot.writeFieldBegin('ex', TType.STRUCT, 1)
-
 
17556
      self.ex.write(oprot)
-
 
17557
      oprot.writeFieldEnd()
-
 
17558
    oprot.writeFieldStop()
-
 
17559
    oprot.writeStructEnd()
-
 
17560
 
-
 
17561
  def validate(self):
-
 
17562
    return
-
 
17563
 
-
 
17564
 
-
 
17565
  def __repr__(self):
-
 
17566
    L = ['%s=%r' % (key, value)
-
 
17567
      for key, value in self.__dict__.iteritems()]
-
 
17568
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
-
 
17569
 
-
 
17570
  def __eq__(self, other):
-
 
17571
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
-
 
17572
 
-
 
17573
  def __ne__(self, other):
-
 
17574
    return not (self == other)
-
 
17575
 
-
 
17576
class getSettlementForPaymentId_args:
-
 
17577
  """
-
 
17578
  Attributes:
-
 
17579
   - paymentId
-
 
17580
  """
-
 
17581
 
-
 
17582
  thrift_spec = (
-
 
17583
    None, # 0
-
 
17584
    (1, TType.I64, 'paymentId', None, None, ), # 1
-
 
17585
  )
-
 
17586
 
-
 
17587
  def __init__(self, paymentId=None,):
-
 
17588
    self.paymentId = paymentId
-
 
17589
 
-
 
17590
  def read(self, iprot):
-
 
17591
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
-
 
17592
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
-
 
17593
      return
-
 
17594
    iprot.readStructBegin()
-
 
17595
    while True:
-
 
17596
      (fname, ftype, fid) = iprot.readFieldBegin()
-
 
17597
      if ftype == TType.STOP:
-
 
17598
        break
-
 
17599
      if fid == 1:
-
 
17600
        if ftype == TType.I64:
-
 
17601
          self.paymentId = iprot.readI64();
-
 
17602
        else:
-
 
17603
          iprot.skip(ftype)
-
 
17604
      else:
-
 
17605
        iprot.skip(ftype)
-
 
17606
      iprot.readFieldEnd()
-
 
17607
    iprot.readStructEnd()
-
 
17608
 
-
 
17609
  def write(self, oprot):
-
 
17610
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
-
 
17611
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
-
 
17612
      return
-
 
17613
    oprot.writeStructBegin('getSettlementForPaymentId_args')
-
 
17614
    if self.paymentId is not None:
-
 
17615
      oprot.writeFieldBegin('paymentId', TType.I64, 1)
-
 
17616
      oprot.writeI64(self.paymentId)
-
 
17617
      oprot.writeFieldEnd()
-
 
17618
    oprot.writeFieldStop()
-
 
17619
    oprot.writeStructEnd()
-
 
17620
 
-
 
17621
  def validate(self):
-
 
17622
    return
-
 
17623
 
-
 
17624
 
-
 
17625
  def __repr__(self):
-
 
17626
    L = ['%s=%r' % (key, value)
-
 
17627
      for key, value in self.__dict__.iteritems()]
-
 
17628
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
-
 
17629
 
-
 
17630
  def __eq__(self, other):
-
 
17631
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
-
 
17632
 
-
 
17633
  def __ne__(self, other):
-
 
17634
    return not (self == other)
-
 
17635
 
-
 
17636
class getSettlementForPaymentId_result:
-
 
17637
  """
-
 
17638
  Attributes:
-
 
17639
   - success
-
 
17640
   - ex
-
 
17641
  """
-
 
17642
 
-
 
17643
  thrift_spec = (
-
 
17644
    (0, TType.STRUCT, 'success', (PaymentSettlement, PaymentSettlement.thrift_spec), None, ), # 0
-
 
17645
    (1, TType.STRUCT, 'ex', (TransactionServiceException, TransactionServiceException.thrift_spec), None, ), # 1
-
 
17646
  )
-
 
17647
 
-
 
17648
  def __init__(self, success=None, ex=None,):
-
 
17649
    self.success = success
-
 
17650
    self.ex = ex
-
 
17651
 
-
 
17652
  def read(self, iprot):
-
 
17653
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
-
 
17654
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
-
 
17655
      return
-
 
17656
    iprot.readStructBegin()
-
 
17657
    while True:
-
 
17658
      (fname, ftype, fid) = iprot.readFieldBegin()
-
 
17659
      if ftype == TType.STOP:
-
 
17660
        break
-
 
17661
      if fid == 0:
-
 
17662
        if ftype == TType.STRUCT:
-
 
17663
          self.success = PaymentSettlement()
-
 
17664
          self.success.read(iprot)
-
 
17665
        else:
-
 
17666
          iprot.skip(ftype)
-
 
17667
      elif fid == 1:
-
 
17668
        if ftype == TType.STRUCT:
-
 
17669
          self.ex = TransactionServiceException()
-
 
17670
          self.ex.read(iprot)
-
 
17671
        else:
-
 
17672
          iprot.skip(ftype)
-
 
17673
      else:
-
 
17674
        iprot.skip(ftype)
-
 
17675
      iprot.readFieldEnd()
-
 
17676
    iprot.readStructEnd()
-
 
17677
 
-
 
17678
  def write(self, oprot):
-
 
17679
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
-
 
17680
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
-
 
17681
      return
-
 
17682
    oprot.writeStructBegin('getSettlementForPaymentId_result')
-
 
17683
    if self.success is not None:
-
 
17684
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
-
 
17685
      self.success.write(oprot)
-
 
17686
      oprot.writeFieldEnd()
-
 
17687
    if self.ex is not None:
-
 
17688
      oprot.writeFieldBegin('ex', TType.STRUCT, 1)
-
 
17689
      self.ex.write(oprot)
-
 
17690
      oprot.writeFieldEnd()
-
 
17691
    oprot.writeFieldStop()
-
 
17692
    oprot.writeStructEnd()
-
 
17693
 
-
 
17694
  def validate(self):
-
 
17695
    return
-
 
17696
 
-
 
17697
 
-
 
17698
  def __repr__(self):
-
 
17699
    L = ['%s=%r' % (key, value)
-
 
17700
      for key, value in self.__dict__.iteritems()]
-
 
17701
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
-
 
17702
 
-
 
17703
  def __eq__(self, other):
-
 
17704
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
-
 
17705
 
-
 
17706
  def __ne__(self, other):
-
 
17707
    return not (self == other)
-
 
17708
 
-
 
17709
class getEBSSettlementSummaries_args:
-
 
17710
 
-
 
17711
  thrift_spec = (
-
 
17712
  )
-
 
17713
 
-
 
17714
  def read(self, iprot):
-
 
17715
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
-
 
17716
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
-
 
17717
      return
-
 
17718
    iprot.readStructBegin()
-
 
17719
    while True:
-
 
17720
      (fname, ftype, fid) = iprot.readFieldBegin()
-
 
17721
      if ftype == TType.STOP:
-
 
17722
        break
-
 
17723
      else:
-
 
17724
        iprot.skip(ftype)
-
 
17725
      iprot.readFieldEnd()
-
 
17726
    iprot.readStructEnd()
-
 
17727
 
-
 
17728
  def write(self, oprot):
-
 
17729
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
-
 
17730
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
-
 
17731
      return
-
 
17732
    oprot.writeStructBegin('getEBSSettlementSummaries_args')
-
 
17733
    oprot.writeFieldStop()
-
 
17734
    oprot.writeStructEnd()
-
 
17735
 
-
 
17736
  def validate(self):
-
 
17737
    return
-
 
17738
 
-
 
17739
 
-
 
17740
  def __repr__(self):
-
 
17741
    L = ['%s=%r' % (key, value)
-
 
17742
      for key, value in self.__dict__.iteritems()]
-
 
17743
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
-
 
17744
 
-
 
17745
  def __eq__(self, other):
-
 
17746
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
-
 
17747
 
-
 
17748
  def __ne__(self, other):
-
 
17749
    return not (self == other)
-
 
17750
 
-
 
17751
class getEBSSettlementSummaries_result:
-
 
17752
  """
-
 
17753
  Attributes:
-
 
17754
   - success
-
 
17755
   - ex
-
 
17756
  """
-
 
17757
 
-
 
17758
  thrift_spec = (
-
 
17759
    (0, TType.MAP, 'success', (TType.I64,None,TType.STRING,None), None, ), # 0
-
 
17760
    (1, TType.STRUCT, 'ex', (TransactionServiceException, TransactionServiceException.thrift_spec), None, ), # 1
-
 
17761
  )
-
 
17762
 
-
 
17763
  def __init__(self, success=None, ex=None,):
-
 
17764
    self.success = success
-
 
17765
    self.ex = ex
-
 
17766
 
-
 
17767
  def read(self, iprot):
-
 
17768
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
-
 
17769
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
-
 
17770
      return
-
 
17771
    iprot.readStructBegin()
-
 
17772
    while True:
-
 
17773
      (fname, ftype, fid) = iprot.readFieldBegin()
-
 
17774
      if ftype == TType.STOP:
-
 
17775
        break
-
 
17776
      if fid == 0:
-
 
17777
        if ftype == TType.MAP:
-
 
17778
          self.success = {}
-
 
17779
          (_ktype308, _vtype309, _size307 ) = iprot.readMapBegin() 
-
 
17780
          for _i311 in xrange(_size307):
-
 
17781
            _key312 = iprot.readI64();
-
 
17782
            _val313 = iprot.readString();
-
 
17783
            self.success[_key312] = _val313
-
 
17784
          iprot.readMapEnd()
-
 
17785
        else:
-
 
17786
          iprot.skip(ftype)
-
 
17787
      elif fid == 1:
-
 
17788
        if ftype == TType.STRUCT:
-
 
17789
          self.ex = TransactionServiceException()
-
 
17790
          self.ex.read(iprot)
-
 
17791
        else:
-
 
17792
          iprot.skip(ftype)
-
 
17793
      else:
-
 
17794
        iprot.skip(ftype)
-
 
17795
      iprot.readFieldEnd()
-
 
17796
    iprot.readStructEnd()
-
 
17797
 
-
 
17798
  def write(self, oprot):
-
 
17799
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
-
 
17800
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
-
 
17801
      return
-
 
17802
    oprot.writeStructBegin('getEBSSettlementSummaries_result')
-
 
17803
    if self.success is not None:
-
 
17804
      oprot.writeFieldBegin('success', TType.MAP, 0)
-
 
17805
      oprot.writeMapBegin(TType.I64, TType.STRING, len(self.success))
-
 
17806
      for kiter314,viter315 in self.success.items():
-
 
17807
        oprot.writeI64(kiter314)
-
 
17808
        oprot.writeString(viter315)
-
 
17809
      oprot.writeMapEnd()
-
 
17810
      oprot.writeFieldEnd()
-
 
17811
    if self.ex is not None:
-
 
17812
      oprot.writeFieldBegin('ex', TType.STRUCT, 1)
-
 
17813
      self.ex.write(oprot)
-
 
17814
      oprot.writeFieldEnd()
-
 
17815
    oprot.writeFieldStop()
-
 
17816
    oprot.writeStructEnd()
-
 
17817
 
-
 
17818
  def validate(self):
-
 
17819
    return
-
 
17820
 
-
 
17821
 
-
 
17822
  def __repr__(self):
-
 
17823
    L = ['%s=%r' % (key, value)
-
 
17824
      for key, value in self.__dict__.iteritems()]
-
 
17825
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
-
 
17826
 
-
 
17827
  def __eq__(self, other):
-
 
17828
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
-
 
17829
 
-
 
17830
  def __ne__(self, other):
-
 
17831
    return not (self == other)
-
 
17832
 
-
 
17833
class markEBSSettlementUploaded_args:
-
 
17834
  """
-
 
17835
  Attributes:
-
 
17836
   - settlementId
-
 
17837
  """
-
 
17838
 
-
 
17839
  thrift_spec = (
-
 
17840
    None, # 0
-
 
17841
    (1, TType.I64, 'settlementId', None, None, ), # 1
-
 
17842
  )
-
 
17843
 
-
 
17844
  def __init__(self, settlementId=None,):
-
 
17845
    self.settlementId = settlementId
-
 
17846
 
-
 
17847
  def read(self, iprot):
-
 
17848
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
-
 
17849
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
-
 
17850
      return
-
 
17851
    iprot.readStructBegin()
-
 
17852
    while True:
-
 
17853
      (fname, ftype, fid) = iprot.readFieldBegin()
-
 
17854
      if ftype == TType.STOP:
-
 
17855
        break
-
 
17856
      if fid == 1:
-
 
17857
        if ftype == TType.I64:
-
 
17858
          self.settlementId = iprot.readI64();
-
 
17859
        else:
-
 
17860
          iprot.skip(ftype)
-
 
17861
      else:
-
 
17862
        iprot.skip(ftype)
-
 
17863
      iprot.readFieldEnd()
-
 
17864
    iprot.readStructEnd()
-
 
17865
 
-
 
17866
  def write(self, oprot):
-
 
17867
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
-
 
17868
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
-
 
17869
      return
-
 
17870
    oprot.writeStructBegin('markEBSSettlementUploaded_args')
-
 
17871
    if self.settlementId is not None:
-
 
17872
      oprot.writeFieldBegin('settlementId', TType.I64, 1)
-
 
17873
      oprot.writeI64(self.settlementId)
-
 
17874
      oprot.writeFieldEnd()
-
 
17875
    oprot.writeFieldStop()
-
 
17876
    oprot.writeStructEnd()
-
 
17877
 
-
 
17878
  def validate(self):
-
 
17879
    return
-
 
17880
 
-
 
17881
 
-
 
17882
  def __repr__(self):
-
 
17883
    L = ['%s=%r' % (key, value)
-
 
17884
      for key, value in self.__dict__.iteritems()]
-
 
17885
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
-
 
17886
 
-
 
17887
  def __eq__(self, other):
-
 
17888
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
-
 
17889
 
-
 
17890
  def __ne__(self, other):
-
 
17891
    return not (self == other)
-
 
17892
 
-
 
17893
class markEBSSettlementUploaded_result:
-
 
17894
  """
-
 
17895
  Attributes:
-
 
17896
   - ex
-
 
17897
  """
-
 
17898
 
-
 
17899
  thrift_spec = (
-
 
17900
    None, # 0
-
 
17901
    (1, TType.STRUCT, 'ex', (TransactionServiceException, TransactionServiceException.thrift_spec), None, ), # 1
-
 
17902
  )
-
 
17903
 
-
 
17904
  def __init__(self, ex=None,):
-
 
17905
    self.ex = ex
-
 
17906
 
-
 
17907
  def read(self, iprot):
-
 
17908
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
-
 
17909
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
-
 
17910
      return
-
 
17911
    iprot.readStructBegin()
-
 
17912
    while True:
-
 
17913
      (fname, ftype, fid) = iprot.readFieldBegin()
-
 
17914
      if ftype == TType.STOP:
-
 
17915
        break
-
 
17916
      if fid == 1:
-
 
17917
        if ftype == TType.STRUCT:
-
 
17918
          self.ex = TransactionServiceException()
-
 
17919
          self.ex.read(iprot)
-
 
17920
        else:
-
 
17921
          iprot.skip(ftype)
-
 
17922
      else:
-
 
17923
        iprot.skip(ftype)
-
 
17924
      iprot.readFieldEnd()
-
 
17925
    iprot.readStructEnd()
-
 
17926
 
-
 
17927
  def write(self, oprot):
-
 
17928
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
-
 
17929
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
-
 
17930
      return
-
 
17931
    oprot.writeStructBegin('markEBSSettlementUploaded_result')
-
 
17932
    if self.ex is not None:
-
 
17933
      oprot.writeFieldBegin('ex', TType.STRUCT, 1)
-
 
17934
      self.ex.write(oprot)
-
 
17935
      oprot.writeFieldEnd()
-
 
17936
    oprot.writeFieldStop()
-
 
17937
    oprot.writeStructEnd()
-
 
17938
 
-
 
17939
  def validate(self):
-
 
17940
    return
-
 
17941
 
-
 
17942
 
-
 
17943
  def __repr__(self):
-
 
17944
    L = ['%s=%r' % (key, value)
-
 
17945
      for key, value in self.__dict__.iteritems()]
-
 
17946
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
-
 
17947
 
-
 
17948
  def __eq__(self, other):
-
 
17949
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
-
 
17950
 
-
 
17951
  def __ne__(self, other):
-
 
17952
    return not (self == other)
-
 
17953
 
-
 
17954
class getEBSSettlementDate_args:
-
 
17955
  """
-
 
17956
  Attributes:
-
 
17957
   - settlementId
-
 
17958
  """
-
 
17959
 
-
 
17960
  thrift_spec = (
-
 
17961
    None, # 0
-
 
17962
    (1, TType.I64, 'settlementId', None, None, ), # 1
-
 
17963
  )
-
 
17964
 
-
 
17965
  def __init__(self, settlementId=None,):
-
 
17966
    self.settlementId = settlementId
-
 
17967
 
-
 
17968
  def read(self, iprot):
-
 
17969
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
-
 
17970
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
-
 
17971
      return
-
 
17972
    iprot.readStructBegin()
-
 
17973
    while True:
-
 
17974
      (fname, ftype, fid) = iprot.readFieldBegin()
-
 
17975
      if ftype == TType.STOP:
-
 
17976
        break
-
 
17977
      if fid == 1:
-
 
17978
        if ftype == TType.I64:
-
 
17979
          self.settlementId = iprot.readI64();
-
 
17980
        else:
-
 
17981
          iprot.skip(ftype)
-
 
17982
      else:
-
 
17983
        iprot.skip(ftype)
-
 
17984
      iprot.readFieldEnd()
-
 
17985
    iprot.readStructEnd()
-
 
17986
 
-
 
17987
  def write(self, oprot):
-
 
17988
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
-
 
17989
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
-
 
17990
      return
-
 
17991
    oprot.writeStructBegin('getEBSSettlementDate_args')
-
 
17992
    if self.settlementId is not None:
-
 
17993
      oprot.writeFieldBegin('settlementId', TType.I64, 1)
-
 
17994
      oprot.writeI64(self.settlementId)
-
 
17995
      oprot.writeFieldEnd()
-
 
17996
    oprot.writeFieldStop()
-
 
17997
    oprot.writeStructEnd()
-
 
17998
 
-
 
17999
  def validate(self):
-
 
18000
    return
-
 
18001
 
-
 
18002
 
-
 
18003
  def __repr__(self):
-
 
18004
    L = ['%s=%r' % (key, value)
-
 
18005
      for key, value in self.__dict__.iteritems()]
-
 
18006
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
-
 
18007
 
-
 
18008
  def __eq__(self, other):
-
 
18009
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
-
 
18010
 
-
 
18011
  def __ne__(self, other):
-
 
18012
    return not (self == other)
-
 
18013
 
-
 
18014
class getEBSSettlementDate_result:
-
 
18015
  """
-
 
18016
  Attributes:
-
 
18017
   - success
-
 
18018
   - ex
-
 
18019
  """
-
 
18020
 
-
 
18021
  thrift_spec = (
-
 
18022
    (0, TType.I64, 'success', None, None, ), # 0
-
 
18023
    (1, TType.STRUCT, 'ex', (TransactionServiceException, TransactionServiceException.thrift_spec), None, ), # 1
-
 
18024
  )
-
 
18025
 
-
 
18026
  def __init__(self, success=None, ex=None,):
-
 
18027
    self.success = success
-
 
18028
    self.ex = ex
-
 
18029
 
-
 
18030
  def read(self, iprot):
-
 
18031
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
-
 
18032
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
-
 
18033
      return
-
 
18034
    iprot.readStructBegin()
-
 
18035
    while True:
-
 
18036
      (fname, ftype, fid) = iprot.readFieldBegin()
-
 
18037
      if ftype == TType.STOP:
-
 
18038
        break
-
 
18039
      if fid == 0:
-
 
18040
        if ftype == TType.I64:
-
 
18041
          self.success = iprot.readI64();
-
 
18042
        else:
-
 
18043
          iprot.skip(ftype)
-
 
18044
      elif fid == 1:
-
 
18045
        if ftype == TType.STRUCT:
-
 
18046
          self.ex = TransactionServiceException()
-
 
18047
          self.ex.read(iprot)
-
 
18048
        else:
-
 
18049
          iprot.skip(ftype)
-
 
18050
      else:
-
 
18051
        iprot.skip(ftype)
-
 
18052
      iprot.readFieldEnd()
-
 
18053
    iprot.readStructEnd()
-
 
18054
 
-
 
18055
  def write(self, oprot):
-
 
18056
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
-
 
18057
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
-
 
18058
      return
-
 
18059
    oprot.writeStructBegin('getEBSSettlementDate_result')
-
 
18060
    if self.success is not None:
-
 
18061
      oprot.writeFieldBegin('success', TType.I64, 0)
-
 
18062
      oprot.writeI64(self.success)
-
 
18063
      oprot.writeFieldEnd()
-
 
18064
    if self.ex is not None:
-
 
18065
      oprot.writeFieldBegin('ex', TType.STRUCT, 1)
-
 
18066
      self.ex.write(oprot)
-
 
18067
      oprot.writeFieldEnd()
16460
    oprot.writeFieldStop()
18068
    oprot.writeFieldStop()
16461
    oprot.writeStructEnd()
18069
    oprot.writeStructEnd()
16462
 
18070
 
16463
  def validate(self):
18071
  def validate(self):
16464
    return
18072
    return