Subversion Repositories SmartDukaan

Rev

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

Rev 12980 Rev 13146
Line 2126... Line 2126...
2126
     - rechargeTransactionId
2126
     - rechargeTransactionId
2127
     - isFinal
2127
     - isFinal
2128
    """
2128
    """
2129
    pass
2129
    pass
2130
 
2130
 
-
 
2131
  def bulkAddOrUpdateFlipkartFaSalesSnapshot(self, flipkartfasalessnapshotlist):
-
 
2132
    """
-
 
2133
    Parameters:
-
 
2134
     - flipkartfasalessnapshotlist
-
 
2135
    """
-
 
2136
    pass
-
 
2137
 
-
 
2138
  def getFlipkartFaSalesSnapshotForDays(self, days):
-
 
2139
    """
-
 
2140
    Parameters:
-
 
2141
     - days
-
 
2142
    """
-
 
2143
    pass
-
 
2144
 
-
 
2145
  def getFlipkartFaSalesSnapshotBySkuAndSaleDate(self, item_id, dateOfSale):
-
 
2146
    """
-
 
2147
    Parameters:
-
 
2148
     - item_id
-
 
2149
     - dateOfSale
-
 
2150
    """
-
 
2151
    pass
-
 
2152
 
-
 
2153
  def acceptPackageOrders(self, orders):
-
 
2154
    """
-
 
2155
    Parameters:
-
 
2156
     - orders
-
 
2157
    """
-
 
2158
    pass
-
 
2159
 
-
 
2160
  def getGroupOrdersByLogisticsTxnId(self, logisticsTxnId):
-
 
2161
    """
-
 
2162
    Parameters:
-
 
2163
     - logisticsTxnId
-
 
2164
    """
-
 
2165
    pass
-
 
2166
 
-
 
2167
  def addBillingDetailsForGrouppedOrders(self, order_ids, invoice_number, itemNumbersMap, serialNumbersMap, freebieWarehouseIdMap, billed_by, jacketNumber, billingType, authorize):
-
 
2168
    """
-
 
2169
    Parameters:
-
 
2170
     - order_ids
-
 
2171
     - invoice_number
-
 
2172
     - itemNumbersMap
-
 
2173
     - serialNumbersMap
-
 
2174
     - freebieWarehouseIdMap
-
 
2175
     - billed_by
-
 
2176
     - jacketNumber
-
 
2177
     - billingType
-
 
2178
     - authorize
-
 
2179
    """
-
 
2180
    pass
-
 
2181
 
2131
 
2182
 
2132
class Client(shop2020.thriftpy.generic.GenericService.Client, Iface):
2183
class Client(shop2020.thriftpy.generic.GenericService.Client, Iface):
2133
  def __init__(self, iprot, oprot=None):
2184
  def __init__(self, iprot, oprot=None):
2134
    shop2020.thriftpy.generic.GenericService.Client.__init__(self, iprot, oprot)
2185
    shop2020.thriftpy.generic.GenericService.Client.__init__(self, iprot, oprot)
2135
 
2186
 
Line 10052... Line 10103...
10052
    self._iprot.readMessageEnd()
10103
    self._iprot.readMessageEnd()
10053
    if result.success is not None:
10104
    if result.success is not None:
10054
      return result.success
10105
      return result.success
10055
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getRcgTransactionStatus failed: unknown result");
10106
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getRcgTransactionStatus failed: unknown result");
10056
 
10107
 
-
 
10108
  def bulkAddOrUpdateFlipkartFaSalesSnapshot(self, flipkartfasalessnapshotlist):
-
 
10109
    """
-
 
10110
    Parameters:
-
 
10111
     - flipkartfasalessnapshotlist
-
 
10112
    """
-
 
10113
    self.send_bulkAddOrUpdateFlipkartFaSalesSnapshot(flipkartfasalessnapshotlist)
-
 
10114
    self.recv_bulkAddOrUpdateFlipkartFaSalesSnapshot()
-
 
10115
 
-
 
10116
  def send_bulkAddOrUpdateFlipkartFaSalesSnapshot(self, flipkartfasalessnapshotlist):
-
 
10117
    self._oprot.writeMessageBegin('bulkAddOrUpdateFlipkartFaSalesSnapshot', TMessageType.CALL, self._seqid)
-
 
10118
    args = bulkAddOrUpdateFlipkartFaSalesSnapshot_args()
-
 
10119
    args.flipkartfasalessnapshotlist = flipkartfasalessnapshotlist
-
 
10120
    args.write(self._oprot)
-
 
10121
    self._oprot.writeMessageEnd()
-
 
10122
    self._oprot.trans.flush()
-
 
10123
 
-
 
10124
  def recv_bulkAddOrUpdateFlipkartFaSalesSnapshot(self, ):
-
 
10125
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
-
 
10126
    if mtype == TMessageType.EXCEPTION:
-
 
10127
      x = TApplicationException()
-
 
10128
      x.read(self._iprot)
-
 
10129
      self._iprot.readMessageEnd()
-
 
10130
      raise x
-
 
10131
    result = bulkAddOrUpdateFlipkartFaSalesSnapshot_result()
-
 
10132
    result.read(self._iprot)
-
 
10133
    self._iprot.readMessageEnd()
-
 
10134
    return
-
 
10135
 
-
 
10136
  def getFlipkartFaSalesSnapshotForDays(self, days):
-
 
10137
    """
-
 
10138
    Parameters:
-
 
10139
     - days
-
 
10140
    """
-
 
10141
    self.send_getFlipkartFaSalesSnapshotForDays(days)
-
 
10142
    return self.recv_getFlipkartFaSalesSnapshotForDays()
-
 
10143
 
-
 
10144
  def send_getFlipkartFaSalesSnapshotForDays(self, days):
-
 
10145
    self._oprot.writeMessageBegin('getFlipkartFaSalesSnapshotForDays', TMessageType.CALL, self._seqid)
-
 
10146
    args = getFlipkartFaSalesSnapshotForDays_args()
-
 
10147
    args.days = days
-
 
10148
    args.write(self._oprot)
-
 
10149
    self._oprot.writeMessageEnd()
-
 
10150
    self._oprot.trans.flush()
-
 
10151
 
-
 
10152
  def recv_getFlipkartFaSalesSnapshotForDays(self, ):
-
 
10153
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
-
 
10154
    if mtype == TMessageType.EXCEPTION:
-
 
10155
      x = TApplicationException()
-
 
10156
      x.read(self._iprot)
-
 
10157
      self._iprot.readMessageEnd()
-
 
10158
      raise x
-
 
10159
    result = getFlipkartFaSalesSnapshotForDays_result()
-
 
10160
    result.read(self._iprot)
-
 
10161
    self._iprot.readMessageEnd()
-
 
10162
    if result.success is not None:
-
 
10163
      return result.success
-
 
10164
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getFlipkartFaSalesSnapshotForDays failed: unknown result");
-
 
10165
 
-
 
10166
  def getFlipkartFaSalesSnapshotBySkuAndSaleDate(self, item_id, dateOfSale):
-
 
10167
    """
-
 
10168
    Parameters:
-
 
10169
     - item_id
-
 
10170
     - dateOfSale
-
 
10171
    """
-
 
10172
    self.send_getFlipkartFaSalesSnapshotBySkuAndSaleDate(item_id, dateOfSale)
-
 
10173
    return self.recv_getFlipkartFaSalesSnapshotBySkuAndSaleDate()
-
 
10174
 
-
 
10175
  def send_getFlipkartFaSalesSnapshotBySkuAndSaleDate(self, item_id, dateOfSale):
-
 
10176
    self._oprot.writeMessageBegin('getFlipkartFaSalesSnapshotBySkuAndSaleDate', TMessageType.CALL, self._seqid)
-
 
10177
    args = getFlipkartFaSalesSnapshotBySkuAndSaleDate_args()
-
 
10178
    args.item_id = item_id
-
 
10179
    args.dateOfSale = dateOfSale
-
 
10180
    args.write(self._oprot)
-
 
10181
    self._oprot.writeMessageEnd()
-
 
10182
    self._oprot.trans.flush()
-
 
10183
 
-
 
10184
  def recv_getFlipkartFaSalesSnapshotBySkuAndSaleDate(self, ):
-
 
10185
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
-
 
10186
    if mtype == TMessageType.EXCEPTION:
-
 
10187
      x = TApplicationException()
-
 
10188
      x.read(self._iprot)
-
 
10189
      self._iprot.readMessageEnd()
-
 
10190
      raise x
-
 
10191
    result = getFlipkartFaSalesSnapshotBySkuAndSaleDate_result()
-
 
10192
    result.read(self._iprot)
-
 
10193
    self._iprot.readMessageEnd()
-
 
10194
    if result.success is not None:
-
 
10195
      return result.success
-
 
10196
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getFlipkartFaSalesSnapshotBySkuAndSaleDate failed: unknown result");
-
 
10197
 
-
 
10198
  def acceptPackageOrders(self, orders):
-
 
10199
    """
-
 
10200
    Parameters:
-
 
10201
     - orders
-
 
10202
    """
-
 
10203
    self.send_acceptPackageOrders(orders)
-
 
10204
    return self.recv_acceptPackageOrders()
-
 
10205
 
-
 
10206
  def send_acceptPackageOrders(self, orders):
-
 
10207
    self._oprot.writeMessageBegin('acceptPackageOrders', TMessageType.CALL, self._seqid)
-
 
10208
    args = acceptPackageOrders_args()
-
 
10209
    args.orders = orders
-
 
10210
    args.write(self._oprot)
-
 
10211
    self._oprot.writeMessageEnd()
-
 
10212
    self._oprot.trans.flush()
-
 
10213
 
-
 
10214
  def recv_acceptPackageOrders(self, ):
-
 
10215
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
-
 
10216
    if mtype == TMessageType.EXCEPTION:
-
 
10217
      x = TApplicationException()
-
 
10218
      x.read(self._iprot)
-
 
10219
      self._iprot.readMessageEnd()
-
 
10220
      raise x
-
 
10221
    result = acceptPackageOrders_result()
-
 
10222
    result.read(self._iprot)
-
 
10223
    self._iprot.readMessageEnd()
-
 
10224
    if result.success is not None:
-
 
10225
      return result.success
-
 
10226
    if result.ex is not None:
-
 
10227
      raise result.ex
-
 
10228
    raise TApplicationException(TApplicationException.MISSING_RESULT, "acceptPackageOrders failed: unknown result");
-
 
10229
 
-
 
10230
  def getGroupOrdersByLogisticsTxnId(self, logisticsTxnId):
-
 
10231
    """
-
 
10232
    Parameters:
-
 
10233
     - logisticsTxnId
-
 
10234
    """
-
 
10235
    self.send_getGroupOrdersByLogisticsTxnId(logisticsTxnId)
-
 
10236
    return self.recv_getGroupOrdersByLogisticsTxnId()
-
 
10237
 
-
 
10238
  def send_getGroupOrdersByLogisticsTxnId(self, logisticsTxnId):
-
 
10239
    self._oprot.writeMessageBegin('getGroupOrdersByLogisticsTxnId', TMessageType.CALL, self._seqid)
-
 
10240
    args = getGroupOrdersByLogisticsTxnId_args()
-
 
10241
    args.logisticsTxnId = logisticsTxnId
-
 
10242
    args.write(self._oprot)
-
 
10243
    self._oprot.writeMessageEnd()
-
 
10244
    self._oprot.trans.flush()
-
 
10245
 
-
 
10246
  def recv_getGroupOrdersByLogisticsTxnId(self, ):
-
 
10247
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
-
 
10248
    if mtype == TMessageType.EXCEPTION:
-
 
10249
      x = TApplicationException()
-
 
10250
      x.read(self._iprot)
-
 
10251
      self._iprot.readMessageEnd()
-
 
10252
      raise x
-
 
10253
    result = getGroupOrdersByLogisticsTxnId_result()
-
 
10254
    result.read(self._iprot)
-
 
10255
    self._iprot.readMessageEnd()
-
 
10256
    if result.success is not None:
-
 
10257
      return result.success
-
 
10258
    if result.ex is not None:
-
 
10259
      raise result.ex
-
 
10260
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getGroupOrdersByLogisticsTxnId failed: unknown result");
-
 
10261
 
-
 
10262
  def addBillingDetailsForGrouppedOrders(self, order_ids, invoice_number, itemNumbersMap, serialNumbersMap, freebieWarehouseIdMap, billed_by, jacketNumber, billingType, authorize):
-
 
10263
    """
-
 
10264
    Parameters:
-
 
10265
     - order_ids
-
 
10266
     - invoice_number
-
 
10267
     - itemNumbersMap
-
 
10268
     - serialNumbersMap
-
 
10269
     - freebieWarehouseIdMap
-
 
10270
     - billed_by
-
 
10271
     - jacketNumber
-
 
10272
     - billingType
-
 
10273
     - authorize
-
 
10274
    """
-
 
10275
    self.send_addBillingDetailsForGrouppedOrders(order_ids, invoice_number, itemNumbersMap, serialNumbersMap, freebieWarehouseIdMap, billed_by, jacketNumber, billingType, authorize)
-
 
10276
    return self.recv_addBillingDetailsForGrouppedOrders()
-
 
10277
 
-
 
10278
  def send_addBillingDetailsForGrouppedOrders(self, order_ids, invoice_number, itemNumbersMap, serialNumbersMap, freebieWarehouseIdMap, billed_by, jacketNumber, billingType, authorize):
-
 
10279
    self._oprot.writeMessageBegin('addBillingDetailsForGrouppedOrders', TMessageType.CALL, self._seqid)
-
 
10280
    args = addBillingDetailsForGrouppedOrders_args()
-
 
10281
    args.order_ids = order_ids
-
 
10282
    args.invoice_number = invoice_number
-
 
10283
    args.itemNumbersMap = itemNumbersMap
-
 
10284
    args.serialNumbersMap = serialNumbersMap
-
 
10285
    args.freebieWarehouseIdMap = freebieWarehouseIdMap
-
 
10286
    args.billed_by = billed_by
-
 
10287
    args.jacketNumber = jacketNumber
-
 
10288
    args.billingType = billingType
-
 
10289
    args.authorize = authorize
-
 
10290
    args.write(self._oprot)
-
 
10291
    self._oprot.writeMessageEnd()
-
 
10292
    self._oprot.trans.flush()
-
 
10293
 
-
 
10294
  def recv_addBillingDetailsForGrouppedOrders(self, ):
-
 
10295
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
-
 
10296
    if mtype == TMessageType.EXCEPTION:
-
 
10297
      x = TApplicationException()
-
 
10298
      x.read(self._iprot)
-
 
10299
      self._iprot.readMessageEnd()
-
 
10300
      raise x
-
 
10301
    result = addBillingDetailsForGrouppedOrders_result()
-
 
10302
    result.read(self._iprot)
-
 
10303
    self._iprot.readMessageEnd()
-
 
10304
    if result.success is not None:
-
 
10305
      return result.success
-
 
10306
    if result.ex is not None:
-
 
10307
      raise result.ex
-
 
10308
    raise TApplicationException(TApplicationException.MISSING_RESULT, "addBillingDetailsForGrouppedOrders failed: unknown result");
-
 
10309
 
10057
 
10310
 
10058
class Processor(shop2020.thriftpy.generic.GenericService.Processor, Iface, TProcessor):
10311
class Processor(shop2020.thriftpy.generic.GenericService.Processor, Iface, TProcessor):
10059
  def __init__(self, handler):
10312
  def __init__(self, handler):
10060
    shop2020.thriftpy.generic.GenericService.Processor.__init__(self, handler)
10313
    shop2020.thriftpy.generic.GenericService.Processor.__init__(self, handler)
10061
    self._processMap["createTransaction"] = Processor.process_createTransaction
10314
    self._processMap["createTransaction"] = Processor.process_createTransaction
Line 10294... Line 10547...
10294
    self._processMap["addUpdateFaOrdersBulk"] = Processor.process_addUpdateFaOrdersBulk
10547
    self._processMap["addUpdateFaOrdersBulk"] = Processor.process_addUpdateFaOrdersBulk
10295
    self._processMap["addInvoiceDetailsToOrders"] = Processor.process_addInvoiceDetailsToOrders
10548
    self._processMap["addInvoiceDetailsToOrders"] = Processor.process_addInvoiceDetailsToOrders
10296
    self._processMap["flipkartFaOrderExists"] = Processor.process_flipkartFaOrderExists
10549
    self._processMap["flipkartFaOrderExists"] = Processor.process_flipkartFaOrderExists
10297
    self._processMap["getRcgOrderStatus"] = Processor.process_getRcgOrderStatus
10550
    self._processMap["getRcgOrderStatus"] = Processor.process_getRcgOrderStatus
10298
    self._processMap["getRcgTransactionStatus"] = Processor.process_getRcgTransactionStatus
10551
    self._processMap["getRcgTransactionStatus"] = Processor.process_getRcgTransactionStatus
-
 
10552
    self._processMap["bulkAddOrUpdateFlipkartFaSalesSnapshot"] = Processor.process_bulkAddOrUpdateFlipkartFaSalesSnapshot
-
 
10553
    self._processMap["getFlipkartFaSalesSnapshotForDays"] = Processor.process_getFlipkartFaSalesSnapshotForDays
-
 
10554
    self._processMap["getFlipkartFaSalesSnapshotBySkuAndSaleDate"] = Processor.process_getFlipkartFaSalesSnapshotBySkuAndSaleDate
-
 
10555
    self._processMap["acceptPackageOrders"] = Processor.process_acceptPackageOrders
-
 
10556
    self._processMap["getGroupOrdersByLogisticsTxnId"] = Processor.process_getGroupOrdersByLogisticsTxnId
-
 
10557
    self._processMap["addBillingDetailsForGrouppedOrders"] = Processor.process_addBillingDetailsForGrouppedOrders
10299
 
10558
 
10300
  def process(self, iprot, oprot):
10559
  def process(self, iprot, oprot):
10301
    (name, type, seqid) = iprot.readMessageBegin()
10560
    (name, type, seqid) = iprot.readMessageBegin()
10302
    if name not in self._processMap:
10561
    if name not in self._processMap:
10303
      iprot.skip(TType.STRUCT)
10562
      iprot.skip(TType.STRUCT)
Line 13267... Line 13526...
13267
    oprot.writeMessageBegin("getRcgTransactionStatus", TMessageType.REPLY, seqid)
13526
    oprot.writeMessageBegin("getRcgTransactionStatus", TMessageType.REPLY, seqid)
13268
    result.write(oprot)
13527
    result.write(oprot)
13269
    oprot.writeMessageEnd()
13528
    oprot.writeMessageEnd()
13270
    oprot.trans.flush()
13529
    oprot.trans.flush()
13271
 
13530
 
-
 
13531
  def process_bulkAddOrUpdateFlipkartFaSalesSnapshot(self, seqid, iprot, oprot):
-
 
13532
    args = bulkAddOrUpdateFlipkartFaSalesSnapshot_args()
-
 
13533
    args.read(iprot)
-
 
13534
    iprot.readMessageEnd()
-
 
13535
    result = bulkAddOrUpdateFlipkartFaSalesSnapshot_result()
-
 
13536
    self._handler.bulkAddOrUpdateFlipkartFaSalesSnapshot(args.flipkartfasalessnapshotlist)
-
 
13537
    oprot.writeMessageBegin("bulkAddOrUpdateFlipkartFaSalesSnapshot", TMessageType.REPLY, seqid)
-
 
13538
    result.write(oprot)
-
 
13539
    oprot.writeMessageEnd()
-
 
13540
    oprot.trans.flush()
-
 
13541
 
-
 
13542
  def process_getFlipkartFaSalesSnapshotForDays(self, seqid, iprot, oprot):
-
 
13543
    args = getFlipkartFaSalesSnapshotForDays_args()
-
 
13544
    args.read(iprot)
-
 
13545
    iprot.readMessageEnd()
-
 
13546
    result = getFlipkartFaSalesSnapshotForDays_result()
-
 
13547
    result.success = self._handler.getFlipkartFaSalesSnapshotForDays(args.days)
-
 
13548
    oprot.writeMessageBegin("getFlipkartFaSalesSnapshotForDays", TMessageType.REPLY, seqid)
-
 
13549
    result.write(oprot)
-
 
13550
    oprot.writeMessageEnd()
-
 
13551
    oprot.trans.flush()
-
 
13552
 
-
 
13553
  def process_getFlipkartFaSalesSnapshotBySkuAndSaleDate(self, seqid, iprot, oprot):
-
 
13554
    args = getFlipkartFaSalesSnapshotBySkuAndSaleDate_args()
-
 
13555
    args.read(iprot)
-
 
13556
    iprot.readMessageEnd()
-
 
13557
    result = getFlipkartFaSalesSnapshotBySkuAndSaleDate_result()
-
 
13558
    result.success = self._handler.getFlipkartFaSalesSnapshotBySkuAndSaleDate(args.item_id, args.dateOfSale)
-
 
13559
    oprot.writeMessageBegin("getFlipkartFaSalesSnapshotBySkuAndSaleDate", TMessageType.REPLY, seqid)
-
 
13560
    result.write(oprot)
-
 
13561
    oprot.writeMessageEnd()
-
 
13562
    oprot.trans.flush()
-
 
13563
 
-
 
13564
  def process_acceptPackageOrders(self, seqid, iprot, oprot):
-
 
13565
    args = acceptPackageOrders_args()
-
 
13566
    args.read(iprot)
-
 
13567
    iprot.readMessageEnd()
-
 
13568
    result = acceptPackageOrders_result()
-
 
13569
    try:
-
 
13570
      result.success = self._handler.acceptPackageOrders(args.orders)
-
 
13571
    except TransactionServiceException, ex:
-
 
13572
      result.ex = ex
-
 
13573
    oprot.writeMessageBegin("acceptPackageOrders", TMessageType.REPLY, seqid)
-
 
13574
    result.write(oprot)
-
 
13575
    oprot.writeMessageEnd()
-
 
13576
    oprot.trans.flush()
-
 
13577
 
-
 
13578
  def process_getGroupOrdersByLogisticsTxnId(self, seqid, iprot, oprot):
-
 
13579
    args = getGroupOrdersByLogisticsTxnId_args()
-
 
13580
    args.read(iprot)
-
 
13581
    iprot.readMessageEnd()
-
 
13582
    result = getGroupOrdersByLogisticsTxnId_result()
-
 
13583
    try:
-
 
13584
      result.success = self._handler.getGroupOrdersByLogisticsTxnId(args.logisticsTxnId)
-
 
13585
    except TransactionServiceException, ex:
-
 
13586
      result.ex = ex
-
 
13587
    oprot.writeMessageBegin("getGroupOrdersByLogisticsTxnId", TMessageType.REPLY, seqid)
-
 
13588
    result.write(oprot)
-
 
13589
    oprot.writeMessageEnd()
-
 
13590
    oprot.trans.flush()
-
 
13591
 
-
 
13592
  def process_addBillingDetailsForGrouppedOrders(self, seqid, iprot, oprot):
-
 
13593
    args = addBillingDetailsForGrouppedOrders_args()
-
 
13594
    args.read(iprot)
-
 
13595
    iprot.readMessageEnd()
-
 
13596
    result = addBillingDetailsForGrouppedOrders_result()
-
 
13597
    try:
-
 
13598
      result.success = self._handler.addBillingDetailsForGrouppedOrders(args.order_ids, args.invoice_number, args.itemNumbersMap, args.serialNumbersMap, args.freebieWarehouseIdMap, args.billed_by, args.jacketNumber, args.billingType, args.authorize)
-
 
13599
    except TransactionServiceException, ex:
-
 
13600
      result.ex = ex
-
 
13601
    oprot.writeMessageBegin("addBillingDetailsForGrouppedOrders", TMessageType.REPLY, seqid)
-
 
13602
    result.write(oprot)
-
 
13603
    oprot.writeMessageEnd()
-
 
13604
    oprot.trans.flush()
-
 
13605
 
13272
 
13606
 
13273
# HELPER FUNCTIONS AND STRUCTURES
13607
# HELPER FUNCTIONS AND STRUCTURES
13274
 
13608
 
13275
class createTransaction_args:
13609
class createTransaction_args:
13276
  """
13610
  """
Line 45990... Line 46324...
45990
      oprot.writeFieldEnd()
46324
      oprot.writeFieldEnd()
45991
    oprot.writeFieldStop()
46325
    oprot.writeFieldStop()
45992
    oprot.writeStructEnd()
46326
    oprot.writeStructEnd()
45993
 
46327
 
45994
  def validate(self):
46328
  def validate(self):
-
 
46329
    return
-
 
46330
 
-
 
46331
 
-
 
46332
  def __repr__(self):
-
 
46333
    L = ['%s=%r' % (key, value)
-
 
46334
      for key, value in self.__dict__.iteritems()]
-
 
46335
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
-
 
46336
 
-
 
46337
  def __eq__(self, other):
-
 
46338
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
-
 
46339
 
-
 
46340
  def __ne__(self, other):
-
 
46341
    return not (self == other)
-
 
46342
 
-
 
46343
class bulkAddOrUpdateFlipkartFaSalesSnapshot_args:
-
 
46344
  """
-
 
46345
  Attributes:
-
 
46346
   - flipkartfasalessnapshotlist
-
 
46347
  """
-
 
46348
 
-
 
46349
  thrift_spec = (
-
 
46350
    None, # 0
-
 
46351
    (1, TType.LIST, 'flipkartfasalessnapshotlist', (TType.STRUCT,(FlipkartFaSalesSnapshot, FlipkartFaSalesSnapshot.thrift_spec)), None, ), # 1
-
 
46352
  )
-
 
46353
 
-
 
46354
  def __init__(self, flipkartfasalessnapshotlist=None,):
-
 
46355
    self.flipkartfasalessnapshotlist = flipkartfasalessnapshotlist
-
 
46356
 
-
 
46357
  def read(self, iprot):
-
 
46358
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
-
 
46359
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
-
 
46360
      return
-
 
46361
    iprot.readStructBegin()
-
 
46362
    while True:
-
 
46363
      (fname, ftype, fid) = iprot.readFieldBegin()
-
 
46364
      if ftype == TType.STOP:
-
 
46365
        break
-
 
46366
      if fid == 1:
-
 
46367
        if ftype == TType.LIST:
-
 
46368
          self.flipkartfasalessnapshotlist = []
-
 
46369
          (_etype1041, _size1038) = iprot.readListBegin()
-
 
46370
          for _i1042 in xrange(_size1038):
-
 
46371
            _elem1043 = FlipkartFaSalesSnapshot()
-
 
46372
            _elem1043.read(iprot)
-
 
46373
            self.flipkartfasalessnapshotlist.append(_elem1043)
-
 
46374
          iprot.readListEnd()
-
 
46375
        else:
-
 
46376
          iprot.skip(ftype)
-
 
46377
      else:
-
 
46378
        iprot.skip(ftype)
-
 
46379
      iprot.readFieldEnd()
-
 
46380
    iprot.readStructEnd()
-
 
46381
 
-
 
46382
  def write(self, oprot):
-
 
46383
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
-
 
46384
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
-
 
46385
      return
-
 
46386
    oprot.writeStructBegin('bulkAddOrUpdateFlipkartFaSalesSnapshot_args')
-
 
46387
    if self.flipkartfasalessnapshotlist is not None:
-
 
46388
      oprot.writeFieldBegin('flipkartfasalessnapshotlist', TType.LIST, 1)
-
 
46389
      oprot.writeListBegin(TType.STRUCT, len(self.flipkartfasalessnapshotlist))
-
 
46390
      for iter1044 in self.flipkartfasalessnapshotlist:
-
 
46391
        iter1044.write(oprot)
-
 
46392
      oprot.writeListEnd()
-
 
46393
      oprot.writeFieldEnd()
-
 
46394
    oprot.writeFieldStop()
-
 
46395
    oprot.writeStructEnd()
-
 
46396
 
-
 
46397
  def validate(self):
-
 
46398
    return
-
 
46399
 
-
 
46400
 
-
 
46401
  def __repr__(self):
-
 
46402
    L = ['%s=%r' % (key, value)
-
 
46403
      for key, value in self.__dict__.iteritems()]
-
 
46404
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
-
 
46405
 
-
 
46406
  def __eq__(self, other):
-
 
46407
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
-
 
46408
 
-
 
46409
  def __ne__(self, other):
-
 
46410
    return not (self == other)
-
 
46411
 
-
 
46412
class bulkAddOrUpdateFlipkartFaSalesSnapshot_result:
-
 
46413
 
-
 
46414
  thrift_spec = (
-
 
46415
  )
-
 
46416
 
-
 
46417
  def read(self, iprot):
-
 
46418
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
-
 
46419
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
-
 
46420
      return
-
 
46421
    iprot.readStructBegin()
-
 
46422
    while True:
-
 
46423
      (fname, ftype, fid) = iprot.readFieldBegin()
-
 
46424
      if ftype == TType.STOP:
-
 
46425
        break
-
 
46426
      else:
-
 
46427
        iprot.skip(ftype)
-
 
46428
      iprot.readFieldEnd()
-
 
46429
    iprot.readStructEnd()
-
 
46430
 
-
 
46431
  def write(self, oprot):
-
 
46432
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
-
 
46433
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
-
 
46434
      return
-
 
46435
    oprot.writeStructBegin('bulkAddOrUpdateFlipkartFaSalesSnapshot_result')
-
 
46436
    oprot.writeFieldStop()
-
 
46437
    oprot.writeStructEnd()
-
 
46438
 
-
 
46439
  def validate(self):
-
 
46440
    return
-
 
46441
 
-
 
46442
 
-
 
46443
  def __repr__(self):
-
 
46444
    L = ['%s=%r' % (key, value)
-
 
46445
      for key, value in self.__dict__.iteritems()]
-
 
46446
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
-
 
46447
 
-
 
46448
  def __eq__(self, other):
-
 
46449
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
-
 
46450
 
-
 
46451
  def __ne__(self, other):
-
 
46452
    return not (self == other)
-
 
46453
 
-
 
46454
class getFlipkartFaSalesSnapshotForDays_args:
-
 
46455
  """
-
 
46456
  Attributes:
-
 
46457
   - days
-
 
46458
  """
-
 
46459
 
-
 
46460
  thrift_spec = (
-
 
46461
    None, # 0
-
 
46462
    (1, TType.I32, 'days', None, None, ), # 1
-
 
46463
  )
-
 
46464
 
-
 
46465
  def __init__(self, days=None,):
-
 
46466
    self.days = days
-
 
46467
 
-
 
46468
  def read(self, iprot):
-
 
46469
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
-
 
46470
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
-
 
46471
      return
-
 
46472
    iprot.readStructBegin()
-
 
46473
    while True:
-
 
46474
      (fname, ftype, fid) = iprot.readFieldBegin()
-
 
46475
      if ftype == TType.STOP:
-
 
46476
        break
-
 
46477
      if fid == 1:
-
 
46478
        if ftype == TType.I32:
-
 
46479
          self.days = iprot.readI32();
-
 
46480
        else:
-
 
46481
          iprot.skip(ftype)
-
 
46482
      else:
-
 
46483
        iprot.skip(ftype)
-
 
46484
      iprot.readFieldEnd()
-
 
46485
    iprot.readStructEnd()
-
 
46486
 
-
 
46487
  def write(self, oprot):
-
 
46488
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
-
 
46489
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
-
 
46490
      return
-
 
46491
    oprot.writeStructBegin('getFlipkartFaSalesSnapshotForDays_args')
-
 
46492
    if self.days is not None:
-
 
46493
      oprot.writeFieldBegin('days', TType.I32, 1)
-
 
46494
      oprot.writeI32(self.days)
-
 
46495
      oprot.writeFieldEnd()
-
 
46496
    oprot.writeFieldStop()
-
 
46497
    oprot.writeStructEnd()
-
 
46498
 
-
 
46499
  def validate(self):
-
 
46500
    return
-
 
46501
 
-
 
46502
 
-
 
46503
  def __repr__(self):
-
 
46504
    L = ['%s=%r' % (key, value)
-
 
46505
      for key, value in self.__dict__.iteritems()]
-
 
46506
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
-
 
46507
 
-
 
46508
  def __eq__(self, other):
-
 
46509
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
-
 
46510
 
-
 
46511
  def __ne__(self, other):
-
 
46512
    return not (self == other)
-
 
46513
 
-
 
46514
class getFlipkartFaSalesSnapshotForDays_result:
-
 
46515
  """
-
 
46516
  Attributes:
-
 
46517
   - success
-
 
46518
  """
-
 
46519
 
-
 
46520
  thrift_spec = (
-
 
46521
    (0, TType.LIST, 'success', (TType.STRUCT,(FlipkartFaSalesSnapshot, FlipkartFaSalesSnapshot.thrift_spec)), None, ), # 0
-
 
46522
  )
-
 
46523
 
-
 
46524
  def __init__(self, success=None,):
-
 
46525
    self.success = success
-
 
46526
 
-
 
46527
  def read(self, iprot):
-
 
46528
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
-
 
46529
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
-
 
46530
      return
-
 
46531
    iprot.readStructBegin()
-
 
46532
    while True:
-
 
46533
      (fname, ftype, fid) = iprot.readFieldBegin()
-
 
46534
      if ftype == TType.STOP:
-
 
46535
        break
-
 
46536
      if fid == 0:
-
 
46537
        if ftype == TType.LIST:
-
 
46538
          self.success = []
-
 
46539
          (_etype1048, _size1045) = iprot.readListBegin()
-
 
46540
          for _i1049 in xrange(_size1045):
-
 
46541
            _elem1050 = FlipkartFaSalesSnapshot()
-
 
46542
            _elem1050.read(iprot)
-
 
46543
            self.success.append(_elem1050)
-
 
46544
          iprot.readListEnd()
-
 
46545
        else:
-
 
46546
          iprot.skip(ftype)
-
 
46547
      else:
-
 
46548
        iprot.skip(ftype)
-
 
46549
      iprot.readFieldEnd()
-
 
46550
    iprot.readStructEnd()
-
 
46551
 
-
 
46552
  def write(self, oprot):
-
 
46553
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
-
 
46554
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
-
 
46555
      return
-
 
46556
    oprot.writeStructBegin('getFlipkartFaSalesSnapshotForDays_result')
-
 
46557
    if self.success is not None:
-
 
46558
      oprot.writeFieldBegin('success', TType.LIST, 0)
-
 
46559
      oprot.writeListBegin(TType.STRUCT, len(self.success))
-
 
46560
      for iter1051 in self.success:
-
 
46561
        iter1051.write(oprot)
-
 
46562
      oprot.writeListEnd()
-
 
46563
      oprot.writeFieldEnd()
-
 
46564
    oprot.writeFieldStop()
-
 
46565
    oprot.writeStructEnd()
-
 
46566
 
-
 
46567
  def validate(self):
-
 
46568
    return
-
 
46569
 
-
 
46570
 
-
 
46571
  def __repr__(self):
-
 
46572
    L = ['%s=%r' % (key, value)
-
 
46573
      for key, value in self.__dict__.iteritems()]
-
 
46574
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
-
 
46575
 
-
 
46576
  def __eq__(self, other):
-
 
46577
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
-
 
46578
 
-
 
46579
  def __ne__(self, other):
-
 
46580
    return not (self == other)
-
 
46581
 
-
 
46582
class getFlipkartFaSalesSnapshotBySkuAndSaleDate_args:
-
 
46583
  """
-
 
46584
  Attributes:
-
 
46585
   - item_id
-
 
46586
   - dateOfSale
-
 
46587
  """
-
 
46588
 
-
 
46589
  thrift_spec = (
-
 
46590
    None, # 0
-
 
46591
    (1, TType.I64, 'item_id', None, None, ), # 1
-
 
46592
    (2, TType.I64, 'dateOfSale', None, None, ), # 2
-
 
46593
  )
-
 
46594
 
-
 
46595
  def __init__(self, item_id=None, dateOfSale=None,):
-
 
46596
    self.item_id = item_id
-
 
46597
    self.dateOfSale = dateOfSale
-
 
46598
 
-
 
46599
  def read(self, iprot):
-
 
46600
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
-
 
46601
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
-
 
46602
      return
-
 
46603
    iprot.readStructBegin()
-
 
46604
    while True:
-
 
46605
      (fname, ftype, fid) = iprot.readFieldBegin()
-
 
46606
      if ftype == TType.STOP:
-
 
46607
        break
-
 
46608
      if fid == 1:
-
 
46609
        if ftype == TType.I64:
-
 
46610
          self.item_id = iprot.readI64();
-
 
46611
        else:
-
 
46612
          iprot.skip(ftype)
-
 
46613
      elif fid == 2:
-
 
46614
        if ftype == TType.I64:
-
 
46615
          self.dateOfSale = iprot.readI64();
-
 
46616
        else:
-
 
46617
          iprot.skip(ftype)
-
 
46618
      else:
-
 
46619
        iprot.skip(ftype)
-
 
46620
      iprot.readFieldEnd()
-
 
46621
    iprot.readStructEnd()
-
 
46622
 
-
 
46623
  def write(self, oprot):
-
 
46624
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
-
 
46625
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
-
 
46626
      return
-
 
46627
    oprot.writeStructBegin('getFlipkartFaSalesSnapshotBySkuAndSaleDate_args')
-
 
46628
    if self.item_id is not None:
-
 
46629
      oprot.writeFieldBegin('item_id', TType.I64, 1)
-
 
46630
      oprot.writeI64(self.item_id)
-
 
46631
      oprot.writeFieldEnd()
-
 
46632
    if self.dateOfSale is not None:
-
 
46633
      oprot.writeFieldBegin('dateOfSale', TType.I64, 2)
-
 
46634
      oprot.writeI64(self.dateOfSale)
-
 
46635
      oprot.writeFieldEnd()
-
 
46636
    oprot.writeFieldStop()
-
 
46637
    oprot.writeStructEnd()
-
 
46638
 
-
 
46639
  def validate(self):
-
 
46640
    return
-
 
46641
 
-
 
46642
 
-
 
46643
  def __repr__(self):
-
 
46644
    L = ['%s=%r' % (key, value)
-
 
46645
      for key, value in self.__dict__.iteritems()]
-
 
46646
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
-
 
46647
 
-
 
46648
  def __eq__(self, other):
-
 
46649
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
-
 
46650
 
-
 
46651
  def __ne__(self, other):
-
 
46652
    return not (self == other)
-
 
46653
 
-
 
46654
class getFlipkartFaSalesSnapshotBySkuAndSaleDate_result:
-
 
46655
  """
-
 
46656
  Attributes:
-
 
46657
   - success
-
 
46658
  """
-
 
46659
 
-
 
46660
  thrift_spec = (
-
 
46661
    (0, TType.STRUCT, 'success', (FlipkartFaSalesSnapshot, FlipkartFaSalesSnapshot.thrift_spec), None, ), # 0
-
 
46662
  )
-
 
46663
 
-
 
46664
  def __init__(self, success=None,):
-
 
46665
    self.success = success
-
 
46666
 
-
 
46667
  def read(self, iprot):
-
 
46668
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
-
 
46669
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
-
 
46670
      return
-
 
46671
    iprot.readStructBegin()
-
 
46672
    while True:
-
 
46673
      (fname, ftype, fid) = iprot.readFieldBegin()
-
 
46674
      if ftype == TType.STOP:
-
 
46675
        break
-
 
46676
      if fid == 0:
-
 
46677
        if ftype == TType.STRUCT:
-
 
46678
          self.success = FlipkartFaSalesSnapshot()
-
 
46679
          self.success.read(iprot)
-
 
46680
        else:
-
 
46681
          iprot.skip(ftype)
-
 
46682
      else:
-
 
46683
        iprot.skip(ftype)
-
 
46684
      iprot.readFieldEnd()
-
 
46685
    iprot.readStructEnd()
-
 
46686
 
-
 
46687
  def write(self, oprot):
-
 
46688
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
-
 
46689
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
-
 
46690
      return
-
 
46691
    oprot.writeStructBegin('getFlipkartFaSalesSnapshotBySkuAndSaleDate_result')
-
 
46692
    if self.success is not None:
-
 
46693
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
-
 
46694
      self.success.write(oprot)
-
 
46695
      oprot.writeFieldEnd()
-
 
46696
    oprot.writeFieldStop()
-
 
46697
    oprot.writeStructEnd()
-
 
46698
 
-
 
46699
  def validate(self):
-
 
46700
    return
-
 
46701
 
-
 
46702
 
-
 
46703
  def __repr__(self):
-
 
46704
    L = ['%s=%r' % (key, value)
-
 
46705
      for key, value in self.__dict__.iteritems()]
-
 
46706
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
-
 
46707
 
-
 
46708
  def __eq__(self, other):
-
 
46709
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
-
 
46710
 
-
 
46711
  def __ne__(self, other):
-
 
46712
    return not (self == other)
-
 
46713
 
-
 
46714
class acceptPackageOrders_args:
-
 
46715
  """
-
 
46716
  Attributes:
-
 
46717
   - orders
-
 
46718
  """
-
 
46719
 
-
 
46720
  thrift_spec = None
-
 
46721
  def __init__(self, orders=None,):
-
 
46722
    self.orders = orders
-
 
46723
 
-
 
46724
  def read(self, iprot):
-
 
46725
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
-
 
46726
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
-
 
46727
      return
-
 
46728
    iprot.readStructBegin()
-
 
46729
    while True:
-
 
46730
      (fname, ftype, fid) = iprot.readFieldBegin()
-
 
46731
      if ftype == TType.STOP:
-
 
46732
        break
-
 
46733
      if fid == -1:
-
 
46734
        if ftype == TType.LIST:
-
 
46735
          self.orders = []
-
 
46736
          (_etype1055, _size1052) = iprot.readListBegin()
-
 
46737
          for _i1056 in xrange(_size1052):
-
 
46738
            _elem1057 = iprot.readI64();
-
 
46739
            self.orders.append(_elem1057)
-
 
46740
          iprot.readListEnd()
-
 
46741
        else:
-
 
46742
          iprot.skip(ftype)
-
 
46743
      else:
-
 
46744
        iprot.skip(ftype)
-
 
46745
      iprot.readFieldEnd()
-
 
46746
    iprot.readStructEnd()
-
 
46747
 
-
 
46748
  def write(self, oprot):
-
 
46749
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
-
 
46750
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
-
 
46751
      return
-
 
46752
    oprot.writeStructBegin('acceptPackageOrders_args')
-
 
46753
    if self.orders is not None:
-
 
46754
      oprot.writeFieldBegin('orders', TType.LIST, -1)
-
 
46755
      oprot.writeListBegin(TType.I64, len(self.orders))
-
 
46756
      for iter1058 in self.orders:
-
 
46757
        oprot.writeI64(iter1058)
-
 
46758
      oprot.writeListEnd()
-
 
46759
      oprot.writeFieldEnd()
-
 
46760
    oprot.writeFieldStop()
-
 
46761
    oprot.writeStructEnd()
-
 
46762
 
-
 
46763
  def validate(self):
-
 
46764
    return
-
 
46765
 
-
 
46766
 
-
 
46767
  def __repr__(self):
-
 
46768
    L = ['%s=%r' % (key, value)
-
 
46769
      for key, value in self.__dict__.iteritems()]
-
 
46770
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
-
 
46771
 
-
 
46772
  def __eq__(self, other):
-
 
46773
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
-
 
46774
 
-
 
46775
  def __ne__(self, other):
-
 
46776
    return not (self == other)
-
 
46777
 
-
 
46778
class acceptPackageOrders_result:
-
 
46779
  """
-
 
46780
  Attributes:
-
 
46781
   - success
-
 
46782
   - ex
-
 
46783
  """
-
 
46784
 
-
 
46785
  thrift_spec = (
-
 
46786
    (0, TType.BOOL, 'success', None, None, ), # 0
-
 
46787
    (1, TType.STRUCT, 'ex', (TransactionServiceException, TransactionServiceException.thrift_spec), None, ), # 1
-
 
46788
  )
-
 
46789
 
-
 
46790
  def __init__(self, success=None, ex=None,):
-
 
46791
    self.success = success
-
 
46792
    self.ex = ex
-
 
46793
 
-
 
46794
  def read(self, iprot):
-
 
46795
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
-
 
46796
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
-
 
46797
      return
-
 
46798
    iprot.readStructBegin()
-
 
46799
    while True:
-
 
46800
      (fname, ftype, fid) = iprot.readFieldBegin()
-
 
46801
      if ftype == TType.STOP:
-
 
46802
        break
-
 
46803
      if fid == 0:
-
 
46804
        if ftype == TType.BOOL:
-
 
46805
          self.success = iprot.readBool();
-
 
46806
        else:
-
 
46807
          iprot.skip(ftype)
-
 
46808
      elif fid == 1:
-
 
46809
        if ftype == TType.STRUCT:
-
 
46810
          self.ex = TransactionServiceException()
-
 
46811
          self.ex.read(iprot)
-
 
46812
        else:
-
 
46813
          iprot.skip(ftype)
-
 
46814
      else:
-
 
46815
        iprot.skip(ftype)
-
 
46816
      iprot.readFieldEnd()
-
 
46817
    iprot.readStructEnd()
-
 
46818
 
-
 
46819
  def write(self, oprot):
-
 
46820
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
-
 
46821
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
-
 
46822
      return
-
 
46823
    oprot.writeStructBegin('acceptPackageOrders_result')
-
 
46824
    if self.success is not None:
-
 
46825
      oprot.writeFieldBegin('success', TType.BOOL, 0)
-
 
46826
      oprot.writeBool(self.success)
-
 
46827
      oprot.writeFieldEnd()
-
 
46828
    if self.ex is not None:
-
 
46829
      oprot.writeFieldBegin('ex', TType.STRUCT, 1)
-
 
46830
      self.ex.write(oprot)
-
 
46831
      oprot.writeFieldEnd()
-
 
46832
    oprot.writeFieldStop()
-
 
46833
    oprot.writeStructEnd()
-
 
46834
 
-
 
46835
  def validate(self):
-
 
46836
    return
-
 
46837
 
-
 
46838
 
-
 
46839
  def __repr__(self):
-
 
46840
    L = ['%s=%r' % (key, value)
-
 
46841
      for key, value in self.__dict__.iteritems()]
-
 
46842
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
-
 
46843
 
-
 
46844
  def __eq__(self, other):
-
 
46845
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
-
 
46846
 
-
 
46847
  def __ne__(self, other):
-
 
46848
    return not (self == other)
-
 
46849
 
-
 
46850
class getGroupOrdersByLogisticsTxnId_args:
-
 
46851
  """
-
 
46852
  Attributes:
-
 
46853
   - logisticsTxnId
-
 
46854
  """
-
 
46855
 
-
 
46856
  thrift_spec = (
-
 
46857
    None, # 0
-
 
46858
    (1, TType.STRING, 'logisticsTxnId', None, None, ), # 1
-
 
46859
  )
-
 
46860
 
-
 
46861
  def __init__(self, logisticsTxnId=None,):
-
 
46862
    self.logisticsTxnId = logisticsTxnId
-
 
46863
 
-
 
46864
  def read(self, iprot):
-
 
46865
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
-
 
46866
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
-
 
46867
      return
-
 
46868
    iprot.readStructBegin()
-
 
46869
    while True:
-
 
46870
      (fname, ftype, fid) = iprot.readFieldBegin()
-
 
46871
      if ftype == TType.STOP:
-
 
46872
        break
-
 
46873
      if fid == 1:
-
 
46874
        if ftype == TType.STRING:
-
 
46875
          self.logisticsTxnId = iprot.readString();
-
 
46876
        else:
-
 
46877
          iprot.skip(ftype)
-
 
46878
      else:
-
 
46879
        iprot.skip(ftype)
-
 
46880
      iprot.readFieldEnd()
-
 
46881
    iprot.readStructEnd()
-
 
46882
 
-
 
46883
  def write(self, oprot):
-
 
46884
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
-
 
46885
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
-
 
46886
      return
-
 
46887
    oprot.writeStructBegin('getGroupOrdersByLogisticsTxnId_args')
-
 
46888
    if self.logisticsTxnId is not None:
-
 
46889
      oprot.writeFieldBegin('logisticsTxnId', TType.STRING, 1)
-
 
46890
      oprot.writeString(self.logisticsTxnId)
-
 
46891
      oprot.writeFieldEnd()
-
 
46892
    oprot.writeFieldStop()
-
 
46893
    oprot.writeStructEnd()
-
 
46894
 
-
 
46895
  def validate(self):
-
 
46896
    return
-
 
46897
 
-
 
46898
 
-
 
46899
  def __repr__(self):
-
 
46900
    L = ['%s=%r' % (key, value)
-
 
46901
      for key, value in self.__dict__.iteritems()]
-
 
46902
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
-
 
46903
 
-
 
46904
  def __eq__(self, other):
-
 
46905
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
-
 
46906
 
-
 
46907
  def __ne__(self, other):
-
 
46908
    return not (self == other)
-
 
46909
 
-
 
46910
class getGroupOrdersByLogisticsTxnId_result:
-
 
46911
  """
-
 
46912
  Attributes:
-
 
46913
   - success
-
 
46914
   - ex
-
 
46915
  """
-
 
46916
 
-
 
46917
  thrift_spec = (
-
 
46918
    (0, TType.LIST, 'success', (TType.STRUCT,(Order, Order.thrift_spec)), None, ), # 0
-
 
46919
    (1, TType.STRUCT, 'ex', (TransactionServiceException, TransactionServiceException.thrift_spec), None, ), # 1
-
 
46920
  )
-
 
46921
 
-
 
46922
  def __init__(self, success=None, ex=None,):
-
 
46923
    self.success = success
-
 
46924
    self.ex = ex
-
 
46925
 
-
 
46926
  def read(self, iprot):
-
 
46927
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
-
 
46928
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
-
 
46929
      return
-
 
46930
    iprot.readStructBegin()
-
 
46931
    while True:
-
 
46932
      (fname, ftype, fid) = iprot.readFieldBegin()
-
 
46933
      if ftype == TType.STOP:
-
 
46934
        break
-
 
46935
      if fid == 0:
-
 
46936
        if ftype == TType.LIST:
-
 
46937
          self.success = []
-
 
46938
          (_etype1062, _size1059) = iprot.readListBegin()
-
 
46939
          for _i1063 in xrange(_size1059):
-
 
46940
            _elem1064 = Order()
-
 
46941
            _elem1064.read(iprot)
-
 
46942
            self.success.append(_elem1064)
-
 
46943
          iprot.readListEnd()
-
 
46944
        else:
-
 
46945
          iprot.skip(ftype)
-
 
46946
      elif fid == 1:
-
 
46947
        if ftype == TType.STRUCT:
-
 
46948
          self.ex = TransactionServiceException()
-
 
46949
          self.ex.read(iprot)
-
 
46950
        else:
-
 
46951
          iprot.skip(ftype)
-
 
46952
      else:
-
 
46953
        iprot.skip(ftype)
-
 
46954
      iprot.readFieldEnd()
-
 
46955
    iprot.readStructEnd()
-
 
46956
 
-
 
46957
  def write(self, oprot):
-
 
46958
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
-
 
46959
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
-
 
46960
      return
-
 
46961
    oprot.writeStructBegin('getGroupOrdersByLogisticsTxnId_result')
-
 
46962
    if self.success is not None:
-
 
46963
      oprot.writeFieldBegin('success', TType.LIST, 0)
-
 
46964
      oprot.writeListBegin(TType.STRUCT, len(self.success))
-
 
46965
      for iter1065 in self.success:
-
 
46966
        iter1065.write(oprot)
-
 
46967
      oprot.writeListEnd()
-
 
46968
      oprot.writeFieldEnd()
-
 
46969
    if self.ex is not None:
-
 
46970
      oprot.writeFieldBegin('ex', TType.STRUCT, 1)
-
 
46971
      self.ex.write(oprot)
-
 
46972
      oprot.writeFieldEnd()
-
 
46973
    oprot.writeFieldStop()
-
 
46974
    oprot.writeStructEnd()
-
 
46975
 
-
 
46976
  def validate(self):
-
 
46977
    return
-
 
46978
 
-
 
46979
 
-
 
46980
  def __repr__(self):
-
 
46981
    L = ['%s=%r' % (key, value)
-
 
46982
      for key, value in self.__dict__.iteritems()]
-
 
46983
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
-
 
46984
 
-
 
46985
  def __eq__(self, other):
-
 
46986
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
-
 
46987
 
-
 
46988
  def __ne__(self, other):
-
 
46989
    return not (self == other)
-
 
46990
 
-
 
46991
class addBillingDetailsForGrouppedOrders_args:
-
 
46992
  """
-
 
46993
  Attributes:
-
 
46994
   - order_ids
-
 
46995
   - invoice_number
-
 
46996
   - itemNumbersMap
-
 
46997
   - serialNumbersMap
-
 
46998
   - freebieWarehouseIdMap
-
 
46999
   - billed_by
-
 
47000
   - jacketNumber
-
 
47001
   - billingType
-
 
47002
   - authorize
-
 
47003
  """
-
 
47004
 
-
 
47005
  thrift_spec = (
-
 
47006
    None, # 0
-
 
47007
    (1, TType.LIST, 'order_ids', (TType.I64,None), None, ), # 1
-
 
47008
    (2, TType.STRING, 'invoice_number', None, None, ), # 2
-
 
47009
    (3, TType.MAP, 'itemNumbersMap', (TType.I64,None,TType.LIST,(TType.STRING,None)), None, ), # 3
-
 
47010
    (4, TType.MAP, 'serialNumbersMap', (TType.I64,None,TType.LIST,(TType.STRING,None)), None, ), # 4
-
 
47011
    (5, TType.MAP, 'freebieWarehouseIdMap', (TType.I64,None,TType.LIST,(TType.I64,None)), None, ), # 5
-
 
47012
    (6, TType.STRING, 'billed_by', None, None, ), # 6
-
 
47013
    (7, TType.I64, 'jacketNumber', None, None, ), # 7
-
 
47014
    (8, TType.I64, 'billingType', None, None, ), # 8
-
 
47015
    (9, TType.BOOL, 'authorize', None, None, ), # 9
-
 
47016
  )
-
 
47017
 
-
 
47018
  def __init__(self, order_ids=None, invoice_number=None, itemNumbersMap=None, serialNumbersMap=None, freebieWarehouseIdMap=None, billed_by=None, jacketNumber=None, billingType=None, authorize=None,):
-
 
47019
    self.order_ids = order_ids
-
 
47020
    self.invoice_number = invoice_number
-
 
47021
    self.itemNumbersMap = itemNumbersMap
-
 
47022
    self.serialNumbersMap = serialNumbersMap
-
 
47023
    self.freebieWarehouseIdMap = freebieWarehouseIdMap
-
 
47024
    self.billed_by = billed_by
-
 
47025
    self.jacketNumber = jacketNumber
-
 
47026
    self.billingType = billingType
-
 
47027
    self.authorize = authorize
-
 
47028
 
-
 
47029
  def read(self, iprot):
-
 
47030
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
-
 
47031
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
-
 
47032
      return
-
 
47033
    iprot.readStructBegin()
-
 
47034
    while True:
-
 
47035
      (fname, ftype, fid) = iprot.readFieldBegin()
-
 
47036
      if ftype == TType.STOP:
-
 
47037
        break
-
 
47038
      if fid == 1:
-
 
47039
        if ftype == TType.LIST:
-
 
47040
          self.order_ids = []
-
 
47041
          (_etype1069, _size1066) = iprot.readListBegin()
-
 
47042
          for _i1070 in xrange(_size1066):
-
 
47043
            _elem1071 = iprot.readI64();
-
 
47044
            self.order_ids.append(_elem1071)
-
 
47045
          iprot.readListEnd()
-
 
47046
        else:
-
 
47047
          iprot.skip(ftype)
-
 
47048
      elif fid == 2:
-
 
47049
        if ftype == TType.STRING:
-
 
47050
          self.invoice_number = iprot.readString();
-
 
47051
        else:
-
 
47052
          iprot.skip(ftype)
-
 
47053
      elif fid == 3:
-
 
47054
        if ftype == TType.MAP:
-
 
47055
          self.itemNumbersMap = {}
-
 
47056
          (_ktype1073, _vtype1074, _size1072 ) = iprot.readMapBegin() 
-
 
47057
          for _i1076 in xrange(_size1072):
-
 
47058
            _key1077 = iprot.readI64();
-
 
47059
            _val1078 = []
-
 
47060
            (_etype1082, _size1079) = iprot.readListBegin()
-
 
47061
            for _i1083 in xrange(_size1079):
-
 
47062
              _elem1084 = iprot.readString();
-
 
47063
              _val1078.append(_elem1084)
-
 
47064
            iprot.readListEnd()
-
 
47065
            self.itemNumbersMap[_key1077] = _val1078
-
 
47066
          iprot.readMapEnd()
-
 
47067
        else:
-
 
47068
          iprot.skip(ftype)
-
 
47069
      elif fid == 4:
-
 
47070
        if ftype == TType.MAP:
-
 
47071
          self.serialNumbersMap = {}
-
 
47072
          (_ktype1086, _vtype1087, _size1085 ) = iprot.readMapBegin() 
-
 
47073
          for _i1089 in xrange(_size1085):
-
 
47074
            _key1090 = iprot.readI64();
-
 
47075
            _val1091 = []
-
 
47076
            (_etype1095, _size1092) = iprot.readListBegin()
-
 
47077
            for _i1096 in xrange(_size1092):
-
 
47078
              _elem1097 = iprot.readString();
-
 
47079
              _val1091.append(_elem1097)
-
 
47080
            iprot.readListEnd()
-
 
47081
            self.serialNumbersMap[_key1090] = _val1091
-
 
47082
          iprot.readMapEnd()
-
 
47083
        else:
-
 
47084
          iprot.skip(ftype)
-
 
47085
      elif fid == 5:
-
 
47086
        if ftype == TType.MAP:
-
 
47087
          self.freebieWarehouseIdMap = {}
-
 
47088
          (_ktype1099, _vtype1100, _size1098 ) = iprot.readMapBegin() 
-
 
47089
          for _i1102 in xrange(_size1098):
-
 
47090
            _key1103 = iprot.readI64();
-
 
47091
            _val1104 = []
-
 
47092
            (_etype1108, _size1105) = iprot.readListBegin()
-
 
47093
            for _i1109 in xrange(_size1105):
-
 
47094
              _elem1110 = iprot.readI64();
-
 
47095
              _val1104.append(_elem1110)
-
 
47096
            iprot.readListEnd()
-
 
47097
            self.freebieWarehouseIdMap[_key1103] = _val1104
-
 
47098
          iprot.readMapEnd()
-
 
47099
        else:
-
 
47100
          iprot.skip(ftype)
-
 
47101
      elif fid == 6:
-
 
47102
        if ftype == TType.STRING:
-
 
47103
          self.billed_by = iprot.readString();
-
 
47104
        else:
-
 
47105
          iprot.skip(ftype)
-
 
47106
      elif fid == 7:
-
 
47107
        if ftype == TType.I64:
-
 
47108
          self.jacketNumber = iprot.readI64();
-
 
47109
        else:
-
 
47110
          iprot.skip(ftype)
-
 
47111
      elif fid == 8:
-
 
47112
        if ftype == TType.I64:
-
 
47113
          self.billingType = iprot.readI64();
-
 
47114
        else:
-
 
47115
          iprot.skip(ftype)
-
 
47116
      elif fid == 9:
-
 
47117
        if ftype == TType.BOOL:
-
 
47118
          self.authorize = iprot.readBool();
-
 
47119
        else:
-
 
47120
          iprot.skip(ftype)
-
 
47121
      else:
-
 
47122
        iprot.skip(ftype)
-
 
47123
      iprot.readFieldEnd()
-
 
47124
    iprot.readStructEnd()
-
 
47125
 
-
 
47126
  def write(self, oprot):
-
 
47127
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
-
 
47128
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
-
 
47129
      return
-
 
47130
    oprot.writeStructBegin('addBillingDetailsForGrouppedOrders_args')
-
 
47131
    if self.order_ids is not None:
-
 
47132
      oprot.writeFieldBegin('order_ids', TType.LIST, 1)
-
 
47133
      oprot.writeListBegin(TType.I64, len(self.order_ids))
-
 
47134
      for iter1111 in self.order_ids:
-
 
47135
        oprot.writeI64(iter1111)
-
 
47136
      oprot.writeListEnd()
-
 
47137
      oprot.writeFieldEnd()
-
 
47138
    if self.invoice_number is not None:
-
 
47139
      oprot.writeFieldBegin('invoice_number', TType.STRING, 2)
-
 
47140
      oprot.writeString(self.invoice_number)
-
 
47141
      oprot.writeFieldEnd()
-
 
47142
    if self.itemNumbersMap is not None:
-
 
47143
      oprot.writeFieldBegin('itemNumbersMap', TType.MAP, 3)
-
 
47144
      oprot.writeMapBegin(TType.I64, TType.LIST, len(self.itemNumbersMap))
-
 
47145
      for kiter1112,viter1113 in self.itemNumbersMap.items():
-
 
47146
        oprot.writeI64(kiter1112)
-
 
47147
        oprot.writeListBegin(TType.STRING, len(viter1113))
-
 
47148
        for iter1114 in viter1113:
-
 
47149
          oprot.writeString(iter1114)
-
 
47150
        oprot.writeListEnd()
-
 
47151
      oprot.writeMapEnd()
-
 
47152
      oprot.writeFieldEnd()
-
 
47153
    if self.serialNumbersMap is not None:
-
 
47154
      oprot.writeFieldBegin('serialNumbersMap', TType.MAP, 4)
-
 
47155
      oprot.writeMapBegin(TType.I64, TType.LIST, len(self.serialNumbersMap))
-
 
47156
      for kiter1115,viter1116 in self.serialNumbersMap.items():
-
 
47157
        oprot.writeI64(kiter1115)
-
 
47158
        oprot.writeListBegin(TType.STRING, len(viter1116))
-
 
47159
        for iter1117 in viter1116:
-
 
47160
          oprot.writeString(iter1117)
-
 
47161
        oprot.writeListEnd()
-
 
47162
      oprot.writeMapEnd()
-
 
47163
      oprot.writeFieldEnd()
-
 
47164
    if self.freebieWarehouseIdMap is not None:
-
 
47165
      oprot.writeFieldBegin('freebieWarehouseIdMap', TType.MAP, 5)
-
 
47166
      oprot.writeMapBegin(TType.I64, TType.LIST, len(self.freebieWarehouseIdMap))
-
 
47167
      for kiter1118,viter1119 in self.freebieWarehouseIdMap.items():
-
 
47168
        oprot.writeI64(kiter1118)
-
 
47169
        oprot.writeListBegin(TType.I64, len(viter1119))
-
 
47170
        for iter1120 in viter1119:
-
 
47171
          oprot.writeI64(iter1120)
-
 
47172
        oprot.writeListEnd()
-
 
47173
      oprot.writeMapEnd()
-
 
47174
      oprot.writeFieldEnd()
-
 
47175
    if self.billed_by is not None:
-
 
47176
      oprot.writeFieldBegin('billed_by', TType.STRING, 6)
-
 
47177
      oprot.writeString(self.billed_by)
-
 
47178
      oprot.writeFieldEnd()
-
 
47179
    if self.jacketNumber is not None:
-
 
47180
      oprot.writeFieldBegin('jacketNumber', TType.I64, 7)
-
 
47181
      oprot.writeI64(self.jacketNumber)
-
 
47182
      oprot.writeFieldEnd()
-
 
47183
    if self.billingType is not None:
-
 
47184
      oprot.writeFieldBegin('billingType', TType.I64, 8)
-
 
47185
      oprot.writeI64(self.billingType)
-
 
47186
      oprot.writeFieldEnd()
-
 
47187
    if self.authorize is not None:
-
 
47188
      oprot.writeFieldBegin('authorize', TType.BOOL, 9)
-
 
47189
      oprot.writeBool(self.authorize)
-
 
47190
      oprot.writeFieldEnd()
-
 
47191
    oprot.writeFieldStop()
-
 
47192
    oprot.writeStructEnd()
-
 
47193
 
-
 
47194
  def validate(self):
-
 
47195
    return
-
 
47196
 
-
 
47197
 
-
 
47198
  def __repr__(self):
-
 
47199
    L = ['%s=%r' % (key, value)
-
 
47200
      for key, value in self.__dict__.iteritems()]
-
 
47201
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
-
 
47202
 
-
 
47203
  def __eq__(self, other):
-
 
47204
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
-
 
47205
 
-
 
47206
  def __ne__(self, other):
-
 
47207
    return not (self == other)
-
 
47208
 
-
 
47209
class addBillingDetailsForGrouppedOrders_result:
-
 
47210
  """
-
 
47211
  Attributes:
-
 
47212
   - success
-
 
47213
   - ex
-
 
47214
  """
-
 
47215
 
-
 
47216
  thrift_spec = (
-
 
47217
    (0, TType.BOOL, 'success', None, None, ), # 0
-
 
47218
    (1, TType.STRUCT, 'ex', (TransactionServiceException, TransactionServiceException.thrift_spec), None, ), # 1
-
 
47219
  )
-
 
47220
 
-
 
47221
  def __init__(self, success=None, ex=None,):
-
 
47222
    self.success = success
-
 
47223
    self.ex = ex
-
 
47224
 
-
 
47225
  def read(self, iprot):
-
 
47226
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
-
 
47227
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
-
 
47228
      return
-
 
47229
    iprot.readStructBegin()
-
 
47230
    while True:
-
 
47231
      (fname, ftype, fid) = iprot.readFieldBegin()
-
 
47232
      if ftype == TType.STOP:
-
 
47233
        break
-
 
47234
      if fid == 0:
-
 
47235
        if ftype == TType.BOOL:
-
 
47236
          self.success = iprot.readBool();
-
 
47237
        else:
-
 
47238
          iprot.skip(ftype)
-
 
47239
      elif fid == 1:
-
 
47240
        if ftype == TType.STRUCT:
-
 
47241
          self.ex = TransactionServiceException()
-
 
47242
          self.ex.read(iprot)
-
 
47243
        else:
-
 
47244
          iprot.skip(ftype)
-
 
47245
      else:
-
 
47246
        iprot.skip(ftype)
-
 
47247
      iprot.readFieldEnd()
-
 
47248
    iprot.readStructEnd()
-
 
47249
 
-
 
47250
  def write(self, oprot):
-
 
47251
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
-
 
47252
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
-
 
47253
      return
-
 
47254
    oprot.writeStructBegin('addBillingDetailsForGrouppedOrders_result')
-
 
47255
    if self.success is not None:
-
 
47256
      oprot.writeFieldBegin('success', TType.BOOL, 0)
-
 
47257
      oprot.writeBool(self.success)
-
 
47258
      oprot.writeFieldEnd()
-
 
47259
    if self.ex is not None:
-
 
47260
      oprot.writeFieldBegin('ex', TType.STRUCT, 1)
-
 
47261
      self.ex.write(oprot)
-
 
47262
      oprot.writeFieldEnd()
-
 
47263
    oprot.writeFieldStop()
-
 
47264
    oprot.writeStructEnd()
-
 
47265
 
-
 
47266
  def validate(self):
45995
    return
47267
    return
45996
 
47268
 
45997
 
47269
 
45998
  def __repr__(self):
47270
  def __repr__(self):
45999
    L = ['%s=%r' % (key, value)
47271
    L = ['%s=%r' % (key, value)