Subversion Repositories SmartDukaan

Rev

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

Rev 20744 Rev 20811
Line 2178... Line 2178...
2178
    Parameters:
2178
    Parameters:
2179
     - logisticsTxnId
2179
     - logisticsTxnId
2180
    """
2180
    """
2181
    pass
2181
    pass
2182
 
2182
 
2183
  def addBillingDetailsForGrouppedOrders(self, order_ids, invoice_number, itemNumbersMap, serialNumbersMap, freebieWarehouseIdMap, billed_by, jacketNumber, billingType, authorize, invoiceType, packageDimensions):
2183
  def addBillingDetailsForGrouppedOrders(self, order_ids, invoice_number, itemNumbersMap, serialNumbersMap, freebieWarehouseIdMap, billed_by, jacketNumber, billingType, authorize, invoiceType):
2184
    """
2184
    """
2185
    Parameters:
2185
    Parameters:
2186
     - order_ids
2186
     - order_ids
2187
     - invoice_number
2187
     - invoice_number
2188
     - itemNumbersMap
2188
     - itemNumbersMap
Line 2191... Line 2191...
2191
     - billed_by
2191
     - billed_by
2192
     - jacketNumber
2192
     - jacketNumber
2193
     - billingType
2193
     - billingType
2194
     - authorize
2194
     - authorize
2195
     - invoiceType
2195
     - invoiceType
2196
     - packageDimensions
-
 
2197
    """
2196
    """
2198
    pass
2197
    pass
2199
 
2198
 
2200
  def getInvoiceFormatLogisticsTxnId(self, transactionId, shipementSeq):
2199
  def getInvoiceFormatLogisticsTxnId(self, transactionId, shipementSeq):
2201
    """
2200
    """
Line 2688... Line 2687...
2688
    Parameters:
2687
    Parameters:
2689
     - logisticsTxnId
2688
     - logisticsTxnId
2690
    """
2689
    """
2691
    pass
2690
    pass
2692
 
2691
 
-
 
2692
  def addShipmentLogisticDetail(self, shipmentLogisticsCostDetail):
-
 
2693
    """
-
 
2694
    Parameters:
-
 
2695
     - shipmentLogisticsCostDetail
-
 
2696
    """
-
 
2697
    pass
-
 
2698
 
2693
 
2699
 
2694
class Client(shop2020.thriftpy.generic.GenericService.Client, Iface):
2700
class Client(shop2020.thriftpy.generic.GenericService.Client, Iface):
2695
  def __init__(self, iprot, oprot=None):
2701
  def __init__(self, iprot, oprot=None):
2696
    shop2020.thriftpy.generic.GenericService.Client.__init__(self, iprot, oprot)
2702
    shop2020.thriftpy.generic.GenericService.Client.__init__(self, iprot, oprot)
2697
 
2703
 
Line 10830... Line 10836...
10830
      return result.success
10836
      return result.success
10831
    if result.ex is not None:
10837
    if result.ex is not None:
10832
      raise result.ex
10838
      raise result.ex
10833
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getGroupOrdersByLogisticsTxnId failed: unknown result");
10839
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getGroupOrdersByLogisticsTxnId failed: unknown result");
10834
 
10840
 
10835
  def addBillingDetailsForGrouppedOrders(self, order_ids, invoice_number, itemNumbersMap, serialNumbersMap, freebieWarehouseIdMap, billed_by, jacketNumber, billingType, authorize, invoiceType, packageDimensions):
10841
  def addBillingDetailsForGrouppedOrders(self, order_ids, invoice_number, itemNumbersMap, serialNumbersMap, freebieWarehouseIdMap, billed_by, jacketNumber, billingType, authorize, invoiceType):
10836
    """
10842
    """
10837
    Parameters:
10843
    Parameters:
10838
     - order_ids
10844
     - order_ids
10839
     - invoice_number
10845
     - invoice_number
10840
     - itemNumbersMap
10846
     - itemNumbersMap
Line 10843... Line 10849...
10843
     - billed_by
10849
     - billed_by
10844
     - jacketNumber
10850
     - jacketNumber
10845
     - billingType
10851
     - billingType
10846
     - authorize
10852
     - authorize
10847
     - invoiceType
10853
     - invoiceType
10848
     - packageDimensions
-
 
10849
    """
10854
    """
10850
    self.send_addBillingDetailsForGrouppedOrders(order_ids, invoice_number, itemNumbersMap, serialNumbersMap, freebieWarehouseIdMap, billed_by, jacketNumber, billingType, authorize, invoiceType, packageDimensions)
10855
    self.send_addBillingDetailsForGrouppedOrders(order_ids, invoice_number, itemNumbersMap, serialNumbersMap, freebieWarehouseIdMap, billed_by, jacketNumber, billingType, authorize, invoiceType)
10851
    return self.recv_addBillingDetailsForGrouppedOrders()
10856
    return self.recv_addBillingDetailsForGrouppedOrders()
10852
 
10857
 
10853
  def send_addBillingDetailsForGrouppedOrders(self, order_ids, invoice_number, itemNumbersMap, serialNumbersMap, freebieWarehouseIdMap, billed_by, jacketNumber, billingType, authorize, invoiceType, packageDimensions):
10858
  def send_addBillingDetailsForGrouppedOrders(self, order_ids, invoice_number, itemNumbersMap, serialNumbersMap, freebieWarehouseIdMap, billed_by, jacketNumber, billingType, authorize, invoiceType):
10854
    self._oprot.writeMessageBegin('addBillingDetailsForGrouppedOrders', TMessageType.CALL, self._seqid)
10859
    self._oprot.writeMessageBegin('addBillingDetailsForGrouppedOrders', TMessageType.CALL, self._seqid)
10855
    args = addBillingDetailsForGrouppedOrders_args()
10860
    args = addBillingDetailsForGrouppedOrders_args()
10856
    args.order_ids = order_ids
10861
    args.order_ids = order_ids
10857
    args.invoice_number = invoice_number
10862
    args.invoice_number = invoice_number
10858
    args.itemNumbersMap = itemNumbersMap
10863
    args.itemNumbersMap = itemNumbersMap
Line 10861... Line 10866...
10861
    args.billed_by = billed_by
10866
    args.billed_by = billed_by
10862
    args.jacketNumber = jacketNumber
10867
    args.jacketNumber = jacketNumber
10863
    args.billingType = billingType
10868
    args.billingType = billingType
10864
    args.authorize = authorize
10869
    args.authorize = authorize
10865
    args.invoiceType = invoiceType
10870
    args.invoiceType = invoiceType
10866
    args.packageDimensions = packageDimensions
-
 
10867
    args.write(self._oprot)
10871
    args.write(self._oprot)
10868
    self._oprot.writeMessageEnd()
10872
    self._oprot.writeMessageEnd()
10869
    self._oprot.trans.flush()
10873
    self._oprot.trans.flush()
10870
 
10874
 
10871
  def recv_addBillingDetailsForGrouppedOrders(self, ):
10875
  def recv_addBillingDetailsForGrouppedOrders(self, ):
Line 12883... Line 12887...
12883
    self._iprot.readMessageEnd()
12887
    self._iprot.readMessageEnd()
12884
    if result.success is not None:
12888
    if result.success is not None:
12885
      return result.success
12889
      return result.success
12886
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getCostDetailForLogisticsTxnId failed: unknown result");
12890
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getCostDetailForLogisticsTxnId failed: unknown result");
12887
 
12891
 
-
 
12892
  def addShipmentLogisticDetail(self, shipmentLogisticsCostDetail):
-
 
12893
    """
-
 
12894
    Parameters:
-
 
12895
     - shipmentLogisticsCostDetail
-
 
12896
    """
-
 
12897
    self.send_addShipmentLogisticDetail(shipmentLogisticsCostDetail)
-
 
12898
    self.recv_addShipmentLogisticDetail()
-
 
12899
 
-
 
12900
  def send_addShipmentLogisticDetail(self, shipmentLogisticsCostDetail):
-
 
12901
    self._oprot.writeMessageBegin('addShipmentLogisticDetail', TMessageType.CALL, self._seqid)
-
 
12902
    args = addShipmentLogisticDetail_args()
-
 
12903
    args.shipmentLogisticsCostDetail = shipmentLogisticsCostDetail
-
 
12904
    args.write(self._oprot)
-
 
12905
    self._oprot.writeMessageEnd()
-
 
12906
    self._oprot.trans.flush()
-
 
12907
 
-
 
12908
  def recv_addShipmentLogisticDetail(self, ):
-
 
12909
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
-
 
12910
    if mtype == TMessageType.EXCEPTION:
-
 
12911
      x = TApplicationException()
-
 
12912
      x.read(self._iprot)
-
 
12913
      self._iprot.readMessageEnd()
-
 
12914
      raise x
-
 
12915
    result = addShipmentLogisticDetail_result()
-
 
12916
    result.read(self._iprot)
-
 
12917
    self._iprot.readMessageEnd()
-
 
12918
    return
-
 
12919
 
12888
 
12920
 
12889
class Processor(shop2020.thriftpy.generic.GenericService.Processor, Iface, TProcessor):
12921
class Processor(shop2020.thriftpy.generic.GenericService.Processor, Iface, TProcessor):
12890
  def __init__(self, handler):
12922
  def __init__(self, handler):
12891
    shop2020.thriftpy.generic.GenericService.Processor.__init__(self, handler)
12923
    shop2020.thriftpy.generic.GenericService.Processor.__init__(self, handler)
12892
    self._processMap["createTransaction"] = Processor.process_createTransaction
12924
    self._processMap["createTransaction"] = Processor.process_createTransaction
Line 13194... Line 13226...
13194
    self._processMap["splitReturnOrderInfo"] = Processor.process_splitReturnOrderInfo
13226
    self._processMap["splitReturnOrderInfo"] = Processor.process_splitReturnOrderInfo
13195
    self._processMap["deleteReturnOrder"] = Processor.process_deleteReturnOrder
13227
    self._processMap["deleteReturnOrder"] = Processor.process_deleteReturnOrder
13196
    self._processMap["refundReturnOrder"] = Processor.process_refundReturnOrder
13228
    self._processMap["refundReturnOrder"] = Processor.process_refundReturnOrder
13197
    self._processMap["addShipmentDelay"] = Processor.process_addShipmentDelay
13229
    self._processMap["addShipmentDelay"] = Processor.process_addShipmentDelay
13198
    self._processMap["getCostDetailForLogisticsTxnId"] = Processor.process_getCostDetailForLogisticsTxnId
13230
    self._processMap["getCostDetailForLogisticsTxnId"] = Processor.process_getCostDetailForLogisticsTxnId
-
 
13231
    self._processMap["addShipmentLogisticDetail"] = Processor.process_addShipmentLogisticDetail
13199
 
13232
 
13200
  def process(self, iprot, oprot):
13233
  def process(self, iprot, oprot):
13201
    (name, type, seqid) = iprot.readMessageBegin()
13234
    (name, type, seqid) = iprot.readMessageBegin()
13202
    if name not in self._processMap:
13235
    if name not in self._processMap:
13203
      iprot.skip(TType.STRUCT)
13236
      iprot.skip(TType.STRUCT)
Line 16256... Line 16289...
16256
    args = addBillingDetailsForGrouppedOrders_args()
16289
    args = addBillingDetailsForGrouppedOrders_args()
16257
    args.read(iprot)
16290
    args.read(iprot)
16258
    iprot.readMessageEnd()
16291
    iprot.readMessageEnd()
16259
    result = addBillingDetailsForGrouppedOrders_result()
16292
    result = addBillingDetailsForGrouppedOrders_result()
16260
    try:
16293
    try:
16261
      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, args.invoiceType, args.packageDimensions)
16294
      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, args.invoiceType)
16262
    except TransactionServiceException, ex:
16295
    except TransactionServiceException, ex:
16263
      result.ex = ex
16296
      result.ex = ex
16264
    oprot.writeMessageBegin("addBillingDetailsForGrouppedOrders", TMessageType.REPLY, seqid)
16297
    oprot.writeMessageBegin("addBillingDetailsForGrouppedOrders", TMessageType.REPLY, seqid)
16265
    result.write(oprot)
16298
    result.write(oprot)
16266
    oprot.writeMessageEnd()
16299
    oprot.writeMessageEnd()
Line 17004... Line 17037...
17004
    oprot.writeMessageBegin("getCostDetailForLogisticsTxnId", TMessageType.REPLY, seqid)
17037
    oprot.writeMessageBegin("getCostDetailForLogisticsTxnId", TMessageType.REPLY, seqid)
17005
    result.write(oprot)
17038
    result.write(oprot)
17006
    oprot.writeMessageEnd()
17039
    oprot.writeMessageEnd()
17007
    oprot.trans.flush()
17040
    oprot.trans.flush()
17008
 
17041
 
-
 
17042
  def process_addShipmentLogisticDetail(self, seqid, iprot, oprot):
-
 
17043
    args = addShipmentLogisticDetail_args()
-
 
17044
    args.read(iprot)
-
 
17045
    iprot.readMessageEnd()
-
 
17046
    result = addShipmentLogisticDetail_result()
-
 
17047
    self._handler.addShipmentLogisticDetail(args.shipmentLogisticsCostDetail)
-
 
17048
    oprot.writeMessageBegin("addShipmentLogisticDetail", TMessageType.REPLY, seqid)
-
 
17049
    result.write(oprot)
-
 
17050
    oprot.writeMessageEnd()
-
 
17051
    oprot.trans.flush()
-
 
17052
 
17009
 
17053
 
17010
# HELPER FUNCTIONS AND STRUCTURES
17054
# HELPER FUNCTIONS AND STRUCTURES
17011
 
17055
 
17012
class createTransaction_args:
17056
class createTransaction_args:
17013
  """
17057
  """
Line 50663... Line 50707...
50663
   - billed_by
50707
   - billed_by
50664
   - jacketNumber
50708
   - jacketNumber
50665
   - billingType
50709
   - billingType
50666
   - authorize
50710
   - authorize
50667
   - invoiceType
50711
   - invoiceType
50668
   - packageDimensions
-
 
50669
  """
50712
  """
50670
 
50713
 
50671
  thrift_spec = (
50714
  thrift_spec = (
50672
    None, # 0
50715
    None, # 0
50673
    (1, TType.LIST, 'order_ids', (TType.I64,None), None, ), # 1
50716
    (1, TType.LIST, 'order_ids', (TType.I64,None), None, ), # 1
Line 50678... Line 50721...
50678
    (6, TType.STRING, 'billed_by', None, None, ), # 6
50721
    (6, TType.STRING, 'billed_by', None, None, ), # 6
50679
    (7, TType.I64, 'jacketNumber', None, None, ), # 7
50722
    (7, TType.I64, 'jacketNumber', None, None, ), # 7
50680
    (8, TType.I64, 'billingType', None, None, ), # 8
50723
    (8, TType.I64, 'billingType', None, None, ), # 8
50681
    (9, TType.BOOL, 'authorize', None, None, ), # 9
50724
    (9, TType.BOOL, 'authorize', None, None, ), # 9
50682
    (10, TType.STRING, 'invoiceType', None, None, ), # 10
50725
    (10, TType.STRING, 'invoiceType', None, None, ), # 10
50683
    (11, TType.STRING, 'packageDimensions', None, None, ), # 11
-
 
50684
  )
50726
  )
50685
 
50727
 
50686
  def __init__(self, order_ids=None, invoice_number=None, itemNumbersMap=None, serialNumbersMap=None, freebieWarehouseIdMap=None, billed_by=None, jacketNumber=None, billingType=None, authorize=None, invoiceType=None, packageDimensions=None,):
50728
  def __init__(self, order_ids=None, invoice_number=None, itemNumbersMap=None, serialNumbersMap=None, freebieWarehouseIdMap=None, billed_by=None, jacketNumber=None, billingType=None, authorize=None, invoiceType=None,):
50687
    self.order_ids = order_ids
50729
    self.order_ids = order_ids
50688
    self.invoice_number = invoice_number
50730
    self.invoice_number = invoice_number
50689
    self.itemNumbersMap = itemNumbersMap
50731
    self.itemNumbersMap = itemNumbersMap
50690
    self.serialNumbersMap = serialNumbersMap
50732
    self.serialNumbersMap = serialNumbersMap
50691
    self.freebieWarehouseIdMap = freebieWarehouseIdMap
50733
    self.freebieWarehouseIdMap = freebieWarehouseIdMap
50692
    self.billed_by = billed_by
50734
    self.billed_by = billed_by
50693
    self.jacketNumber = jacketNumber
50735
    self.jacketNumber = jacketNumber
50694
    self.billingType = billingType
50736
    self.billingType = billingType
50695
    self.authorize = authorize
50737
    self.authorize = authorize
50696
    self.invoiceType = invoiceType
50738
    self.invoiceType = invoiceType
50697
    self.packageDimensions = packageDimensions
-
 
50698
 
50739
 
50699
  def read(self, iprot):
50740
  def read(self, iprot):
50700
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
50741
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
50701
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
50742
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
50702
      return
50743
      return
Line 50791... Line 50832...
50791
      elif fid == 10:
50832
      elif fid == 10:
50792
        if ftype == TType.STRING:
50833
        if ftype == TType.STRING:
50793
          self.invoiceType = iprot.readString();
50834
          self.invoiceType = iprot.readString();
50794
        else:
50835
        else:
50795
          iprot.skip(ftype)
50836
          iprot.skip(ftype)
50796
      elif fid == 11:
-
 
50797
        if ftype == TType.STRING:
-
 
50798
          self.packageDimensions = iprot.readString();
-
 
50799
        else:
-
 
50800
          iprot.skip(ftype)
-
 
50801
      else:
50837
      else:
50802
        iprot.skip(ftype)
50838
        iprot.skip(ftype)
50803
      iprot.readFieldEnd()
50839
      iprot.readFieldEnd()
50804
    iprot.readStructEnd()
50840
    iprot.readStructEnd()
50805
 
50841
 
Line 50870... Line 50906...
50870
      oprot.writeFieldEnd()
50906
      oprot.writeFieldEnd()
50871
    if self.invoiceType is not None:
50907
    if self.invoiceType is not None:
50872
      oprot.writeFieldBegin('invoiceType', TType.STRING, 10)
50908
      oprot.writeFieldBegin('invoiceType', TType.STRING, 10)
50873
      oprot.writeString(self.invoiceType)
50909
      oprot.writeString(self.invoiceType)
50874
      oprot.writeFieldEnd()
50910
      oprot.writeFieldEnd()
50875
    if self.packageDimensions is not None:
-
 
50876
      oprot.writeFieldBegin('packageDimensions', TType.STRING, 11)
-
 
50877
      oprot.writeString(self.packageDimensions)
-
 
50878
      oprot.writeFieldEnd()
-
 
50879
    oprot.writeFieldStop()
50911
    oprot.writeFieldStop()
50880
    oprot.writeStructEnd()
50912
    oprot.writeStructEnd()
50881
 
50913
 
50882
  def validate(self):
50914
  def validate(self):
50883
    return
50915
    return
Line 59653... Line 59685...
59653
    oprot.writeFieldStop()
59685
    oprot.writeFieldStop()
59654
    oprot.writeStructEnd()
59686
    oprot.writeStructEnd()
59655
 
59687
 
59656
  def validate(self):
59688
  def validate(self):
59657
    return
59689
    return
-
 
59690
 
-
 
59691
 
-
 
59692
  def __repr__(self):
-
 
59693
    L = ['%s=%r' % (key, value)
-
 
59694
      for key, value in self.__dict__.iteritems()]
-
 
59695
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
-
 
59696
 
-
 
59697
  def __eq__(self, other):
-
 
59698
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
-
 
59699
 
-
 
59700
  def __ne__(self, other):
-
 
59701
    return not (self == other)
-
 
59702
 
-
 
59703
class addShipmentLogisticDetail_args:
-
 
59704
  """
-
 
59705
  Attributes:
-
 
59706
   - shipmentLogisticsCostDetail
-
 
59707
  """
-
 
59708
 
-
 
59709
  thrift_spec = (
-
 
59710
    None, # 0
-
 
59711
    (1, TType.STRUCT, 'shipmentLogisticsCostDetail', (ShipmentLogisticsCostDetail, ShipmentLogisticsCostDetail.thrift_spec), None, ), # 1
-
 
59712
  )
-
 
59713
 
-
 
59714
  def __init__(self, shipmentLogisticsCostDetail=None,):
-
 
59715
    self.shipmentLogisticsCostDetail = shipmentLogisticsCostDetail
-
 
59716
 
-
 
59717
  def read(self, iprot):
-
 
59718
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
-
 
59719
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
-
 
59720
      return
-
 
59721
    iprot.readStructBegin()
-
 
59722
    while True:
-
 
59723
      (fname, ftype, fid) = iprot.readFieldBegin()
-
 
59724
      if ftype == TType.STOP:
-
 
59725
        break
-
 
59726
      if fid == 1:
-
 
59727
        if ftype == TType.STRUCT:
-
 
59728
          self.shipmentLogisticsCostDetail = ShipmentLogisticsCostDetail()
-
 
59729
          self.shipmentLogisticsCostDetail.read(iprot)
-
 
59730
        else:
-
 
59731
          iprot.skip(ftype)
-
 
59732
      else:
-
 
59733
        iprot.skip(ftype)
-
 
59734
      iprot.readFieldEnd()
-
 
59735
    iprot.readStructEnd()
-
 
59736
 
-
 
59737
  def write(self, oprot):
-
 
59738
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
-
 
59739
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
-
 
59740
      return
-
 
59741
    oprot.writeStructBegin('addShipmentLogisticDetail_args')
-
 
59742
    if self.shipmentLogisticsCostDetail is not None:
-
 
59743
      oprot.writeFieldBegin('shipmentLogisticsCostDetail', TType.STRUCT, 1)
-
 
59744
      self.shipmentLogisticsCostDetail.write(oprot)
-
 
59745
      oprot.writeFieldEnd()
-
 
59746
    oprot.writeFieldStop()
-
 
59747
    oprot.writeStructEnd()
-
 
59748
 
-
 
59749
  def validate(self):
-
 
59750
    return
-
 
59751
 
-
 
59752
 
-
 
59753
  def __repr__(self):
-
 
59754
    L = ['%s=%r' % (key, value)
-
 
59755
      for key, value in self.__dict__.iteritems()]
-
 
59756
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
-
 
59757
 
-
 
59758
  def __eq__(self, other):
-
 
59759
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
-
 
59760
 
-
 
59761
  def __ne__(self, other):
-
 
59762
    return not (self == other)
-
 
59763
 
-
 
59764
class addShipmentLogisticDetail_result:
-
 
59765
 
-
 
59766
  thrift_spec = (
-
 
59767
  )
-
 
59768
 
-
 
59769
  def read(self, iprot):
-
 
59770
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
-
 
59771
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
-
 
59772
      return
-
 
59773
    iprot.readStructBegin()
-
 
59774
    while True:
-
 
59775
      (fname, ftype, fid) = iprot.readFieldBegin()
-
 
59776
      if ftype == TType.STOP:
-
 
59777
        break
-
 
59778
      else:
-
 
59779
        iprot.skip(ftype)
-
 
59780
      iprot.readFieldEnd()
-
 
59781
    iprot.readStructEnd()
-
 
59782
 
-
 
59783
  def write(self, oprot):
-
 
59784
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
-
 
59785
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
-
 
59786
      return
-
 
59787
    oprot.writeStructBegin('addShipmentLogisticDetail_result')
-
 
59788
    oprot.writeFieldStop()
-
 
59789
    oprot.writeStructEnd()
-
 
59790
 
-
 
59791
  def validate(self):
-
 
59792
    return
59658
 
59793
 
59659
 
59794
 
59660
  def __repr__(self):
59795
  def __repr__(self):
59661
    L = ['%s=%r' % (key, value)
59796
    L = ['%s=%r' % (key, value)
59662
      for key, value in self.__dict__.iteritems()]
59797
      for key, value in self.__dict__.iteritems()]