Subversion Repositories SmartDukaan

Rev

Rev 22452 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 22452 Rev 22715
Line 3803... Line 3803...
3803
   - counterId
3803
   - counterId
3804
   - tin
3804
   - tin
3805
   - bulkShipmentAmountLimit
3805
   - bulkShipmentAmountLimit
3806
   - creditorAssigned
3806
   - creditorAssigned
3807
   - tinVerified
3807
   - tinVerified
-
 
3808
   - isFofo
3808
  """
3809
  """
3809
 
3810
 
3810
  thrift_spec = (
3811
  thrift_spec = (
3811
    None, # 0
3812
    None, # 0
3812
    (1, TType.I64, 'userId', None, None, ), # 1
3813
    (1, TType.I64, 'userId', None, None, ), # 1
Line 3815... Line 3816...
3815
    (4, TType.I64, 'counterId', None, None, ), # 4
3816
    (4, TType.I64, 'counterId', None, None, ), # 4
3816
    (5, TType.STRING, 'tin', None, None, ), # 5
3817
    (5, TType.STRING, 'tin', None, None, ), # 5
3817
    (6, TType.DOUBLE, 'bulkShipmentAmountLimit', None, None, ), # 6
3818
    (6, TType.DOUBLE, 'bulkShipmentAmountLimit', None, None, ), # 6
3818
    (7, TType.BOOL, 'creditorAssigned', None, None, ), # 7
3819
    (7, TType.BOOL, 'creditorAssigned', None, None, ), # 7
3819
    (8, TType.BOOL, 'tinVerified', None, None, ), # 8
3820
    (8, TType.BOOL, 'tinVerified', None, None, ), # 8
-
 
3821
    (9, TType.I64, 'isFofo', None, None, ), # 9
3820
  )
3822
  )
3821
 
3823
 
3822
  def __init__(self, userId=None, addedOn=None, isActive=None, counterId=None, tin=None, bulkShipmentAmountLimit=None, creditorAssigned=None, tinVerified=None,):
3824
  def __init__(self, userId=None, addedOn=None, isActive=None, counterId=None, tin=None, bulkShipmentAmountLimit=None, creditorAssigned=None, tinVerified=None, isFofo=None,):
3823
    self.userId = userId
3825
    self.userId = userId
3824
    self.addedOn = addedOn
3826
    self.addedOn = addedOn
3825
    self.isActive = isActive
3827
    self.isActive = isActive
3826
    self.counterId = counterId
3828
    self.counterId = counterId
3827
    self.tin = tin
3829
    self.tin = tin
3828
    self.bulkShipmentAmountLimit = bulkShipmentAmountLimit
3830
    self.bulkShipmentAmountLimit = bulkShipmentAmountLimit
3829
    self.creditorAssigned = creditorAssigned
3831
    self.creditorAssigned = creditorAssigned
3830
    self.tinVerified = tinVerified
3832
    self.tinVerified = tinVerified
-
 
3833
    self.isFofo = isFofo
3831
 
3834
 
3832
  def read(self, iprot):
3835
  def read(self, iprot):
3833
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
3836
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
3834
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
3837
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
3835
      return
3838
      return
Line 3876... Line 3879...
3876
      elif fid == 8:
3879
      elif fid == 8:
3877
        if ftype == TType.BOOL:
3880
        if ftype == TType.BOOL:
3878
          self.tinVerified = iprot.readBool();
3881
          self.tinVerified = iprot.readBool();
3879
        else:
3882
        else:
3880
          iprot.skip(ftype)
3883
          iprot.skip(ftype)
-
 
3884
      elif fid == 9:
-
 
3885
        if ftype == TType.I64:
-
 
3886
          self.isFofo = iprot.readI64();
-
 
3887
        else:
-
 
3888
          iprot.skip(ftype)
3881
      else:
3889
      else:
3882
        iprot.skip(ftype)
3890
        iprot.skip(ftype)
3883
      iprot.readFieldEnd()
3891
      iprot.readFieldEnd()
3884
    iprot.readStructEnd()
3892
    iprot.readStructEnd()
3885
 
3893
 
Line 3918... Line 3926...
3918
      oprot.writeFieldEnd()
3926
      oprot.writeFieldEnd()
3919
    if self.tinVerified is not None:
3927
    if self.tinVerified is not None:
3920
      oprot.writeFieldBegin('tinVerified', TType.BOOL, 8)
3928
      oprot.writeFieldBegin('tinVerified', TType.BOOL, 8)
3921
      oprot.writeBool(self.tinVerified)
3929
      oprot.writeBool(self.tinVerified)
3922
      oprot.writeFieldEnd()
3930
      oprot.writeFieldEnd()
-
 
3931
    if self.isFofo is not None:
-
 
3932
      oprot.writeFieldBegin('isFofo', TType.I64, 9)
-
 
3933
      oprot.writeI64(self.isFofo)
-
 
3934
      oprot.writeFieldEnd()
3923
    oprot.writeFieldStop()
3935
    oprot.writeFieldStop()
3924
    oprot.writeStructEnd()
3936
    oprot.writeStructEnd()
3925
 
3937
 
3926
  def validate(self):
3938
  def validate(self):
3927
    return
3939
    return