Subversion Repositories SmartDukaan

Rev

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

Rev 4712 Rev 4715
Line 684... Line 684...
684
 
684
 
685
    public void markEBSSettlementUploaded(long settlementId) throws TransactionServiceException, org.apache.thrift.TException;
685
    public void markEBSSettlementUploaded(long settlementId) throws TransactionServiceException, org.apache.thrift.TException;
686
 
686
 
687
    public long getEBSSettlementDate(long settlementId) throws TransactionServiceException, org.apache.thrift.TException;
687
    public long getEBSSettlementDate(long settlementId) throws TransactionServiceException, org.apache.thrift.TException;
688
 
688
 
-
 
689
    public List<PaymentSettlement> getSettlementsByDate(long settlementDateFrom, long settlementDateTo, boolean isRefund) throws TransactionServiceException, org.apache.thrift.TException;
-
 
690
 
-
 
691
    /**
-
 
692
     * Returns list of Order Ids, which belong to reshiped orders, shortlisted from a given list of Order Ids
-
 
693
     * 
-
 
694
     * @param orderIds
-
 
695
     */
-
 
696
    public List<Long> getReshippedOrderIds(List<Long> orderIds) throws TransactionServiceException, org.apache.thrift.TException;
-
 
697
 
689
  }
698
  }
690
 
699
 
691
  public interface AsyncIface extends in.shop2020.generic.GenericService .AsyncIface {
700
  public interface AsyncIface extends in.shop2020.generic.GenericService .AsyncIface {
692
 
701
 
693
    public void createTransaction(Transaction transaction, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.createTransaction_call> resultHandler) throws org.apache.thrift.TException;
702
    public void createTransaction(Transaction transaction, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.createTransaction_call> resultHandler) throws org.apache.thrift.TException;
Line 872... Line 881...
872
 
881
 
873
    public void markEBSSettlementUploaded(long settlementId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.markEBSSettlementUploaded_call> resultHandler) throws org.apache.thrift.TException;
882
    public void markEBSSettlementUploaded(long settlementId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.markEBSSettlementUploaded_call> resultHandler) throws org.apache.thrift.TException;
874
 
883
 
875
    public void getEBSSettlementDate(long settlementId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getEBSSettlementDate_call> resultHandler) throws org.apache.thrift.TException;
884
    public void getEBSSettlementDate(long settlementId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getEBSSettlementDate_call> resultHandler) throws org.apache.thrift.TException;
876
 
885
 
-
 
886
    public void getSettlementsByDate(long settlementDateFrom, long settlementDateTo, boolean isRefund, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getSettlementsByDate_call> resultHandler) throws org.apache.thrift.TException;
-
 
887
 
-
 
888
    public void getReshippedOrderIds(List<Long> orderIds, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getReshippedOrderIds_call> resultHandler) throws org.apache.thrift.TException;
-
 
889
 
877
  }
890
  }
878
 
891
 
879
  public static class Client extends in.shop2020.generic.GenericService.Client implements Iface {
892
  public static class Client extends in.shop2020.generic.GenericService.Client implements Iface {
880
    public static class Factory implements org.apache.thrift.TServiceClientFactory<Client> {
893
    public static class Factory implements org.apache.thrift.TServiceClientFactory<Client> {
881
      public Factory() {}
894
      public Factory() {}
Line 3279... Line 3292...
3279
        throw result.ex;
3292
        throw result.ex;
3280
      }
3293
      }
3281
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getEBSSettlementDate failed: unknown result");
3294
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getEBSSettlementDate failed: unknown result");
3282
    }
3295
    }
3283
 
3296
 
-
 
3297
    public List<PaymentSettlement> getSettlementsByDate(long settlementDateFrom, long settlementDateTo, boolean isRefund) throws TransactionServiceException, org.apache.thrift.TException
-
 
3298
    {
-
 
3299
      send_getSettlementsByDate(settlementDateFrom, settlementDateTo, isRefund);
-
 
3300
      return recv_getSettlementsByDate();
-
 
3301
    }
-
 
3302
 
-
 
3303
    public void send_getSettlementsByDate(long settlementDateFrom, long settlementDateTo, boolean isRefund) throws org.apache.thrift.TException
-
 
3304
    {
-
 
3305
      getSettlementsByDate_args args = new getSettlementsByDate_args();
-
 
3306
      args.setSettlementDateFrom(settlementDateFrom);
-
 
3307
      args.setSettlementDateTo(settlementDateTo);
-
 
3308
      args.setIsRefund(isRefund);
-
 
3309
      sendBase("getSettlementsByDate", args);
-
 
3310
    }
-
 
3311
 
-
 
3312
    public List<PaymentSettlement> recv_getSettlementsByDate() throws TransactionServiceException, org.apache.thrift.TException
-
 
3313
    {
-
 
3314
      getSettlementsByDate_result result = new getSettlementsByDate_result();
-
 
3315
      receiveBase(result, "getSettlementsByDate");
-
 
3316
      if (result.isSetSuccess()) {
-
 
3317
        return result.success;
-
 
3318
      }
-
 
3319
      if (result.ex != null) {
-
 
3320
        throw result.ex;
-
 
3321
      }
-
 
3322
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getSettlementsByDate failed: unknown result");
-
 
3323
    }
-
 
3324
 
-
 
3325
    public List<Long> getReshippedOrderIds(List<Long> orderIds) throws TransactionServiceException, org.apache.thrift.TException
-
 
3326
    {
-
 
3327
      send_getReshippedOrderIds(orderIds);
-
 
3328
      return recv_getReshippedOrderIds();
-
 
3329
    }
-
 
3330
 
-
 
3331
    public void send_getReshippedOrderIds(List<Long> orderIds) throws org.apache.thrift.TException
-
 
3332
    {
-
 
3333
      getReshippedOrderIds_args args = new getReshippedOrderIds_args();
-
 
3334
      args.setOrderIds(orderIds);
-
 
3335
      sendBase("getReshippedOrderIds", args);
-
 
3336
    }
-
 
3337
 
-
 
3338
    public List<Long> recv_getReshippedOrderIds() throws TransactionServiceException, org.apache.thrift.TException
-
 
3339
    {
-
 
3340
      getReshippedOrderIds_result result = new getReshippedOrderIds_result();
-
 
3341
      receiveBase(result, "getReshippedOrderIds");
-
 
3342
      if (result.isSetSuccess()) {
-
 
3343
        return result.success;
-
 
3344
      }
-
 
3345
      if (result.ex != null) {
-
 
3346
        throw result.ex;
-
 
3347
      }
-
 
3348
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getReshippedOrderIds failed: unknown result");
-
 
3349
    }
-
 
3350
 
3284
  }
3351
  }
3285
  public static class AsyncClient extends in.shop2020.generic.GenericService.AsyncClient implements AsyncIface {
3352
  public static class AsyncClient extends in.shop2020.generic.GenericService.AsyncClient implements AsyncIface {
3286
    public static class Factory implements org.apache.thrift.async.TAsyncClientFactory<AsyncClient> {
3353
    public static class Factory implements org.apache.thrift.async.TAsyncClientFactory<AsyncClient> {
3287
      private org.apache.thrift.async.TAsyncClientManager clientManager;
3354
      private org.apache.thrift.async.TAsyncClientManager clientManager;
3288
      private org.apache.thrift.protocol.TProtocolFactory protocolFactory;
3355
      private org.apache.thrift.protocol.TProtocolFactory protocolFactory;
Line 6535... Line 6602...
6535
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
6602
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
6536
        return (new Client(prot)).recv_getEBSSettlementDate();
6603
        return (new Client(prot)).recv_getEBSSettlementDate();
6537
      }
6604
      }
6538
    }
6605
    }
6539
 
6606
 
-
 
6607
    public void getSettlementsByDate(long settlementDateFrom, long settlementDateTo, boolean isRefund, org.apache.thrift.async.AsyncMethodCallback<getSettlementsByDate_call> resultHandler) throws org.apache.thrift.TException {
-
 
6608
      checkReady();
-
 
6609
      getSettlementsByDate_call method_call = new getSettlementsByDate_call(settlementDateFrom, settlementDateTo, isRefund, resultHandler, this, ___protocolFactory, ___transport);
-
 
6610
      this.___currentMethod = method_call;
-
 
6611
      ___manager.call(method_call);
-
 
6612
    }
-
 
6613
 
-
 
6614
    public static class getSettlementsByDate_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
6615
      private long settlementDateFrom;
-
 
6616
      private long settlementDateTo;
-
 
6617
      private boolean isRefund;
-
 
6618
      public getSettlementsByDate_call(long settlementDateFrom, long settlementDateTo, boolean isRefund, org.apache.thrift.async.AsyncMethodCallback<getSettlementsByDate_call> resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
-
 
6619
        super(client, protocolFactory, transport, resultHandler, false);
-
 
6620
        this.settlementDateFrom = settlementDateFrom;
-
 
6621
        this.settlementDateTo = settlementDateTo;
-
 
6622
        this.isRefund = isRefund;
-
 
6623
      }
-
 
6624
 
-
 
6625
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
6626
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getSettlementsByDate", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
6627
        getSettlementsByDate_args args = new getSettlementsByDate_args();
-
 
6628
        args.setSettlementDateFrom(settlementDateFrom);
-
 
6629
        args.setSettlementDateTo(settlementDateTo);
-
 
6630
        args.setIsRefund(isRefund);
-
 
6631
        args.write(prot);
-
 
6632
        prot.writeMessageEnd();
-
 
6633
      }
-
 
6634
 
-
 
6635
      public List<PaymentSettlement> getResult() throws TransactionServiceException, org.apache.thrift.TException {
-
 
6636
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
6637
          throw new IllegalStateException("Method call not finished!");
-
 
6638
        }
-
 
6639
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
6640
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
6641
        return (new Client(prot)).recv_getSettlementsByDate();
-
 
6642
      }
-
 
6643
    }
-
 
6644
 
-
 
6645
    public void getReshippedOrderIds(List<Long> orderIds, org.apache.thrift.async.AsyncMethodCallback<getReshippedOrderIds_call> resultHandler) throws org.apache.thrift.TException {
-
 
6646
      checkReady();
-
 
6647
      getReshippedOrderIds_call method_call = new getReshippedOrderIds_call(orderIds, resultHandler, this, ___protocolFactory, ___transport);
-
 
6648
      this.___currentMethod = method_call;
-
 
6649
      ___manager.call(method_call);
-
 
6650
    }
-
 
6651
 
-
 
6652
    public static class getReshippedOrderIds_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
6653
      private List<Long> orderIds;
-
 
6654
      public getReshippedOrderIds_call(List<Long> orderIds, org.apache.thrift.async.AsyncMethodCallback<getReshippedOrderIds_call> resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
-
 
6655
        super(client, protocolFactory, transport, resultHandler, false);
-
 
6656
        this.orderIds = orderIds;
-
 
6657
      }
-
 
6658
 
-
 
6659
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
6660
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getReshippedOrderIds", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
6661
        getReshippedOrderIds_args args = new getReshippedOrderIds_args();
-
 
6662
        args.setOrderIds(orderIds);
-
 
6663
        args.write(prot);
-
 
6664
        prot.writeMessageEnd();
-
 
6665
      }
-
 
6666
 
-
 
6667
      public List<Long> getResult() throws TransactionServiceException, org.apache.thrift.TException {
-
 
6668
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
6669
          throw new IllegalStateException("Method call not finished!");
-
 
6670
        }
-
 
6671
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
6672
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
6673
        return (new Client(prot)).recv_getReshippedOrderIds();
-
 
6674
      }
-
 
6675
    }
-
 
6676
 
6540
  }
6677
  }
6541
 
6678
 
6542
  public static class Processor<I extends Iface> extends in.shop2020.generic.GenericService.Processor implements org.apache.thrift.TProcessor {
6679
  public static class Processor<I extends Iface> extends in.shop2020.generic.GenericService.Processor implements org.apache.thrift.TProcessor {
6543
    private static final Logger LOGGER = LoggerFactory.getLogger(Processor.class.getName());
6680
    private static final Logger LOGGER = LoggerFactory.getLogger(Processor.class.getName());
6544
    public Processor(I iface) {
6681
    public Processor(I iface) {
Line 6640... Line 6777...
6640
      processMap.put("saveEBSSettlementSummary", new saveEBSSettlementSummary());
6777
      processMap.put("saveEBSSettlementSummary", new saveEBSSettlementSummary());
6641
      processMap.put("getSettlementForPaymentId", new getSettlementForPaymentId());
6778
      processMap.put("getSettlementForPaymentId", new getSettlementForPaymentId());
6642
      processMap.put("getEBSSettlementSummaries", new getEBSSettlementSummaries());
6779
      processMap.put("getEBSSettlementSummaries", new getEBSSettlementSummaries());
6643
      processMap.put("markEBSSettlementUploaded", new markEBSSettlementUploaded());
6780
      processMap.put("markEBSSettlementUploaded", new markEBSSettlementUploaded());
6644
      processMap.put("getEBSSettlementDate", new getEBSSettlementDate());
6781
      processMap.put("getEBSSettlementDate", new getEBSSettlementDate());
-
 
6782
      processMap.put("getSettlementsByDate", new getSettlementsByDate());
-
 
6783
      processMap.put("getReshippedOrderIds", new getReshippedOrderIds());
6645
      return processMap;
6784
      return processMap;
6646
    }
6785
    }
6647
 
6786
 
6648
    private static class createTransaction<I extends Iface> extends org.apache.thrift.ProcessFunction<I, createTransaction_args> {
6787
    private static class createTransaction<I extends Iface> extends org.apache.thrift.ProcessFunction<I, createTransaction_args> {
6649
      public createTransaction() {
6788
      public createTransaction() {
Line 8457... Line 8596...
8457
        }
8596
        }
8458
        return result;
8597
        return result;
8459
      }
8598
      }
8460
    }
8599
    }
8461
 
8600
 
-
 
8601
    private static class getSettlementsByDate<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getSettlementsByDate_args> {
-
 
8602
      public getSettlementsByDate() {
-
 
8603
        super("getSettlementsByDate");
-
 
8604
      }
-
 
8605
 
-
 
8606
      protected getSettlementsByDate_args getEmptyArgsInstance() {
-
 
8607
        return new getSettlementsByDate_args();
-
 
8608
      }
-
 
8609
 
-
 
8610
      protected getSettlementsByDate_result getResult(I iface, getSettlementsByDate_args args) throws org.apache.thrift.TException {
-
 
8611
        getSettlementsByDate_result result = new getSettlementsByDate_result();
-
 
8612
        try {
-
 
8613
          result.success = iface.getSettlementsByDate(args.settlementDateFrom, args.settlementDateTo, args.isRefund);
-
 
8614
        } catch (TransactionServiceException ex) {
-
 
8615
          result.ex = ex;
-
 
8616
        }
-
 
8617
        return result;
-
 
8618
      }
-
 
8619
    }
-
 
8620
 
-
 
8621
    private static class getReshippedOrderIds<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getReshippedOrderIds_args> {
-
 
8622
      public getReshippedOrderIds() {
-
 
8623
        super("getReshippedOrderIds");
-
 
8624
      }
-
 
8625
 
-
 
8626
      protected getReshippedOrderIds_args getEmptyArgsInstance() {
-
 
8627
        return new getReshippedOrderIds_args();
-
 
8628
      }
-
 
8629
 
-
 
8630
      protected getReshippedOrderIds_result getResult(I iface, getReshippedOrderIds_args args) throws org.apache.thrift.TException {
-
 
8631
        getReshippedOrderIds_result result = new getReshippedOrderIds_result();
-
 
8632
        try {
-
 
8633
          result.success = iface.getReshippedOrderIds(args.orderIds);
-
 
8634
        } catch (TransactionServiceException ex) {
-
 
8635
          result.ex = ex;
-
 
8636
        }
-
 
8637
        return result;
-
 
8638
      }
-
 
8639
    }
-
 
8640
 
8462
  }
8641
  }
8463
 
8642
 
8464
  public static class createTransaction_args implements org.apache.thrift.TBase<createTransaction_args, createTransaction_args._Fields>, java.io.Serializable, Cloneable   {
8643
  public static class createTransaction_args implements org.apache.thrift.TBase<createTransaction_args, createTransaction_args._Fields>, java.io.Serializable, Cloneable   {
8465
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("createTransaction_args");
8644
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("createTransaction_args");
8466
 
8645
 
Line 77393... Line 77572...
77393
      first = false;
77572
      first = false;
77394
      if (!first) sb.append(", ");
77573
      if (!first) sb.append(", ");
77395
      sb.append("ex:");
77574
      sb.append("ex:");
77396
      if (this.ex == null) {
77575
      if (this.ex == null) {
77397
        sb.append("null");
77576
        sb.append("null");
-
 
77577
      } else {
-
 
77578
        sb.append(this.ex);
-
 
77579
      }
-
 
77580
      first = false;
-
 
77581
      sb.append(")");
-
 
77582
      return sb.toString();
-
 
77583
    }
-
 
77584
 
-
 
77585
    public void validate() throws org.apache.thrift.TException {
-
 
77586
      // check for required fields
-
 
77587
    }
-
 
77588
 
-
 
77589
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
77590
      try {
-
 
77591
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
77592
      } catch (org.apache.thrift.TException te) {
-
 
77593
        throw new java.io.IOException(te);
-
 
77594
      }
-
 
77595
    }
-
 
77596
 
-
 
77597
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
77598
      try {
-
 
77599
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
77600
      } catch (org.apache.thrift.TException te) {
-
 
77601
        throw new java.io.IOException(te);
-
 
77602
      }
-
 
77603
    }
-
 
77604
 
-
 
77605
  }
-
 
77606
 
-
 
77607
  public static class getSettlementsByDate_args implements org.apache.thrift.TBase<getSettlementsByDate_args, getSettlementsByDate_args._Fields>, java.io.Serializable, Cloneable   {
-
 
77608
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getSettlementsByDate_args");
-
 
77609
 
-
 
77610
    private static final org.apache.thrift.protocol.TField SETTLEMENT_DATE_FROM_FIELD_DESC = new org.apache.thrift.protocol.TField("settlementDateFrom", org.apache.thrift.protocol.TType.I64, (short)1);
-
 
77611
    private static final org.apache.thrift.protocol.TField SETTLEMENT_DATE_TO_FIELD_DESC = new org.apache.thrift.protocol.TField("settlementDateTo", org.apache.thrift.protocol.TType.I64, (short)2);
-
 
77612
    private static final org.apache.thrift.protocol.TField IS_REFUND_FIELD_DESC = new org.apache.thrift.protocol.TField("isRefund", org.apache.thrift.protocol.TType.BOOL, (short)3);
-
 
77613
 
-
 
77614
    private long settlementDateFrom; // required
-
 
77615
    private long settlementDateTo; // required
-
 
77616
    private boolean isRefund; // required
-
 
77617
 
-
 
77618
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
77619
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
77620
      SETTLEMENT_DATE_FROM((short)1, "settlementDateFrom"),
-
 
77621
      SETTLEMENT_DATE_TO((short)2, "settlementDateTo"),
-
 
77622
      IS_REFUND((short)3, "isRefund");
-
 
77623
 
-
 
77624
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
77625
 
-
 
77626
      static {
-
 
77627
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
77628
          byName.put(field.getFieldName(), field);
-
 
77629
        }
-
 
77630
      }
-
 
77631
 
-
 
77632
      /**
-
 
77633
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
77634
       */
-
 
77635
      public static _Fields findByThriftId(int fieldId) {
-
 
77636
        switch(fieldId) {
-
 
77637
          case 1: // SETTLEMENT_DATE_FROM
-
 
77638
            return SETTLEMENT_DATE_FROM;
-
 
77639
          case 2: // SETTLEMENT_DATE_TO
-
 
77640
            return SETTLEMENT_DATE_TO;
-
 
77641
          case 3: // IS_REFUND
-
 
77642
            return IS_REFUND;
-
 
77643
          default:
-
 
77644
            return null;
-
 
77645
        }
-
 
77646
      }
-
 
77647
 
-
 
77648
      /**
-
 
77649
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
77650
       * if it is not found.
-
 
77651
       */
-
 
77652
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
77653
        _Fields fields = findByThriftId(fieldId);
-
 
77654
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
77655
        return fields;
-
 
77656
      }
-
 
77657
 
-
 
77658
      /**
-
 
77659
       * Find the _Fields constant that matches name, or null if its not found.
-
 
77660
       */
-
 
77661
      public static _Fields findByName(String name) {
-
 
77662
        return byName.get(name);
-
 
77663
      }
-
 
77664
 
-
 
77665
      private final short _thriftId;
-
 
77666
      private final String _fieldName;
-
 
77667
 
-
 
77668
      _Fields(short thriftId, String fieldName) {
-
 
77669
        _thriftId = thriftId;
-
 
77670
        _fieldName = fieldName;
-
 
77671
      }
-
 
77672
 
-
 
77673
      public short getThriftFieldId() {
-
 
77674
        return _thriftId;
-
 
77675
      }
-
 
77676
 
-
 
77677
      public String getFieldName() {
-
 
77678
        return _fieldName;
-
 
77679
      }
-
 
77680
    }
-
 
77681
 
-
 
77682
    // isset id assignments
-
 
77683
    private static final int __SETTLEMENTDATEFROM_ISSET_ID = 0;
-
 
77684
    private static final int __SETTLEMENTDATETO_ISSET_ID = 1;
-
 
77685
    private static final int __ISREFUND_ISSET_ID = 2;
-
 
77686
    private BitSet __isset_bit_vector = new BitSet(3);
-
 
77687
 
-
 
77688
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
77689
    static {
-
 
77690
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
77691
      tmpMap.put(_Fields.SETTLEMENT_DATE_FROM, new org.apache.thrift.meta_data.FieldMetaData("settlementDateFrom", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
77692
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
77693
      tmpMap.put(_Fields.SETTLEMENT_DATE_TO, new org.apache.thrift.meta_data.FieldMetaData("settlementDateTo", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
77694
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
77695
      tmpMap.put(_Fields.IS_REFUND, new org.apache.thrift.meta_data.FieldMetaData("isRefund", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
77696
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
-
 
77697
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
77698
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getSettlementsByDate_args.class, metaDataMap);
-
 
77699
    }
-
 
77700
 
-
 
77701
    public getSettlementsByDate_args() {
-
 
77702
    }
-
 
77703
 
-
 
77704
    public getSettlementsByDate_args(
-
 
77705
      long settlementDateFrom,
-
 
77706
      long settlementDateTo,
-
 
77707
      boolean isRefund)
-
 
77708
    {
-
 
77709
      this();
-
 
77710
      this.settlementDateFrom = settlementDateFrom;
-
 
77711
      setSettlementDateFromIsSet(true);
-
 
77712
      this.settlementDateTo = settlementDateTo;
-
 
77713
      setSettlementDateToIsSet(true);
-
 
77714
      this.isRefund = isRefund;
-
 
77715
      setIsRefundIsSet(true);
-
 
77716
    }
-
 
77717
 
-
 
77718
    /**
-
 
77719
     * Performs a deep copy on <i>other</i>.
-
 
77720
     */
-
 
77721
    public getSettlementsByDate_args(getSettlementsByDate_args other) {
-
 
77722
      __isset_bit_vector.clear();
-
 
77723
      __isset_bit_vector.or(other.__isset_bit_vector);
-
 
77724
      this.settlementDateFrom = other.settlementDateFrom;
-
 
77725
      this.settlementDateTo = other.settlementDateTo;
-
 
77726
      this.isRefund = other.isRefund;
-
 
77727
    }
-
 
77728
 
-
 
77729
    public getSettlementsByDate_args deepCopy() {
-
 
77730
      return new getSettlementsByDate_args(this);
-
 
77731
    }
-
 
77732
 
-
 
77733
    @Override
-
 
77734
    public void clear() {
-
 
77735
      setSettlementDateFromIsSet(false);
-
 
77736
      this.settlementDateFrom = 0;
-
 
77737
      setSettlementDateToIsSet(false);
-
 
77738
      this.settlementDateTo = 0;
-
 
77739
      setIsRefundIsSet(false);
-
 
77740
      this.isRefund = false;
-
 
77741
    }
-
 
77742
 
-
 
77743
    public long getSettlementDateFrom() {
-
 
77744
      return this.settlementDateFrom;
-
 
77745
    }
-
 
77746
 
-
 
77747
    public void setSettlementDateFrom(long settlementDateFrom) {
-
 
77748
      this.settlementDateFrom = settlementDateFrom;
-
 
77749
      setSettlementDateFromIsSet(true);
-
 
77750
    }
-
 
77751
 
-
 
77752
    public void unsetSettlementDateFrom() {
-
 
77753
      __isset_bit_vector.clear(__SETTLEMENTDATEFROM_ISSET_ID);
-
 
77754
    }
-
 
77755
 
-
 
77756
    /** Returns true if field settlementDateFrom is set (has been assigned a value) and false otherwise */
-
 
77757
    public boolean isSetSettlementDateFrom() {
-
 
77758
      return __isset_bit_vector.get(__SETTLEMENTDATEFROM_ISSET_ID);
-
 
77759
    }
-
 
77760
 
-
 
77761
    public void setSettlementDateFromIsSet(boolean value) {
-
 
77762
      __isset_bit_vector.set(__SETTLEMENTDATEFROM_ISSET_ID, value);
-
 
77763
    }
-
 
77764
 
-
 
77765
    public long getSettlementDateTo() {
-
 
77766
      return this.settlementDateTo;
-
 
77767
    }
-
 
77768
 
-
 
77769
    public void setSettlementDateTo(long settlementDateTo) {
-
 
77770
      this.settlementDateTo = settlementDateTo;
-
 
77771
      setSettlementDateToIsSet(true);
-
 
77772
    }
-
 
77773
 
-
 
77774
    public void unsetSettlementDateTo() {
-
 
77775
      __isset_bit_vector.clear(__SETTLEMENTDATETO_ISSET_ID);
-
 
77776
    }
-
 
77777
 
-
 
77778
    /** Returns true if field settlementDateTo is set (has been assigned a value) and false otherwise */
-
 
77779
    public boolean isSetSettlementDateTo() {
-
 
77780
      return __isset_bit_vector.get(__SETTLEMENTDATETO_ISSET_ID);
-
 
77781
    }
-
 
77782
 
-
 
77783
    public void setSettlementDateToIsSet(boolean value) {
-
 
77784
      __isset_bit_vector.set(__SETTLEMENTDATETO_ISSET_ID, value);
-
 
77785
    }
-
 
77786
 
-
 
77787
    public boolean isIsRefund() {
-
 
77788
      return this.isRefund;
-
 
77789
    }
-
 
77790
 
-
 
77791
    public void setIsRefund(boolean isRefund) {
-
 
77792
      this.isRefund = isRefund;
-
 
77793
      setIsRefundIsSet(true);
-
 
77794
    }
-
 
77795
 
-
 
77796
    public void unsetIsRefund() {
-
 
77797
      __isset_bit_vector.clear(__ISREFUND_ISSET_ID);
-
 
77798
    }
-
 
77799
 
-
 
77800
    /** Returns true if field isRefund is set (has been assigned a value) and false otherwise */
-
 
77801
    public boolean isSetIsRefund() {
-
 
77802
      return __isset_bit_vector.get(__ISREFUND_ISSET_ID);
-
 
77803
    }
-
 
77804
 
-
 
77805
    public void setIsRefundIsSet(boolean value) {
-
 
77806
      __isset_bit_vector.set(__ISREFUND_ISSET_ID, value);
-
 
77807
    }
-
 
77808
 
-
 
77809
    public void setFieldValue(_Fields field, Object value) {
-
 
77810
      switch (field) {
-
 
77811
      case SETTLEMENT_DATE_FROM:
-
 
77812
        if (value == null) {
-
 
77813
          unsetSettlementDateFrom();
-
 
77814
        } else {
-
 
77815
          setSettlementDateFrom((Long)value);
-
 
77816
        }
-
 
77817
        break;
-
 
77818
 
-
 
77819
      case SETTLEMENT_DATE_TO:
-
 
77820
        if (value == null) {
-
 
77821
          unsetSettlementDateTo();
-
 
77822
        } else {
-
 
77823
          setSettlementDateTo((Long)value);
-
 
77824
        }
-
 
77825
        break;
-
 
77826
 
-
 
77827
      case IS_REFUND:
-
 
77828
        if (value == null) {
-
 
77829
          unsetIsRefund();
-
 
77830
        } else {
-
 
77831
          setIsRefund((Boolean)value);
-
 
77832
        }
-
 
77833
        break;
-
 
77834
 
-
 
77835
      }
-
 
77836
    }
-
 
77837
 
-
 
77838
    public Object getFieldValue(_Fields field) {
-
 
77839
      switch (field) {
-
 
77840
      case SETTLEMENT_DATE_FROM:
-
 
77841
        return Long.valueOf(getSettlementDateFrom());
-
 
77842
 
-
 
77843
      case SETTLEMENT_DATE_TO:
-
 
77844
        return Long.valueOf(getSettlementDateTo());
-
 
77845
 
-
 
77846
      case IS_REFUND:
-
 
77847
        return Boolean.valueOf(isIsRefund());
-
 
77848
 
-
 
77849
      }
-
 
77850
      throw new IllegalStateException();
-
 
77851
    }
-
 
77852
 
-
 
77853
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
77854
    public boolean isSet(_Fields field) {
-
 
77855
      if (field == null) {
-
 
77856
        throw new IllegalArgumentException();
-
 
77857
      }
-
 
77858
 
-
 
77859
      switch (field) {
-
 
77860
      case SETTLEMENT_DATE_FROM:
-
 
77861
        return isSetSettlementDateFrom();
-
 
77862
      case SETTLEMENT_DATE_TO:
-
 
77863
        return isSetSettlementDateTo();
-
 
77864
      case IS_REFUND:
-
 
77865
        return isSetIsRefund();
-
 
77866
      }
-
 
77867
      throw new IllegalStateException();
-
 
77868
    }
-
 
77869
 
-
 
77870
    @Override
-
 
77871
    public boolean equals(Object that) {
-
 
77872
      if (that == null)
-
 
77873
        return false;
-
 
77874
      if (that instanceof getSettlementsByDate_args)
-
 
77875
        return this.equals((getSettlementsByDate_args)that);
-
 
77876
      return false;
-
 
77877
    }
-
 
77878
 
-
 
77879
    public boolean equals(getSettlementsByDate_args that) {
-
 
77880
      if (that == null)
-
 
77881
        return false;
-
 
77882
 
-
 
77883
      boolean this_present_settlementDateFrom = true;
-
 
77884
      boolean that_present_settlementDateFrom = true;
-
 
77885
      if (this_present_settlementDateFrom || that_present_settlementDateFrom) {
-
 
77886
        if (!(this_present_settlementDateFrom && that_present_settlementDateFrom))
-
 
77887
          return false;
-
 
77888
        if (this.settlementDateFrom != that.settlementDateFrom)
-
 
77889
          return false;
-
 
77890
      }
-
 
77891
 
-
 
77892
      boolean this_present_settlementDateTo = true;
-
 
77893
      boolean that_present_settlementDateTo = true;
-
 
77894
      if (this_present_settlementDateTo || that_present_settlementDateTo) {
-
 
77895
        if (!(this_present_settlementDateTo && that_present_settlementDateTo))
-
 
77896
          return false;
-
 
77897
        if (this.settlementDateTo != that.settlementDateTo)
-
 
77898
          return false;
-
 
77899
      }
-
 
77900
 
-
 
77901
      boolean this_present_isRefund = true;
-
 
77902
      boolean that_present_isRefund = true;
-
 
77903
      if (this_present_isRefund || that_present_isRefund) {
-
 
77904
        if (!(this_present_isRefund && that_present_isRefund))
-
 
77905
          return false;
-
 
77906
        if (this.isRefund != that.isRefund)
-
 
77907
          return false;
-
 
77908
      }
-
 
77909
 
-
 
77910
      return true;
-
 
77911
    }
-
 
77912
 
-
 
77913
    @Override
-
 
77914
    public int hashCode() {
-
 
77915
      return 0;
-
 
77916
    }
-
 
77917
 
-
 
77918
    public int compareTo(getSettlementsByDate_args other) {
-
 
77919
      if (!getClass().equals(other.getClass())) {
-
 
77920
        return getClass().getName().compareTo(other.getClass().getName());
-
 
77921
      }
-
 
77922
 
-
 
77923
      int lastComparison = 0;
-
 
77924
      getSettlementsByDate_args typedOther = (getSettlementsByDate_args)other;
-
 
77925
 
-
 
77926
      lastComparison = Boolean.valueOf(isSetSettlementDateFrom()).compareTo(typedOther.isSetSettlementDateFrom());
-
 
77927
      if (lastComparison != 0) {
-
 
77928
        return lastComparison;
-
 
77929
      }
-
 
77930
      if (isSetSettlementDateFrom()) {
-
 
77931
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.settlementDateFrom, typedOther.settlementDateFrom);
-
 
77932
        if (lastComparison != 0) {
-
 
77933
          return lastComparison;
-
 
77934
        }
-
 
77935
      }
-
 
77936
      lastComparison = Boolean.valueOf(isSetSettlementDateTo()).compareTo(typedOther.isSetSettlementDateTo());
-
 
77937
      if (lastComparison != 0) {
-
 
77938
        return lastComparison;
-
 
77939
      }
-
 
77940
      if (isSetSettlementDateTo()) {
-
 
77941
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.settlementDateTo, typedOther.settlementDateTo);
-
 
77942
        if (lastComparison != 0) {
-
 
77943
          return lastComparison;
-
 
77944
        }
-
 
77945
      }
-
 
77946
      lastComparison = Boolean.valueOf(isSetIsRefund()).compareTo(typedOther.isSetIsRefund());
-
 
77947
      if (lastComparison != 0) {
-
 
77948
        return lastComparison;
-
 
77949
      }
-
 
77950
      if (isSetIsRefund()) {
-
 
77951
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.isRefund, typedOther.isRefund);
-
 
77952
        if (lastComparison != 0) {
-
 
77953
          return lastComparison;
-
 
77954
        }
-
 
77955
      }
-
 
77956
      return 0;
-
 
77957
    }
-
 
77958
 
-
 
77959
    public _Fields fieldForId(int fieldId) {
-
 
77960
      return _Fields.findByThriftId(fieldId);
-
 
77961
    }
-
 
77962
 
-
 
77963
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
77964
      org.apache.thrift.protocol.TField field;
-
 
77965
      iprot.readStructBegin();
-
 
77966
      while (true)
-
 
77967
      {
-
 
77968
        field = iprot.readFieldBegin();
-
 
77969
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
77970
          break;
-
 
77971
        }
-
 
77972
        switch (field.id) {
-
 
77973
          case 1: // SETTLEMENT_DATE_FROM
-
 
77974
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
77975
              this.settlementDateFrom = iprot.readI64();
-
 
77976
              setSettlementDateFromIsSet(true);
-
 
77977
            } else { 
-
 
77978
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
77979
            }
-
 
77980
            break;
-
 
77981
          case 2: // SETTLEMENT_DATE_TO
-
 
77982
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
77983
              this.settlementDateTo = iprot.readI64();
-
 
77984
              setSettlementDateToIsSet(true);
-
 
77985
            } else { 
-
 
77986
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
77987
            }
-
 
77988
            break;
-
 
77989
          case 3: // IS_REFUND
-
 
77990
            if (field.type == org.apache.thrift.protocol.TType.BOOL) {
-
 
77991
              this.isRefund = iprot.readBool();
-
 
77992
              setIsRefundIsSet(true);
-
 
77993
            } else { 
-
 
77994
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
77995
            }
-
 
77996
            break;
-
 
77997
          default:
-
 
77998
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
77999
        }
-
 
78000
        iprot.readFieldEnd();
-
 
78001
      }
-
 
78002
      iprot.readStructEnd();
-
 
78003
      validate();
-
 
78004
    }
-
 
78005
 
-
 
78006
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
78007
      validate();
-
 
78008
 
-
 
78009
      oprot.writeStructBegin(STRUCT_DESC);
-
 
78010
      oprot.writeFieldBegin(SETTLEMENT_DATE_FROM_FIELD_DESC);
-
 
78011
      oprot.writeI64(this.settlementDateFrom);
-
 
78012
      oprot.writeFieldEnd();
-
 
78013
      oprot.writeFieldBegin(SETTLEMENT_DATE_TO_FIELD_DESC);
-
 
78014
      oprot.writeI64(this.settlementDateTo);
-
 
78015
      oprot.writeFieldEnd();
-
 
78016
      oprot.writeFieldBegin(IS_REFUND_FIELD_DESC);
-
 
78017
      oprot.writeBool(this.isRefund);
-
 
78018
      oprot.writeFieldEnd();
-
 
78019
      oprot.writeFieldStop();
-
 
78020
      oprot.writeStructEnd();
-
 
78021
    }
-
 
78022
 
-
 
78023
    @Override
-
 
78024
    public String toString() {
-
 
78025
      StringBuilder sb = new StringBuilder("getSettlementsByDate_args(");
-
 
78026
      boolean first = true;
-
 
78027
 
-
 
78028
      sb.append("settlementDateFrom:");
-
 
78029
      sb.append(this.settlementDateFrom);
-
 
78030
      first = false;
-
 
78031
      if (!first) sb.append(", ");
-
 
78032
      sb.append("settlementDateTo:");
-
 
78033
      sb.append(this.settlementDateTo);
-
 
78034
      first = false;
-
 
78035
      if (!first) sb.append(", ");
-
 
78036
      sb.append("isRefund:");
-
 
78037
      sb.append(this.isRefund);
-
 
78038
      first = false;
-
 
78039
      sb.append(")");
-
 
78040
      return sb.toString();
-
 
78041
    }
-
 
78042
 
-
 
78043
    public void validate() throws org.apache.thrift.TException {
-
 
78044
      // check for required fields
-
 
78045
    }
-
 
78046
 
-
 
78047
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
78048
      try {
-
 
78049
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
78050
      } catch (org.apache.thrift.TException te) {
-
 
78051
        throw new java.io.IOException(te);
-
 
78052
      }
-
 
78053
    }
-
 
78054
 
-
 
78055
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
78056
      try {
-
 
78057
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
78058
        __isset_bit_vector = new BitSet(1);
-
 
78059
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
78060
      } catch (org.apache.thrift.TException te) {
-
 
78061
        throw new java.io.IOException(te);
-
 
78062
      }
-
 
78063
    }
-
 
78064
 
-
 
78065
  }
-
 
78066
 
-
 
78067
  public static class getSettlementsByDate_result implements org.apache.thrift.TBase<getSettlementsByDate_result, getSettlementsByDate_result._Fields>, java.io.Serializable, Cloneable   {
-
 
78068
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getSettlementsByDate_result");
-
 
78069
 
-
 
78070
    private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.LIST, (short)0);
-
 
78071
    private static final org.apache.thrift.protocol.TField EX_FIELD_DESC = new org.apache.thrift.protocol.TField("ex", org.apache.thrift.protocol.TType.STRUCT, (short)1);
-
 
78072
 
-
 
78073
    private List<PaymentSettlement> success; // required
-
 
78074
    private TransactionServiceException ex; // required
-
 
78075
 
-
 
78076
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
78077
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
78078
      SUCCESS((short)0, "success"),
-
 
78079
      EX((short)1, "ex");
-
 
78080
 
-
 
78081
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
78082
 
-
 
78083
      static {
-
 
78084
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
78085
          byName.put(field.getFieldName(), field);
-
 
78086
        }
-
 
78087
      }
-
 
78088
 
-
 
78089
      /**
-
 
78090
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
78091
       */
-
 
78092
      public static _Fields findByThriftId(int fieldId) {
-
 
78093
        switch(fieldId) {
-
 
78094
          case 0: // SUCCESS
-
 
78095
            return SUCCESS;
-
 
78096
          case 1: // EX
-
 
78097
            return EX;
-
 
78098
          default:
-
 
78099
            return null;
-
 
78100
        }
-
 
78101
      }
-
 
78102
 
-
 
78103
      /**
-
 
78104
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
78105
       * if it is not found.
-
 
78106
       */
-
 
78107
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
78108
        _Fields fields = findByThriftId(fieldId);
-
 
78109
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
78110
        return fields;
-
 
78111
      }
-
 
78112
 
-
 
78113
      /**
-
 
78114
       * Find the _Fields constant that matches name, or null if its not found.
-
 
78115
       */
-
 
78116
      public static _Fields findByName(String name) {
-
 
78117
        return byName.get(name);
-
 
78118
      }
-
 
78119
 
-
 
78120
      private final short _thriftId;
-
 
78121
      private final String _fieldName;
-
 
78122
 
-
 
78123
      _Fields(short thriftId, String fieldName) {
-
 
78124
        _thriftId = thriftId;
-
 
78125
        _fieldName = fieldName;
-
 
78126
      }
-
 
78127
 
-
 
78128
      public short getThriftFieldId() {
-
 
78129
        return _thriftId;
-
 
78130
      }
-
 
78131
 
-
 
78132
      public String getFieldName() {
-
 
78133
        return _fieldName;
-
 
78134
      }
-
 
78135
    }
-
 
78136
 
-
 
78137
    // isset id assignments
-
 
78138
 
-
 
78139
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
78140
    static {
-
 
78141
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
78142
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
78143
          new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, 
-
 
78144
              new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, PaymentSettlement.class))));
-
 
78145
      tmpMap.put(_Fields.EX, new org.apache.thrift.meta_data.FieldMetaData("ex", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
78146
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT)));
-
 
78147
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
78148
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getSettlementsByDate_result.class, metaDataMap);
-
 
78149
    }
-
 
78150
 
-
 
78151
    public getSettlementsByDate_result() {
-
 
78152
    }
-
 
78153
 
-
 
78154
    public getSettlementsByDate_result(
-
 
78155
      List<PaymentSettlement> success,
-
 
78156
      TransactionServiceException ex)
-
 
78157
    {
-
 
78158
      this();
-
 
78159
      this.success = success;
-
 
78160
      this.ex = ex;
-
 
78161
    }
-
 
78162
 
-
 
78163
    /**
-
 
78164
     * Performs a deep copy on <i>other</i>.
-
 
78165
     */
-
 
78166
    public getSettlementsByDate_result(getSettlementsByDate_result other) {
-
 
78167
      if (other.isSetSuccess()) {
-
 
78168
        List<PaymentSettlement> __this__success = new ArrayList<PaymentSettlement>();
-
 
78169
        for (PaymentSettlement other_element : other.success) {
-
 
78170
          __this__success.add(new PaymentSettlement(other_element));
-
 
78171
        }
-
 
78172
        this.success = __this__success;
-
 
78173
      }
-
 
78174
      if (other.isSetEx()) {
-
 
78175
        this.ex = new TransactionServiceException(other.ex);
-
 
78176
      }
-
 
78177
    }
-
 
78178
 
-
 
78179
    public getSettlementsByDate_result deepCopy() {
-
 
78180
      return new getSettlementsByDate_result(this);
-
 
78181
    }
-
 
78182
 
-
 
78183
    @Override
-
 
78184
    public void clear() {
-
 
78185
      this.success = null;
-
 
78186
      this.ex = null;
-
 
78187
    }
-
 
78188
 
-
 
78189
    public int getSuccessSize() {
-
 
78190
      return (this.success == null) ? 0 : this.success.size();
-
 
78191
    }
-
 
78192
 
-
 
78193
    public java.util.Iterator<PaymentSettlement> getSuccessIterator() {
-
 
78194
      return (this.success == null) ? null : this.success.iterator();
-
 
78195
    }
-
 
78196
 
-
 
78197
    public void addToSuccess(PaymentSettlement elem) {
-
 
78198
      if (this.success == null) {
-
 
78199
        this.success = new ArrayList<PaymentSettlement>();
-
 
78200
      }
-
 
78201
      this.success.add(elem);
-
 
78202
    }
-
 
78203
 
-
 
78204
    public List<PaymentSettlement> getSuccess() {
-
 
78205
      return this.success;
-
 
78206
    }
-
 
78207
 
-
 
78208
    public void setSuccess(List<PaymentSettlement> success) {
-
 
78209
      this.success = success;
-
 
78210
    }
-
 
78211
 
-
 
78212
    public void unsetSuccess() {
-
 
78213
      this.success = null;
-
 
78214
    }
-
 
78215
 
-
 
78216
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
-
 
78217
    public boolean isSetSuccess() {
-
 
78218
      return this.success != null;
-
 
78219
    }
-
 
78220
 
-
 
78221
    public void setSuccessIsSet(boolean value) {
-
 
78222
      if (!value) {
-
 
78223
        this.success = null;
-
 
78224
      }
-
 
78225
    }
-
 
78226
 
-
 
78227
    public TransactionServiceException getEx() {
-
 
78228
      return this.ex;
-
 
78229
    }
-
 
78230
 
-
 
78231
    public void setEx(TransactionServiceException ex) {
-
 
78232
      this.ex = ex;
-
 
78233
    }
-
 
78234
 
-
 
78235
    public void unsetEx() {
-
 
78236
      this.ex = null;
-
 
78237
    }
-
 
78238
 
-
 
78239
    /** Returns true if field ex is set (has been assigned a value) and false otherwise */
-
 
78240
    public boolean isSetEx() {
-
 
78241
      return this.ex != null;
-
 
78242
    }
-
 
78243
 
-
 
78244
    public void setExIsSet(boolean value) {
-
 
78245
      if (!value) {
-
 
78246
        this.ex = null;
-
 
78247
      }
-
 
78248
    }
-
 
78249
 
-
 
78250
    public void setFieldValue(_Fields field, Object value) {
-
 
78251
      switch (field) {
-
 
78252
      case SUCCESS:
-
 
78253
        if (value == null) {
-
 
78254
          unsetSuccess();
-
 
78255
        } else {
-
 
78256
          setSuccess((List<PaymentSettlement>)value);
-
 
78257
        }
-
 
78258
        break;
-
 
78259
 
-
 
78260
      case EX:
-
 
78261
        if (value == null) {
-
 
78262
          unsetEx();
-
 
78263
        } else {
-
 
78264
          setEx((TransactionServiceException)value);
-
 
78265
        }
-
 
78266
        break;
-
 
78267
 
-
 
78268
      }
-
 
78269
    }
-
 
78270
 
-
 
78271
    public Object getFieldValue(_Fields field) {
-
 
78272
      switch (field) {
-
 
78273
      case SUCCESS:
-
 
78274
        return getSuccess();
-
 
78275
 
-
 
78276
      case EX:
-
 
78277
        return getEx();
-
 
78278
 
-
 
78279
      }
-
 
78280
      throw new IllegalStateException();
-
 
78281
    }
-
 
78282
 
-
 
78283
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
78284
    public boolean isSet(_Fields field) {
-
 
78285
      if (field == null) {
-
 
78286
        throw new IllegalArgumentException();
-
 
78287
      }
-
 
78288
 
-
 
78289
      switch (field) {
-
 
78290
      case SUCCESS:
-
 
78291
        return isSetSuccess();
-
 
78292
      case EX:
-
 
78293
        return isSetEx();
-
 
78294
      }
-
 
78295
      throw new IllegalStateException();
-
 
78296
    }
-
 
78297
 
-
 
78298
    @Override
-
 
78299
    public boolean equals(Object that) {
-
 
78300
      if (that == null)
-
 
78301
        return false;
-
 
78302
      if (that instanceof getSettlementsByDate_result)
-
 
78303
        return this.equals((getSettlementsByDate_result)that);
-
 
78304
      return false;
-
 
78305
    }
-
 
78306
 
-
 
78307
    public boolean equals(getSettlementsByDate_result that) {
-
 
78308
      if (that == null)
-
 
78309
        return false;
-
 
78310
 
-
 
78311
      boolean this_present_success = true && this.isSetSuccess();
-
 
78312
      boolean that_present_success = true && that.isSetSuccess();
-
 
78313
      if (this_present_success || that_present_success) {
-
 
78314
        if (!(this_present_success && that_present_success))
-
 
78315
          return false;
-
 
78316
        if (!this.success.equals(that.success))
-
 
78317
          return false;
-
 
78318
      }
-
 
78319
 
-
 
78320
      boolean this_present_ex = true && this.isSetEx();
-
 
78321
      boolean that_present_ex = true && that.isSetEx();
-
 
78322
      if (this_present_ex || that_present_ex) {
-
 
78323
        if (!(this_present_ex && that_present_ex))
-
 
78324
          return false;
-
 
78325
        if (!this.ex.equals(that.ex))
-
 
78326
          return false;
-
 
78327
      }
-
 
78328
 
-
 
78329
      return true;
-
 
78330
    }
-
 
78331
 
-
 
78332
    @Override
-
 
78333
    public int hashCode() {
-
 
78334
      return 0;
-
 
78335
    }
-
 
78336
 
-
 
78337
    public int compareTo(getSettlementsByDate_result other) {
-
 
78338
      if (!getClass().equals(other.getClass())) {
-
 
78339
        return getClass().getName().compareTo(other.getClass().getName());
-
 
78340
      }
-
 
78341
 
-
 
78342
      int lastComparison = 0;
-
 
78343
      getSettlementsByDate_result typedOther = (getSettlementsByDate_result)other;
-
 
78344
 
-
 
78345
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
-
 
78346
      if (lastComparison != 0) {
-
 
78347
        return lastComparison;
-
 
78348
      }
-
 
78349
      if (isSetSuccess()) {
-
 
78350
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
-
 
78351
        if (lastComparison != 0) {
-
 
78352
          return lastComparison;
-
 
78353
        }
-
 
78354
      }
-
 
78355
      lastComparison = Boolean.valueOf(isSetEx()).compareTo(typedOther.isSetEx());
-
 
78356
      if (lastComparison != 0) {
-
 
78357
        return lastComparison;
-
 
78358
      }
-
 
78359
      if (isSetEx()) {
-
 
78360
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.ex, typedOther.ex);
-
 
78361
        if (lastComparison != 0) {
-
 
78362
          return lastComparison;
-
 
78363
        }
-
 
78364
      }
-
 
78365
      return 0;
-
 
78366
    }
-
 
78367
 
-
 
78368
    public _Fields fieldForId(int fieldId) {
-
 
78369
      return _Fields.findByThriftId(fieldId);
-
 
78370
    }
-
 
78371
 
-
 
78372
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
78373
      org.apache.thrift.protocol.TField field;
-
 
78374
      iprot.readStructBegin();
-
 
78375
      while (true)
-
 
78376
      {
-
 
78377
        field = iprot.readFieldBegin();
-
 
78378
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
78379
          break;
-
 
78380
        }
-
 
78381
        switch (field.id) {
-
 
78382
          case 0: // SUCCESS
-
 
78383
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
-
 
78384
              {
-
 
78385
                org.apache.thrift.protocol.TList _list183 = iprot.readListBegin();
-
 
78386
                this.success = new ArrayList<PaymentSettlement>(_list183.size);
-
 
78387
                for (int _i184 = 0; _i184 < _list183.size; ++_i184)
-
 
78388
                {
-
 
78389
                  PaymentSettlement _elem185; // required
-
 
78390
                  _elem185 = new PaymentSettlement();
-
 
78391
                  _elem185.read(iprot);
-
 
78392
                  this.success.add(_elem185);
-
 
78393
                }
-
 
78394
                iprot.readListEnd();
-
 
78395
              }
-
 
78396
            } else { 
-
 
78397
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
78398
            }
-
 
78399
            break;
-
 
78400
          case 1: // EX
-
 
78401
            if (field.type == org.apache.thrift.protocol.TType.STRUCT) {
-
 
78402
              this.ex = new TransactionServiceException();
-
 
78403
              this.ex.read(iprot);
-
 
78404
            } else { 
-
 
78405
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
78406
            }
-
 
78407
            break;
-
 
78408
          default:
-
 
78409
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
78410
        }
-
 
78411
        iprot.readFieldEnd();
-
 
78412
      }
-
 
78413
      iprot.readStructEnd();
-
 
78414
      validate();
-
 
78415
    }
-
 
78416
 
-
 
78417
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
78418
      oprot.writeStructBegin(STRUCT_DESC);
-
 
78419
 
-
 
78420
      if (this.isSetSuccess()) {
-
 
78421
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-
 
78422
        {
-
 
78423
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
-
 
78424
          for (PaymentSettlement _iter186 : this.success)
-
 
78425
          {
-
 
78426
            _iter186.write(oprot);
-
 
78427
          }
-
 
78428
          oprot.writeListEnd();
-
 
78429
        }
-
 
78430
        oprot.writeFieldEnd();
-
 
78431
      } else if (this.isSetEx()) {
-
 
78432
        oprot.writeFieldBegin(EX_FIELD_DESC);
-
 
78433
        this.ex.write(oprot);
-
 
78434
        oprot.writeFieldEnd();
-
 
78435
      }
-
 
78436
      oprot.writeFieldStop();
-
 
78437
      oprot.writeStructEnd();
-
 
78438
    }
-
 
78439
 
-
 
78440
    @Override
-
 
78441
    public String toString() {
-
 
78442
      StringBuilder sb = new StringBuilder("getSettlementsByDate_result(");
-
 
78443
      boolean first = true;
-
 
78444
 
-
 
78445
      sb.append("success:");
-
 
78446
      if (this.success == null) {
-
 
78447
        sb.append("null");
-
 
78448
      } else {
-
 
78449
        sb.append(this.success);
-
 
78450
      }
-
 
78451
      first = false;
-
 
78452
      if (!first) sb.append(", ");
-
 
78453
      sb.append("ex:");
-
 
78454
      if (this.ex == null) {
-
 
78455
        sb.append("null");
-
 
78456
      } else {
-
 
78457
        sb.append(this.ex);
-
 
78458
      }
-
 
78459
      first = false;
-
 
78460
      sb.append(")");
-
 
78461
      return sb.toString();
-
 
78462
    }
-
 
78463
 
-
 
78464
    public void validate() throws org.apache.thrift.TException {
-
 
78465
      // check for required fields
-
 
78466
    }
-
 
78467
 
-
 
78468
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
78469
      try {
-
 
78470
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
78471
      } catch (org.apache.thrift.TException te) {
-
 
78472
        throw new java.io.IOException(te);
-
 
78473
      }
-
 
78474
    }
-
 
78475
 
-
 
78476
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
78477
      try {
-
 
78478
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
78479
      } catch (org.apache.thrift.TException te) {
-
 
78480
        throw new java.io.IOException(te);
-
 
78481
      }
-
 
78482
    }
-
 
78483
 
-
 
78484
  }
-
 
78485
 
-
 
78486
  public static class getReshippedOrderIds_args implements org.apache.thrift.TBase<getReshippedOrderIds_args, getReshippedOrderIds_args._Fields>, java.io.Serializable, Cloneable   {
-
 
78487
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getReshippedOrderIds_args");
-
 
78488
 
-
 
78489
    private static final org.apache.thrift.protocol.TField ORDER_IDS_FIELD_DESC = new org.apache.thrift.protocol.TField("orderIds", org.apache.thrift.protocol.TType.LIST, (short)1);
-
 
78490
 
-
 
78491
    private List<Long> orderIds; // required
-
 
78492
 
-
 
78493
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
78494
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
78495
      ORDER_IDS((short)1, "orderIds");
-
 
78496
 
-
 
78497
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
78498
 
-
 
78499
      static {
-
 
78500
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
78501
          byName.put(field.getFieldName(), field);
-
 
78502
        }
-
 
78503
      }
-
 
78504
 
-
 
78505
      /**
-
 
78506
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
78507
       */
-
 
78508
      public static _Fields findByThriftId(int fieldId) {
-
 
78509
        switch(fieldId) {
-
 
78510
          case 1: // ORDER_IDS
-
 
78511
            return ORDER_IDS;
-
 
78512
          default:
-
 
78513
            return null;
-
 
78514
        }
-
 
78515
      }
-
 
78516
 
-
 
78517
      /**
-
 
78518
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
78519
       * if it is not found.
-
 
78520
       */
-
 
78521
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
78522
        _Fields fields = findByThriftId(fieldId);
-
 
78523
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
78524
        return fields;
-
 
78525
      }
-
 
78526
 
-
 
78527
      /**
-
 
78528
       * Find the _Fields constant that matches name, or null if its not found.
-
 
78529
       */
-
 
78530
      public static _Fields findByName(String name) {
-
 
78531
        return byName.get(name);
-
 
78532
      }
-
 
78533
 
-
 
78534
      private final short _thriftId;
-
 
78535
      private final String _fieldName;
-
 
78536
 
-
 
78537
      _Fields(short thriftId, String fieldName) {
-
 
78538
        _thriftId = thriftId;
-
 
78539
        _fieldName = fieldName;
-
 
78540
      }
-
 
78541
 
-
 
78542
      public short getThriftFieldId() {
-
 
78543
        return _thriftId;
-
 
78544
      }
-
 
78545
 
-
 
78546
      public String getFieldName() {
-
 
78547
        return _fieldName;
-
 
78548
      }
-
 
78549
    }
-
 
78550
 
-
 
78551
    // isset id assignments
-
 
78552
 
-
 
78553
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
78554
    static {
-
 
78555
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
78556
      tmpMap.put(_Fields.ORDER_IDS, new org.apache.thrift.meta_data.FieldMetaData("orderIds", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
78557
          new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, 
-
 
78558
              new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64))));
-
 
78559
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
78560
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getReshippedOrderIds_args.class, metaDataMap);
-
 
78561
    }
-
 
78562
 
-
 
78563
    public getReshippedOrderIds_args() {
-
 
78564
    }
-
 
78565
 
-
 
78566
    public getReshippedOrderIds_args(
-
 
78567
      List<Long> orderIds)
-
 
78568
    {
-
 
78569
      this();
-
 
78570
      this.orderIds = orderIds;
-
 
78571
    }
-
 
78572
 
-
 
78573
    /**
-
 
78574
     * Performs a deep copy on <i>other</i>.
-
 
78575
     */
-
 
78576
    public getReshippedOrderIds_args(getReshippedOrderIds_args other) {
-
 
78577
      if (other.isSetOrderIds()) {
-
 
78578
        List<Long> __this__orderIds = new ArrayList<Long>();
-
 
78579
        for (Long other_element : other.orderIds) {
-
 
78580
          __this__orderIds.add(other_element);
-
 
78581
        }
-
 
78582
        this.orderIds = __this__orderIds;
-
 
78583
      }
-
 
78584
    }
-
 
78585
 
-
 
78586
    public getReshippedOrderIds_args deepCopy() {
-
 
78587
      return new getReshippedOrderIds_args(this);
-
 
78588
    }
-
 
78589
 
-
 
78590
    @Override
-
 
78591
    public void clear() {
-
 
78592
      this.orderIds = null;
-
 
78593
    }
-
 
78594
 
-
 
78595
    public int getOrderIdsSize() {
-
 
78596
      return (this.orderIds == null) ? 0 : this.orderIds.size();
-
 
78597
    }
-
 
78598
 
-
 
78599
    public java.util.Iterator<Long> getOrderIdsIterator() {
-
 
78600
      return (this.orderIds == null) ? null : this.orderIds.iterator();
-
 
78601
    }
-
 
78602
 
-
 
78603
    public void addToOrderIds(long elem) {
-
 
78604
      if (this.orderIds == null) {
-
 
78605
        this.orderIds = new ArrayList<Long>();
-
 
78606
      }
-
 
78607
      this.orderIds.add(elem);
-
 
78608
    }
-
 
78609
 
-
 
78610
    public List<Long> getOrderIds() {
-
 
78611
      return this.orderIds;
-
 
78612
    }
-
 
78613
 
-
 
78614
    public void setOrderIds(List<Long> orderIds) {
-
 
78615
      this.orderIds = orderIds;
-
 
78616
    }
-
 
78617
 
-
 
78618
    public void unsetOrderIds() {
-
 
78619
      this.orderIds = null;
-
 
78620
    }
-
 
78621
 
-
 
78622
    /** Returns true if field orderIds is set (has been assigned a value) and false otherwise */
-
 
78623
    public boolean isSetOrderIds() {
-
 
78624
      return this.orderIds != null;
-
 
78625
    }
-
 
78626
 
-
 
78627
    public void setOrderIdsIsSet(boolean value) {
-
 
78628
      if (!value) {
-
 
78629
        this.orderIds = null;
-
 
78630
      }
-
 
78631
    }
-
 
78632
 
-
 
78633
    public void setFieldValue(_Fields field, Object value) {
-
 
78634
      switch (field) {
-
 
78635
      case ORDER_IDS:
-
 
78636
        if (value == null) {
-
 
78637
          unsetOrderIds();
-
 
78638
        } else {
-
 
78639
          setOrderIds((List<Long>)value);
-
 
78640
        }
-
 
78641
        break;
-
 
78642
 
-
 
78643
      }
-
 
78644
    }
-
 
78645
 
-
 
78646
    public Object getFieldValue(_Fields field) {
-
 
78647
      switch (field) {
-
 
78648
      case ORDER_IDS:
-
 
78649
        return getOrderIds();
-
 
78650
 
-
 
78651
      }
-
 
78652
      throw new IllegalStateException();
-
 
78653
    }
-
 
78654
 
-
 
78655
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
78656
    public boolean isSet(_Fields field) {
-
 
78657
      if (field == null) {
-
 
78658
        throw new IllegalArgumentException();
-
 
78659
      }
-
 
78660
 
-
 
78661
      switch (field) {
-
 
78662
      case ORDER_IDS:
-
 
78663
        return isSetOrderIds();
-
 
78664
      }
-
 
78665
      throw new IllegalStateException();
-
 
78666
    }
-
 
78667
 
-
 
78668
    @Override
-
 
78669
    public boolean equals(Object that) {
-
 
78670
      if (that == null)
-
 
78671
        return false;
-
 
78672
      if (that instanceof getReshippedOrderIds_args)
-
 
78673
        return this.equals((getReshippedOrderIds_args)that);
-
 
78674
      return false;
-
 
78675
    }
-
 
78676
 
-
 
78677
    public boolean equals(getReshippedOrderIds_args that) {
-
 
78678
      if (that == null)
-
 
78679
        return false;
-
 
78680
 
-
 
78681
      boolean this_present_orderIds = true && this.isSetOrderIds();
-
 
78682
      boolean that_present_orderIds = true && that.isSetOrderIds();
-
 
78683
      if (this_present_orderIds || that_present_orderIds) {
-
 
78684
        if (!(this_present_orderIds && that_present_orderIds))
-
 
78685
          return false;
-
 
78686
        if (!this.orderIds.equals(that.orderIds))
-
 
78687
          return false;
-
 
78688
      }
-
 
78689
 
-
 
78690
      return true;
-
 
78691
    }
-
 
78692
 
-
 
78693
    @Override
-
 
78694
    public int hashCode() {
-
 
78695
      return 0;
-
 
78696
    }
-
 
78697
 
-
 
78698
    public int compareTo(getReshippedOrderIds_args other) {
-
 
78699
      if (!getClass().equals(other.getClass())) {
-
 
78700
        return getClass().getName().compareTo(other.getClass().getName());
-
 
78701
      }
-
 
78702
 
-
 
78703
      int lastComparison = 0;
-
 
78704
      getReshippedOrderIds_args typedOther = (getReshippedOrderIds_args)other;
-
 
78705
 
-
 
78706
      lastComparison = Boolean.valueOf(isSetOrderIds()).compareTo(typedOther.isSetOrderIds());
-
 
78707
      if (lastComparison != 0) {
-
 
78708
        return lastComparison;
-
 
78709
      }
-
 
78710
      if (isSetOrderIds()) {
-
 
78711
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.orderIds, typedOther.orderIds);
-
 
78712
        if (lastComparison != 0) {
-
 
78713
          return lastComparison;
-
 
78714
        }
-
 
78715
      }
-
 
78716
      return 0;
-
 
78717
    }
-
 
78718
 
-
 
78719
    public _Fields fieldForId(int fieldId) {
-
 
78720
      return _Fields.findByThriftId(fieldId);
-
 
78721
    }
-
 
78722
 
-
 
78723
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
78724
      org.apache.thrift.protocol.TField field;
-
 
78725
      iprot.readStructBegin();
-
 
78726
      while (true)
-
 
78727
      {
-
 
78728
        field = iprot.readFieldBegin();
-
 
78729
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
78730
          break;
-
 
78731
        }
-
 
78732
        switch (field.id) {
-
 
78733
          case 1: // ORDER_IDS
-
 
78734
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
-
 
78735
              {
-
 
78736
                org.apache.thrift.protocol.TList _list187 = iprot.readListBegin();
-
 
78737
                this.orderIds = new ArrayList<Long>(_list187.size);
-
 
78738
                for (int _i188 = 0; _i188 < _list187.size; ++_i188)
-
 
78739
                {
-
 
78740
                  long _elem189; // required
-
 
78741
                  _elem189 = iprot.readI64();
-
 
78742
                  this.orderIds.add(_elem189);
-
 
78743
                }
-
 
78744
                iprot.readListEnd();
-
 
78745
              }
-
 
78746
            } else { 
-
 
78747
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
78748
            }
-
 
78749
            break;
-
 
78750
          default:
-
 
78751
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
78752
        }
-
 
78753
        iprot.readFieldEnd();
-
 
78754
      }
-
 
78755
      iprot.readStructEnd();
-
 
78756
      validate();
-
 
78757
    }
-
 
78758
 
-
 
78759
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
78760
      validate();
-
 
78761
 
-
 
78762
      oprot.writeStructBegin(STRUCT_DESC);
-
 
78763
      if (this.orderIds != null) {
-
 
78764
        oprot.writeFieldBegin(ORDER_IDS_FIELD_DESC);
-
 
78765
        {
-
 
78766
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.orderIds.size()));
-
 
78767
          for (long _iter190 : this.orderIds)
-
 
78768
          {
-
 
78769
            oprot.writeI64(_iter190);
-
 
78770
          }
-
 
78771
          oprot.writeListEnd();
-
 
78772
        }
-
 
78773
        oprot.writeFieldEnd();
-
 
78774
      }
-
 
78775
      oprot.writeFieldStop();
-
 
78776
      oprot.writeStructEnd();
-
 
78777
    }
-
 
78778
 
-
 
78779
    @Override
-
 
78780
    public String toString() {
-
 
78781
      StringBuilder sb = new StringBuilder("getReshippedOrderIds_args(");
-
 
78782
      boolean first = true;
-
 
78783
 
-
 
78784
      sb.append("orderIds:");
-
 
78785
      if (this.orderIds == null) {
-
 
78786
        sb.append("null");
-
 
78787
      } else {
-
 
78788
        sb.append(this.orderIds);
-
 
78789
      }
-
 
78790
      first = false;
-
 
78791
      sb.append(")");
-
 
78792
      return sb.toString();
-
 
78793
    }
-
 
78794
 
-
 
78795
    public void validate() throws org.apache.thrift.TException {
-
 
78796
      // check for required fields
-
 
78797
    }
-
 
78798
 
-
 
78799
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
78800
      try {
-
 
78801
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
78802
      } catch (org.apache.thrift.TException te) {
-
 
78803
        throw new java.io.IOException(te);
-
 
78804
      }
-
 
78805
    }
-
 
78806
 
-
 
78807
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
78808
      try {
-
 
78809
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
78810
      } catch (org.apache.thrift.TException te) {
-
 
78811
        throw new java.io.IOException(te);
-
 
78812
      }
-
 
78813
    }
-
 
78814
 
-
 
78815
  }
-
 
78816
 
-
 
78817
  public static class getReshippedOrderIds_result implements org.apache.thrift.TBase<getReshippedOrderIds_result, getReshippedOrderIds_result._Fields>, java.io.Serializable, Cloneable   {
-
 
78818
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getReshippedOrderIds_result");
-
 
78819
 
-
 
78820
    private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.LIST, (short)0);
-
 
78821
    private static final org.apache.thrift.protocol.TField EX_FIELD_DESC = new org.apache.thrift.protocol.TField("ex", org.apache.thrift.protocol.TType.STRUCT, (short)1);
-
 
78822
 
-
 
78823
    private List<Long> success; // required
-
 
78824
    private TransactionServiceException ex; // required
-
 
78825
 
-
 
78826
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
78827
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
78828
      SUCCESS((short)0, "success"),
-
 
78829
      EX((short)1, "ex");
-
 
78830
 
-
 
78831
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
78832
 
-
 
78833
      static {
-
 
78834
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
78835
          byName.put(field.getFieldName(), field);
-
 
78836
        }
-
 
78837
      }
-
 
78838
 
-
 
78839
      /**
-
 
78840
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
78841
       */
-
 
78842
      public static _Fields findByThriftId(int fieldId) {
-
 
78843
        switch(fieldId) {
-
 
78844
          case 0: // SUCCESS
-
 
78845
            return SUCCESS;
-
 
78846
          case 1: // EX
-
 
78847
            return EX;
-
 
78848
          default:
-
 
78849
            return null;
-
 
78850
        }
-
 
78851
      }
-
 
78852
 
-
 
78853
      /**
-
 
78854
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
78855
       * if it is not found.
-
 
78856
       */
-
 
78857
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
78858
        _Fields fields = findByThriftId(fieldId);
-
 
78859
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
78860
        return fields;
-
 
78861
      }
-
 
78862
 
-
 
78863
      /**
-
 
78864
       * Find the _Fields constant that matches name, or null if its not found.
-
 
78865
       */
-
 
78866
      public static _Fields findByName(String name) {
-
 
78867
        return byName.get(name);
-
 
78868
      }
-
 
78869
 
-
 
78870
      private final short _thriftId;
-
 
78871
      private final String _fieldName;
-
 
78872
 
-
 
78873
      _Fields(short thriftId, String fieldName) {
-
 
78874
        _thriftId = thriftId;
-
 
78875
        _fieldName = fieldName;
-
 
78876
      }
-
 
78877
 
-
 
78878
      public short getThriftFieldId() {
-
 
78879
        return _thriftId;
-
 
78880
      }
-
 
78881
 
-
 
78882
      public String getFieldName() {
-
 
78883
        return _fieldName;
-
 
78884
      }
-
 
78885
    }
-
 
78886
 
-
 
78887
    // isset id assignments
-
 
78888
 
-
 
78889
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
78890
    static {
-
 
78891
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
78892
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
78893
          new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, 
-
 
78894
              new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64))));
-
 
78895
      tmpMap.put(_Fields.EX, new org.apache.thrift.meta_data.FieldMetaData("ex", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
78896
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT)));
-
 
78897
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
78898
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getReshippedOrderIds_result.class, metaDataMap);
-
 
78899
    }
-
 
78900
 
-
 
78901
    public getReshippedOrderIds_result() {
-
 
78902
    }
-
 
78903
 
-
 
78904
    public getReshippedOrderIds_result(
-
 
78905
      List<Long> success,
-
 
78906
      TransactionServiceException ex)
-
 
78907
    {
-
 
78908
      this();
-
 
78909
      this.success = success;
-
 
78910
      this.ex = ex;
-
 
78911
    }
-
 
78912
 
-
 
78913
    /**
-
 
78914
     * Performs a deep copy on <i>other</i>.
-
 
78915
     */
-
 
78916
    public getReshippedOrderIds_result(getReshippedOrderIds_result other) {
-
 
78917
      if (other.isSetSuccess()) {
-
 
78918
        List<Long> __this__success = new ArrayList<Long>();
-
 
78919
        for (Long other_element : other.success) {
-
 
78920
          __this__success.add(other_element);
-
 
78921
        }
-
 
78922
        this.success = __this__success;
-
 
78923
      }
-
 
78924
      if (other.isSetEx()) {
-
 
78925
        this.ex = new TransactionServiceException(other.ex);
-
 
78926
      }
-
 
78927
    }
-
 
78928
 
-
 
78929
    public getReshippedOrderIds_result deepCopy() {
-
 
78930
      return new getReshippedOrderIds_result(this);
-
 
78931
    }
-
 
78932
 
-
 
78933
    @Override
-
 
78934
    public void clear() {
-
 
78935
      this.success = null;
-
 
78936
      this.ex = null;
-
 
78937
    }
-
 
78938
 
-
 
78939
    public int getSuccessSize() {
-
 
78940
      return (this.success == null) ? 0 : this.success.size();
-
 
78941
    }
-
 
78942
 
-
 
78943
    public java.util.Iterator<Long> getSuccessIterator() {
-
 
78944
      return (this.success == null) ? null : this.success.iterator();
-
 
78945
    }
-
 
78946
 
-
 
78947
    public void addToSuccess(long elem) {
-
 
78948
      if (this.success == null) {
-
 
78949
        this.success = new ArrayList<Long>();
-
 
78950
      }
-
 
78951
      this.success.add(elem);
-
 
78952
    }
-
 
78953
 
-
 
78954
    public List<Long> getSuccess() {
-
 
78955
      return this.success;
-
 
78956
    }
-
 
78957
 
-
 
78958
    public void setSuccess(List<Long> success) {
-
 
78959
      this.success = success;
-
 
78960
    }
-
 
78961
 
-
 
78962
    public void unsetSuccess() {
-
 
78963
      this.success = null;
-
 
78964
    }
-
 
78965
 
-
 
78966
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
-
 
78967
    public boolean isSetSuccess() {
-
 
78968
      return this.success != null;
-
 
78969
    }
-
 
78970
 
-
 
78971
    public void setSuccessIsSet(boolean value) {
-
 
78972
      if (!value) {
-
 
78973
        this.success = null;
-
 
78974
      }
-
 
78975
    }
-
 
78976
 
-
 
78977
    public TransactionServiceException getEx() {
-
 
78978
      return this.ex;
-
 
78979
    }
-
 
78980
 
-
 
78981
    public void setEx(TransactionServiceException ex) {
-
 
78982
      this.ex = ex;
-
 
78983
    }
-
 
78984
 
-
 
78985
    public void unsetEx() {
-
 
78986
      this.ex = null;
-
 
78987
    }
-
 
78988
 
-
 
78989
    /** Returns true if field ex is set (has been assigned a value) and false otherwise */
-
 
78990
    public boolean isSetEx() {
-
 
78991
      return this.ex != null;
-
 
78992
    }
-
 
78993
 
-
 
78994
    public void setExIsSet(boolean value) {
-
 
78995
      if (!value) {
-
 
78996
        this.ex = null;
-
 
78997
      }
-
 
78998
    }
-
 
78999
 
-
 
79000
    public void setFieldValue(_Fields field, Object value) {
-
 
79001
      switch (field) {
-
 
79002
      case SUCCESS:
-
 
79003
        if (value == null) {
-
 
79004
          unsetSuccess();
-
 
79005
        } else {
-
 
79006
          setSuccess((List<Long>)value);
-
 
79007
        }
-
 
79008
        break;
-
 
79009
 
-
 
79010
      case EX:
-
 
79011
        if (value == null) {
-
 
79012
          unsetEx();
-
 
79013
        } else {
-
 
79014
          setEx((TransactionServiceException)value);
-
 
79015
        }
-
 
79016
        break;
-
 
79017
 
-
 
79018
      }
-
 
79019
    }
-
 
79020
 
-
 
79021
    public Object getFieldValue(_Fields field) {
-
 
79022
      switch (field) {
-
 
79023
      case SUCCESS:
-
 
79024
        return getSuccess();
-
 
79025
 
-
 
79026
      case EX:
-
 
79027
        return getEx();
-
 
79028
 
-
 
79029
      }
-
 
79030
      throw new IllegalStateException();
-
 
79031
    }
-
 
79032
 
-
 
79033
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
79034
    public boolean isSet(_Fields field) {
-
 
79035
      if (field == null) {
-
 
79036
        throw new IllegalArgumentException();
-
 
79037
      }
-
 
79038
 
-
 
79039
      switch (field) {
-
 
79040
      case SUCCESS:
-
 
79041
        return isSetSuccess();
-
 
79042
      case EX:
-
 
79043
        return isSetEx();
-
 
79044
      }
-
 
79045
      throw new IllegalStateException();
-
 
79046
    }
-
 
79047
 
-
 
79048
    @Override
-
 
79049
    public boolean equals(Object that) {
-
 
79050
      if (that == null)
-
 
79051
        return false;
-
 
79052
      if (that instanceof getReshippedOrderIds_result)
-
 
79053
        return this.equals((getReshippedOrderIds_result)that);
-
 
79054
      return false;
-
 
79055
    }
-
 
79056
 
-
 
79057
    public boolean equals(getReshippedOrderIds_result that) {
-
 
79058
      if (that == null)
-
 
79059
        return false;
-
 
79060
 
-
 
79061
      boolean this_present_success = true && this.isSetSuccess();
-
 
79062
      boolean that_present_success = true && that.isSetSuccess();
-
 
79063
      if (this_present_success || that_present_success) {
-
 
79064
        if (!(this_present_success && that_present_success))
-
 
79065
          return false;
-
 
79066
        if (!this.success.equals(that.success))
-
 
79067
          return false;
-
 
79068
      }
-
 
79069
 
-
 
79070
      boolean this_present_ex = true && this.isSetEx();
-
 
79071
      boolean that_present_ex = true && that.isSetEx();
-
 
79072
      if (this_present_ex || that_present_ex) {
-
 
79073
        if (!(this_present_ex && that_present_ex))
-
 
79074
          return false;
-
 
79075
        if (!this.ex.equals(that.ex))
-
 
79076
          return false;
-
 
79077
      }
-
 
79078
 
-
 
79079
      return true;
-
 
79080
    }
-
 
79081
 
-
 
79082
    @Override
-
 
79083
    public int hashCode() {
-
 
79084
      return 0;
-
 
79085
    }
-
 
79086
 
-
 
79087
    public int compareTo(getReshippedOrderIds_result other) {
-
 
79088
      if (!getClass().equals(other.getClass())) {
-
 
79089
        return getClass().getName().compareTo(other.getClass().getName());
-
 
79090
      }
-
 
79091
 
-
 
79092
      int lastComparison = 0;
-
 
79093
      getReshippedOrderIds_result typedOther = (getReshippedOrderIds_result)other;
-
 
79094
 
-
 
79095
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
-
 
79096
      if (lastComparison != 0) {
-
 
79097
        return lastComparison;
-
 
79098
      }
-
 
79099
      if (isSetSuccess()) {
-
 
79100
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
-
 
79101
        if (lastComparison != 0) {
-
 
79102
          return lastComparison;
-
 
79103
        }
-
 
79104
      }
-
 
79105
      lastComparison = Boolean.valueOf(isSetEx()).compareTo(typedOther.isSetEx());
-
 
79106
      if (lastComparison != 0) {
-
 
79107
        return lastComparison;
-
 
79108
      }
-
 
79109
      if (isSetEx()) {
-
 
79110
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.ex, typedOther.ex);
-
 
79111
        if (lastComparison != 0) {
-
 
79112
          return lastComparison;
-
 
79113
        }
-
 
79114
      }
-
 
79115
      return 0;
-
 
79116
    }
-
 
79117
 
-
 
79118
    public _Fields fieldForId(int fieldId) {
-
 
79119
      return _Fields.findByThriftId(fieldId);
-
 
79120
    }
-
 
79121
 
-
 
79122
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
79123
      org.apache.thrift.protocol.TField field;
-
 
79124
      iprot.readStructBegin();
-
 
79125
      while (true)
-
 
79126
      {
-
 
79127
        field = iprot.readFieldBegin();
-
 
79128
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
79129
          break;
-
 
79130
        }
-
 
79131
        switch (field.id) {
-
 
79132
          case 0: // SUCCESS
-
 
79133
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
-
 
79134
              {
-
 
79135
                org.apache.thrift.protocol.TList _list191 = iprot.readListBegin();
-
 
79136
                this.success = new ArrayList<Long>(_list191.size);
-
 
79137
                for (int _i192 = 0; _i192 < _list191.size; ++_i192)
-
 
79138
                {
-
 
79139
                  long _elem193; // required
-
 
79140
                  _elem193 = iprot.readI64();
-
 
79141
                  this.success.add(_elem193);
-
 
79142
                }
-
 
79143
                iprot.readListEnd();
-
 
79144
              }
-
 
79145
            } else { 
-
 
79146
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
79147
            }
-
 
79148
            break;
-
 
79149
          case 1: // EX
-
 
79150
            if (field.type == org.apache.thrift.protocol.TType.STRUCT) {
-
 
79151
              this.ex = new TransactionServiceException();
-
 
79152
              this.ex.read(iprot);
-
 
79153
            } else { 
-
 
79154
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
79155
            }
-
 
79156
            break;
-
 
79157
          default:
-
 
79158
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
79159
        }
-
 
79160
        iprot.readFieldEnd();
-
 
79161
      }
-
 
79162
      iprot.readStructEnd();
-
 
79163
      validate();
-
 
79164
    }
-
 
79165
 
-
 
79166
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
79167
      oprot.writeStructBegin(STRUCT_DESC);
-
 
79168
 
-
 
79169
      if (this.isSetSuccess()) {
-
 
79170
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-
 
79171
        {
-
 
79172
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.success.size()));
-
 
79173
          for (long _iter194 : this.success)
-
 
79174
          {
-
 
79175
            oprot.writeI64(_iter194);
-
 
79176
          }
-
 
79177
          oprot.writeListEnd();
-
 
79178
        }
-
 
79179
        oprot.writeFieldEnd();
-
 
79180
      } else if (this.isSetEx()) {
-
 
79181
        oprot.writeFieldBegin(EX_FIELD_DESC);
-
 
79182
        this.ex.write(oprot);
-
 
79183
        oprot.writeFieldEnd();
-
 
79184
      }
-
 
79185
      oprot.writeFieldStop();
-
 
79186
      oprot.writeStructEnd();
-
 
79187
    }
-
 
79188
 
-
 
79189
    @Override
-
 
79190
    public String toString() {
-
 
79191
      StringBuilder sb = new StringBuilder("getReshippedOrderIds_result(");
-
 
79192
      boolean first = true;
-
 
79193
 
-
 
79194
      sb.append("success:");
-
 
79195
      if (this.success == null) {
-
 
79196
        sb.append("null");
-
 
79197
      } else {
-
 
79198
        sb.append(this.success);
-
 
79199
      }
-
 
79200
      first = false;
-
 
79201
      if (!first) sb.append(", ");
-
 
79202
      sb.append("ex:");
-
 
79203
      if (this.ex == null) {
-
 
79204
        sb.append("null");
77398
      } else {
79205
      } else {
77399
        sb.append(this.ex);
79206
        sb.append(this.ex);
77400
      }
79207
      }
77401
      first = false;
79208
      first = false;
77402
      sb.append(")");
79209
      sb.append(")");