Subversion Repositories SmartDukaan

Rev

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

Rev 1382 Rev 1398
Line 42... Line 42...
42
 
42
 
43
    public TransactionStatus getTransactionStatus(long transactionId) throws TransactionServiceException, TException;
43
    public TransactionStatus getTransactionStatus(long transactionId) throws TransactionServiceException, TException;
44
 
44
 
45
    public boolean changeTransactionStatus(long transactionId, TransactionStatus status, String description) throws TransactionServiceException, TException;
45
    public boolean changeTransactionStatus(long transactionId, TransactionStatus status, String description) throws TransactionServiceException, TException;
46
 
46
 
47
    public boolean emailTransactionInfoToUser(long transactionId) throws TransactionServiceException, TException;
47
    public boolean enqueueTransactionInfoEmail(long transactionId) throws TransactionServiceException, TException;
48
 
48
 
49
    public List<Order> getAllOrders(OrderStatus status, long from_date, long to_date, long warehouse_id) throws TransactionServiceException, TException;
49
    public List<Order> getAllOrders(OrderStatus status, long from_date, long to_date, long warehouse_id) throws TransactionServiceException, TException;
50
 
50
 
51
    /**
51
    /**
52
     * Returns orders within a range of their billing dates
52
     * Returns orders within a range of their billing dates
Line 449... Line 449...
449
        throw result.ex;
449
        throw result.ex;
450
      }
450
      }
451
      throw new TApplicationException(TApplicationException.MISSING_RESULT, "changeTransactionStatus failed: unknown result");
451
      throw new TApplicationException(TApplicationException.MISSING_RESULT, "changeTransactionStatus failed: unknown result");
452
    }
452
    }
453
 
453
 
454
    public boolean emailTransactionInfoToUser(long transactionId) throws TransactionServiceException, TException
454
    public boolean enqueueTransactionInfoEmail(long transactionId) throws TransactionServiceException, TException
455
    {
455
    {
456
      send_emailTransactionInfoToUser(transactionId);
456
      send_enqueueTransactionInfoEmail(transactionId);
457
      return recv_emailTransactionInfoToUser();
457
      return recv_enqueueTransactionInfoEmail();
458
    }
458
    }
459
 
459
 
460
    public void send_emailTransactionInfoToUser(long transactionId) throws TException
460
    public void send_enqueueTransactionInfoEmail(long transactionId) throws TException
461
    {
461
    {
462
      oprot_.writeMessageBegin(new TMessage("emailTransactionInfoToUser", TMessageType.CALL, seqid_));
462
      oprot_.writeMessageBegin(new TMessage("enqueueTransactionInfoEmail", TMessageType.CALL, seqid_));
463
      emailTransactionInfoToUser_args args = new emailTransactionInfoToUser_args();
463
      enqueueTransactionInfoEmail_args args = new enqueueTransactionInfoEmail_args();
464
      args.transactionId = transactionId;
464
      args.transactionId = transactionId;
465
      args.write(oprot_);
465
      args.write(oprot_);
466
      oprot_.writeMessageEnd();
466
      oprot_.writeMessageEnd();
467
      oprot_.getTransport().flush();
467
      oprot_.getTransport().flush();
468
    }
468
    }
469
 
469
 
470
    public boolean recv_emailTransactionInfoToUser() throws TransactionServiceException, TException
470
    public boolean recv_enqueueTransactionInfoEmail() throws TransactionServiceException, TException
471
    {
471
    {
472
      TMessage msg = iprot_.readMessageBegin();
472
      TMessage msg = iprot_.readMessageBegin();
473
      if (msg.type == TMessageType.EXCEPTION) {
473
      if (msg.type == TMessageType.EXCEPTION) {
474
        TApplicationException x = TApplicationException.read(iprot_);
474
        TApplicationException x = TApplicationException.read(iprot_);
475
        iprot_.readMessageEnd();
475
        iprot_.readMessageEnd();
476
        throw x;
476
        throw x;
477
      }
477
      }
478
      emailTransactionInfoToUser_result result = new emailTransactionInfoToUser_result();
478
      enqueueTransactionInfoEmail_result result = new enqueueTransactionInfoEmail_result();
479
      result.read(iprot_);
479
      result.read(iprot_);
480
      iprot_.readMessageEnd();
480
      iprot_.readMessageEnd();
481
      if (result.isSetSuccess()) {
481
      if (result.isSetSuccess()) {
482
        return result.success;
482
        return result.success;
483
      }
483
      }
484
      if (result.ex != null) {
484
      if (result.ex != null) {
485
        throw result.ex;
485
        throw result.ex;
486
      }
486
      }
487
      throw new TApplicationException(TApplicationException.MISSING_RESULT, "emailTransactionInfoToUser failed: unknown result");
487
      throw new TApplicationException(TApplicationException.MISSING_RESULT, "enqueueTransactionInfoEmail failed: unknown result");
488
    }
488
    }
489
 
489
 
490
    public List<Order> getAllOrders(OrderStatus status, long from_date, long to_date, long warehouse_id) throws TransactionServiceException, TException
490
    public List<Order> getAllOrders(OrderStatus status, long from_date, long to_date, long warehouse_id) throws TransactionServiceException, TException
491
    {
491
    {
492
      send_getAllOrders(status, from_date, to_date, warehouse_id);
492
      send_getAllOrders(status, from_date, to_date, warehouse_id);
Line 1333... Line 1333...
1333
      processMap_.put("getTransaction", new getTransaction());
1333
      processMap_.put("getTransaction", new getTransaction());
1334
      processMap_.put("getTransactionsForCustomer", new getTransactionsForCustomer());
1334
      processMap_.put("getTransactionsForCustomer", new getTransactionsForCustomer());
1335
      processMap_.put("getTransactionsForShoppingCartId", new getTransactionsForShoppingCartId());
1335
      processMap_.put("getTransactionsForShoppingCartId", new getTransactionsForShoppingCartId());
1336
      processMap_.put("getTransactionStatus", new getTransactionStatus());
1336
      processMap_.put("getTransactionStatus", new getTransactionStatus());
1337
      processMap_.put("changeTransactionStatus", new changeTransactionStatus());
1337
      processMap_.put("changeTransactionStatus", new changeTransactionStatus());
1338
      processMap_.put("emailTransactionInfoToUser", new emailTransactionInfoToUser());
1338
      processMap_.put("enqueueTransactionInfoEmail", new enqueueTransactionInfoEmail());
1339
      processMap_.put("getAllOrders", new getAllOrders());
1339
      processMap_.put("getAllOrders", new getAllOrders());
1340
      processMap_.put("getOrdersByBillingDate", new getOrdersByBillingDate());
1340
      processMap_.put("getOrdersByBillingDate", new getOrdersByBillingDate());
1341
      processMap_.put("getReturnableOrdersForCustomer", new getReturnableOrdersForCustomer());
1341
      processMap_.put("getReturnableOrdersForCustomer", new getReturnableOrdersForCustomer());
1342
      processMap_.put("getCancellableOrdersForCustomer", new getCancellableOrdersForCustomer());
1342
      processMap_.put("getCancellableOrdersForCustomer", new getCancellableOrdersForCustomer());
1343
      processMap_.put("changeOrderStatus", new changeOrderStatus());
1343
      processMap_.put("changeOrderStatus", new changeOrderStatus());
Line 1570... Line 1570...
1570
        oprot.getTransport().flush();
1570
        oprot.getTransport().flush();
1571
      }
1571
      }
1572
 
1572
 
1573
    }
1573
    }
1574
 
1574
 
1575
    private class emailTransactionInfoToUser implements ProcessFunction {
1575
    private class enqueueTransactionInfoEmail implements ProcessFunction {
1576
      public void process(int seqid, TProtocol iprot, TProtocol oprot) throws TException
1576
      public void process(int seqid, TProtocol iprot, TProtocol oprot) throws TException
1577
      {
1577
      {
1578
        emailTransactionInfoToUser_args args = new emailTransactionInfoToUser_args();
1578
        enqueueTransactionInfoEmail_args args = new enqueueTransactionInfoEmail_args();
1579
        args.read(iprot);
1579
        args.read(iprot);
1580
        iprot.readMessageEnd();
1580
        iprot.readMessageEnd();
1581
        emailTransactionInfoToUser_result result = new emailTransactionInfoToUser_result();
1581
        enqueueTransactionInfoEmail_result result = new enqueueTransactionInfoEmail_result();
1582
        try {
1582
        try {
1583
          result.success = iface_.emailTransactionInfoToUser(args.transactionId);
1583
          result.success = iface_.enqueueTransactionInfoEmail(args.transactionId);
1584
          result.setSuccessIsSet(true);
1584
          result.setSuccessIsSet(true);
1585
        } catch (TransactionServiceException ex) {
1585
        } catch (TransactionServiceException ex) {
1586
          result.ex = ex;
1586
          result.ex = ex;
1587
        } catch (Throwable th) {
1587
        } catch (Throwable th) {
1588
          LOGGER.error("Internal error processing emailTransactionInfoToUser", th);
1588
          LOGGER.error("Internal error processing enqueueTransactionInfoEmail", th);
1589
          TApplicationException x = new TApplicationException(TApplicationException.INTERNAL_ERROR, "Internal error processing emailTransactionInfoToUser");
1589
          TApplicationException x = new TApplicationException(TApplicationException.INTERNAL_ERROR, "Internal error processing enqueueTransactionInfoEmail");
1590
          oprot.writeMessageBegin(new TMessage("emailTransactionInfoToUser", TMessageType.EXCEPTION, seqid));
1590
          oprot.writeMessageBegin(new TMessage("enqueueTransactionInfoEmail", TMessageType.EXCEPTION, seqid));
1591
          x.write(oprot);
1591
          x.write(oprot);
1592
          oprot.writeMessageEnd();
1592
          oprot.writeMessageEnd();
1593
          oprot.getTransport().flush();
1593
          oprot.getTransport().flush();
1594
          return;
1594
          return;
1595
        }
1595
        }
1596
        oprot.writeMessageBegin(new TMessage("emailTransactionInfoToUser", TMessageType.REPLY, seqid));
1596
        oprot.writeMessageBegin(new TMessage("enqueueTransactionInfoEmail", TMessageType.REPLY, seqid));
1597
        result.write(oprot);
1597
        result.write(oprot);
1598
        oprot.writeMessageEnd();
1598
        oprot.writeMessageEnd();
1599
        oprot.getTransport().flush();
1599
        oprot.getTransport().flush();
1600
      }
1600
      }
1601
 
1601
 
Line 7009... Line 7009...
7009
      // check for required fields
7009
      // check for required fields
7010
    }
7010
    }
7011
 
7011
 
7012
  }
7012
  }
7013
 
7013
 
7014
  public static class emailTransactionInfoToUser_args implements TBase<emailTransactionInfoToUser_args._Fields>, java.io.Serializable, Cloneable, Comparable<emailTransactionInfoToUser_args>   {
7014
  public static class enqueueTransactionInfoEmail_args implements TBase<enqueueTransactionInfoEmail_args._Fields>, java.io.Serializable, Cloneable, Comparable<enqueueTransactionInfoEmail_args>   {
7015
    private static final TStruct STRUCT_DESC = new TStruct("emailTransactionInfoToUser_args");
7015
    private static final TStruct STRUCT_DESC = new TStruct("enqueueTransactionInfoEmail_args");
7016
 
7016
 
7017
    private static final TField TRANSACTION_ID_FIELD_DESC = new TField("transactionId", TType.I64, (short)1);
7017
    private static final TField TRANSACTION_ID_FIELD_DESC = new TField("transactionId", TType.I64, (short)1);
7018
 
7018
 
7019
    private long transactionId;
7019
    private long transactionId;
7020
 
7020
 
Line 7081... Line 7081...
7081
      put(_Fields.TRANSACTION_ID, new FieldMetaData("transactionId", TFieldRequirementType.DEFAULT, 
7081
      put(_Fields.TRANSACTION_ID, new FieldMetaData("transactionId", TFieldRequirementType.DEFAULT, 
7082
          new FieldValueMetaData(TType.I64)));
7082
          new FieldValueMetaData(TType.I64)));
7083
    }});
7083
    }});
7084
 
7084
 
7085
    static {
7085
    static {
7086
      FieldMetaData.addStructMetaDataMap(emailTransactionInfoToUser_args.class, metaDataMap);
7086
      FieldMetaData.addStructMetaDataMap(enqueueTransactionInfoEmail_args.class, metaDataMap);
7087
    }
7087
    }
7088
 
7088
 
7089
    public emailTransactionInfoToUser_args() {
7089
    public enqueueTransactionInfoEmail_args() {
7090
    }
7090
    }
7091
 
7091
 
7092
    public emailTransactionInfoToUser_args(
7092
    public enqueueTransactionInfoEmail_args(
7093
      long transactionId)
7093
      long transactionId)
7094
    {
7094
    {
7095
      this();
7095
      this();
7096
      this.transactionId = transactionId;
7096
      this.transactionId = transactionId;
7097
      setTransactionIdIsSet(true);
7097
      setTransactionIdIsSet(true);
7098
    }
7098
    }
7099
 
7099
 
7100
    /**
7100
    /**
7101
     * Performs a deep copy on <i>other</i>.
7101
     * Performs a deep copy on <i>other</i>.
7102
     */
7102
     */
7103
    public emailTransactionInfoToUser_args(emailTransactionInfoToUser_args other) {
7103
    public enqueueTransactionInfoEmail_args(enqueueTransactionInfoEmail_args other) {
7104
      __isset_bit_vector.clear();
7104
      __isset_bit_vector.clear();
7105
      __isset_bit_vector.or(other.__isset_bit_vector);
7105
      __isset_bit_vector.or(other.__isset_bit_vector);
7106
      this.transactionId = other.transactionId;
7106
      this.transactionId = other.transactionId;
7107
    }
7107
    }
7108
 
7108
 
7109
    public emailTransactionInfoToUser_args deepCopy() {
7109
    public enqueueTransactionInfoEmail_args deepCopy() {
7110
      return new emailTransactionInfoToUser_args(this);
7110
      return new enqueueTransactionInfoEmail_args(this);
7111
    }
7111
    }
7112
 
7112
 
7113
    @Deprecated
7113
    @Deprecated
7114
    public emailTransactionInfoToUser_args clone() {
7114
    public enqueueTransactionInfoEmail_args clone() {
7115
      return new emailTransactionInfoToUser_args(this);
7115
      return new enqueueTransactionInfoEmail_args(this);
7116
    }
7116
    }
7117
 
7117
 
7118
    public long getTransactionId() {
7118
    public long getTransactionId() {
7119
      return this.transactionId;
7119
      return this.transactionId;
7120
    }
7120
    }
7121
 
7121
 
7122
    public emailTransactionInfoToUser_args setTransactionId(long transactionId) {
7122
    public enqueueTransactionInfoEmail_args setTransactionId(long transactionId) {
7123
      this.transactionId = transactionId;
7123
      this.transactionId = transactionId;
7124
      setTransactionIdIsSet(true);
7124
      setTransactionIdIsSet(true);
7125
      return this;
7125
      return this;
7126
    }
7126
    }
7127
 
7127
 
Line 7183... Line 7183...
7183
 
7183
 
7184
    @Override
7184
    @Override
7185
    public boolean equals(Object that) {
7185
    public boolean equals(Object that) {
7186
      if (that == null)
7186
      if (that == null)
7187
        return false;
7187
        return false;
7188
      if (that instanceof emailTransactionInfoToUser_args)
7188
      if (that instanceof enqueueTransactionInfoEmail_args)
7189
        return this.equals((emailTransactionInfoToUser_args)that);
7189
        return this.equals((enqueueTransactionInfoEmail_args)that);
7190
      return false;
7190
      return false;
7191
    }
7191
    }
7192
 
7192
 
7193
    public boolean equals(emailTransactionInfoToUser_args that) {
7193
    public boolean equals(enqueueTransactionInfoEmail_args that) {
7194
      if (that == null)
7194
      if (that == null)
7195
        return false;
7195
        return false;
7196
 
7196
 
7197
      boolean this_present_transactionId = true;
7197
      boolean this_present_transactionId = true;
7198
      boolean that_present_transactionId = true;
7198
      boolean that_present_transactionId = true;
Line 7209... Line 7209...
7209
    @Override
7209
    @Override
7210
    public int hashCode() {
7210
    public int hashCode() {
7211
      return 0;
7211
      return 0;
7212
    }
7212
    }
7213
 
7213
 
7214
    public int compareTo(emailTransactionInfoToUser_args other) {
7214
    public int compareTo(enqueueTransactionInfoEmail_args other) {
7215
      if (!getClass().equals(other.getClass())) {
7215
      if (!getClass().equals(other.getClass())) {
7216
        return getClass().getName().compareTo(other.getClass().getName());
7216
        return getClass().getName().compareTo(other.getClass().getName());
7217
      }
7217
      }
7218
 
7218
 
7219
      int lastComparison = 0;
7219
      int lastComparison = 0;
7220
      emailTransactionInfoToUser_args typedOther = (emailTransactionInfoToUser_args)other;
7220
      enqueueTransactionInfoEmail_args typedOther = (enqueueTransactionInfoEmail_args)other;
7221
 
7221
 
7222
      lastComparison = Boolean.valueOf(isSetTransactionId()).compareTo(isSetTransactionId());
7222
      lastComparison = Boolean.valueOf(isSetTransactionId()).compareTo(isSetTransactionId());
7223
      if (lastComparison != 0) {
7223
      if (lastComparison != 0) {
7224
        return lastComparison;
7224
        return lastComparison;
7225
      }
7225
      }
Line 7271... Line 7271...
7271
      oprot.writeStructEnd();
7271
      oprot.writeStructEnd();
7272
    }
7272
    }
7273
 
7273
 
7274
    @Override
7274
    @Override
7275
    public String toString() {
7275
    public String toString() {
7276
      StringBuilder sb = new StringBuilder("emailTransactionInfoToUser_args(");
7276
      StringBuilder sb = new StringBuilder("enqueueTransactionInfoEmail_args(");
7277
      boolean first = true;
7277
      boolean first = true;
7278
 
7278
 
7279
      sb.append("transactionId:");
7279
      sb.append("transactionId:");
7280
      sb.append(this.transactionId);
7280
      sb.append(this.transactionId);
7281
      first = false;
7281
      first = false;
Line 7287... Line 7287...
7287
      // check for required fields
7287
      // check for required fields
7288
    }
7288
    }
7289
 
7289
 
7290
  }
7290
  }
7291
 
7291
 
7292
  public static class emailTransactionInfoToUser_result implements TBase<emailTransactionInfoToUser_result._Fields>, java.io.Serializable, Cloneable, Comparable<emailTransactionInfoToUser_result>   {
7292
  public static class enqueueTransactionInfoEmail_result implements TBase<enqueueTransactionInfoEmail_result._Fields>, java.io.Serializable, Cloneable, Comparable<enqueueTransactionInfoEmail_result>   {
7293
    private static final TStruct STRUCT_DESC = new TStruct("emailTransactionInfoToUser_result");
7293
    private static final TStruct STRUCT_DESC = new TStruct("enqueueTransactionInfoEmail_result");
7294
 
7294
 
7295
    private static final TField SUCCESS_FIELD_DESC = new TField("success", TType.BOOL, (short)0);
7295
    private static final TField SUCCESS_FIELD_DESC = new TField("success", TType.BOOL, (short)0);
7296
    private static final TField EX_FIELD_DESC = new TField("ex", TType.STRUCT, (short)1);
7296
    private static final TField EX_FIELD_DESC = new TField("ex", TType.STRUCT, (short)1);
7297
 
7297
 
7298
    private boolean success;
7298
    private boolean success;
Line 7364... Line 7364...
7364
      put(_Fields.EX, new FieldMetaData("ex", TFieldRequirementType.DEFAULT, 
7364
      put(_Fields.EX, new FieldMetaData("ex", TFieldRequirementType.DEFAULT, 
7365
          new FieldValueMetaData(TType.STRUCT)));
7365
          new FieldValueMetaData(TType.STRUCT)));
7366
    }});
7366
    }});
7367
 
7367
 
7368
    static {
7368
    static {
7369
      FieldMetaData.addStructMetaDataMap(emailTransactionInfoToUser_result.class, metaDataMap);
7369
      FieldMetaData.addStructMetaDataMap(enqueueTransactionInfoEmail_result.class, metaDataMap);
7370
    }
7370
    }
7371
 
7371
 
7372
    public emailTransactionInfoToUser_result() {
7372
    public enqueueTransactionInfoEmail_result() {
7373
    }
7373
    }
7374
 
7374
 
7375
    public emailTransactionInfoToUser_result(
7375
    public enqueueTransactionInfoEmail_result(
7376
      boolean success,
7376
      boolean success,
7377
      TransactionServiceException ex)
7377
      TransactionServiceException ex)
7378
    {
7378
    {
7379
      this();
7379
      this();
7380
      this.success = success;
7380
      this.success = success;
Line 7383... Line 7383...
7383
    }
7383
    }
7384
 
7384
 
7385
    /**
7385
    /**
7386
     * Performs a deep copy on <i>other</i>.
7386
     * Performs a deep copy on <i>other</i>.
7387
     */
7387
     */
7388
    public emailTransactionInfoToUser_result(emailTransactionInfoToUser_result other) {
7388
    public enqueueTransactionInfoEmail_result(enqueueTransactionInfoEmail_result other) {
7389
      __isset_bit_vector.clear();
7389
      __isset_bit_vector.clear();
7390
      __isset_bit_vector.or(other.__isset_bit_vector);
7390
      __isset_bit_vector.or(other.__isset_bit_vector);
7391
      this.success = other.success;
7391
      this.success = other.success;
7392
      if (other.isSetEx()) {
7392
      if (other.isSetEx()) {
7393
        this.ex = new TransactionServiceException(other.ex);
7393
        this.ex = new TransactionServiceException(other.ex);
7394
      }
7394
      }
7395
    }
7395
    }
7396
 
7396
 
7397
    public emailTransactionInfoToUser_result deepCopy() {
7397
    public enqueueTransactionInfoEmail_result deepCopy() {
7398
      return new emailTransactionInfoToUser_result(this);
7398
      return new enqueueTransactionInfoEmail_result(this);
7399
    }
7399
    }
7400
 
7400
 
7401
    @Deprecated
7401
    @Deprecated
7402
    public emailTransactionInfoToUser_result clone() {
7402
    public enqueueTransactionInfoEmail_result clone() {
7403
      return new emailTransactionInfoToUser_result(this);
7403
      return new enqueueTransactionInfoEmail_result(this);
7404
    }
7404
    }
7405
 
7405
 
7406
    public boolean isSuccess() {
7406
    public boolean isSuccess() {
7407
      return this.success;
7407
      return this.success;
7408
    }
7408
    }
7409
 
7409
 
7410
    public emailTransactionInfoToUser_result setSuccess(boolean success) {
7410
    public enqueueTransactionInfoEmail_result setSuccess(boolean success) {
7411
      this.success = success;
7411
      this.success = success;
7412
      setSuccessIsSet(true);
7412
      setSuccessIsSet(true);
7413
      return this;
7413
      return this;
7414
    }
7414
    }
7415
 
7415
 
Line 7428... Line 7428...
7428
 
7428
 
7429
    public TransactionServiceException getEx() {
7429
    public TransactionServiceException getEx() {
7430
      return this.ex;
7430
      return this.ex;
7431
    }
7431
    }
7432
 
7432
 
7433
    public emailTransactionInfoToUser_result setEx(TransactionServiceException ex) {
7433
    public enqueueTransactionInfoEmail_result setEx(TransactionServiceException ex) {
7434
      this.ex = ex;
7434
      this.ex = ex;
7435
      return this;
7435
      return this;
7436
    }
7436
    }
7437
 
7437
 
7438
    public void unsetEx() {
7438
    public void unsetEx() {
Line 7508... Line 7508...
7508
 
7508
 
7509
    @Override
7509
    @Override
7510
    public boolean equals(Object that) {
7510
    public boolean equals(Object that) {
7511
      if (that == null)
7511
      if (that == null)
7512
        return false;
7512
        return false;
7513
      if (that instanceof emailTransactionInfoToUser_result)
7513
      if (that instanceof enqueueTransactionInfoEmail_result)
7514
        return this.equals((emailTransactionInfoToUser_result)that);
7514
        return this.equals((enqueueTransactionInfoEmail_result)that);
7515
      return false;
7515
      return false;
7516
    }
7516
    }
7517
 
7517
 
7518
    public boolean equals(emailTransactionInfoToUser_result that) {
7518
    public boolean equals(enqueueTransactionInfoEmail_result that) {
7519
      if (that == null)
7519
      if (that == null)
7520
        return false;
7520
        return false;
7521
 
7521
 
7522
      boolean this_present_success = true;
7522
      boolean this_present_success = true;
7523
      boolean that_present_success = true;
7523
      boolean that_present_success = true;
Line 7543... Line 7543...
7543
    @Override
7543
    @Override
7544
    public int hashCode() {
7544
    public int hashCode() {
7545
      return 0;
7545
      return 0;
7546
    }
7546
    }
7547
 
7547
 
7548
    public int compareTo(emailTransactionInfoToUser_result other) {
7548
    public int compareTo(enqueueTransactionInfoEmail_result other) {
7549
      if (!getClass().equals(other.getClass())) {
7549
      if (!getClass().equals(other.getClass())) {
7550
        return getClass().getName().compareTo(other.getClass().getName());
7550
        return getClass().getName().compareTo(other.getClass().getName());
7551
      }
7551
      }
7552
 
7552
 
7553
      int lastComparison = 0;
7553
      int lastComparison = 0;
7554
      emailTransactionInfoToUser_result typedOther = (emailTransactionInfoToUser_result)other;
7554
      enqueueTransactionInfoEmail_result typedOther = (enqueueTransactionInfoEmail_result)other;
7555
 
7555
 
7556
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(isSetSuccess());
7556
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(isSetSuccess());
7557
      if (lastComparison != 0) {
7557
      if (lastComparison != 0) {
7558
        return lastComparison;
7558
        return lastComparison;
7559
      }
7559
      }
Line 7626... Line 7626...
7626
      oprot.writeStructEnd();
7626
      oprot.writeStructEnd();
7627
    }
7627
    }
7628
 
7628
 
7629
    @Override
7629
    @Override
7630
    public String toString() {
7630
    public String toString() {
7631
      StringBuilder sb = new StringBuilder("emailTransactionInfoToUser_result(");
7631
      StringBuilder sb = new StringBuilder("enqueueTransactionInfoEmail_result(");
7632
      boolean first = true;
7632
      boolean first = true;
7633
 
7633
 
7634
      sb.append("success:");
7634
      sb.append("success:");
7635
      sb.append(this.success);
7635
      sb.append(this.success);
7636
      first = false;
7636
      first = false;