Subversion Repositories SmartDukaan

Rev

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

Rev 3431 Rev 3583
Line 113... Line 113...
113
    Returns the minimum and maximum amounts among successful payments.
113
    Returns the minimum and maximum amounts among successful payments.
114
    List contains two double values, first minimum and second maximum amount.
114
    List contains two double values, first minimum and second maximum amount.
115
    """
115
    """
116
    pass
116
    pass
117
 
117
 
118
  def captureEbsPayment(self, merchantPaymentId):
-
 
119
    """
-
 
120
    Captures an already authorized EBS Payment and returns a map containing the details of the captured transaction
-
 
121
 
-
 
122
    Parameters:
-
 
123
     - merchantPaymentId
-
 
124
    """
-
 
125
    pass
-
 
126
 
-
 
127
  def captureHdfcPayment(self, merchantPaymentId):
-
 
128
    """
-
 
129
    Captures an already authorized Hdfc Payment and returns a map containing the details of the captured transaction
-
 
130
 
-
 
131
    Parameters:
-
 
132
     - merchantPaymentId
-
 
133
    """
-
 
134
    pass
-
 
135
 
-
 
136
  def initializeHdfcPayment(self, merchantPaymentId):
118
  def initializeHdfcPayment(self, merchantPaymentId):
137
    """
119
    """
138
    Initialize the payment pipe for a HDFC payment. The URL the user should be redirected to is returned.
120
    Initialize the payment pipe for a HDFC payment. The URL the user should be redirected to is returned.
139
    In case of any processing error, an exception is raised.
121
    In case of any processing error, an exception is raised.
140
 
122
 
Line 485... Line 467...
485
    self._iprot.readMessageEnd()
467
    self._iprot.readMessageEnd()
486
    if result.success is not None:
468
    if result.success is not None:
487
      return result.success
469
      return result.success
488
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getSuccessfulPaymentsAmountRange failed: unknown result");
470
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getSuccessfulPaymentsAmountRange failed: unknown result");
489
 
471
 
490
  def captureEbsPayment(self, merchantPaymentId):
-
 
491
    """
-
 
492
    Captures an already authorized EBS Payment and returns a map containing the details of the captured transaction
-
 
493
 
-
 
494
    Parameters:
-
 
495
     - merchantPaymentId
-
 
496
    """
-
 
497
    self.send_captureEbsPayment(merchantPaymentId)
-
 
498
    return self.recv_captureEbsPayment()
-
 
499
 
-
 
500
  def send_captureEbsPayment(self, merchantPaymentId):
-
 
501
    self._oprot.writeMessageBegin('captureEbsPayment', TMessageType.CALL, self._seqid)
-
 
502
    args = captureEbsPayment_args()
-
 
503
    args.merchantPaymentId = merchantPaymentId
-
 
504
    args.write(self._oprot)
-
 
505
    self._oprot.writeMessageEnd()
-
 
506
    self._oprot.trans.flush()
-
 
507
 
-
 
508
  def recv_captureEbsPayment(self, ):
-
 
509
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
-
 
510
    if mtype == TMessageType.EXCEPTION:
-
 
511
      x = TApplicationException()
-
 
512
      x.read(self._iprot)
-
 
513
      self._iprot.readMessageEnd()
-
 
514
      raise x
-
 
515
    result = captureEbsPayment_result()
-
 
516
    result.read(self._iprot)
-
 
517
    self._iprot.readMessageEnd()
-
 
518
    if result.success is not None:
-
 
519
      return result.success
-
 
520
    if result.pe is not None:
-
 
521
      raise result.pe
-
 
522
    raise TApplicationException(TApplicationException.MISSING_RESULT, "captureEbsPayment failed: unknown result");
-
 
523
 
-
 
524
  def captureHdfcPayment(self, merchantPaymentId):
-
 
525
    """
-
 
526
    Captures an already authorized Hdfc Payment and returns a map containing the details of the captured transaction
-
 
527
 
-
 
528
    Parameters:
-
 
529
     - merchantPaymentId
-
 
530
    """
-
 
531
    self.send_captureHdfcPayment(merchantPaymentId)
-
 
532
    return self.recv_captureHdfcPayment()
-
 
533
 
-
 
534
  def send_captureHdfcPayment(self, merchantPaymentId):
-
 
535
    self._oprot.writeMessageBegin('captureHdfcPayment', TMessageType.CALL, self._seqid)
-
 
536
    args = captureHdfcPayment_args()
-
 
537
    args.merchantPaymentId = merchantPaymentId
-
 
538
    args.write(self._oprot)
-
 
539
    self._oprot.writeMessageEnd()
-
 
540
    self._oprot.trans.flush()
-
 
541
 
-
 
542
  def recv_captureHdfcPayment(self, ):
-
 
543
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
-
 
544
    if mtype == TMessageType.EXCEPTION:
-
 
545
      x = TApplicationException()
-
 
546
      x.read(self._iprot)
-
 
547
      self._iprot.readMessageEnd()
-
 
548
      raise x
-
 
549
    result = captureHdfcPayment_result()
-
 
550
    result.read(self._iprot)
-
 
551
    self._iprot.readMessageEnd()
-
 
552
    if result.success is not None:
-
 
553
      return result.success
-
 
554
    if result.pe is not None:
-
 
555
      raise result.pe
-
 
556
    raise TApplicationException(TApplicationException.MISSING_RESULT, "captureHdfcPayment failed: unknown result");
-
 
557
 
-
 
558
  def initializeHdfcPayment(self, merchantPaymentId):
472
  def initializeHdfcPayment(self, merchantPaymentId):
559
    """
473
    """
560
    Initialize the payment pipe for a HDFC payment. The URL the user should be redirected to is returned.
474
    Initialize the payment pipe for a HDFC payment. The URL the user should be redirected to is returned.
561
    In case of any processing error, an exception is raised.
475
    In case of any processing error, an exception is raised.
562
 
476
 
Line 675... Line 589...
675
    self._processMap["getPaymentGateway"] = Processor.process_getPaymentGateway
589
    self._processMap["getPaymentGateway"] = Processor.process_getPaymentGateway
676
    self._processMap["getPayment"] = Processor.process_getPayment
590
    self._processMap["getPayment"] = Processor.process_getPayment
677
    self._processMap["getPaymentForTxnId"] = Processor.process_getPaymentForTxnId
591
    self._processMap["getPaymentForTxnId"] = Processor.process_getPaymentForTxnId
678
    self._processMap["updatePaymentDetails"] = Processor.process_updatePaymentDetails
592
    self._processMap["updatePaymentDetails"] = Processor.process_updatePaymentDetails
679
    self._processMap["getSuccessfulPaymentsAmountRange"] = Processor.process_getSuccessfulPaymentsAmountRange
593
    self._processMap["getSuccessfulPaymentsAmountRange"] = Processor.process_getSuccessfulPaymentsAmountRange
680
    self._processMap["captureEbsPayment"] = Processor.process_captureEbsPayment
-
 
681
    self._processMap["captureHdfcPayment"] = Processor.process_captureHdfcPayment
-
 
682
    self._processMap["initializeHdfcPayment"] = Processor.process_initializeHdfcPayment
594
    self._processMap["initializeHdfcPayment"] = Processor.process_initializeHdfcPayment
683
    self._processMap["createRefund"] = Processor.process_createRefund
595
    self._processMap["createRefund"] = Processor.process_createRefund
684
    self._processMap["capturePayment"] = Processor.process_capturePayment
596
    self._processMap["capturePayment"] = Processor.process_capturePayment
685
 
597
 
686
  def process(self, iprot, oprot):
598
  def process(self, iprot, oprot):
Line 805... Line 717...
805
    oprot.writeMessageBegin("getSuccessfulPaymentsAmountRange", TMessageType.REPLY, seqid)
717
    oprot.writeMessageBegin("getSuccessfulPaymentsAmountRange", TMessageType.REPLY, seqid)
806
    result.write(oprot)
718
    result.write(oprot)
807
    oprot.writeMessageEnd()
719
    oprot.writeMessageEnd()
808
    oprot.trans.flush()
720
    oprot.trans.flush()
809
 
721
 
810
  def process_captureEbsPayment(self, seqid, iprot, oprot):
-
 
811
    args = captureEbsPayment_args()
-
 
812
    args.read(iprot)
-
 
813
    iprot.readMessageEnd()
-
 
814
    result = captureEbsPayment_result()
-
 
815
    try:
-
 
816
      result.success = self._handler.captureEbsPayment(args.merchantPaymentId)
-
 
817
    except PaymentException, pe:
-
 
818
      result.pe = pe
-
 
819
    oprot.writeMessageBegin("captureEbsPayment", TMessageType.REPLY, seqid)
-
 
820
    result.write(oprot)
-
 
821
    oprot.writeMessageEnd()
-
 
822
    oprot.trans.flush()
-
 
823
 
-
 
824
  def process_captureHdfcPayment(self, seqid, iprot, oprot):
-
 
825
    args = captureHdfcPayment_args()
-
 
826
    args.read(iprot)
-
 
827
    iprot.readMessageEnd()
-
 
828
    result = captureHdfcPayment_result()
-
 
829
    try:
-
 
830
      result.success = self._handler.captureHdfcPayment(args.merchantPaymentId)
-
 
831
    except PaymentException, pe:
-
 
832
      result.pe = pe
-
 
833
    oprot.writeMessageBegin("captureHdfcPayment", TMessageType.REPLY, seqid)
-
 
834
    result.write(oprot)
-
 
835
    oprot.writeMessageEnd()
-
 
836
    oprot.trans.flush()
-
 
837
 
-
 
838
  def process_initializeHdfcPayment(self, seqid, iprot, oprot):
722
  def process_initializeHdfcPayment(self, seqid, iprot, oprot):
839
    args = initializeHdfcPayment_args()
723
    args = initializeHdfcPayment_args()
840
    args.read(iprot)
724
    args.read(iprot)
841
    iprot.readMessageEnd()
725
    iprot.readMessageEnd()
842
    result = initializeHdfcPayment_result()
726
    result = initializeHdfcPayment_result()
Line 2187... Line 2071...
2187
      oprot.writeFieldEnd()
2071
      oprot.writeFieldEnd()
2188
    oprot.writeFieldStop()
2072
    oprot.writeFieldStop()
2189
    oprot.writeStructEnd()
2073
    oprot.writeStructEnd()
2190
 
2074
 
2191
  def validate(self):
2075
  def validate(self):
2192
    return
-
 
2193
 
-
 
2194
 
-
 
2195
  def __repr__(self):
-
 
2196
    L = ['%s=%r' % (key, value)
-
 
2197
      for key, value in self.__dict__.iteritems()]
-
 
2198
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
-
 
2199
 
-
 
2200
  def __eq__(self, other):
-
 
2201
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
-
 
2202
 
-
 
2203
  def __ne__(self, other):
-
 
2204
    return not (self == other)
-
 
2205
 
-
 
2206
class captureEbsPayment_args:
-
 
2207
  """
-
 
2208
  Attributes:
-
 
2209
   - merchantPaymentId
-
 
2210
  """
-
 
2211
 
-
 
2212
  thrift_spec = (
-
 
2213
    None, # 0
-
 
2214
    (1, TType.I64, 'merchantPaymentId', None, None, ), # 1
-
 
2215
  )
-
 
2216
 
-
 
2217
  def __init__(self, merchantPaymentId=None,):
-
 
2218
    self.merchantPaymentId = merchantPaymentId
-
 
2219
 
-
 
2220
  def read(self, iprot):
-
 
2221
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
-
 
2222
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
-
 
2223
      return
-
 
2224
    iprot.readStructBegin()
-
 
2225
    while True:
-
 
2226
      (fname, ftype, fid) = iprot.readFieldBegin()
-
 
2227
      if ftype == TType.STOP:
-
 
2228
        break
-
 
2229
      if fid == 1:
-
 
2230
        if ftype == TType.I64:
-
 
2231
          self.merchantPaymentId = iprot.readI64();
-
 
2232
        else:
-
 
2233
          iprot.skip(ftype)
-
 
2234
      else:
-
 
2235
        iprot.skip(ftype)
-
 
2236
      iprot.readFieldEnd()
-
 
2237
    iprot.readStructEnd()
-
 
2238
 
-
 
2239
  def write(self, oprot):
-
 
2240
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
-
 
2241
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
-
 
2242
      return
-
 
2243
    oprot.writeStructBegin('captureEbsPayment_args')
-
 
2244
    if self.merchantPaymentId is not None:
-
 
2245
      oprot.writeFieldBegin('merchantPaymentId', TType.I64, 1)
-
 
2246
      oprot.writeI64(self.merchantPaymentId)
-
 
2247
      oprot.writeFieldEnd()
-
 
2248
    oprot.writeFieldStop()
-
 
2249
    oprot.writeStructEnd()
-
 
2250
 
-
 
2251
  def validate(self):
-
 
2252
    return
-
 
2253
 
-
 
2254
 
-
 
2255
  def __repr__(self):
-
 
2256
    L = ['%s=%r' % (key, value)
-
 
2257
      for key, value in self.__dict__.iteritems()]
-
 
2258
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
-
 
2259
 
-
 
2260
  def __eq__(self, other):
-
 
2261
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
-
 
2262
 
-
 
2263
  def __ne__(self, other):
-
 
2264
    return not (self == other)
-
 
2265
 
-
 
2266
class captureEbsPayment_result:
-
 
2267
  """
-
 
2268
  Attributes:
-
 
2269
   - success
-
 
2270
   - pe
-
 
2271
  """
-
 
2272
 
-
 
2273
  thrift_spec = (
-
 
2274
    (0, TType.MAP, 'success', (TType.STRING,None,TType.STRING,None), None, ), # 0
-
 
2275
    (1, TType.STRUCT, 'pe', (PaymentException, PaymentException.thrift_spec), None, ), # 1
-
 
2276
  )
-
 
2277
 
-
 
2278
  def __init__(self, success=None, pe=None,):
-
 
2279
    self.success = success
-
 
2280
    self.pe = pe
-
 
2281
 
-
 
2282
  def read(self, iprot):
-
 
2283
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
-
 
2284
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
-
 
2285
      return
-
 
2286
    iprot.readStructBegin()
-
 
2287
    while True:
-
 
2288
      (fname, ftype, fid) = iprot.readFieldBegin()
-
 
2289
      if ftype == TType.STOP:
-
 
2290
        break
-
 
2291
      if fid == 0:
-
 
2292
        if ftype == TType.MAP:
-
 
2293
          self.success = {}
-
 
2294
          (_ktype57, _vtype58, _size56 ) = iprot.readMapBegin() 
-
 
2295
          for _i60 in xrange(_size56):
-
 
2296
            _key61 = iprot.readString();
-
 
2297
            _val62 = iprot.readString();
-
 
2298
            self.success[_key61] = _val62
-
 
2299
          iprot.readMapEnd()
-
 
2300
        else:
-
 
2301
          iprot.skip(ftype)
-
 
2302
      elif fid == 1:
-
 
2303
        if ftype == TType.STRUCT:
-
 
2304
          self.pe = PaymentException()
-
 
2305
          self.pe.read(iprot)
-
 
2306
        else:
-
 
2307
          iprot.skip(ftype)
-
 
2308
      else:
-
 
2309
        iprot.skip(ftype)
-
 
2310
      iprot.readFieldEnd()
-
 
2311
    iprot.readStructEnd()
-
 
2312
 
-
 
2313
  def write(self, oprot):
-
 
2314
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
-
 
2315
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
-
 
2316
      return
-
 
2317
    oprot.writeStructBegin('captureEbsPayment_result')
-
 
2318
    if self.success is not None:
-
 
2319
      oprot.writeFieldBegin('success', TType.MAP, 0)
-
 
2320
      oprot.writeMapBegin(TType.STRING, TType.STRING, len(self.success))
-
 
2321
      for kiter63,viter64 in self.success.items():
-
 
2322
        oprot.writeString(kiter63)
-
 
2323
        oprot.writeString(viter64)
-
 
2324
      oprot.writeMapEnd()
-
 
2325
      oprot.writeFieldEnd()
-
 
2326
    if self.pe is not None:
-
 
2327
      oprot.writeFieldBegin('pe', TType.STRUCT, 1)
-
 
2328
      self.pe.write(oprot)
-
 
2329
      oprot.writeFieldEnd()
-
 
2330
    oprot.writeFieldStop()
-
 
2331
    oprot.writeStructEnd()
-
 
2332
 
-
 
2333
  def validate(self):
-
 
2334
    return
-
 
2335
 
-
 
2336
 
-
 
2337
  def __repr__(self):
-
 
2338
    L = ['%s=%r' % (key, value)
-
 
2339
      for key, value in self.__dict__.iteritems()]
-
 
2340
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
-
 
2341
 
-
 
2342
  def __eq__(self, other):
-
 
2343
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
-
 
2344
 
-
 
2345
  def __ne__(self, other):
-
 
2346
    return not (self == other)
-
 
2347
 
-
 
2348
class captureHdfcPayment_args:
-
 
2349
  """
-
 
2350
  Attributes:
-
 
2351
   - merchantPaymentId
-
 
2352
  """
-
 
2353
 
-
 
2354
  thrift_spec = (
-
 
2355
    None, # 0
-
 
2356
    (1, TType.I64, 'merchantPaymentId', None, None, ), # 1
-
 
2357
  )
-
 
2358
 
-
 
2359
  def __init__(self, merchantPaymentId=None,):
-
 
2360
    self.merchantPaymentId = merchantPaymentId
-
 
2361
 
-
 
2362
  def read(self, iprot):
-
 
2363
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
-
 
2364
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
-
 
2365
      return
-
 
2366
    iprot.readStructBegin()
-
 
2367
    while True:
-
 
2368
      (fname, ftype, fid) = iprot.readFieldBegin()
-
 
2369
      if ftype == TType.STOP:
-
 
2370
        break
-
 
2371
      if fid == 1:
-
 
2372
        if ftype == TType.I64:
-
 
2373
          self.merchantPaymentId = iprot.readI64();
-
 
2374
        else:
-
 
2375
          iprot.skip(ftype)
-
 
2376
      else:
-
 
2377
        iprot.skip(ftype)
-
 
2378
      iprot.readFieldEnd()
-
 
2379
    iprot.readStructEnd()
-
 
2380
 
-
 
2381
  def write(self, oprot):
-
 
2382
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
-
 
2383
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
-
 
2384
      return
-
 
2385
    oprot.writeStructBegin('captureHdfcPayment_args')
-
 
2386
    if self.merchantPaymentId is not None:
-
 
2387
      oprot.writeFieldBegin('merchantPaymentId', TType.I64, 1)
-
 
2388
      oprot.writeI64(self.merchantPaymentId)
-
 
2389
      oprot.writeFieldEnd()
-
 
2390
    oprot.writeFieldStop()
-
 
2391
    oprot.writeStructEnd()
-
 
2392
 
-
 
2393
  def validate(self):
-
 
2394
    return
-
 
2395
 
-
 
2396
 
-
 
2397
  def __repr__(self):
-
 
2398
    L = ['%s=%r' % (key, value)
-
 
2399
      for key, value in self.__dict__.iteritems()]
-
 
2400
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
-
 
2401
 
-
 
2402
  def __eq__(self, other):
-
 
2403
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
-
 
2404
 
-
 
2405
  def __ne__(self, other):
-
 
2406
    return not (self == other)
-
 
2407
 
-
 
2408
class captureHdfcPayment_result:
-
 
2409
  """
-
 
2410
  Attributes:
-
 
2411
   - success
-
 
2412
   - pe
-
 
2413
  """
-
 
2414
 
-
 
2415
  thrift_spec = (
-
 
2416
    (0, TType.MAP, 'success', (TType.STRING,None,TType.STRING,None), None, ), # 0
-
 
2417
    (1, TType.STRUCT, 'pe', (PaymentException, PaymentException.thrift_spec), None, ), # 1
-
 
2418
  )
-
 
2419
 
-
 
2420
  def __init__(self, success=None, pe=None,):
-
 
2421
    self.success = success
-
 
2422
    self.pe = pe
-
 
2423
 
-
 
2424
  def read(self, iprot):
-
 
2425
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
-
 
2426
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
-
 
2427
      return
-
 
2428
    iprot.readStructBegin()
-
 
2429
    while True:
-
 
2430
      (fname, ftype, fid) = iprot.readFieldBegin()
-
 
2431
      if ftype == TType.STOP:
-
 
2432
        break
-
 
2433
      if fid == 0:
-
 
2434
        if ftype == TType.MAP:
-
 
2435
          self.success = {}
-
 
2436
          (_ktype66, _vtype67, _size65 ) = iprot.readMapBegin() 
-
 
2437
          for _i69 in xrange(_size65):
-
 
2438
            _key70 = iprot.readString();
-
 
2439
            _val71 = iprot.readString();
-
 
2440
            self.success[_key70] = _val71
-
 
2441
          iprot.readMapEnd()
-
 
2442
        else:
-
 
2443
          iprot.skip(ftype)
-
 
2444
      elif fid == 1:
-
 
2445
        if ftype == TType.STRUCT:
-
 
2446
          self.pe = PaymentException()
-
 
2447
          self.pe.read(iprot)
-
 
2448
        else:
-
 
2449
          iprot.skip(ftype)
-
 
2450
      else:
-
 
2451
        iprot.skip(ftype)
-
 
2452
      iprot.readFieldEnd()
-
 
2453
    iprot.readStructEnd()
-
 
2454
 
-
 
2455
  def write(self, oprot):
-
 
2456
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
-
 
2457
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
-
 
2458
      return
-
 
2459
    oprot.writeStructBegin('captureHdfcPayment_result')
-
 
2460
    if self.success is not None:
-
 
2461
      oprot.writeFieldBegin('success', TType.MAP, 0)
-
 
2462
      oprot.writeMapBegin(TType.STRING, TType.STRING, len(self.success))
-
 
2463
      for kiter72,viter73 in self.success.items():
-
 
2464
        oprot.writeString(kiter72)
-
 
2465
        oprot.writeString(viter73)
-
 
2466
      oprot.writeMapEnd()
-
 
2467
      oprot.writeFieldEnd()
-
 
2468
    if self.pe is not None:
-
 
2469
      oprot.writeFieldBegin('pe', TType.STRUCT, 1)
-
 
2470
      self.pe.write(oprot)
-
 
2471
      oprot.writeFieldEnd()
-
 
2472
    oprot.writeFieldStop()
-
 
2473
    oprot.writeStructEnd()
-
 
2474
 
-
 
2475
  def validate(self):
-
 
2476
    return
2076
    return
2477
 
2077
 
2478
 
2078
 
2479
  def __repr__(self):
2079
  def __repr__(self):
2480
    L = ['%s=%r' % (key, value)
2080
    L = ['%s=%r' % (key, value)