Subversion Repositories SmartDukaan

Rev

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

Rev 22749 Rev 22754
Line 62693... Line 62693...
62693
   - logisticsTransactionId
62693
   - logisticsTransactionId
62694
  """
62694
  """
62695
 
62695
 
62696
  thrift_spec = (
62696
  thrift_spec = (
62697
    None, # 0
62697
    None, # 0
62698
    (1, TType.I64, 'logisticsTransactionId', None, None, ), # 1
62698
    (1, TType.STRING, 'logisticsTransactionId', None, None, ), # 1
62699
  )
62699
  )
62700
 
62700
 
62701
  def __init__(self, logisticsTransactionId=None,):
62701
  def __init__(self, logisticsTransactionId=None,):
62702
    self.logisticsTransactionId = logisticsTransactionId
62702
    self.logisticsTransactionId = logisticsTransactionId
62703
 
62703
 
Line 62709... Line 62709...
62709
    while True:
62709
    while True:
62710
      (fname, ftype, fid) = iprot.readFieldBegin()
62710
      (fname, ftype, fid) = iprot.readFieldBegin()
62711
      if ftype == TType.STOP:
62711
      if ftype == TType.STOP:
62712
        break
62712
        break
62713
      if fid == 1:
62713
      if fid == 1:
62714
        if ftype == TType.I64:
62714
        if ftype == TType.STRING:
62715
          self.logisticsTransactionId = iprot.readI64();
62715
          self.logisticsTransactionId = iprot.readString();
62716
        else:
62716
        else:
62717
          iprot.skip(ftype)
62717
          iprot.skip(ftype)
62718
      else:
62718
      else:
62719
        iprot.skip(ftype)
62719
        iprot.skip(ftype)
62720
      iprot.readFieldEnd()
62720
      iprot.readFieldEnd()
Line 62724... Line 62724...
62724
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
62724
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
62725
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
62725
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
62726
      return
62726
      return
62727
    oprot.writeStructBegin('isShipmentCod_args')
62727
    oprot.writeStructBegin('isShipmentCod_args')
62728
    if self.logisticsTransactionId is not None:
62728
    if self.logisticsTransactionId is not None:
62729
      oprot.writeFieldBegin('logisticsTransactionId', TType.I64, 1)
62729
      oprot.writeFieldBegin('logisticsTransactionId', TType.STRING, 1)
62730
      oprot.writeI64(self.logisticsTransactionId)
62730
      oprot.writeString(self.logisticsTransactionId)
62731
      oprot.writeFieldEnd()
62731
      oprot.writeFieldEnd()
62732
    oprot.writeFieldStop()
62732
    oprot.writeFieldStop()
62733
    oprot.writeStructEnd()
62733
    oprot.writeStructEnd()
62734
 
62734
 
62735
  def validate(self):
62735
  def validate(self):