Subversion Repositories SmartDukaan

Rev

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

Rev 22717 Rev 22721
Line 694... Line 694...
694
    Parameters:
694
    Parameters:
695
     - itemIds
695
     - itemIds
696
    """
696
    """
697
    pass
697
    pass
698
 
698
 
-
 
699
  def getFofoFulFillmentWarehouseMap(self, itemIds):
-
 
700
    """
-
 
701
    Parameters:
-
 
702
     - itemIds
-
 
703
    """
-
 
704
    pass
-
 
705
 
699
  def getItemLocationAvailabilityCache(self, itemLocations):
706
  def getItemLocationAvailabilityCache(self, itemLocations):
700
    """
707
    """
701
    Parameters:
708
    Parameters:
702
     - itemLocations
709
     - itemLocations
703
    """
710
    """
Line 3381... Line 3388...
3381
    self._iprot.readMessageEnd()
3388
    self._iprot.readMessageEnd()
3382
    if result.success is not None:
3389
    if result.success is not None:
3383
      return result.success
3390
      return result.success
3384
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getFofoAvailability failed: unknown result");
3391
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getFofoAvailability failed: unknown result");
3385
 
3392
 
-
 
3393
  def getFofoFulFillmentWarehouseMap(self, itemIds):
-
 
3394
    """
-
 
3395
    Parameters:
-
 
3396
     - itemIds
-
 
3397
    """
-
 
3398
    self.send_getFofoFulFillmentWarehouseMap(itemIds)
-
 
3399
    return self.recv_getFofoFulFillmentWarehouseMap()
-
 
3400
 
-
 
3401
  def send_getFofoFulFillmentWarehouseMap(self, itemIds):
-
 
3402
    self._oprot.writeMessageBegin('getFofoFulFillmentWarehouseMap', TMessageType.CALL, self._seqid)
-
 
3403
    args = getFofoFulFillmentWarehouseMap_args()
-
 
3404
    args.itemIds = itemIds
-
 
3405
    args.write(self._oprot)
-
 
3406
    self._oprot.writeMessageEnd()
-
 
3407
    self._oprot.trans.flush()
-
 
3408
 
-
 
3409
  def recv_getFofoFulFillmentWarehouseMap(self, ):
-
 
3410
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
-
 
3411
    if mtype == TMessageType.EXCEPTION:
-
 
3412
      x = TApplicationException()
-
 
3413
      x.read(self._iprot)
-
 
3414
      self._iprot.readMessageEnd()
-
 
3415
      raise x
-
 
3416
    result = getFofoFulFillmentWarehouseMap_result()
-
 
3417
    result.read(self._iprot)
-
 
3418
    self._iprot.readMessageEnd()
-
 
3419
    if result.success is not None:
-
 
3420
      return result.success
-
 
3421
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getFofoFulFillmentWarehouseMap failed: unknown result");
-
 
3422
 
3386
  def getItemLocationAvailabilityCache(self, itemLocations):
3423
  def getItemLocationAvailabilityCache(self, itemLocations):
3387
    """
3424
    """
3388
    Parameters:
3425
    Parameters:
3389
     - itemLocations
3426
     - itemLocations
3390
    """
3427
    """
Line 3561... Line 3598...
3561
    self._processMap["getAllAvailableAmazonFbaItemInventory"] = Processor.process_getAllAvailableAmazonFbaItemInventory
3598
    self._processMap["getAllAvailableAmazonFbaItemInventory"] = Processor.process_getAllAvailableAmazonFbaItemInventory
3562
    self._processMap["updateItemAvailabilityForItemIds"] = Processor.process_updateItemAvailabilityForItemIds
3599
    self._processMap["updateItemAvailabilityForItemIds"] = Processor.process_updateItemAvailabilityForItemIds
3563
    self._processMap["addVendorItemPricingInBulk"] = Processor.process_addVendorItemPricingInBulk
3600
    self._processMap["addVendorItemPricingInBulk"] = Processor.process_addVendorItemPricingInBulk
3564
    self._processMap["addInventoryInBulk"] = Processor.process_addInventoryInBulk
3601
    self._processMap["addInventoryInBulk"] = Processor.process_addInventoryInBulk
3565
    self._processMap["getFofoAvailability"] = Processor.process_getFofoAvailability
3602
    self._processMap["getFofoAvailability"] = Processor.process_getFofoAvailability
-
 
3603
    self._processMap["getFofoFulFillmentWarehouseMap"] = Processor.process_getFofoFulFillmentWarehouseMap
3566
    self._processMap["getItemLocationAvailabilityCache"] = Processor.process_getItemLocationAvailabilityCache
3604
    self._processMap["getItemLocationAvailabilityCache"] = Processor.process_getItemLocationAvailabilityCache
3567
    self._processMap["getItemLocationAvailabilityCacheByItemId"] = Processor.process_getItemLocationAvailabilityCacheByItemId
3605
    self._processMap["getItemLocationAvailabilityCacheByItemId"] = Processor.process_getItemLocationAvailabilityCacheByItemId
3568
    self._processMap["getItemPincodeAvailability"] = Processor.process_getItemPincodeAvailability
3606
    self._processMap["getItemPincodeAvailability"] = Processor.process_getItemPincodeAvailability
3569
 
3607
 
3570
  def process(self, iprot, oprot):
3608
  def process(self, iprot, oprot):
Line 4579... Line 4617...
4579
    oprot.writeMessageBegin("getFofoAvailability", TMessageType.REPLY, seqid)
4617
    oprot.writeMessageBegin("getFofoAvailability", TMessageType.REPLY, seqid)
4580
    result.write(oprot)
4618
    result.write(oprot)
4581
    oprot.writeMessageEnd()
4619
    oprot.writeMessageEnd()
4582
    oprot.trans.flush()
4620
    oprot.trans.flush()
4583
 
4621
 
-
 
4622
  def process_getFofoFulFillmentWarehouseMap(self, seqid, iprot, oprot):
-
 
4623
    args = getFofoFulFillmentWarehouseMap_args()
-
 
4624
    args.read(iprot)
-
 
4625
    iprot.readMessageEnd()
-
 
4626
    result = getFofoFulFillmentWarehouseMap_result()
-
 
4627
    result.success = self._handler.getFofoFulFillmentWarehouseMap(args.itemIds)
-
 
4628
    oprot.writeMessageBegin("getFofoFulFillmentWarehouseMap", TMessageType.REPLY, seqid)
-
 
4629
    result.write(oprot)
-
 
4630
    oprot.writeMessageEnd()
-
 
4631
    oprot.trans.flush()
-
 
4632
 
4584
  def process_getItemLocationAvailabilityCache(self, seqid, iprot, oprot):
4633
  def process_getItemLocationAvailabilityCache(self, seqid, iprot, oprot):
4585
    args = getItemLocationAvailabilityCache_args()
4634
    args = getItemLocationAvailabilityCache_args()
4586
    args.read(iprot)
4635
    args.read(iprot)
4587
    iprot.readMessageEnd()
4636
    iprot.readMessageEnd()
4588
    result = getItemLocationAvailabilityCache_result()
4637
    result = getItemLocationAvailabilityCache_result()
Line 15516... Line 15565...
15516
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
15565
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
15517
 
15566
 
15518
  def __ne__(self, other):
15567
  def __ne__(self, other):
15519
    return not (self == other)
15568
    return not (self == other)
15520
 
15569
 
-
 
15570
class getFofoFulFillmentWarehouseMap_args:
-
 
15571
  """
-
 
15572
  Attributes:
-
 
15573
   - itemIds
-
 
15574
  """
-
 
15575
 
-
 
15576
  thrift_spec = (
-
 
15577
    None, # 0
-
 
15578
    (1, TType.LIST, 'itemIds', (TType.I64,None), None, ), # 1
-
 
15579
  )
-
 
15580
 
-
 
15581
  def __init__(self, itemIds=None,):
-
 
15582
    self.itemIds = itemIds
-
 
15583
 
-
 
15584
  def read(self, iprot):
-
 
15585
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
-
 
15586
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
-
 
15587
      return
-
 
15588
    iprot.readStructBegin()
-
 
15589
    while True:
-
 
15590
      (fname, ftype, fid) = iprot.readFieldBegin()
-
 
15591
      if ftype == TType.STOP:
-
 
15592
        break
-
 
15593
      if fid == 1:
-
 
15594
        if ftype == TType.LIST:
-
 
15595
          self.itemIds = []
-
 
15596
          (_etype393, _size390) = iprot.readListBegin()
-
 
15597
          for _i394 in xrange(_size390):
-
 
15598
            _elem395 = iprot.readI64();
-
 
15599
            self.itemIds.append(_elem395)
-
 
15600
          iprot.readListEnd()
-
 
15601
        else:
-
 
15602
          iprot.skip(ftype)
-
 
15603
      else:
-
 
15604
        iprot.skip(ftype)
-
 
15605
      iprot.readFieldEnd()
-
 
15606
    iprot.readStructEnd()
-
 
15607
 
-
 
15608
  def write(self, oprot):
-
 
15609
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
-
 
15610
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
-
 
15611
      return
-
 
15612
    oprot.writeStructBegin('getFofoFulFillmentWarehouseMap_args')
-
 
15613
    if self.itemIds is not None:
-
 
15614
      oprot.writeFieldBegin('itemIds', TType.LIST, 1)
-
 
15615
      oprot.writeListBegin(TType.I64, len(self.itemIds))
-
 
15616
      for iter396 in self.itemIds:
-
 
15617
        oprot.writeI64(iter396)
-
 
15618
      oprot.writeListEnd()
-
 
15619
      oprot.writeFieldEnd()
-
 
15620
    oprot.writeFieldStop()
-
 
15621
    oprot.writeStructEnd()
-
 
15622
 
-
 
15623
  def validate(self):
-
 
15624
    return
-
 
15625
 
-
 
15626
 
-
 
15627
  def __repr__(self):
-
 
15628
    L = ['%s=%r' % (key, value)
-
 
15629
      for key, value in self.__dict__.iteritems()]
-
 
15630
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
-
 
15631
 
-
 
15632
  def __eq__(self, other):
-
 
15633
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
-
 
15634
 
-
 
15635
  def __ne__(self, other):
-
 
15636
    return not (self == other)
-
 
15637
 
-
 
15638
class getFofoFulFillmentWarehouseMap_result:
-
 
15639
  """
-
 
15640
  Attributes:
-
 
15641
   - success
-
 
15642
  """
-
 
15643
 
-
 
15644
  thrift_spec = (
-
 
15645
    (0, TType.MAP, 'success', (TType.I64,None,TType.STRUCT,(Warehouse, Warehouse.thrift_spec)), None, ), # 0
-
 
15646
  )
-
 
15647
 
-
 
15648
  def __init__(self, success=None,):
-
 
15649
    self.success = success
-
 
15650
 
-
 
15651
  def read(self, iprot):
-
 
15652
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
-
 
15653
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
-
 
15654
      return
-
 
15655
    iprot.readStructBegin()
-
 
15656
    while True:
-
 
15657
      (fname, ftype, fid) = iprot.readFieldBegin()
-
 
15658
      if ftype == TType.STOP:
-
 
15659
        break
-
 
15660
      if fid == 0:
-
 
15661
        if ftype == TType.MAP:
-
 
15662
          self.success = {}
-
 
15663
          (_ktype398, _vtype399, _size397 ) = iprot.readMapBegin() 
-
 
15664
          for _i401 in xrange(_size397):
-
 
15665
            _key402 = iprot.readI64();
-
 
15666
            _val403 = Warehouse()
-
 
15667
            _val403.read(iprot)
-
 
15668
            self.success[_key402] = _val403
-
 
15669
          iprot.readMapEnd()
-
 
15670
        else:
-
 
15671
          iprot.skip(ftype)
-
 
15672
      else:
-
 
15673
        iprot.skip(ftype)
-
 
15674
      iprot.readFieldEnd()
-
 
15675
    iprot.readStructEnd()
-
 
15676
 
-
 
15677
  def write(self, oprot):
-
 
15678
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
-
 
15679
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
-
 
15680
      return
-
 
15681
    oprot.writeStructBegin('getFofoFulFillmentWarehouseMap_result')
-
 
15682
    if self.success is not None:
-
 
15683
      oprot.writeFieldBegin('success', TType.MAP, 0)
-
 
15684
      oprot.writeMapBegin(TType.I64, TType.STRUCT, len(self.success))
-
 
15685
      for kiter404,viter405 in self.success.items():
-
 
15686
        oprot.writeI64(kiter404)
-
 
15687
        viter405.write(oprot)
-
 
15688
      oprot.writeMapEnd()
-
 
15689
      oprot.writeFieldEnd()
-
 
15690
    oprot.writeFieldStop()
-
 
15691
    oprot.writeStructEnd()
-
 
15692
 
-
 
15693
  def validate(self):
-
 
15694
    return
-
 
15695
 
-
 
15696
 
-
 
15697
  def __repr__(self):
-
 
15698
    L = ['%s=%r' % (key, value)
-
 
15699
      for key, value in self.__dict__.iteritems()]
-
 
15700
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
-
 
15701
 
-
 
15702
  def __eq__(self, other):
-
 
15703
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
-
 
15704
 
-
 
15705
  def __ne__(self, other):
-
 
15706
    return not (self == other)
-
 
15707
 
15521
class getItemLocationAvailabilityCache_args:
15708
class getItemLocationAvailabilityCache_args:
15522
  """
15709
  """
15523
  Attributes:
15710
  Attributes:
15524
   - itemLocations
15711
   - itemLocations
15525
  """
15712
  """
Line 15542... Line 15729...
15542
      if ftype == TType.STOP:
15729
      if ftype == TType.STOP:
15543
        break
15730
        break
15544
      if fid == 1:
15731
      if fid == 1:
15545
        if ftype == TType.LIST:
15732
        if ftype == TType.LIST:
15546
          self.itemLocations = []
15733
          self.itemLocations = []
15547
          (_etype393, _size390) = iprot.readListBegin()
15734
          (_etype409, _size406) = iprot.readListBegin()
15548
          for _i394 in xrange(_size390):
15735
          for _i410 in xrange(_size406):
15549
            _elem395 = ItemLocationAvailability()
15736
            _elem411 = ItemLocationAvailability()
15550
            _elem395.read(iprot)
15737
            _elem411.read(iprot)
15551
            self.itemLocations.append(_elem395)
15738
            self.itemLocations.append(_elem411)
15552
          iprot.readListEnd()
15739
          iprot.readListEnd()
15553
        else:
15740
        else:
15554
          iprot.skip(ftype)
15741
          iprot.skip(ftype)
15555
      else:
15742
      else:
15556
        iprot.skip(ftype)
15743
        iprot.skip(ftype)
Line 15563... Line 15750...
15563
      return
15750
      return
15564
    oprot.writeStructBegin('getItemLocationAvailabilityCache_args')
15751
    oprot.writeStructBegin('getItemLocationAvailabilityCache_args')
15565
    if self.itemLocations is not None:
15752
    if self.itemLocations is not None:
15566
      oprot.writeFieldBegin('itemLocations', TType.LIST, 1)
15753
      oprot.writeFieldBegin('itemLocations', TType.LIST, 1)
15567
      oprot.writeListBegin(TType.STRUCT, len(self.itemLocations))
15754
      oprot.writeListBegin(TType.STRUCT, len(self.itemLocations))
15568
      for iter396 in self.itemLocations:
15755
      for iter412 in self.itemLocations:
15569
        iter396.write(oprot)
15756
        iter412.write(oprot)
15570
      oprot.writeListEnd()
15757
      oprot.writeListEnd()
15571
      oprot.writeFieldEnd()
15758
      oprot.writeFieldEnd()
15572
    oprot.writeFieldStop()
15759
    oprot.writeFieldStop()
15573
    oprot.writeStructEnd()
15760
    oprot.writeStructEnd()
15574
 
15761
 
Line 15610... Line 15797...
15610
      if ftype == TType.STOP:
15797
      if ftype == TType.STOP:
15611
        break
15798
        break
15612
      if fid == 0:
15799
      if fid == 0:
15613
        if ftype == TType.LIST:
15800
        if ftype == TType.LIST:
15614
          self.success = []
15801
          self.success = []
15615
          (_etype400, _size397) = iprot.readListBegin()
15802
          (_etype416, _size413) = iprot.readListBegin()
15616
          for _i401 in xrange(_size397):
15803
          for _i417 in xrange(_size413):
15617
            _elem402 = ItemLocationAvailability()
15804
            _elem418 = ItemLocationAvailability()
15618
            _elem402.read(iprot)
15805
            _elem418.read(iprot)
15619
            self.success.append(_elem402)
15806
            self.success.append(_elem418)
15620
          iprot.readListEnd()
15807
          iprot.readListEnd()
15621
        else:
15808
        else:
15622
          iprot.skip(ftype)
15809
          iprot.skip(ftype)
15623
      else:
15810
      else:
15624
        iprot.skip(ftype)
15811
        iprot.skip(ftype)
Line 15631... Line 15818...
15631
      return
15818
      return
15632
    oprot.writeStructBegin('getItemLocationAvailabilityCache_result')
15819
    oprot.writeStructBegin('getItemLocationAvailabilityCache_result')
15633
    if self.success is not None:
15820
    if self.success is not None:
15634
      oprot.writeFieldBegin('success', TType.LIST, 0)
15821
      oprot.writeFieldBegin('success', TType.LIST, 0)
15635
      oprot.writeListBegin(TType.STRUCT, len(self.success))
15822
      oprot.writeListBegin(TType.STRUCT, len(self.success))
15636
      for iter403 in self.success:
15823
      for iter419 in self.success:
15637
        iter403.write(oprot)
15824
        iter419.write(oprot)
15638
      oprot.writeListEnd()
15825
      oprot.writeListEnd()
15639
      oprot.writeFieldEnd()
15826
      oprot.writeFieldEnd()
15640
    oprot.writeFieldStop()
15827
    oprot.writeFieldStop()
15641
    oprot.writeStructEnd()
15828
    oprot.writeStructEnd()
15642
 
15829
 
Line 15679... Line 15866...
15679
      if ftype == TType.STOP:
15866
      if ftype == TType.STOP:
15680
        break
15867
        break
15681
      if fid == 1:
15868
      if fid == 1:
15682
        if ftype == TType.LIST:
15869
        if ftype == TType.LIST:
15683
          self.itemIds = []
15870
          self.itemIds = []
15684
          (_etype407, _size404) = iprot.readListBegin()
15871
          (_etype423, _size420) = iprot.readListBegin()
15685
          for _i408 in xrange(_size404):
15872
          for _i424 in xrange(_size420):
15686
            _elem409 = iprot.readI64();
15873
            _elem425 = iprot.readI64();
15687
            self.itemIds.append(_elem409)
15874
            self.itemIds.append(_elem425)
15688
          iprot.readListEnd()
15875
          iprot.readListEnd()
15689
        else:
15876
        else:
15690
          iprot.skip(ftype)
15877
          iprot.skip(ftype)
15691
      else:
15878
      else:
15692
        iprot.skip(ftype)
15879
        iprot.skip(ftype)
Line 15699... Line 15886...
15699
      return
15886
      return
15700
    oprot.writeStructBegin('getItemLocationAvailabilityCacheByItemId_args')
15887
    oprot.writeStructBegin('getItemLocationAvailabilityCacheByItemId_args')
15701
    if self.itemIds is not None:
15888
    if self.itemIds is not None:
15702
      oprot.writeFieldBegin('itemIds', TType.LIST, 1)
15889
      oprot.writeFieldBegin('itemIds', TType.LIST, 1)
15703
      oprot.writeListBegin(TType.I64, len(self.itemIds))
15890
      oprot.writeListBegin(TType.I64, len(self.itemIds))
15704
      for iter410 in self.itemIds:
15891
      for iter426 in self.itemIds:
15705
        oprot.writeI64(iter410)
15892
        oprot.writeI64(iter426)
15706
      oprot.writeListEnd()
15893
      oprot.writeListEnd()
15707
      oprot.writeFieldEnd()
15894
      oprot.writeFieldEnd()
15708
    oprot.writeFieldStop()
15895
    oprot.writeFieldStop()
15709
    oprot.writeStructEnd()
15896
    oprot.writeStructEnd()
15710
 
15897
 
Line 15746... Line 15933...
15746
      if ftype == TType.STOP:
15933
      if ftype == TType.STOP:
15747
        break
15934
        break
15748
      if fid == 0:
15935
      if fid == 0:
15749
        if ftype == TType.LIST:
15936
        if ftype == TType.LIST:
15750
          self.success = []
15937
          self.success = []
15751
          (_etype414, _size411) = iprot.readListBegin()
15938
          (_etype430, _size427) = iprot.readListBegin()
15752
          for _i415 in xrange(_size411):
15939
          for _i431 in xrange(_size427):
15753
            _elem416 = ItemLocationAvailability()
15940
            _elem432 = ItemLocationAvailability()
15754
            _elem416.read(iprot)
15941
            _elem432.read(iprot)
15755
            self.success.append(_elem416)
15942
            self.success.append(_elem432)
15756
          iprot.readListEnd()
15943
          iprot.readListEnd()
15757
        else:
15944
        else:
15758
          iprot.skip(ftype)
15945
          iprot.skip(ftype)
15759
      else:
15946
      else:
15760
        iprot.skip(ftype)
15947
        iprot.skip(ftype)
Line 15767... Line 15954...
15767
      return
15954
      return
15768
    oprot.writeStructBegin('getItemLocationAvailabilityCacheByItemId_result')
15955
    oprot.writeStructBegin('getItemLocationAvailabilityCacheByItemId_result')
15769
    if self.success is not None:
15956
    if self.success is not None:
15770
      oprot.writeFieldBegin('success', TType.LIST, 0)
15957
      oprot.writeFieldBegin('success', TType.LIST, 0)
15771
      oprot.writeListBegin(TType.STRUCT, len(self.success))
15958
      oprot.writeListBegin(TType.STRUCT, len(self.success))
15772
      for iter417 in self.success:
15959
      for iter433 in self.success:
15773
        iter417.write(oprot)
15960
        iter433.write(oprot)
15774
      oprot.writeListEnd()
15961
      oprot.writeListEnd()
15775
      oprot.writeFieldEnd()
15962
      oprot.writeFieldEnd()
15776
    oprot.writeFieldStop()
15963
    oprot.writeFieldStop()
15777
    oprot.writeStructEnd()
15964
    oprot.writeStructEnd()
15778
 
15965
 
Line 15818... Line 16005...
15818
      if ftype == TType.STOP:
16005
      if ftype == TType.STOP:
15819
        break
16006
        break
15820
      if fid == 1:
16007
      if fid == 1:
15821
        if ftype == TType.MAP:
16008
        if ftype == TType.MAP:
15822
          self.itempricing = {}
16009
          self.itempricing = {}
15823
          (_ktype419, _vtype420, _size418 ) = iprot.readMapBegin() 
16010
          (_ktype435, _vtype436, _size434 ) = iprot.readMapBegin() 
15824
          for _i422 in xrange(_size418):
16011
          for _i438 in xrange(_size434):
15825
            _key423 = iprot.readI64();
16012
            _key439 = iprot.readI64();
15826
            _val424 = iprot.readI64();
16013
            _val440 = iprot.readI64();
15827
            self.itempricing[_key423] = _val424
16014
            self.itempricing[_key439] = _val440
15828
          iprot.readMapEnd()
16015
          iprot.readMapEnd()
15829
        else:
16016
        else:
15830
          iprot.skip(ftype)
16017
          iprot.skip(ftype)
15831
      elif fid == 2:
16018
      elif fid == 2:
15832
        if ftype == TType.STRING:
16019
        if ftype == TType.STRING:
Line 15844... Line 16031...
15844
      return
16031
      return
15845
    oprot.writeStructBegin('getItemPincodeAvailability_args')
16032
    oprot.writeStructBegin('getItemPincodeAvailability_args')
15846
    if self.itempricing is not None:
16033
    if self.itempricing is not None:
15847
      oprot.writeFieldBegin('itempricing', TType.MAP, 1)
16034
      oprot.writeFieldBegin('itempricing', TType.MAP, 1)
15848
      oprot.writeMapBegin(TType.I64, TType.I64, len(self.itempricing))
16035
      oprot.writeMapBegin(TType.I64, TType.I64, len(self.itempricing))
15849
      for kiter425,viter426 in self.itempricing.items():
16036
      for kiter441,viter442 in self.itempricing.items():
15850
        oprot.writeI64(kiter425)
16037
        oprot.writeI64(kiter441)
15851
        oprot.writeI64(viter426)
16038
        oprot.writeI64(viter442)
15852
      oprot.writeMapEnd()
16039
      oprot.writeMapEnd()
15853
      oprot.writeFieldEnd()
16040
      oprot.writeFieldEnd()
15854
    if self.pincode is not None:
16041
    if self.pincode is not None:
15855
      oprot.writeFieldBegin('pincode', TType.STRING, 2)
16042
      oprot.writeFieldBegin('pincode', TType.STRING, 2)
15856
      oprot.writeString(self.pincode)
16043
      oprot.writeString(self.pincode)