Subversion Repositories SmartDukaan

Rev

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

Rev 15706 Rev 18150
Line 1325... Line 1325...
1325
    pass
1325
    pass
1326
 
1326
 
1327
  def getAllFbdListedItems(self, ):
1327
  def getAllFbdListedItems(self, ):
1328
    pass
1328
    pass
1329
 
1329
 
-
 
1330
  def getBulkPricingForItems(self, itemIds):
-
 
1331
    """
-
 
1332
    Parameters:
-
 
1333
     - itemIds
-
 
1334
    """
-
 
1335
    pass
-
 
1336
 
-
 
1337
  def addBulkPricingForItem(self, bulkItemPricing):
-
 
1338
    """
-
 
1339
    Parameters:
-
 
1340
     - bulkItemPricing
-
 
1341
    """
-
 
1342
    pass
-
 
1343
 
-
 
1344
  def deleteBulkPricingForItemById(self, id):
-
 
1345
    """
-
 
1346
    Parameters:
-
 
1347
     - id
-
 
1348
    """
-
 
1349
    pass
-
 
1350
 
-
 
1351
  def deleteBulkPricingForItem(self, item_id):
-
 
1352
    """
-
 
1353
    Parameters:
-
 
1354
     - item_id
-
 
1355
    """
-
 
1356
    pass
-
 
1357
 
-
 
1358
  def getBulkPricingByItemId(self, item_id):
-
 
1359
    """
-
 
1360
    Parameters:
-
 
1361
     - item_id
-
 
1362
    """
-
 
1363
    pass
-
 
1364
 
1330
 
1365
 
1331
class Client(shop2020.thriftpy.generic.GenericService.Client, Iface):
1366
class Client(shop2020.thriftpy.generic.GenericService.Client, Iface):
1332
  def __init__(self, iprot, oprot=None):
1367
  def __init__(self, iprot, oprot=None):
1333
    shop2020.thriftpy.generic.GenericService.Client.__init__(self, iprot, oprot)
1368
    shop2020.thriftpy.generic.GenericService.Client.__init__(self, iprot, oprot)
1334
 
1369
 
Line 7079... Line 7114...
7079
    self._iprot.readMessageEnd()
7114
    self._iprot.readMessageEnd()
7080
    if result.success is not None:
7115
    if result.success is not None:
7081
      return result.success
7116
      return result.success
7082
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllFbdListedItems failed: unknown result");
7117
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllFbdListedItems failed: unknown result");
7083
 
7118
 
-
 
7119
  def getBulkPricingForItems(self, itemIds):
-
 
7120
    """
-
 
7121
    Parameters:
-
 
7122
     - itemIds
-
 
7123
    """
-
 
7124
    self.send_getBulkPricingForItems(itemIds)
-
 
7125
    return self.recv_getBulkPricingForItems()
-
 
7126
 
-
 
7127
  def send_getBulkPricingForItems(self, itemIds):
-
 
7128
    self._oprot.writeMessageBegin('getBulkPricingForItems', TMessageType.CALL, self._seqid)
-
 
7129
    args = getBulkPricingForItems_args()
-
 
7130
    args.itemIds = itemIds
-
 
7131
    args.write(self._oprot)
-
 
7132
    self._oprot.writeMessageEnd()
-
 
7133
    self._oprot.trans.flush()
-
 
7134
 
-
 
7135
  def recv_getBulkPricingForItems(self, ):
-
 
7136
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
-
 
7137
    if mtype == TMessageType.EXCEPTION:
-
 
7138
      x = TApplicationException()
-
 
7139
      x.read(self._iprot)
-
 
7140
      self._iprot.readMessageEnd()
-
 
7141
      raise x
-
 
7142
    result = getBulkPricingForItems_result()
-
 
7143
    result.read(self._iprot)
-
 
7144
    self._iprot.readMessageEnd()
-
 
7145
    if result.success is not None:
-
 
7146
      return result.success
-
 
7147
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getBulkPricingForItems failed: unknown result");
-
 
7148
 
-
 
7149
  def addBulkPricingForItem(self, bulkItemPricing):
-
 
7150
    """
-
 
7151
    Parameters:
-
 
7152
     - bulkItemPricing
-
 
7153
    """
-
 
7154
    self.send_addBulkPricingForItem(bulkItemPricing)
-
 
7155
    return self.recv_addBulkPricingForItem()
-
 
7156
 
-
 
7157
  def send_addBulkPricingForItem(self, bulkItemPricing):
-
 
7158
    self._oprot.writeMessageBegin('addBulkPricingForItem', TMessageType.CALL, self._seqid)
-
 
7159
    args = addBulkPricingForItem_args()
-
 
7160
    args.bulkItemPricing = bulkItemPricing
-
 
7161
    args.write(self._oprot)
-
 
7162
    self._oprot.writeMessageEnd()
-
 
7163
    self._oprot.trans.flush()
-
 
7164
 
-
 
7165
  def recv_addBulkPricingForItem(self, ):
-
 
7166
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
-
 
7167
    if mtype == TMessageType.EXCEPTION:
-
 
7168
      x = TApplicationException()
-
 
7169
      x.read(self._iprot)
-
 
7170
      self._iprot.readMessageEnd()
-
 
7171
      raise x
-
 
7172
    result = addBulkPricingForItem_result()
-
 
7173
    result.read(self._iprot)
-
 
7174
    self._iprot.readMessageEnd()
-
 
7175
    if result.success is not None:
-
 
7176
      return result.success
-
 
7177
    raise TApplicationException(TApplicationException.MISSING_RESULT, "addBulkPricingForItem failed: unknown result");
-
 
7178
 
-
 
7179
  def deleteBulkPricingForItemById(self, id):
-
 
7180
    """
-
 
7181
    Parameters:
-
 
7182
     - id
-
 
7183
    """
-
 
7184
    self.send_deleteBulkPricingForItemById(id)
-
 
7185
    return self.recv_deleteBulkPricingForItemById()
-
 
7186
 
-
 
7187
  def send_deleteBulkPricingForItemById(self, id):
-
 
7188
    self._oprot.writeMessageBegin('deleteBulkPricingForItemById', TMessageType.CALL, self._seqid)
-
 
7189
    args = deleteBulkPricingForItemById_args()
-
 
7190
    args.id = id
-
 
7191
    args.write(self._oprot)
-
 
7192
    self._oprot.writeMessageEnd()
-
 
7193
    self._oprot.trans.flush()
-
 
7194
 
-
 
7195
  def recv_deleteBulkPricingForItemById(self, ):
-
 
7196
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
-
 
7197
    if mtype == TMessageType.EXCEPTION:
-
 
7198
      x = TApplicationException()
-
 
7199
      x.read(self._iprot)
-
 
7200
      self._iprot.readMessageEnd()
-
 
7201
      raise x
-
 
7202
    result = deleteBulkPricingForItemById_result()
-
 
7203
    result.read(self._iprot)
-
 
7204
    self._iprot.readMessageEnd()
-
 
7205
    if result.success is not None:
-
 
7206
      return result.success
-
 
7207
    raise TApplicationException(TApplicationException.MISSING_RESULT, "deleteBulkPricingForItemById failed: unknown result");
-
 
7208
 
-
 
7209
  def deleteBulkPricingForItem(self, item_id):
-
 
7210
    """
-
 
7211
    Parameters:
-
 
7212
     - item_id
-
 
7213
    """
-
 
7214
    self.send_deleteBulkPricingForItem(item_id)
-
 
7215
    return self.recv_deleteBulkPricingForItem()
-
 
7216
 
-
 
7217
  def send_deleteBulkPricingForItem(self, item_id):
-
 
7218
    self._oprot.writeMessageBegin('deleteBulkPricingForItem', TMessageType.CALL, self._seqid)
-
 
7219
    args = deleteBulkPricingForItem_args()
-
 
7220
    args.item_id = item_id
-
 
7221
    args.write(self._oprot)
-
 
7222
    self._oprot.writeMessageEnd()
-
 
7223
    self._oprot.trans.flush()
-
 
7224
 
-
 
7225
  def recv_deleteBulkPricingForItem(self, ):
-
 
7226
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
-
 
7227
    if mtype == TMessageType.EXCEPTION:
-
 
7228
      x = TApplicationException()
-
 
7229
      x.read(self._iprot)
-
 
7230
      self._iprot.readMessageEnd()
-
 
7231
      raise x
-
 
7232
    result = deleteBulkPricingForItem_result()
-
 
7233
    result.read(self._iprot)
-
 
7234
    self._iprot.readMessageEnd()
-
 
7235
    if result.success is not None:
-
 
7236
      return result.success
-
 
7237
    raise TApplicationException(TApplicationException.MISSING_RESULT, "deleteBulkPricingForItem failed: unknown result");
-
 
7238
 
-
 
7239
  def getBulkPricingByItemId(self, item_id):
-
 
7240
    """
-
 
7241
    Parameters:
-
 
7242
     - item_id
-
 
7243
    """
-
 
7244
    self.send_getBulkPricingByItemId(item_id)
-
 
7245
    return self.recv_getBulkPricingByItemId()
-
 
7246
 
-
 
7247
  def send_getBulkPricingByItemId(self, item_id):
-
 
7248
    self._oprot.writeMessageBegin('getBulkPricingByItemId', TMessageType.CALL, self._seqid)
-
 
7249
    args = getBulkPricingByItemId_args()
-
 
7250
    args.item_id = item_id
-
 
7251
    args.write(self._oprot)
-
 
7252
    self._oprot.writeMessageEnd()
-
 
7253
    self._oprot.trans.flush()
-
 
7254
 
-
 
7255
  def recv_getBulkPricingByItemId(self, ):
-
 
7256
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
-
 
7257
    if mtype == TMessageType.EXCEPTION:
-
 
7258
      x = TApplicationException()
-
 
7259
      x.read(self._iprot)
-
 
7260
      self._iprot.readMessageEnd()
-
 
7261
      raise x
-
 
7262
    result = getBulkPricingByItemId_result()
-
 
7263
    result.read(self._iprot)
-
 
7264
    self._iprot.readMessageEnd()
-
 
7265
    if result.success is not None:
-
 
7266
      return result.success
-
 
7267
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getBulkPricingByItemId failed: unknown result");
-
 
7268
 
7084
 
7269
 
7085
class Processor(shop2020.thriftpy.generic.GenericService.Processor, Iface, TProcessor):
7270
class Processor(shop2020.thriftpy.generic.GenericService.Processor, Iface, TProcessor):
7086
  def __init__(self, handler):
7271
  def __init__(self, handler):
7087
    shop2020.thriftpy.generic.GenericService.Processor.__init__(self, handler)
7272
    shop2020.thriftpy.generic.GenericService.Processor.__init__(self, handler)
7088
    self._processMap["addItem"] = Processor.process_addItem
7273
    self._processMap["addItem"] = Processor.process_addItem
Line 7272... Line 7457...
7272
    self._processMap["getHsItem"] = Processor.process_getHsItem
7457
    self._processMap["getHsItem"] = Processor.process_getHsItem
7273
    self._processMap["updateHsItem"] = Processor.process_updateHsItem
7458
    self._processMap["updateHsItem"] = Processor.process_updateHsItem
7274
    self._processMap["getPricingForDtr"] = Processor.process_getPricingForDtr
7459
    self._processMap["getPricingForDtr"] = Processor.process_getPricingForDtr
7275
    self._processMap["getAllItemstoListOnFbd"] = Processor.process_getAllItemstoListOnFbd
7460
    self._processMap["getAllItemstoListOnFbd"] = Processor.process_getAllItemstoListOnFbd
7276
    self._processMap["getAllFbdListedItems"] = Processor.process_getAllFbdListedItems
7461
    self._processMap["getAllFbdListedItems"] = Processor.process_getAllFbdListedItems
-
 
7462
    self._processMap["getBulkPricingForItems"] = Processor.process_getBulkPricingForItems
-
 
7463
    self._processMap["addBulkPricingForItem"] = Processor.process_addBulkPricingForItem
-
 
7464
    self._processMap["deleteBulkPricingForItemById"] = Processor.process_deleteBulkPricingForItemById
-
 
7465
    self._processMap["deleteBulkPricingForItem"] = Processor.process_deleteBulkPricingForItem
-
 
7466
    self._processMap["getBulkPricingByItemId"] = Processor.process_getBulkPricingByItemId
7277
 
7467
 
7278
  def process(self, iprot, oprot):
7468
  def process(self, iprot, oprot):
7279
    (name, type, seqid) = iprot.readMessageBegin()
7469
    (name, type, seqid) = iprot.readMessageBegin()
7280
    if name not in self._processMap:
7470
    if name not in self._processMap:
7281
      iprot.skip(TType.STRUCT)
7471
      iprot.skip(TType.STRUCT)
Line 9511... Line 9701...
9511
    oprot.writeMessageBegin("getAllFbdListedItems", TMessageType.REPLY, seqid)
9701
    oprot.writeMessageBegin("getAllFbdListedItems", TMessageType.REPLY, seqid)
9512
    result.write(oprot)
9702
    result.write(oprot)
9513
    oprot.writeMessageEnd()
9703
    oprot.writeMessageEnd()
9514
    oprot.trans.flush()
9704
    oprot.trans.flush()
9515
 
9705
 
-
 
9706
  def process_getBulkPricingForItems(self, seqid, iprot, oprot):
-
 
9707
    args = getBulkPricingForItems_args()
-
 
9708
    args.read(iprot)
-
 
9709
    iprot.readMessageEnd()
-
 
9710
    result = getBulkPricingForItems_result()
-
 
9711
    result.success = self._handler.getBulkPricingForItems(args.itemIds)
-
 
9712
    oprot.writeMessageBegin("getBulkPricingForItems", TMessageType.REPLY, seqid)
-
 
9713
    result.write(oprot)
-
 
9714
    oprot.writeMessageEnd()
-
 
9715
    oprot.trans.flush()
-
 
9716
 
-
 
9717
  def process_addBulkPricingForItem(self, seqid, iprot, oprot):
-
 
9718
    args = addBulkPricingForItem_args()
-
 
9719
    args.read(iprot)
-
 
9720
    iprot.readMessageEnd()
-
 
9721
    result = addBulkPricingForItem_result()
-
 
9722
    result.success = self._handler.addBulkPricingForItem(args.bulkItemPricing)
-
 
9723
    oprot.writeMessageBegin("addBulkPricingForItem", TMessageType.REPLY, seqid)
-
 
9724
    result.write(oprot)
-
 
9725
    oprot.writeMessageEnd()
-
 
9726
    oprot.trans.flush()
-
 
9727
 
-
 
9728
  def process_deleteBulkPricingForItemById(self, seqid, iprot, oprot):
-
 
9729
    args = deleteBulkPricingForItemById_args()
-
 
9730
    args.read(iprot)
-
 
9731
    iprot.readMessageEnd()
-
 
9732
    result = deleteBulkPricingForItemById_result()
-
 
9733
    result.success = self._handler.deleteBulkPricingForItemById(args.id)
-
 
9734
    oprot.writeMessageBegin("deleteBulkPricingForItemById", TMessageType.REPLY, seqid)
-
 
9735
    result.write(oprot)
-
 
9736
    oprot.writeMessageEnd()
-
 
9737
    oprot.trans.flush()
-
 
9738
 
-
 
9739
  def process_deleteBulkPricingForItem(self, seqid, iprot, oprot):
-
 
9740
    args = deleteBulkPricingForItem_args()
-
 
9741
    args.read(iprot)
-
 
9742
    iprot.readMessageEnd()
-
 
9743
    result = deleteBulkPricingForItem_result()
-
 
9744
    result.success = self._handler.deleteBulkPricingForItem(args.item_id)
-
 
9745
    oprot.writeMessageBegin("deleteBulkPricingForItem", TMessageType.REPLY, seqid)
-
 
9746
    result.write(oprot)
-
 
9747
    oprot.writeMessageEnd()
-
 
9748
    oprot.trans.flush()
-
 
9749
 
-
 
9750
  def process_getBulkPricingByItemId(self, seqid, iprot, oprot):
-
 
9751
    args = getBulkPricingByItemId_args()
-
 
9752
    args.read(iprot)
-
 
9753
    iprot.readMessageEnd()
-
 
9754
    result = getBulkPricingByItemId_result()
-
 
9755
    result.success = self._handler.getBulkPricingByItemId(args.item_id)
-
 
9756
    oprot.writeMessageBegin("getBulkPricingByItemId", TMessageType.REPLY, seqid)
-
 
9757
    result.write(oprot)
-
 
9758
    oprot.writeMessageEnd()
-
 
9759
    oprot.trans.flush()
-
 
9760
 
9516
 
9761
 
9517
# HELPER FUNCTIONS AND STRUCTURES
9762
# HELPER FUNCTIONS AND STRUCTURES
9518
 
9763
 
9519
class addItem_args:
9764
class addItem_args:
9520
  """
9765
  """
Line 33530... Line 33775...
33530
      oprot.writeListEnd()
33775
      oprot.writeListEnd()
33531
      oprot.writeFieldEnd()
33776
      oprot.writeFieldEnd()
33532
    oprot.writeFieldStop()
33777
    oprot.writeFieldStop()
33533
    oprot.writeStructEnd()
33778
    oprot.writeStructEnd()
33534
 
33779
 
-
 
33780
  def validate(self):
-
 
33781
    return
-
 
33782
 
-
 
33783
 
-
 
33784
  def __repr__(self):
-
 
33785
    L = ['%s=%r' % (key, value)
-
 
33786
      for key, value in self.__dict__.iteritems()]
-
 
33787
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
-
 
33788
 
-
 
33789
  def __eq__(self, other):
-
 
33790
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
-
 
33791
 
-
 
33792
  def __ne__(self, other):
-
 
33793
    return not (self == other)
-
 
33794
 
-
 
33795
class getBulkPricingForItems_args:
-
 
33796
  """
-
 
33797
  Attributes:
-
 
33798
   - itemIds
-
 
33799
  """
-
 
33800
 
-
 
33801
  thrift_spec = (
-
 
33802
    None, # 0
-
 
33803
    (1, TType.LIST, 'itemIds', (TType.I64,None), None, ), # 1
-
 
33804
  )
-
 
33805
 
-
 
33806
  def __init__(self, itemIds=None,):
-
 
33807
    self.itemIds = itemIds
-
 
33808
 
-
 
33809
  def read(self, iprot):
-
 
33810
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
-
 
33811
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
-
 
33812
      return
-
 
33813
    iprot.readStructBegin()
-
 
33814
    while True:
-
 
33815
      (fname, ftype, fid) = iprot.readFieldBegin()
-
 
33816
      if ftype == TType.STOP:
-
 
33817
        break
-
 
33818
      if fid == 1:
-
 
33819
        if ftype == TType.LIST:
-
 
33820
          self.itemIds = []
-
 
33821
          (_etype869, _size866) = iprot.readListBegin()
-
 
33822
          for _i870 in xrange(_size866):
-
 
33823
            _elem871 = iprot.readI64();
-
 
33824
            self.itemIds.append(_elem871)
-
 
33825
          iprot.readListEnd()
-
 
33826
        else:
-
 
33827
          iprot.skip(ftype)
-
 
33828
      else:
-
 
33829
        iprot.skip(ftype)
-
 
33830
      iprot.readFieldEnd()
-
 
33831
    iprot.readStructEnd()
-
 
33832
 
-
 
33833
  def write(self, oprot):
-
 
33834
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
-
 
33835
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
-
 
33836
      return
-
 
33837
    oprot.writeStructBegin('getBulkPricingForItems_args')
-
 
33838
    if self.itemIds is not None:
-
 
33839
      oprot.writeFieldBegin('itemIds', TType.LIST, 1)
-
 
33840
      oprot.writeListBegin(TType.I64, len(self.itemIds))
-
 
33841
      for iter872 in self.itemIds:
-
 
33842
        oprot.writeI64(iter872)
-
 
33843
      oprot.writeListEnd()
-
 
33844
      oprot.writeFieldEnd()
-
 
33845
    oprot.writeFieldStop()
-
 
33846
    oprot.writeStructEnd()
-
 
33847
 
-
 
33848
  def validate(self):
-
 
33849
    return
-
 
33850
 
-
 
33851
 
-
 
33852
  def __repr__(self):
-
 
33853
    L = ['%s=%r' % (key, value)
-
 
33854
      for key, value in self.__dict__.iteritems()]
-
 
33855
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
-
 
33856
 
-
 
33857
  def __eq__(self, other):
-
 
33858
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
-
 
33859
 
-
 
33860
  def __ne__(self, other):
-
 
33861
    return not (self == other)
-
 
33862
 
-
 
33863
class getBulkPricingForItems_result:
-
 
33864
  """
-
 
33865
  Attributes:
-
 
33866
   - success
-
 
33867
  """
-
 
33868
 
-
 
33869
  thrift_spec = (
-
 
33870
    (0, TType.MAP, 'success', (TType.I64,None,TType.LIST,(TType.STRUCT,(BulkItemPricing, BulkItemPricing.thrift_spec))), None, ), # 0
-
 
33871
  )
-
 
33872
 
-
 
33873
  def __init__(self, success=None,):
-
 
33874
    self.success = success
-
 
33875
 
-
 
33876
  def read(self, iprot):
-
 
33877
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
-
 
33878
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
-
 
33879
      return
-
 
33880
    iprot.readStructBegin()
-
 
33881
    while True:
-
 
33882
      (fname, ftype, fid) = iprot.readFieldBegin()
-
 
33883
      if ftype == TType.STOP:
-
 
33884
        break
-
 
33885
      if fid == 0:
-
 
33886
        if ftype == TType.MAP:
-
 
33887
          self.success = {}
-
 
33888
          (_ktype874, _vtype875, _size873 ) = iprot.readMapBegin() 
-
 
33889
          for _i877 in xrange(_size873):
-
 
33890
            _key878 = iprot.readI64();
-
 
33891
            _val879 = []
-
 
33892
            (_etype883, _size880) = iprot.readListBegin()
-
 
33893
            for _i884 in xrange(_size880):
-
 
33894
              _elem885 = BulkItemPricing()
-
 
33895
              _elem885.read(iprot)
-
 
33896
              _val879.append(_elem885)
-
 
33897
            iprot.readListEnd()
-
 
33898
            self.success[_key878] = _val879
-
 
33899
          iprot.readMapEnd()
-
 
33900
        else:
-
 
33901
          iprot.skip(ftype)
-
 
33902
      else:
-
 
33903
        iprot.skip(ftype)
-
 
33904
      iprot.readFieldEnd()
-
 
33905
    iprot.readStructEnd()
-
 
33906
 
-
 
33907
  def write(self, oprot):
-
 
33908
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
-
 
33909
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
-
 
33910
      return
-
 
33911
    oprot.writeStructBegin('getBulkPricingForItems_result')
-
 
33912
    if self.success is not None:
-
 
33913
      oprot.writeFieldBegin('success', TType.MAP, 0)
-
 
33914
      oprot.writeMapBegin(TType.I64, TType.LIST, len(self.success))
-
 
33915
      for kiter886,viter887 in self.success.items():
-
 
33916
        oprot.writeI64(kiter886)
-
 
33917
        oprot.writeListBegin(TType.STRUCT, len(viter887))
-
 
33918
        for iter888 in viter887:
-
 
33919
          iter888.write(oprot)
-
 
33920
        oprot.writeListEnd()
-
 
33921
      oprot.writeMapEnd()
-
 
33922
      oprot.writeFieldEnd()
-
 
33923
    oprot.writeFieldStop()
-
 
33924
    oprot.writeStructEnd()
-
 
33925
 
-
 
33926
  def validate(self):
-
 
33927
    return
-
 
33928
 
-
 
33929
 
-
 
33930
  def __repr__(self):
-
 
33931
    L = ['%s=%r' % (key, value)
-
 
33932
      for key, value in self.__dict__.iteritems()]
-
 
33933
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
-
 
33934
 
-
 
33935
  def __eq__(self, other):
-
 
33936
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
-
 
33937
 
-
 
33938
  def __ne__(self, other):
-
 
33939
    return not (self == other)
-
 
33940
 
-
 
33941
class addBulkPricingForItem_args:
-
 
33942
  """
-
 
33943
  Attributes:
-
 
33944
   - bulkItemPricing
-
 
33945
  """
-
 
33946
 
-
 
33947
  thrift_spec = (
-
 
33948
    None, # 0
-
 
33949
    (1, TType.STRUCT, 'bulkItemPricing', (BulkItemPricing, BulkItemPricing.thrift_spec), None, ), # 1
-
 
33950
  )
-
 
33951
 
-
 
33952
  def __init__(self, bulkItemPricing=None,):
-
 
33953
    self.bulkItemPricing = bulkItemPricing
-
 
33954
 
-
 
33955
  def read(self, iprot):
-
 
33956
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
-
 
33957
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
-
 
33958
      return
-
 
33959
    iprot.readStructBegin()
-
 
33960
    while True:
-
 
33961
      (fname, ftype, fid) = iprot.readFieldBegin()
-
 
33962
      if ftype == TType.STOP:
-
 
33963
        break
-
 
33964
      if fid == 1:
-
 
33965
        if ftype == TType.STRUCT:
-
 
33966
          self.bulkItemPricing = BulkItemPricing()
-
 
33967
          self.bulkItemPricing.read(iprot)
-
 
33968
        else:
-
 
33969
          iprot.skip(ftype)
-
 
33970
      else:
-
 
33971
        iprot.skip(ftype)
-
 
33972
      iprot.readFieldEnd()
-
 
33973
    iprot.readStructEnd()
-
 
33974
 
-
 
33975
  def write(self, oprot):
-
 
33976
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
-
 
33977
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
-
 
33978
      return
-
 
33979
    oprot.writeStructBegin('addBulkPricingForItem_args')
-
 
33980
    if self.bulkItemPricing is not None:
-
 
33981
      oprot.writeFieldBegin('bulkItemPricing', TType.STRUCT, 1)
-
 
33982
      self.bulkItemPricing.write(oprot)
-
 
33983
      oprot.writeFieldEnd()
-
 
33984
    oprot.writeFieldStop()
-
 
33985
    oprot.writeStructEnd()
-
 
33986
 
-
 
33987
  def validate(self):
-
 
33988
    return
-
 
33989
 
-
 
33990
 
-
 
33991
  def __repr__(self):
-
 
33992
    L = ['%s=%r' % (key, value)
-
 
33993
      for key, value in self.__dict__.iteritems()]
-
 
33994
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
-
 
33995
 
-
 
33996
  def __eq__(self, other):
-
 
33997
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
-
 
33998
 
-
 
33999
  def __ne__(self, other):
-
 
34000
    return not (self == other)
-
 
34001
 
-
 
34002
class addBulkPricingForItem_result:
-
 
34003
  """
-
 
34004
  Attributes:
-
 
34005
   - success
-
 
34006
  """
-
 
34007
 
-
 
34008
  thrift_spec = (
-
 
34009
    (0, TType.STRUCT, 'success', (BulkItemPricing, BulkItemPricing.thrift_spec), None, ), # 0
-
 
34010
  )
-
 
34011
 
-
 
34012
  def __init__(self, success=None,):
-
 
34013
    self.success = success
-
 
34014
 
-
 
34015
  def read(self, iprot):
-
 
34016
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
-
 
34017
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
-
 
34018
      return
-
 
34019
    iprot.readStructBegin()
-
 
34020
    while True:
-
 
34021
      (fname, ftype, fid) = iprot.readFieldBegin()
-
 
34022
      if ftype == TType.STOP:
-
 
34023
        break
-
 
34024
      if fid == 0:
-
 
34025
        if ftype == TType.STRUCT:
-
 
34026
          self.success = BulkItemPricing()
-
 
34027
          self.success.read(iprot)
-
 
34028
        else:
-
 
34029
          iprot.skip(ftype)
-
 
34030
      else:
-
 
34031
        iprot.skip(ftype)
-
 
34032
      iprot.readFieldEnd()
-
 
34033
    iprot.readStructEnd()
-
 
34034
 
-
 
34035
  def write(self, oprot):
-
 
34036
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
-
 
34037
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
-
 
34038
      return
-
 
34039
    oprot.writeStructBegin('addBulkPricingForItem_result')
-
 
34040
    if self.success is not None:
-
 
34041
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
-
 
34042
      self.success.write(oprot)
-
 
34043
      oprot.writeFieldEnd()
-
 
34044
    oprot.writeFieldStop()
-
 
34045
    oprot.writeStructEnd()
-
 
34046
 
-
 
34047
  def validate(self):
-
 
34048
    return
-
 
34049
 
-
 
34050
 
-
 
34051
  def __repr__(self):
-
 
34052
    L = ['%s=%r' % (key, value)
-
 
34053
      for key, value in self.__dict__.iteritems()]
-
 
34054
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
-
 
34055
 
-
 
34056
  def __eq__(self, other):
-
 
34057
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
-
 
34058
 
-
 
34059
  def __ne__(self, other):
-
 
34060
    return not (self == other)
-
 
34061
 
-
 
34062
class deleteBulkPricingForItemById_args:
-
 
34063
  """
-
 
34064
  Attributes:
-
 
34065
   - id
-
 
34066
  """
-
 
34067
 
-
 
34068
  thrift_spec = (
-
 
34069
    None, # 0
-
 
34070
    (1, TType.I64, 'id', None, None, ), # 1
-
 
34071
  )
-
 
34072
 
-
 
34073
  def __init__(self, id=None,):
-
 
34074
    self.id = id
-
 
34075
 
-
 
34076
  def read(self, iprot):
-
 
34077
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
-
 
34078
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
-
 
34079
      return
-
 
34080
    iprot.readStructBegin()
-
 
34081
    while True:
-
 
34082
      (fname, ftype, fid) = iprot.readFieldBegin()
-
 
34083
      if ftype == TType.STOP:
-
 
34084
        break
-
 
34085
      if fid == 1:
-
 
34086
        if ftype == TType.I64:
-
 
34087
          self.id = iprot.readI64();
-
 
34088
        else:
-
 
34089
          iprot.skip(ftype)
-
 
34090
      else:
-
 
34091
        iprot.skip(ftype)
-
 
34092
      iprot.readFieldEnd()
-
 
34093
    iprot.readStructEnd()
-
 
34094
 
-
 
34095
  def write(self, oprot):
-
 
34096
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
-
 
34097
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
-
 
34098
      return
-
 
34099
    oprot.writeStructBegin('deleteBulkPricingForItemById_args')
-
 
34100
    if self.id is not None:
-
 
34101
      oprot.writeFieldBegin('id', TType.I64, 1)
-
 
34102
      oprot.writeI64(self.id)
-
 
34103
      oprot.writeFieldEnd()
-
 
34104
    oprot.writeFieldStop()
-
 
34105
    oprot.writeStructEnd()
-
 
34106
 
-
 
34107
  def validate(self):
-
 
34108
    return
-
 
34109
 
-
 
34110
 
-
 
34111
  def __repr__(self):
-
 
34112
    L = ['%s=%r' % (key, value)
-
 
34113
      for key, value in self.__dict__.iteritems()]
-
 
34114
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
-
 
34115
 
-
 
34116
  def __eq__(self, other):
-
 
34117
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
-
 
34118
 
-
 
34119
  def __ne__(self, other):
-
 
34120
    return not (self == other)
-
 
34121
 
-
 
34122
class deleteBulkPricingForItemById_result:
-
 
34123
  """
-
 
34124
  Attributes:
-
 
34125
   - success
-
 
34126
  """
-
 
34127
 
-
 
34128
  thrift_spec = (
-
 
34129
    (0, TType.BOOL, 'success', None, None, ), # 0
-
 
34130
  )
-
 
34131
 
-
 
34132
  def __init__(self, success=None,):
-
 
34133
    self.success = success
-
 
34134
 
-
 
34135
  def read(self, iprot):
-
 
34136
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
-
 
34137
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
-
 
34138
      return
-
 
34139
    iprot.readStructBegin()
-
 
34140
    while True:
-
 
34141
      (fname, ftype, fid) = iprot.readFieldBegin()
-
 
34142
      if ftype == TType.STOP:
-
 
34143
        break
-
 
34144
      if fid == 0:
-
 
34145
        if ftype == TType.BOOL:
-
 
34146
          self.success = iprot.readBool();
-
 
34147
        else:
-
 
34148
          iprot.skip(ftype)
-
 
34149
      else:
-
 
34150
        iprot.skip(ftype)
-
 
34151
      iprot.readFieldEnd()
-
 
34152
    iprot.readStructEnd()
-
 
34153
 
-
 
34154
  def write(self, oprot):
-
 
34155
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
-
 
34156
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
-
 
34157
      return
-
 
34158
    oprot.writeStructBegin('deleteBulkPricingForItemById_result')
-
 
34159
    if self.success is not None:
-
 
34160
      oprot.writeFieldBegin('success', TType.BOOL, 0)
-
 
34161
      oprot.writeBool(self.success)
-
 
34162
      oprot.writeFieldEnd()
-
 
34163
    oprot.writeFieldStop()
-
 
34164
    oprot.writeStructEnd()
-
 
34165
 
-
 
34166
  def validate(self):
-
 
34167
    return
-
 
34168
 
-
 
34169
 
-
 
34170
  def __repr__(self):
-
 
34171
    L = ['%s=%r' % (key, value)
-
 
34172
      for key, value in self.__dict__.iteritems()]
-
 
34173
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
-
 
34174
 
-
 
34175
  def __eq__(self, other):
-
 
34176
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
-
 
34177
 
-
 
34178
  def __ne__(self, other):
-
 
34179
    return not (self == other)
-
 
34180
 
-
 
34181
class deleteBulkPricingForItem_args:
-
 
34182
  """
-
 
34183
  Attributes:
-
 
34184
   - item_id
-
 
34185
  """
-
 
34186
 
-
 
34187
  thrift_spec = (
-
 
34188
    None, # 0
-
 
34189
    (1, TType.I64, 'item_id', None, None, ), # 1
-
 
34190
  )
-
 
34191
 
-
 
34192
  def __init__(self, item_id=None,):
-
 
34193
    self.item_id = item_id
-
 
34194
 
-
 
34195
  def read(self, iprot):
-
 
34196
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
-
 
34197
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
-
 
34198
      return
-
 
34199
    iprot.readStructBegin()
-
 
34200
    while True:
-
 
34201
      (fname, ftype, fid) = iprot.readFieldBegin()
-
 
34202
      if ftype == TType.STOP:
-
 
34203
        break
-
 
34204
      if fid == 1:
-
 
34205
        if ftype == TType.I64:
-
 
34206
          self.item_id = iprot.readI64();
-
 
34207
        else:
-
 
34208
          iprot.skip(ftype)
-
 
34209
      else:
-
 
34210
        iprot.skip(ftype)
-
 
34211
      iprot.readFieldEnd()
-
 
34212
    iprot.readStructEnd()
-
 
34213
 
-
 
34214
  def write(self, oprot):
-
 
34215
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
-
 
34216
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
-
 
34217
      return
-
 
34218
    oprot.writeStructBegin('deleteBulkPricingForItem_args')
-
 
34219
    if self.item_id is not None:
-
 
34220
      oprot.writeFieldBegin('item_id', TType.I64, 1)
-
 
34221
      oprot.writeI64(self.item_id)
-
 
34222
      oprot.writeFieldEnd()
-
 
34223
    oprot.writeFieldStop()
-
 
34224
    oprot.writeStructEnd()
-
 
34225
 
-
 
34226
  def validate(self):
-
 
34227
    return
-
 
34228
 
-
 
34229
 
-
 
34230
  def __repr__(self):
-
 
34231
    L = ['%s=%r' % (key, value)
-
 
34232
      for key, value in self.__dict__.iteritems()]
-
 
34233
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
-
 
34234
 
-
 
34235
  def __eq__(self, other):
-
 
34236
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
-
 
34237
 
-
 
34238
  def __ne__(self, other):
-
 
34239
    return not (self == other)
-
 
34240
 
-
 
34241
class deleteBulkPricingForItem_result:
-
 
34242
  """
-
 
34243
  Attributes:
-
 
34244
   - success
-
 
34245
  """
-
 
34246
 
-
 
34247
  thrift_spec = (
-
 
34248
    (0, TType.BOOL, 'success', None, None, ), # 0
-
 
34249
  )
-
 
34250
 
-
 
34251
  def __init__(self, success=None,):
-
 
34252
    self.success = success
-
 
34253
 
-
 
34254
  def read(self, iprot):
-
 
34255
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
-
 
34256
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
-
 
34257
      return
-
 
34258
    iprot.readStructBegin()
-
 
34259
    while True:
-
 
34260
      (fname, ftype, fid) = iprot.readFieldBegin()
-
 
34261
      if ftype == TType.STOP:
-
 
34262
        break
-
 
34263
      if fid == 0:
-
 
34264
        if ftype == TType.BOOL:
-
 
34265
          self.success = iprot.readBool();
-
 
34266
        else:
-
 
34267
          iprot.skip(ftype)
-
 
34268
      else:
-
 
34269
        iprot.skip(ftype)
-
 
34270
      iprot.readFieldEnd()
-
 
34271
    iprot.readStructEnd()
-
 
34272
 
-
 
34273
  def write(self, oprot):
-
 
34274
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
-
 
34275
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
-
 
34276
      return
-
 
34277
    oprot.writeStructBegin('deleteBulkPricingForItem_result')
-
 
34278
    if self.success is not None:
-
 
34279
      oprot.writeFieldBegin('success', TType.BOOL, 0)
-
 
34280
      oprot.writeBool(self.success)
-
 
34281
      oprot.writeFieldEnd()
-
 
34282
    oprot.writeFieldStop()
-
 
34283
    oprot.writeStructEnd()
-
 
34284
 
-
 
34285
  def validate(self):
-
 
34286
    return
-
 
34287
 
-
 
34288
 
-
 
34289
  def __repr__(self):
-
 
34290
    L = ['%s=%r' % (key, value)
-
 
34291
      for key, value in self.__dict__.iteritems()]
-
 
34292
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
-
 
34293
 
-
 
34294
  def __eq__(self, other):
-
 
34295
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
-
 
34296
 
-
 
34297
  def __ne__(self, other):
-
 
34298
    return not (self == other)
-
 
34299
 
-
 
34300
class getBulkPricingByItemId_args:
-
 
34301
  """
-
 
34302
  Attributes:
-
 
34303
   - item_id
-
 
34304
  """
-
 
34305
 
-
 
34306
  thrift_spec = (
-
 
34307
    None, # 0
-
 
34308
    (1, TType.I64, 'item_id', None, None, ), # 1
-
 
34309
  )
-
 
34310
 
-
 
34311
  def __init__(self, item_id=None,):
-
 
34312
    self.item_id = item_id
-
 
34313
 
-
 
34314
  def read(self, iprot):
-
 
34315
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
-
 
34316
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
-
 
34317
      return
-
 
34318
    iprot.readStructBegin()
-
 
34319
    while True:
-
 
34320
      (fname, ftype, fid) = iprot.readFieldBegin()
-
 
34321
      if ftype == TType.STOP:
-
 
34322
        break
-
 
34323
      if fid == 1:
-
 
34324
        if ftype == TType.I64:
-
 
34325
          self.item_id = iprot.readI64();
-
 
34326
        else:
-
 
34327
          iprot.skip(ftype)
-
 
34328
      else:
-
 
34329
        iprot.skip(ftype)
-
 
34330
      iprot.readFieldEnd()
-
 
34331
    iprot.readStructEnd()
-
 
34332
 
-
 
34333
  def write(self, oprot):
-
 
34334
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
-
 
34335
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
-
 
34336
      return
-
 
34337
    oprot.writeStructBegin('getBulkPricingByItemId_args')
-
 
34338
    if self.item_id is not None:
-
 
34339
      oprot.writeFieldBegin('item_id', TType.I64, 1)
-
 
34340
      oprot.writeI64(self.item_id)
-
 
34341
      oprot.writeFieldEnd()
-
 
34342
    oprot.writeFieldStop()
-
 
34343
    oprot.writeStructEnd()
-
 
34344
 
-
 
34345
  def validate(self):
-
 
34346
    return
-
 
34347
 
-
 
34348
 
-
 
34349
  def __repr__(self):
-
 
34350
    L = ['%s=%r' % (key, value)
-
 
34351
      for key, value in self.__dict__.iteritems()]
-
 
34352
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
-
 
34353
 
-
 
34354
  def __eq__(self, other):
-
 
34355
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
-
 
34356
 
-
 
34357
  def __ne__(self, other):
-
 
34358
    return not (self == other)
-
 
34359
 
-
 
34360
class getBulkPricingByItemId_result:
-
 
34361
  """
-
 
34362
  Attributes:
-
 
34363
   - success
-
 
34364
  """
-
 
34365
 
-
 
34366
  thrift_spec = (
-
 
34367
    (0, TType.LIST, 'success', (TType.STRUCT,(BulkItemPricing, BulkItemPricing.thrift_spec)), None, ), # 0
-
 
34368
  )
-
 
34369
 
-
 
34370
  def __init__(self, success=None,):
-
 
34371
    self.success = success
-
 
34372
 
-
 
34373
  def read(self, iprot):
-
 
34374
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
-
 
34375
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
-
 
34376
      return
-
 
34377
    iprot.readStructBegin()
-
 
34378
    while True:
-
 
34379
      (fname, ftype, fid) = iprot.readFieldBegin()
-
 
34380
      if ftype == TType.STOP:
-
 
34381
        break
-
 
34382
      if fid == 0:
-
 
34383
        if ftype == TType.LIST:
-
 
34384
          self.success = []
-
 
34385
          (_etype892, _size889) = iprot.readListBegin()
-
 
34386
          for _i893 in xrange(_size889):
-
 
34387
            _elem894 = BulkItemPricing()
-
 
34388
            _elem894.read(iprot)
-
 
34389
            self.success.append(_elem894)
-
 
34390
          iprot.readListEnd()
-
 
34391
        else:
-
 
34392
          iprot.skip(ftype)
-
 
34393
      else:
-
 
34394
        iprot.skip(ftype)
-
 
34395
      iprot.readFieldEnd()
-
 
34396
    iprot.readStructEnd()
-
 
34397
 
-
 
34398
  def write(self, oprot):
-
 
34399
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
-
 
34400
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
-
 
34401
      return
-
 
34402
    oprot.writeStructBegin('getBulkPricingByItemId_result')
-
 
34403
    if self.success is not None:
-
 
34404
      oprot.writeFieldBegin('success', TType.LIST, 0)
-
 
34405
      oprot.writeListBegin(TType.STRUCT, len(self.success))
-
 
34406
      for iter895 in self.success:
-
 
34407
        iter895.write(oprot)
-
 
34408
      oprot.writeListEnd()
-
 
34409
      oprot.writeFieldEnd()
-
 
34410
    oprot.writeFieldStop()
-
 
34411
    oprot.writeStructEnd()
-
 
34412
 
33535
  def validate(self):
34413
  def validate(self):
33536
    return
34414
    return
33537
 
34415
 
33538
 
34416
 
33539
  def __repr__(self):
34417
  def __repr__(self):