Subversion Repositories SmartDukaan

Rev

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

Rev 12772 Rev 12979
Line 2072... Line 2072...
2072
    pass
2072
    pass
2073
 
2073
 
2074
  def getVerificationPendingOrdersFK(self, ):
2074
  def getVerificationPendingOrdersFK(self, ):
2075
    pass
2075
    pass
2076
 
2076
 
2077
  def getFAOrderByFkOrderId(self, fkOrderId, fkOrderItemId):
2077
  def getFAOrderByFkOrderId(self, fkOrderId):
2078
    """
2078
    """
2079
    Parameters:
2079
    Parameters:
2080
     - fkOrderId
2080
     - fkOrderId
2081
     - fkOrderItemId
-
 
2082
    """
2081
    """
2083
    pass
2082
    pass
2084
 
2083
 
2085
  def getAllFAOrdersList(self, status):
2084
  def getAllFAOrdersList(self, ):
2086
    """
-
 
2087
    Parameters:
-
 
2088
     - status
-
 
2089
    """
-
 
2090
    pass
2085
    pass
2091
 
2086
 
2092
  def addUpdateFaOrdersBulk(self, faOrdersList):
2087
  def addUpdateFaOrdersBulk(self, faOrdersList):
2093
    """
2088
    """
2094
    Parameters:
2089
    Parameters:
2095
     - faOrdersList
2090
     - faOrdersList
2096
    """
2091
    """
2097
    pass
2092
    pass
2098
 
2093
 
2099
  def addInvoiceDetailsToOrders(self, transactionId, customerId):
2094
  def getRcgOrderStatus(self, rechargeOrderId, isFinal):
2100
    """
2095
    """
2101
    Parameters:
2096
    Parameters:
2102
     - transactionId
2097
     - rechargeOrderId
2103
     - customerId
2098
     - isFinal
2104
    """
2099
    """
2105
    pass
2100
    pass
2106
 
2101
 
2107
  def flipkartFaOrderExists(self, fkOrderId, fkOrderItemId):
2102
  def getRcgTransactionStatus(self, rechargeTransactionId, isFinal):
2108
    """
2103
    """
2109
    Parameters:
2104
    Parameters:
2110
     - fkOrderId
2105
     - rechargeTransactionId
2111
     - fkOrderItemId
2106
     - isFinal
2112
    """
2107
    """
2113
    pass
2108
    pass
2114
 
2109
 
2115
 
2110
 
2116
class Client(shop2020.thriftpy.generic.GenericService.Client, Iface):
2111
class Client(shop2020.thriftpy.generic.GenericService.Client, Iface):
Line 9810... Line 9805...
9810
      return result.success
9805
      return result.success
9811
    if result.ex is not None:
9806
    if result.ex is not None:
9812
      raise result.ex
9807
      raise result.ex
9813
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getVerificationPendingOrdersFK failed: unknown result");
9808
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getVerificationPendingOrdersFK failed: unknown result");
9814
 
9809
 
9815
  def getFAOrderByFkOrderId(self, fkOrderId, fkOrderItemId):
9810
  def getFAOrderByFkOrderId(self, fkOrderId):
9816
    """
9811
    """
9817
    Parameters:
9812
    Parameters:
9818
     - fkOrderId
9813
     - fkOrderId
9819
     - fkOrderItemId
-
 
9820
    """
9814
    """
9821
    self.send_getFAOrderByFkOrderId(fkOrderId, fkOrderItemId)
9815
    self.send_getFAOrderByFkOrderId(fkOrderId)
9822
    return self.recv_getFAOrderByFkOrderId()
9816
    return self.recv_getFAOrderByFkOrderId()
9823
 
9817
 
9824
  def send_getFAOrderByFkOrderId(self, fkOrderId, fkOrderItemId):
9818
  def send_getFAOrderByFkOrderId(self, fkOrderId):
9825
    self._oprot.writeMessageBegin('getFAOrderByFkOrderId', TMessageType.CALL, self._seqid)
9819
    self._oprot.writeMessageBegin('getFAOrderByFkOrderId', TMessageType.CALL, self._seqid)
9826
    args = getFAOrderByFkOrderId_args()
9820
    args = getFAOrderByFkOrderId_args()
9827
    args.fkOrderId = fkOrderId
9821
    args.fkOrderId = fkOrderId
9828
    args.fkOrderItemId = fkOrderItemId
-
 
9829
    args.write(self._oprot)
9822
    args.write(self._oprot)
9830
    self._oprot.writeMessageEnd()
9823
    self._oprot.writeMessageEnd()
9831
    self._oprot.trans.flush()
9824
    self._oprot.trans.flush()
9832
 
9825
 
9833
  def recv_getFAOrderByFkOrderId(self, ):
9826
  def recv_getFAOrderByFkOrderId(self, ):
Line 9844... Line 9837...
9844
      return result.success
9837
      return result.success
9845
    if result.ex is not None:
9838
    if result.ex is not None:
9846
      raise result.ex
9839
      raise result.ex
9847
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getFAOrderByFkOrderId failed: unknown result");
9840
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getFAOrderByFkOrderId failed: unknown result");
9848
 
9841
 
9849
  def getAllFAOrdersList(self, status):
9842
  def getAllFAOrdersList(self, ):
9850
    """
-
 
9851
    Parameters:
-
 
9852
     - status
-
 
9853
    """
-
 
9854
    self.send_getAllFAOrdersList(status)
9843
    self.send_getAllFAOrdersList()
9855
    return self.recv_getAllFAOrdersList()
9844
    return self.recv_getAllFAOrdersList()
9856
 
9845
 
9857
  def send_getAllFAOrdersList(self, status):
9846
  def send_getAllFAOrdersList(self, ):
9858
    self._oprot.writeMessageBegin('getAllFAOrdersList', TMessageType.CALL, self._seqid)
9847
    self._oprot.writeMessageBegin('getAllFAOrdersList', TMessageType.CALL, self._seqid)
9859
    args = getAllFAOrdersList_args()
9848
    args = getAllFAOrdersList_args()
9860
    args.status = status
-
 
9861
    args.write(self._oprot)
9849
    args.write(self._oprot)
9862
    self._oprot.writeMessageEnd()
9850
    self._oprot.writeMessageEnd()
9863
    self._oprot.trans.flush()
9851
    self._oprot.trans.flush()
9864
 
9852
 
9865
  def recv_getAllFAOrdersList(self, ):
9853
  def recv_getAllFAOrdersList(self, ):
Line 9906... Line 9894...
9906
    self._iprot.readMessageEnd()
9894
    self._iprot.readMessageEnd()
9907
    if result.ex is not None:
9895
    if result.ex is not None:
9908
      raise result.ex
9896
      raise result.ex
9909
    return
9897
    return
9910
 
9898
 
9911
  def addInvoiceDetailsToOrders(self, transactionId, customerId):
9899
  def getRcgOrderStatus(self, rechargeOrderId, isFinal):
9912
    """
9900
    """
9913
    Parameters:
9901
    Parameters:
9914
     - transactionId
9902
     - rechargeOrderId
9915
     - customerId
9903
     - isFinal
9916
    """
9904
    """
9917
    self.send_addInvoiceDetailsToOrders(transactionId, customerId)
9905
    self.send_getRcgOrderStatus(rechargeOrderId, isFinal)
9918
    self.recv_addInvoiceDetailsToOrders()
9906
    return self.recv_getRcgOrderStatus()
9919
 
9907
 
9920
  def send_addInvoiceDetailsToOrders(self, transactionId, customerId):
9908
  def send_getRcgOrderStatus(self, rechargeOrderId, isFinal):
9921
    self._oprot.writeMessageBegin('addInvoiceDetailsToOrders', TMessageType.CALL, self._seqid)
9909
    self._oprot.writeMessageBegin('getRcgOrderStatus', TMessageType.CALL, self._seqid)
9922
    args = addInvoiceDetailsToOrders_args()
9910
    args = getRcgOrderStatus_args()
9923
    args.transactionId = transactionId
9911
    args.rechargeOrderId = rechargeOrderId
9924
    args.customerId = customerId
9912
    args.isFinal = isFinal
9925
    args.write(self._oprot)
9913
    args.write(self._oprot)
9926
    self._oprot.writeMessageEnd()
9914
    self._oprot.writeMessageEnd()
9927
    self._oprot.trans.flush()
9915
    self._oprot.trans.flush()
9928
 
9916
 
9929
  def recv_addInvoiceDetailsToOrders(self, ):
9917
  def recv_getRcgOrderStatus(self, ):
9930
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
9918
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
9931
    if mtype == TMessageType.EXCEPTION:
9919
    if mtype == TMessageType.EXCEPTION:
9932
      x = TApplicationException()
9920
      x = TApplicationException()
9933
      x.read(self._iprot)
9921
      x.read(self._iprot)
9934
      self._iprot.readMessageEnd()
9922
      self._iprot.readMessageEnd()
9935
      raise x
9923
      raise x
9936
    result = addInvoiceDetailsToOrders_result()
9924
    result = getRcgOrderStatus_result()
9937
    result.read(self._iprot)
9925
    result.read(self._iprot)
9938
    self._iprot.readMessageEnd()
9926
    self._iprot.readMessageEnd()
9939
    if result.ex is not None:
9927
    if result.success is not None:
9940
      raise result.ex
9928
      return result.success
9941
    return
-
 
-
 
9929
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getRcgOrderStatus failed: unknown result");
9942
 
9930
 
9943
  def flipkartFaOrderExists(self, fkOrderId, fkOrderItemId):
9931
  def getRcgTransactionStatus(self, rechargeTransactionId, isFinal):
9944
    """
9932
    """
9945
    Parameters:
9933
    Parameters:
9946
     - fkOrderId
9934
     - rechargeTransactionId
9947
     - fkOrderItemId
9935
     - isFinal
9948
    """
9936
    """
9949
    self.send_flipkartFaOrderExists(fkOrderId, fkOrderItemId)
9937
    self.send_getRcgTransactionStatus(rechargeTransactionId, isFinal)
9950
    return self.recv_flipkartFaOrderExists()
9938
    return self.recv_getRcgTransactionStatus()
9951
 
9939
 
9952
  def send_flipkartFaOrderExists(self, fkOrderId, fkOrderItemId):
9940
  def send_getRcgTransactionStatus(self, rechargeTransactionId, isFinal):
9953
    self._oprot.writeMessageBegin('flipkartFaOrderExists', TMessageType.CALL, self._seqid)
9941
    self._oprot.writeMessageBegin('getRcgTransactionStatus', TMessageType.CALL, self._seqid)
9954
    args = flipkartFaOrderExists_args()
9942
    args = getRcgTransactionStatus_args()
9955
    args.fkOrderId = fkOrderId
9943
    args.rechargeTransactionId = rechargeTransactionId
9956
    args.fkOrderItemId = fkOrderItemId
9944
    args.isFinal = isFinal
9957
    args.write(self._oprot)
9945
    args.write(self._oprot)
9958
    self._oprot.writeMessageEnd()
9946
    self._oprot.writeMessageEnd()
9959
    self._oprot.trans.flush()
9947
    self._oprot.trans.flush()
9960
 
9948
 
9961
  def recv_flipkartFaOrderExists(self, ):
9949
  def recv_getRcgTransactionStatus(self, ):
9962
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
9950
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
9963
    if mtype == TMessageType.EXCEPTION:
9951
    if mtype == TMessageType.EXCEPTION:
9964
      x = TApplicationException()
9952
      x = TApplicationException()
9965
      x.read(self._iprot)
9953
      x.read(self._iprot)
9966
      self._iprot.readMessageEnd()
9954
      self._iprot.readMessageEnd()
9967
      raise x
9955
      raise x
9968
    result = flipkartFaOrderExists_result()
9956
    result = getRcgTransactionStatus_result()
9969
    result.read(self._iprot)
9957
    result.read(self._iprot)
9970
    self._iprot.readMessageEnd()
9958
    self._iprot.readMessageEnd()
9971
    if result.success is not None:
9959
    if result.success is not None:
9972
      return result.success
9960
      return result.success
9973
    if result.ex is not None:
-
 
9974
      raise result.ex
-
 
9975
    raise TApplicationException(TApplicationException.MISSING_RESULT, "flipkartFaOrderExists failed: unknown result");
9961
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getRcgTransactionStatus failed: unknown result");
9976
 
9962
 
9977
 
9963
 
9978
class Processor(shop2020.thriftpy.generic.GenericService.Processor, Iface, TProcessor):
9964
class Processor(shop2020.thriftpy.generic.GenericService.Processor, Iface, TProcessor):
9979
  def __init__(self, handler):
9965
  def __init__(self, handler):
9980
    shop2020.thriftpy.generic.GenericService.Processor.__init__(self, handler)
9966
    shop2020.thriftpy.generic.GenericService.Processor.__init__(self, handler)
Line 10210... Line 10196...
10210
    self._processMap["getTotalSaleReturnsFbaSkusCurentTime"] = Processor.process_getTotalSaleReturnsFbaSkusCurentTime
10196
    self._processMap["getTotalSaleReturnsFbaSkusCurentTime"] = Processor.process_getTotalSaleReturnsFbaSkusCurentTime
10211
    self._processMap["getVerificationPendingOrdersFK"] = Processor.process_getVerificationPendingOrdersFK
10197
    self._processMap["getVerificationPendingOrdersFK"] = Processor.process_getVerificationPendingOrdersFK
10212
    self._processMap["getFAOrderByFkOrderId"] = Processor.process_getFAOrderByFkOrderId
10198
    self._processMap["getFAOrderByFkOrderId"] = Processor.process_getFAOrderByFkOrderId
10213
    self._processMap["getAllFAOrdersList"] = Processor.process_getAllFAOrdersList
10199
    self._processMap["getAllFAOrdersList"] = Processor.process_getAllFAOrdersList
10214
    self._processMap["addUpdateFaOrdersBulk"] = Processor.process_addUpdateFaOrdersBulk
10200
    self._processMap["addUpdateFaOrdersBulk"] = Processor.process_addUpdateFaOrdersBulk
10215
    self._processMap["addInvoiceDetailsToOrders"] = Processor.process_addInvoiceDetailsToOrders
10201
    self._processMap["getRcgOrderStatus"] = Processor.process_getRcgOrderStatus
10216
    self._processMap["flipkartFaOrderExists"] = Processor.process_flipkartFaOrderExists
10202
    self._processMap["getRcgTransactionStatus"] = Processor.process_getRcgTransactionStatus
10217
 
10203
 
10218
  def process(self, iprot, oprot):
10204
  def process(self, iprot, oprot):
10219
    (name, type, seqid) = iprot.readMessageBegin()
10205
    (name, type, seqid) = iprot.readMessageBegin()
10220
    if name not in self._processMap:
10206
    if name not in self._processMap:
10221
      iprot.skip(TType.STRUCT)
10207
      iprot.skip(TType.STRUCT)
Line 13099... Line 13085...
13099
    args = getFAOrderByFkOrderId_args()
13085
    args = getFAOrderByFkOrderId_args()
13100
    args.read(iprot)
13086
    args.read(iprot)
13101
    iprot.readMessageEnd()
13087
    iprot.readMessageEnd()
13102
    result = getFAOrderByFkOrderId_result()
13088
    result = getFAOrderByFkOrderId_result()
13103
    try:
13089
    try:
13104
      result.success = self._handler.getFAOrderByFkOrderId(args.fkOrderId, args.fkOrderItemId)
13090
      result.success = self._handler.getFAOrderByFkOrderId(args.fkOrderId)
13105
    except TransactionServiceException, ex:
13091
    except TransactionServiceException, ex:
13106
      result.ex = ex
13092
      result.ex = ex
13107
    oprot.writeMessageBegin("getFAOrderByFkOrderId", TMessageType.REPLY, seqid)
13093
    oprot.writeMessageBegin("getFAOrderByFkOrderId", TMessageType.REPLY, seqid)
13108
    result.write(oprot)
13094
    result.write(oprot)
13109
    oprot.writeMessageEnd()
13095
    oprot.writeMessageEnd()
Line 13113... Line 13099...
13113
    args = getAllFAOrdersList_args()
13099
    args = getAllFAOrdersList_args()
13114
    args.read(iprot)
13100
    args.read(iprot)
13115
    iprot.readMessageEnd()
13101
    iprot.readMessageEnd()
13116
    result = getAllFAOrdersList_result()
13102
    result = getAllFAOrdersList_result()
13117
    try:
13103
    try:
13118
      result.success = self._handler.getAllFAOrdersList(args.status)
13104
      result.success = self._handler.getAllFAOrdersList()
13119
    except TransactionServiceException, ex:
13105
    except TransactionServiceException, ex:
13120
      result.ex = ex
13106
      result.ex = ex
13121
    oprot.writeMessageBegin("getAllFAOrdersList", TMessageType.REPLY, seqid)
13107
    oprot.writeMessageBegin("getAllFAOrdersList", TMessageType.REPLY, seqid)
13122
    result.write(oprot)
13108
    result.write(oprot)
13123
    oprot.writeMessageEnd()
13109
    oprot.writeMessageEnd()
Line 13135... Line 13121...
13135
    oprot.writeMessageBegin("addUpdateFaOrdersBulk", TMessageType.REPLY, seqid)
13121
    oprot.writeMessageBegin("addUpdateFaOrdersBulk", TMessageType.REPLY, seqid)
13136
    result.write(oprot)
13122
    result.write(oprot)
13137
    oprot.writeMessageEnd()
13123
    oprot.writeMessageEnd()
13138
    oprot.trans.flush()
13124
    oprot.trans.flush()
13139
 
13125
 
13140
  def process_addInvoiceDetailsToOrders(self, seqid, iprot, oprot):
13126
  def process_getRcgOrderStatus(self, seqid, iprot, oprot):
13141
    args = addInvoiceDetailsToOrders_args()
13127
    args = getRcgOrderStatus_args()
13142
    args.read(iprot)
13128
    args.read(iprot)
13143
    iprot.readMessageEnd()
13129
    iprot.readMessageEnd()
13144
    result = addInvoiceDetailsToOrders_result()
13130
    result = getRcgOrderStatus_result()
13145
    try:
-
 
13146
      self._handler.addInvoiceDetailsToOrders(args.transactionId, args.customerId)
13131
    result.success = self._handler.getRcgOrderStatus(args.rechargeOrderId, args.isFinal)
13147
    except TransactionServiceException, ex:
-
 
13148
      result.ex = ex
-
 
13149
    oprot.writeMessageBegin("addInvoiceDetailsToOrders", TMessageType.REPLY, seqid)
13132
    oprot.writeMessageBegin("getRcgOrderStatus", TMessageType.REPLY, seqid)
13150
    result.write(oprot)
13133
    result.write(oprot)
13151
    oprot.writeMessageEnd()
13134
    oprot.writeMessageEnd()
13152
    oprot.trans.flush()
13135
    oprot.trans.flush()
13153
 
13136
 
13154
  def process_flipkartFaOrderExists(self, seqid, iprot, oprot):
13137
  def process_getRcgTransactionStatus(self, seqid, iprot, oprot):
13155
    args = flipkartFaOrderExists_args()
13138
    args = getRcgTransactionStatus_args()
13156
    args.read(iprot)
13139
    args.read(iprot)
13157
    iprot.readMessageEnd()
13140
    iprot.readMessageEnd()
13158
    result = flipkartFaOrderExists_result()
13141
    result = getRcgTransactionStatus_result()
13159
    try:
-
 
13160
      result.success = self._handler.flipkartFaOrderExists(args.fkOrderId, args.fkOrderItemId)
13142
    result.success = self._handler.getRcgTransactionStatus(args.rechargeTransactionId, args.isFinal)
13161
    except TransactionServiceException, ex:
-
 
13162
      result.ex = ex
-
 
13163
    oprot.writeMessageBegin("flipkartFaOrderExists", TMessageType.REPLY, seqid)
13143
    oprot.writeMessageBegin("getRcgTransactionStatus", TMessageType.REPLY, seqid)
13164
    result.write(oprot)
13144
    result.write(oprot)
13165
    oprot.writeMessageEnd()
13145
    oprot.writeMessageEnd()
13166
    oprot.trans.flush()
13146
    oprot.trans.flush()
13167
 
13147
 
13168
 
13148
 
Line 44947... Line 44927...
44947
 
44927
 
44948
class getFAOrderByFkOrderId_args:
44928
class getFAOrderByFkOrderId_args:
44949
  """
44929
  """
44950
  Attributes:
44930
  Attributes:
44951
   - fkOrderId
44931
   - fkOrderId
44952
   - fkOrderItemId
-
 
44953
  """
44932
  """
44954
 
44933
 
44955
  thrift_spec = (
44934
  thrift_spec = (
44956
    None, # 0
44935
    None, # 0
44957
    (1, TType.STRING, 'fkOrderId', None, None, ), # 1
44936
    (1, TType.STRING, 'fkOrderId', None, None, ), # 1
44958
    (2, TType.STRING, 'fkOrderItemId', None, None, ), # 2
-
 
44959
  )
44937
  )
44960
 
44938
 
44961
  def __init__(self, fkOrderId=None, fkOrderItemId=None,):
44939
  def __init__(self, fkOrderId=None,):
44962
    self.fkOrderId = fkOrderId
44940
    self.fkOrderId = fkOrderId
44963
    self.fkOrderItemId = fkOrderItemId
-
 
44964
 
44941
 
44965
  def read(self, iprot):
44942
  def read(self, iprot):
44966
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
44943
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
44967
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
44944
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
44968
      return
44945
      return
Line 44974... Line 44951...
44974
      if fid == 1:
44951
      if fid == 1:
44975
        if ftype == TType.STRING:
44952
        if ftype == TType.STRING:
44976
          self.fkOrderId = iprot.readString();
44953
          self.fkOrderId = iprot.readString();
44977
        else:
44954
        else:
44978
          iprot.skip(ftype)
44955
          iprot.skip(ftype)
44979
      elif fid == 2:
-
 
44980
        if ftype == TType.STRING:
-
 
44981
          self.fkOrderItemId = iprot.readString();
-
 
44982
        else:
-
 
44983
          iprot.skip(ftype)
-
 
44984
      else:
44956
      else:
44985
        iprot.skip(ftype)
44957
        iprot.skip(ftype)
44986
      iprot.readFieldEnd()
44958
      iprot.readFieldEnd()
44987
    iprot.readStructEnd()
44959
    iprot.readStructEnd()
44988
 
44960
 
Line 44993... Line 44965...
44993
    oprot.writeStructBegin('getFAOrderByFkOrderId_args')
44965
    oprot.writeStructBegin('getFAOrderByFkOrderId_args')
44994
    if self.fkOrderId is not None:
44966
    if self.fkOrderId is not None:
44995
      oprot.writeFieldBegin('fkOrderId', TType.STRING, 1)
44967
      oprot.writeFieldBegin('fkOrderId', TType.STRING, 1)
44996
      oprot.writeString(self.fkOrderId)
44968
      oprot.writeString(self.fkOrderId)
44997
      oprot.writeFieldEnd()
44969
      oprot.writeFieldEnd()
44998
    if self.fkOrderItemId is not None:
-
 
44999
      oprot.writeFieldBegin('fkOrderItemId', TType.STRING, 2)
-
 
45000
      oprot.writeString(self.fkOrderItemId)
-
 
45001
      oprot.writeFieldEnd()
-
 
45002
    oprot.writeFieldStop()
44970
    oprot.writeFieldStop()
45003
    oprot.writeStructEnd()
44971
    oprot.writeStructEnd()
45004
 
44972
 
45005
  def validate(self):
44973
  def validate(self):
45006
    return
44974
    return
Line 45089... Line 45057...
45089
 
45057
 
45090
  def __ne__(self, other):
45058
  def __ne__(self, other):
45091
    return not (self == other)
45059
    return not (self == other)
45092
 
45060
 
45093
class getAllFAOrdersList_args:
45061
class getAllFAOrdersList_args:
45094
  """
-
 
45095
  Attributes:
-
 
45096
   - status
-
 
45097
  """
-
 
45098
 
45062
 
45099
  thrift_spec = (
45063
  thrift_spec = (
45100
    None, # 0
-
 
45101
    (1, TType.STRING, 'status', None, None, ), # 1
-
 
45102
  )
45064
  )
45103
 
45065
 
45104
  def __init__(self, status=None,):
-
 
45105
    self.status = status
-
 
45106
 
-
 
45107
  def read(self, iprot):
45066
  def read(self, iprot):
45108
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
45067
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
45109
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
45068
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
45110
      return
45069
      return
45111
    iprot.readStructBegin()
45070
    iprot.readStructBegin()
45112
    while True:
45071
    while True:
45113
      (fname, ftype, fid) = iprot.readFieldBegin()
45072
      (fname, ftype, fid) = iprot.readFieldBegin()
45114
      if ftype == TType.STOP:
45073
      if ftype == TType.STOP:
45115
        break
45074
        break
45116
      if fid == 1:
-
 
45117
        if ftype == TType.STRING:
-
 
45118
          self.status = iprot.readString();
-
 
45119
        else:
-
 
45120
          iprot.skip(ftype)
-
 
45121
      else:
45075
      else:
45122
        iprot.skip(ftype)
45076
        iprot.skip(ftype)
45123
      iprot.readFieldEnd()
45077
      iprot.readFieldEnd()
45124
    iprot.readStructEnd()
45078
    iprot.readStructEnd()
45125
 
45079
 
45126
  def write(self, oprot):
45080
  def write(self, oprot):
45127
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
45081
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
45128
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
45082
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
45129
      return
45083
      return
45130
    oprot.writeStructBegin('getAllFAOrdersList_args')
45084
    oprot.writeStructBegin('getAllFAOrdersList_args')
45131
    if self.status is not None:
-
 
45132
      oprot.writeFieldBegin('status', TType.STRING, 1)
-
 
45133
      oprot.writeString(self.status)
-
 
45134
      oprot.writeFieldEnd()
-
 
45135
    oprot.writeFieldStop()
45085
    oprot.writeFieldStop()
45136
    oprot.writeStructEnd()
45086
    oprot.writeStructEnd()
45137
 
45087
 
45138
  def validate(self):
45088
  def validate(self):
45139
    return
45089
    return
Line 45235... Line 45185...
45235
  """
45185
  """
45236
  Attributes:
45186
  Attributes:
45237
   - faOrdersList
45187
   - faOrdersList
45238
  """
45188
  """
45239
 
45189
 
45240
  thrift_spec = (
45190
  thrift_spec = None
45241
    None, # 0
-
 
45242
    (1, TType.LIST, 'faOrdersList', (TType.STRUCT,(FlipkartAdvantageOrder, FlipkartAdvantageOrder.thrift_spec)), None, ), # 1
-
 
45243
  )
-
 
45244
 
-
 
45245
  def __init__(self, faOrdersList=None,):
45191
  def __init__(self, faOrdersList=None,):
45246
    self.faOrdersList = faOrdersList
45192
    self.faOrdersList = faOrdersList
45247
 
45193
 
45248
  def read(self, iprot):
45194
  def read(self, iprot):
45249
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
45195
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
Line 45252... Line 45198...
45252
    iprot.readStructBegin()
45198
    iprot.readStructBegin()
45253
    while True:
45199
    while True:
45254
      (fname, ftype, fid) = iprot.readFieldBegin()
45200
      (fname, ftype, fid) = iprot.readFieldBegin()
45255
      if ftype == TType.STOP:
45201
      if ftype == TType.STOP:
45256
        break
45202
        break
45257
      if fid == 1:
45203
      if fid == -1:
45258
        if ftype == TType.LIST:
45204
        if ftype == TType.LIST:
45259
          self.faOrdersList = []
45205
          self.faOrdersList = []
45260
          (_etype1034, _size1031) = iprot.readListBegin()
45206
          (_etype1034, _size1031) = iprot.readListBegin()
45261
          for _i1035 in xrange(_size1031):
45207
          for _i1035 in xrange(_size1031):
45262
            _elem1036 = FlipkartAdvantageOrder()
45208
            _elem1036 = FlipkartAdvantageOrder()
Line 45274... Line 45220...
45274
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
45220
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
45275
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
45221
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
45276
      return
45222
      return
45277
    oprot.writeStructBegin('addUpdateFaOrdersBulk_args')
45223
    oprot.writeStructBegin('addUpdateFaOrdersBulk_args')
45278
    if self.faOrdersList is not None:
45224
    if self.faOrdersList is not None:
45279
      oprot.writeFieldBegin('faOrdersList', TType.LIST, 1)
45225
      oprot.writeFieldBegin('faOrdersList', TType.LIST, -1)
45280
      oprot.writeListBegin(TType.STRUCT, len(self.faOrdersList))
45226
      oprot.writeListBegin(TType.STRUCT, len(self.faOrdersList))
45281
      for iter1037 in self.faOrdersList:
45227
      for iter1037 in self.faOrdersList:
45282
        iter1037.write(oprot)
45228
        iter1037.write(oprot)
45283
      oprot.writeListEnd()
45229
      oprot.writeListEnd()
45284
      oprot.writeFieldEnd()
45230
      oprot.writeFieldEnd()
Line 45359... Line 45305...
45359
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
45305
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
45360
 
45306
 
45361
  def __ne__(self, other):
45307
  def __ne__(self, other):
45362
    return not (self == other)
45308
    return not (self == other)
45363
 
45309
 
45364
class addInvoiceDetailsToOrders_args:
45310
class getRcgOrderStatus_args:
45365
  """
45311
  """
45366
  Attributes:
45312
  Attributes:
45367
   - transactionId
45313
   - rechargeOrderId
45368
   - customerId
45314
   - isFinal
45369
  """
45315
  """
45370
 
45316
 
45371
  thrift_spec = (
45317
  thrift_spec = (
45372
    None, # 0
45318
    None, # 0
45373
    (1, TType.I64, 'transactionId', None, None, ), # 1
45319
    (1, TType.I64, 'rechargeOrderId', None, None, ), # 1
45374
    (2, TType.I64, 'customerId', None, None, ), # 2
45320
    (2, TType.BOOL, 'isFinal', None, None, ), # 2
45375
  )
45321
  )
45376
 
45322
 
45377
  def __init__(self, transactionId=None, customerId=None,):
45323
  def __init__(self, rechargeOrderId=None, isFinal=None,):
45378
    self.transactionId = transactionId
45324
    self.rechargeOrderId = rechargeOrderId
45379
    self.customerId = customerId
45325
    self.isFinal = isFinal
45380
 
45326
 
45381
  def read(self, iprot):
45327
  def read(self, iprot):
45382
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
45328
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
45383
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
45329
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
45384
      return
45330
      return
Line 45387... Line 45333...
45387
      (fname, ftype, fid) = iprot.readFieldBegin()
45333
      (fname, ftype, fid) = iprot.readFieldBegin()
45388
      if ftype == TType.STOP:
45334
      if ftype == TType.STOP:
45389
        break
45335
        break
45390
      if fid == 1:
45336
      if fid == 1:
45391
        if ftype == TType.I64:
45337
        if ftype == TType.I64:
45392
          self.transactionId = iprot.readI64();
45338
          self.rechargeOrderId = iprot.readI64();
45393
        else:
45339
        else:
45394
          iprot.skip(ftype)
45340
          iprot.skip(ftype)
45395
      elif fid == 2:
45341
      elif fid == 2:
45396
        if ftype == TType.I64:
45342
        if ftype == TType.BOOL:
45397
          self.customerId = iprot.readI64();
45343
          self.isFinal = iprot.readBool();
45398
        else:
45344
        else:
45399
          iprot.skip(ftype)
45345
          iprot.skip(ftype)
45400
      else:
45346
      else:
45401
        iprot.skip(ftype)
45347
        iprot.skip(ftype)
45402
      iprot.readFieldEnd()
45348
      iprot.readFieldEnd()
Line 45404... Line 45350...
45404
 
45350
 
45405
  def write(self, oprot):
45351
  def write(self, oprot):
45406
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
45352
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
45407
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
45353
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
45408
      return
45354
      return
45409
    oprot.writeStructBegin('addInvoiceDetailsToOrders_args')
45355
    oprot.writeStructBegin('getRcgOrderStatus_args')
45410
    if self.transactionId is not None:
45356
    if self.rechargeOrderId is not None:
45411
      oprot.writeFieldBegin('transactionId', TType.I64, 1)
45357
      oprot.writeFieldBegin('rechargeOrderId', TType.I64, 1)
45412
      oprot.writeI64(self.transactionId)
45358
      oprot.writeI64(self.rechargeOrderId)
45413
      oprot.writeFieldEnd()
45359
      oprot.writeFieldEnd()
45414
    if self.customerId is not None:
45360
    if self.isFinal is not None:
45415
      oprot.writeFieldBegin('customerId', TType.I64, 2)
45361
      oprot.writeFieldBegin('isFinal', TType.BOOL, 2)
45416
      oprot.writeI64(self.customerId)
45362
      oprot.writeBool(self.isFinal)
45417
      oprot.writeFieldEnd()
45363
      oprot.writeFieldEnd()
45418
    oprot.writeFieldStop()
45364
    oprot.writeFieldStop()
45419
    oprot.writeStructEnd()
45365
    oprot.writeStructEnd()
45420
 
45366
 
45421
  def validate(self):
45367
  def validate(self):
Line 45431... Line 45377...
45431
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
45377
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
45432
 
45378
 
45433
  def __ne__(self, other):
45379
  def __ne__(self, other):
45434
    return not (self == other)
45380
    return not (self == other)
45435
 
45381
 
45436
class addInvoiceDetailsToOrders_result:
45382
class getRcgOrderStatus_result:
45437
  """
45383
  """
45438
  Attributes:
45384
  Attributes:
45439
   - ex
45385
   - success
45440
  """
45386
  """
45441
 
45387
 
45442
  thrift_spec = (
45388
  thrift_spec = (
45443
    None, # 0
-
 
45444
    (1, TType.STRUCT, 'ex', (TransactionServiceException, TransactionServiceException.thrift_spec), None, ), # 1
45389
    (0, TType.STRUCT, 'success', (RechargeOrder, RechargeOrder.thrift_spec), None, ), # 0
45445
  )
45390
  )
45446
 
45391
 
45447
  def __init__(self, ex=None,):
45392
  def __init__(self, success=None,):
45448
    self.ex = ex
45393
    self.success = success
45449
 
45394
 
45450
  def read(self, iprot):
45395
  def read(self, iprot):
45451
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
45396
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
45452
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
45397
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
45453
      return
45398
      return
45454
    iprot.readStructBegin()
45399
    iprot.readStructBegin()
45455
    while True:
45400
    while True:
45456
      (fname, ftype, fid) = iprot.readFieldBegin()
45401
      (fname, ftype, fid) = iprot.readFieldBegin()
45457
      if ftype == TType.STOP:
45402
      if ftype == TType.STOP:
45458
        break
45403
        break
45459
      if fid == 1:
45404
      if fid == 0:
45460
        if ftype == TType.STRUCT:
45405
        if ftype == TType.STRUCT:
45461
          self.ex = TransactionServiceException()
45406
          self.success = RechargeOrder()
45462
          self.ex.read(iprot)
45407
          self.success.read(iprot)
45463
        else:
45408
        else:
45464
          iprot.skip(ftype)
45409
          iprot.skip(ftype)
45465
      else:
45410
      else:
45466
        iprot.skip(ftype)
45411
        iprot.skip(ftype)
45467
      iprot.readFieldEnd()
45412
      iprot.readFieldEnd()
Line 45469... Line 45414...
45469
 
45414
 
45470
  def write(self, oprot):
45415
  def write(self, oprot):
45471
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
45416
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
45472
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
45417
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
45473
      return
45418
      return
45474
    oprot.writeStructBegin('addInvoiceDetailsToOrders_result')
45419
    oprot.writeStructBegin('getRcgOrderStatus_result')
45475
    if self.ex is not None:
45420
    if self.success is not None:
45476
      oprot.writeFieldBegin('ex', TType.STRUCT, 1)
45421
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
45477
      self.ex.write(oprot)
45422
      self.success.write(oprot)
45478
      oprot.writeFieldEnd()
45423
      oprot.writeFieldEnd()
45479
    oprot.writeFieldStop()
45424
    oprot.writeFieldStop()
45480
    oprot.writeStructEnd()
45425
    oprot.writeStructEnd()
45481
 
45426
 
45482
  def validate(self):
45427
  def validate(self):
Line 45492... Line 45437...
45492
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
45437
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
45493
 
45438
 
45494
  def __ne__(self, other):
45439
  def __ne__(self, other):
45495
    return not (self == other)
45440
    return not (self == other)
45496
 
45441
 
45497
class flipkartFaOrderExists_args:
45442
class getRcgTransactionStatus_args:
45498
  """
45443
  """
45499
  Attributes:
45444
  Attributes:
45500
   - fkOrderId
45445
   - rechargeTransactionId
45501
   - fkOrderItemId
45446
   - isFinal
45502
  """
45447
  """
45503
 
45448
 
45504
  thrift_spec = (
45449
  thrift_spec = (
45505
    None, # 0
45450
    None, # 0
45506
    (1, TType.STRING, 'fkOrderId', None, None, ), # 1
45451
    (1, TType.I64, 'rechargeTransactionId', None, None, ), # 1
45507
    (2, TType.STRING, 'fkOrderItemId', None, None, ), # 2
45452
    (2, TType.BOOL, 'isFinal', None, None, ), # 2
45508
  )
45453
  )
45509
 
45454
 
45510
  def __init__(self, fkOrderId=None, fkOrderItemId=None,):
45455
  def __init__(self, rechargeTransactionId=None, isFinal=None,):
45511
    self.fkOrderId = fkOrderId
45456
    self.rechargeTransactionId = rechargeTransactionId
45512
    self.fkOrderItemId = fkOrderItemId
45457
    self.isFinal = isFinal
45513
 
45458
 
45514
  def read(self, iprot):
45459
  def read(self, iprot):
45515
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
45460
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
45516
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
45461
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
45517
      return
45462
      return
Line 45519... Line 45464...
45519
    while True:
45464
    while True:
45520
      (fname, ftype, fid) = iprot.readFieldBegin()
45465
      (fname, ftype, fid) = iprot.readFieldBegin()
45521
      if ftype == TType.STOP:
45466
      if ftype == TType.STOP:
45522
        break
45467
        break
45523
      if fid == 1:
45468
      if fid == 1:
45524
        if ftype == TType.STRING:
45469
        if ftype == TType.I64:
45525
          self.fkOrderId = iprot.readString();
45470
          self.rechargeTransactionId = iprot.readI64();
45526
        else:
45471
        else:
45527
          iprot.skip(ftype)
45472
          iprot.skip(ftype)
45528
      elif fid == 2:
45473
      elif fid == 2:
45529
        if ftype == TType.STRING:
45474
        if ftype == TType.BOOL:
45530
          self.fkOrderItemId = iprot.readString();
45475
          self.isFinal = iprot.readBool();
45531
        else:
45476
        else:
45532
          iprot.skip(ftype)
45477
          iprot.skip(ftype)
45533
      else:
45478
      else:
45534
        iprot.skip(ftype)
45479
        iprot.skip(ftype)
45535
      iprot.readFieldEnd()
45480
      iprot.readFieldEnd()
Line 45537... Line 45482...
45537
 
45482
 
45538
  def write(self, oprot):
45483
  def write(self, oprot):
45539
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
45484
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
45540
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
45485
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
45541
      return
45486
      return
45542
    oprot.writeStructBegin('flipkartFaOrderExists_args')
45487
    oprot.writeStructBegin('getRcgTransactionStatus_args')
45543
    if self.fkOrderId is not None:
45488
    if self.rechargeTransactionId is not None:
45544
      oprot.writeFieldBegin('fkOrderId', TType.STRING, 1)
45489
      oprot.writeFieldBegin('rechargeTransactionId', TType.I64, 1)
45545
      oprot.writeString(self.fkOrderId)
45490
      oprot.writeI64(self.rechargeTransactionId)
45546
      oprot.writeFieldEnd()
45491
      oprot.writeFieldEnd()
45547
    if self.fkOrderItemId is not None:
45492
    if self.isFinal is not None:
45548
      oprot.writeFieldBegin('fkOrderItemId', TType.STRING, 2)
45493
      oprot.writeFieldBegin('isFinal', TType.BOOL, 2)
45549
      oprot.writeString(self.fkOrderItemId)
45494
      oprot.writeBool(self.isFinal)
45550
      oprot.writeFieldEnd()
45495
      oprot.writeFieldEnd()
45551
    oprot.writeFieldStop()
45496
    oprot.writeFieldStop()
45552
    oprot.writeStructEnd()
45497
    oprot.writeStructEnd()
45553
 
45498
 
45554
  def validate(self):
45499
  def validate(self):
Line 45564... Line 45509...
45564
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
45509
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
45565
 
45510
 
45566
  def __ne__(self, other):
45511
  def __ne__(self, other):
45567
    return not (self == other)
45512
    return not (self == other)
45568
 
45513
 
45569
class flipkartFaOrderExists_result:
45514
class getRcgTransactionStatus_result:
45570
  """
45515
  """
45571
  Attributes:
45516
  Attributes:
45572
   - success
45517
   - success
45573
   - ex
-
 
45574
  """
45518
  """
45575
 
45519
 
45576
  thrift_spec = (
45520
  thrift_spec = (
45577
    (0, TType.BOOL, 'success', None, None, ), # 0
-
 
45578
    (1, TType.STRUCT, 'ex', (TransactionServiceException, TransactionServiceException.thrift_spec), None, ), # 1
45521
    (0, TType.STRUCT, 'success', (RechargeTransaction, RechargeTransaction.thrift_spec), None, ), # 0
45579
  )
45522
  )
45580
 
45523
 
45581
  def __init__(self, success=None, ex=None,):
45524
  def __init__(self, success=None,):
45582
    self.success = success
45525
    self.success = success
45583
    self.ex = ex
-
 
45584
 
45526
 
45585
  def read(self, iprot):
45527
  def read(self, iprot):
45586
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
45528
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
45587
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
45529
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
45588
      return
45530
      return
Line 45590... Line 45532...
45590
    while True:
45532
    while True:
45591
      (fname, ftype, fid) = iprot.readFieldBegin()
45533
      (fname, ftype, fid) = iprot.readFieldBegin()
45592
      if ftype == TType.STOP:
45534
      if ftype == TType.STOP:
45593
        break
45535
        break
45594
      if fid == 0:
45536
      if fid == 0:
45595
        if ftype == TType.BOOL:
-
 
45596
          self.success = iprot.readBool();
-
 
45597
        else:
-
 
45598
          iprot.skip(ftype)
-
 
45599
      elif fid == 1:
-
 
45600
        if ftype == TType.STRUCT:
45537
        if ftype == TType.STRUCT:
45601
          self.ex = TransactionServiceException()
45538
          self.success = RechargeTransaction()
45602
          self.ex.read(iprot)
45539
          self.success.read(iprot)
45603
        else:
45540
        else:
45604
          iprot.skip(ftype)
45541
          iprot.skip(ftype)
45605
      else:
45542
      else:
45606
        iprot.skip(ftype)
45543
        iprot.skip(ftype)
45607
      iprot.readFieldEnd()
45544
      iprot.readFieldEnd()
Line 45609... Line 45546...
45609
 
45546
 
45610
  def write(self, oprot):
45547
  def write(self, oprot):
45611
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
45548
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
45612
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
45549
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
45613
      return
45550
      return
45614
    oprot.writeStructBegin('flipkartFaOrderExists_result')
45551
    oprot.writeStructBegin('getRcgTransactionStatus_result')
45615
    if self.success is not None:
45552
    if self.success is not None:
45616
      oprot.writeFieldBegin('success', TType.BOOL, 0)
45553
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
45617
      oprot.writeBool(self.success)
-
 
45618
      oprot.writeFieldEnd()
-
 
45619
    if self.ex is not None:
-
 
45620
      oprot.writeFieldBegin('ex', TType.STRUCT, 1)
-
 
45621
      self.ex.write(oprot)
45554
      self.success.write(oprot)
45622
      oprot.writeFieldEnd()
45555
      oprot.writeFieldEnd()
45623
    oprot.writeFieldStop()
45556
    oprot.writeFieldStop()
45624
    oprot.writeStructEnd()
45557
    oprot.writeStructEnd()
45625
 
45558
 
45626
  def validate(self):
45559
  def validate(self):