Subversion Repositories SmartDukaan

Rev

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

Rev 19474 Rev 19714
Line 2554... Line 2554...
2554
    Parameters:
2554
    Parameters:
2555
     - shipmentLogisticsCostDetails
2555
     - shipmentLogisticsCostDetails
2556
    """
2556
    """
2557
    pass
2557
    pass
2558
 
2558
 
-
 
2559
  def getEligibleOrdersForReturn(self, customerId, itemCondition, overrideWarranty):
-
 
2560
    """
-
 
2561
    Parameters:
-
 
2562
     - customerId
-
 
2563
     - itemCondition
-
 
2564
     - overrideWarranty
-
 
2565
    """
-
 
2566
    pass
-
 
2567
 
-
 
2568
  def getEligibleReturnOrdersForPickup(self, customerId):
-
 
2569
    """
-
 
2570
    Parameters:
-
 
2571
     - customerId
-
 
2572
    """
-
 
2573
    pass
-
 
2574
 
2559
 
2575
 
2560
class Client(shop2020.thriftpy.generic.GenericService.Client, Iface):
2576
class Client(shop2020.thriftpy.generic.GenericService.Client, Iface):
2561
  def __init__(self, iprot, oprot=None):
2577
  def __init__(self, iprot, oprot=None):
2562
    shop2020.thriftpy.generic.GenericService.Client.__init__(self, iprot, oprot)
2578
    shop2020.thriftpy.generic.GenericService.Client.__init__(self, iprot, oprot)
2563
 
2579
 
Line 12207... Line 12223...
12207
    self._iprot.readMessageEnd()
12223
    self._iprot.readMessageEnd()
12208
    if result.success is not None:
12224
    if result.success is not None:
12209
      return result.success
12225
      return result.success
12210
    raise TApplicationException(TApplicationException.MISSING_RESULT, "addOrUpdateShipmentLogisticsCostDetails failed: unknown result");
12226
    raise TApplicationException(TApplicationException.MISSING_RESULT, "addOrUpdateShipmentLogisticsCostDetails failed: unknown result");
12211
 
12227
 
-
 
12228
  def getEligibleOrdersForReturn(self, customerId, itemCondition, overrideWarranty):
-
 
12229
    """
-
 
12230
    Parameters:
-
 
12231
     - customerId
-
 
12232
     - itemCondition
-
 
12233
     - overrideWarranty
-
 
12234
    """
-
 
12235
    self.send_getEligibleOrdersForReturn(customerId, itemCondition, overrideWarranty)
-
 
12236
    return self.recv_getEligibleOrdersForReturn()
-
 
12237
 
-
 
12238
  def send_getEligibleOrdersForReturn(self, customerId, itemCondition, overrideWarranty):
-
 
12239
    self._oprot.writeMessageBegin('getEligibleOrdersForReturn', TMessageType.CALL, self._seqid)
-
 
12240
    args = getEligibleOrdersForReturn_args()
-
 
12241
    args.customerId = customerId
-
 
12242
    args.itemCondition = itemCondition
-
 
12243
    args.overrideWarranty = overrideWarranty
-
 
12244
    args.write(self._oprot)
-
 
12245
    self._oprot.writeMessageEnd()
-
 
12246
    self._oprot.trans.flush()
-
 
12247
 
-
 
12248
  def recv_getEligibleOrdersForReturn(self, ):
-
 
12249
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
-
 
12250
    if mtype == TMessageType.EXCEPTION:
-
 
12251
      x = TApplicationException()
-
 
12252
      x.read(self._iprot)
-
 
12253
      self._iprot.readMessageEnd()
-
 
12254
      raise x
-
 
12255
    result = getEligibleOrdersForReturn_result()
-
 
12256
    result.read(self._iprot)
-
 
12257
    self._iprot.readMessageEnd()
-
 
12258
    if result.success is not None:
-
 
12259
      return result.success
-
 
12260
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getEligibleOrdersForReturn failed: unknown result");
-
 
12261
 
-
 
12262
  def getEligibleReturnOrdersForPickup(self, customerId):
-
 
12263
    """
-
 
12264
    Parameters:
-
 
12265
     - customerId
-
 
12266
    """
-
 
12267
    self.send_getEligibleReturnOrdersForPickup(customerId)
-
 
12268
    return self.recv_getEligibleReturnOrdersForPickup()
-
 
12269
 
-
 
12270
  def send_getEligibleReturnOrdersForPickup(self, customerId):
-
 
12271
    self._oprot.writeMessageBegin('getEligibleReturnOrdersForPickup', TMessageType.CALL, self._seqid)
-
 
12272
    args = getEligibleReturnOrdersForPickup_args()
-
 
12273
    args.customerId = customerId
-
 
12274
    args.write(self._oprot)
-
 
12275
    self._oprot.writeMessageEnd()
-
 
12276
    self._oprot.trans.flush()
-
 
12277
 
-
 
12278
  def recv_getEligibleReturnOrdersForPickup(self, ):
-
 
12279
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
-
 
12280
    if mtype == TMessageType.EXCEPTION:
-
 
12281
      x = TApplicationException()
-
 
12282
      x.read(self._iprot)
-
 
12283
      self._iprot.readMessageEnd()
-
 
12284
      raise x
-
 
12285
    result = getEligibleReturnOrdersForPickup_result()
-
 
12286
    result.read(self._iprot)
-
 
12287
    self._iprot.readMessageEnd()
-
 
12288
    if result.success is not None:
-
 
12289
      return result.success
-
 
12290
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getEligibleReturnOrdersForPickup failed: unknown result");
-
 
12291
 
12212
 
12292
 
12213
class Processor(shop2020.thriftpy.generic.GenericService.Processor, Iface, TProcessor):
12293
class Processor(shop2020.thriftpy.generic.GenericService.Processor, Iface, TProcessor):
12214
  def __init__(self, handler):
12294
  def __init__(self, handler):
12215
    shop2020.thriftpy.generic.GenericService.Processor.__init__(self, handler)
12295
    shop2020.thriftpy.generic.GenericService.Processor.__init__(self, handler)
12216
    self._processMap["createTransaction"] = Processor.process_createTransaction
12296
    self._processMap["createTransaction"] = Processor.process_createTransaction
Line 12501... Line 12581...
12501
    self._processMap["verifyOrderForTransaction"] = Processor.process_verifyOrderForTransaction
12581
    self._processMap["verifyOrderForTransaction"] = Processor.process_verifyOrderForTransaction
12502
    self._processMap["getOrdersInBatchAsPromisedShipping"] = Processor.process_getOrdersInBatchAsPromisedShipping
12582
    self._processMap["getOrdersInBatchAsPromisedShipping"] = Processor.process_getOrdersInBatchAsPromisedShipping
12503
    self._processMap["setOrderAttributeForMasterOrderId"] = Processor.process_setOrderAttributeForMasterOrderId
12583
    self._processMap["setOrderAttributeForMasterOrderId"] = Processor.process_setOrderAttributeForMasterOrderId
12504
    self._processMap["updateMasterOrderAWB"] = Processor.process_updateMasterOrderAWB
12584
    self._processMap["updateMasterOrderAWB"] = Processor.process_updateMasterOrderAWB
12505
    self._processMap["addOrUpdateShipmentLogisticsCostDetails"] = Processor.process_addOrUpdateShipmentLogisticsCostDetails
12585
    self._processMap["addOrUpdateShipmentLogisticsCostDetails"] = Processor.process_addOrUpdateShipmentLogisticsCostDetails
-
 
12586
    self._processMap["getEligibleOrdersForReturn"] = Processor.process_getEligibleOrdersForReturn
-
 
12587
    self._processMap["getEligibleReturnOrdersForPickup"] = Processor.process_getEligibleReturnOrdersForPickup
12506
 
12588
 
12507
  def process(self, iprot, oprot):
12589
  def process(self, iprot, oprot):
12508
    (name, type, seqid) = iprot.readMessageBegin()
12590
    (name, type, seqid) = iprot.readMessageBegin()
12509
    if name not in self._processMap:
12591
    if name not in self._processMap:
12510
      iprot.skip(TType.STRUCT)
12592
      iprot.skip(TType.STRUCT)
Line 16121... Line 16203...
16121
    oprot.writeMessageBegin("addOrUpdateShipmentLogisticsCostDetails", TMessageType.REPLY, seqid)
16203
    oprot.writeMessageBegin("addOrUpdateShipmentLogisticsCostDetails", TMessageType.REPLY, seqid)
16122
    result.write(oprot)
16204
    result.write(oprot)
16123
    oprot.writeMessageEnd()
16205
    oprot.writeMessageEnd()
16124
    oprot.trans.flush()
16206
    oprot.trans.flush()
16125
 
16207
 
-
 
16208
  def process_getEligibleOrdersForReturn(self, seqid, iprot, oprot):
-
 
16209
    args = getEligibleOrdersForReturn_args()
-
 
16210
    args.read(iprot)
-
 
16211
    iprot.readMessageEnd()
-
 
16212
    result = getEligibleOrdersForReturn_result()
-
 
16213
    result.success = self._handler.getEligibleOrdersForReturn(args.customerId, args.itemCondition, args.overrideWarranty)
-
 
16214
    oprot.writeMessageBegin("getEligibleOrdersForReturn", TMessageType.REPLY, seqid)
-
 
16215
    result.write(oprot)
-
 
16216
    oprot.writeMessageEnd()
-
 
16217
    oprot.trans.flush()
-
 
16218
 
-
 
16219
  def process_getEligibleReturnOrdersForPickup(self, seqid, iprot, oprot):
-
 
16220
    args = getEligibleReturnOrdersForPickup_args()
-
 
16221
    args.read(iprot)
-
 
16222
    iprot.readMessageEnd()
-
 
16223
    result = getEligibleReturnOrdersForPickup_result()
-
 
16224
    result.success = self._handler.getEligibleReturnOrdersForPickup(args.customerId)
-
 
16225
    oprot.writeMessageBegin("getEligibleReturnOrdersForPickup", TMessageType.REPLY, seqid)
-
 
16226
    result.write(oprot)
-
 
16227
    oprot.writeMessageEnd()
-
 
16228
    oprot.trans.flush()
-
 
16229
 
16126
 
16230
 
16127
# HELPER FUNCTIONS AND STRUCTURES
16231
# HELPER FUNCTIONS AND STRUCTURES
16128
 
16232
 
16129
class createTransaction_args:
16233
class createTransaction_args:
16130
  """
16234
  """
Line 56462... Line 56566...
56462
      oprot.writeFieldEnd()
56566
      oprot.writeFieldEnd()
56463
    oprot.writeFieldStop()
56567
    oprot.writeFieldStop()
56464
    oprot.writeStructEnd()
56568
    oprot.writeStructEnd()
56465
 
56569
 
56466
  def validate(self):
56570
  def validate(self):
-
 
56571
    return
-
 
56572
 
-
 
56573
 
-
 
56574
  def __repr__(self):
-
 
56575
    L = ['%s=%r' % (key, value)
-
 
56576
      for key, value in self.__dict__.iteritems()]
-
 
56577
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
-
 
56578
 
-
 
56579
  def __eq__(self, other):
-
 
56580
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
-
 
56581
 
-
 
56582
  def __ne__(self, other):
-
 
56583
    return not (self == other)
-
 
56584
 
-
 
56585
class getEligibleOrdersForReturn_args:
-
 
56586
  """
-
 
56587
  Attributes:
-
 
56588
   - customerId
-
 
56589
   - itemCondition
-
 
56590
   - overrideWarranty
-
 
56591
  """
-
 
56592
 
-
 
56593
  thrift_spec = (
-
 
56594
    None, # 0
-
 
56595
    (1, TType.I64, 'customerId', None, None, ), # 1
-
 
56596
    (2, TType.STRING, 'itemCondition', None, None, ), # 2
-
 
56597
    (3, TType.BOOL, 'overrideWarranty', None, None, ), # 3
-
 
56598
  )
-
 
56599
 
-
 
56600
  def __init__(self, customerId=None, itemCondition=None, overrideWarranty=None,):
-
 
56601
    self.customerId = customerId
-
 
56602
    self.itemCondition = itemCondition
-
 
56603
    self.overrideWarranty = overrideWarranty
-
 
56604
 
-
 
56605
  def read(self, iprot):
-
 
56606
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
-
 
56607
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
-
 
56608
      return
-
 
56609
    iprot.readStructBegin()
-
 
56610
    while True:
-
 
56611
      (fname, ftype, fid) = iprot.readFieldBegin()
-
 
56612
      if ftype == TType.STOP:
-
 
56613
        break
-
 
56614
      if fid == 1:
-
 
56615
        if ftype == TType.I64:
-
 
56616
          self.customerId = iprot.readI64();
-
 
56617
        else:
-
 
56618
          iprot.skip(ftype)
-
 
56619
      elif fid == 2:
-
 
56620
        if ftype == TType.STRING:
-
 
56621
          self.itemCondition = iprot.readString();
-
 
56622
        else:
-
 
56623
          iprot.skip(ftype)
-
 
56624
      elif fid == 3:
-
 
56625
        if ftype == TType.BOOL:
-
 
56626
          self.overrideWarranty = iprot.readBool();
-
 
56627
        else:
-
 
56628
          iprot.skip(ftype)
-
 
56629
      else:
-
 
56630
        iprot.skip(ftype)
-
 
56631
      iprot.readFieldEnd()
-
 
56632
    iprot.readStructEnd()
-
 
56633
 
-
 
56634
  def write(self, oprot):
-
 
56635
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
-
 
56636
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
-
 
56637
      return
-
 
56638
    oprot.writeStructBegin('getEligibleOrdersForReturn_args')
-
 
56639
    if self.customerId is not None:
-
 
56640
      oprot.writeFieldBegin('customerId', TType.I64, 1)
-
 
56641
      oprot.writeI64(self.customerId)
-
 
56642
      oprot.writeFieldEnd()
-
 
56643
    if self.itemCondition is not None:
-
 
56644
      oprot.writeFieldBegin('itemCondition', TType.STRING, 2)
-
 
56645
      oprot.writeString(self.itemCondition)
-
 
56646
      oprot.writeFieldEnd()
-
 
56647
    if self.overrideWarranty is not None:
-
 
56648
      oprot.writeFieldBegin('overrideWarranty', TType.BOOL, 3)
-
 
56649
      oprot.writeBool(self.overrideWarranty)
-
 
56650
      oprot.writeFieldEnd()
-
 
56651
    oprot.writeFieldStop()
-
 
56652
    oprot.writeStructEnd()
-
 
56653
 
-
 
56654
  def validate(self):
-
 
56655
    return
-
 
56656
 
-
 
56657
 
-
 
56658
  def __repr__(self):
-
 
56659
    L = ['%s=%r' % (key, value)
-
 
56660
      for key, value in self.__dict__.iteritems()]
-
 
56661
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
-
 
56662
 
-
 
56663
  def __eq__(self, other):
-
 
56664
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
-
 
56665
 
-
 
56666
  def __ne__(self, other):
-
 
56667
    return not (self == other)
-
 
56668
 
-
 
56669
class getEligibleOrdersForReturn_result:
-
 
56670
  """
-
 
56671
  Attributes:
-
 
56672
   - success
-
 
56673
  """
-
 
56674
 
-
 
56675
  thrift_spec = (
-
 
56676
    (0, TType.LIST, 'success', (TType.STRUCT,(Order, Order.thrift_spec)), None, ), # 0
-
 
56677
  )
-
 
56678
 
-
 
56679
  def __init__(self, success=None,):
-
 
56680
    self.success = success
-
 
56681
 
-
 
56682
  def read(self, iprot):
-
 
56683
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
-
 
56684
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
-
 
56685
      return
-
 
56686
    iprot.readStructBegin()
-
 
56687
    while True:
-
 
56688
      (fname, ftype, fid) = iprot.readFieldBegin()
-
 
56689
      if ftype == TType.STOP:
-
 
56690
        break
-
 
56691
      if fid == 0:
-
 
56692
        if ftype == TType.LIST:
-
 
56693
          self.success = []
-
 
56694
          (_etype1440, _size1437) = iprot.readListBegin()
-
 
56695
          for _i1441 in xrange(_size1437):
-
 
56696
            _elem1442 = Order()
-
 
56697
            _elem1442.read(iprot)
-
 
56698
            self.success.append(_elem1442)
-
 
56699
          iprot.readListEnd()
-
 
56700
        else:
-
 
56701
          iprot.skip(ftype)
-
 
56702
      else:
-
 
56703
        iprot.skip(ftype)
-
 
56704
      iprot.readFieldEnd()
-
 
56705
    iprot.readStructEnd()
-
 
56706
 
-
 
56707
  def write(self, oprot):
-
 
56708
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
-
 
56709
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
-
 
56710
      return
-
 
56711
    oprot.writeStructBegin('getEligibleOrdersForReturn_result')
-
 
56712
    if self.success is not None:
-
 
56713
      oprot.writeFieldBegin('success', TType.LIST, 0)
-
 
56714
      oprot.writeListBegin(TType.STRUCT, len(self.success))
-
 
56715
      for iter1443 in self.success:
-
 
56716
        iter1443.write(oprot)
-
 
56717
      oprot.writeListEnd()
-
 
56718
      oprot.writeFieldEnd()
-
 
56719
    oprot.writeFieldStop()
-
 
56720
    oprot.writeStructEnd()
-
 
56721
 
-
 
56722
  def validate(self):
-
 
56723
    return
-
 
56724
 
-
 
56725
 
-
 
56726
  def __repr__(self):
-
 
56727
    L = ['%s=%r' % (key, value)
-
 
56728
      for key, value in self.__dict__.iteritems()]
-
 
56729
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
-
 
56730
 
-
 
56731
  def __eq__(self, other):
-
 
56732
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
-
 
56733
 
-
 
56734
  def __ne__(self, other):
-
 
56735
    return not (self == other)
-
 
56736
 
-
 
56737
class getEligibleReturnOrdersForPickup_args:
-
 
56738
  """
-
 
56739
  Attributes:
-
 
56740
   - customerId
-
 
56741
  """
-
 
56742
 
-
 
56743
  thrift_spec = (
-
 
56744
    None, # 0
-
 
56745
    (1, TType.I64, 'customerId', None, None, ), # 1
-
 
56746
  )
-
 
56747
 
-
 
56748
  def __init__(self, customerId=None,):
-
 
56749
    self.customerId = customerId
-
 
56750
 
-
 
56751
  def read(self, iprot):
-
 
56752
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
-
 
56753
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
-
 
56754
      return
-
 
56755
    iprot.readStructBegin()
-
 
56756
    while True:
-
 
56757
      (fname, ftype, fid) = iprot.readFieldBegin()
-
 
56758
      if ftype == TType.STOP:
-
 
56759
        break
-
 
56760
      if fid == 1:
-
 
56761
        if ftype == TType.I64:
-
 
56762
          self.customerId = iprot.readI64();
-
 
56763
        else:
-
 
56764
          iprot.skip(ftype)
-
 
56765
      else:
-
 
56766
        iprot.skip(ftype)
-
 
56767
      iprot.readFieldEnd()
-
 
56768
    iprot.readStructEnd()
-
 
56769
 
-
 
56770
  def write(self, oprot):
-
 
56771
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
-
 
56772
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
-
 
56773
      return
-
 
56774
    oprot.writeStructBegin('getEligibleReturnOrdersForPickup_args')
-
 
56775
    if self.customerId is not None:
-
 
56776
      oprot.writeFieldBegin('customerId', TType.I64, 1)
-
 
56777
      oprot.writeI64(self.customerId)
-
 
56778
      oprot.writeFieldEnd()
-
 
56779
    oprot.writeFieldStop()
-
 
56780
    oprot.writeStructEnd()
-
 
56781
 
-
 
56782
  def validate(self):
-
 
56783
    return
-
 
56784
 
-
 
56785
 
-
 
56786
  def __repr__(self):
-
 
56787
    L = ['%s=%r' % (key, value)
-
 
56788
      for key, value in self.__dict__.iteritems()]
-
 
56789
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
-
 
56790
 
-
 
56791
  def __eq__(self, other):
-
 
56792
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
-
 
56793
 
-
 
56794
  def __ne__(self, other):
-
 
56795
    return not (self == other)
-
 
56796
 
-
 
56797
class getEligibleReturnOrdersForPickup_result:
-
 
56798
  """
-
 
56799
  Attributes:
-
 
56800
   - success
-
 
56801
  """
-
 
56802
 
-
 
56803
  thrift_spec = (
-
 
56804
    (0, TType.LIST, 'success', (TType.STRUCT,(ReturnOrderInfo, ReturnOrderInfo.thrift_spec)), None, ), # 0
-
 
56805
  )
-
 
56806
 
-
 
56807
  def __init__(self, success=None,):
-
 
56808
    self.success = success
-
 
56809
 
-
 
56810
  def read(self, iprot):
-
 
56811
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
-
 
56812
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
-
 
56813
      return
-
 
56814
    iprot.readStructBegin()
-
 
56815
    while True:
-
 
56816
      (fname, ftype, fid) = iprot.readFieldBegin()
-
 
56817
      if ftype == TType.STOP:
-
 
56818
        break
-
 
56819
      if fid == 0:
-
 
56820
        if ftype == TType.LIST:
-
 
56821
          self.success = []
-
 
56822
          (_etype1447, _size1444) = iprot.readListBegin()
-
 
56823
          for _i1448 in xrange(_size1444):
-
 
56824
            _elem1449 = ReturnOrderInfo()
-
 
56825
            _elem1449.read(iprot)
-
 
56826
            self.success.append(_elem1449)
-
 
56827
          iprot.readListEnd()
-
 
56828
        else:
-
 
56829
          iprot.skip(ftype)
-
 
56830
      else:
-
 
56831
        iprot.skip(ftype)
-
 
56832
      iprot.readFieldEnd()
-
 
56833
    iprot.readStructEnd()
-
 
56834
 
-
 
56835
  def write(self, oprot):
-
 
56836
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
-
 
56837
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
-
 
56838
      return
-
 
56839
    oprot.writeStructBegin('getEligibleReturnOrdersForPickup_result')
-
 
56840
    if self.success is not None:
-
 
56841
      oprot.writeFieldBegin('success', TType.LIST, 0)
-
 
56842
      oprot.writeListBegin(TType.STRUCT, len(self.success))
-
 
56843
      for iter1450 in self.success:
-
 
56844
        iter1450.write(oprot)
-
 
56845
      oprot.writeListEnd()
-
 
56846
      oprot.writeFieldEnd()
-
 
56847
    oprot.writeFieldStop()
-
 
56848
    oprot.writeStructEnd()
-
 
56849
 
-
 
56850
  def validate(self):
56467
    return
56851
    return
56468
 
56852
 
56469
 
56853
 
56470
  def __repr__(self):
56854
  def __repr__(self):
56471
    L = ['%s=%r' % (key, value)
56855
    L = ['%s=%r' % (key, value)