Subversion Repositories SmartDukaan

Rev

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

Rev 3986 Rev 4004
Line 61... Line 61...
61
  private static final org.apache.thrift.protocol.TField TRANSACTION_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("transactionId", org.apache.thrift.protocol.TType.I64, (short)36);
61
  private static final org.apache.thrift.protocol.TField TRANSACTION_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("transactionId", org.apache.thrift.protocol.TType.I64, (short)36);
62
  private static final org.apache.thrift.protocol.TField PURCHASE_ORDER_NO_FIELD_DESC = new org.apache.thrift.protocol.TField("purchaseOrderNo", org.apache.thrift.protocol.TType.STRING, (short)37);
62
  private static final org.apache.thrift.protocol.TField PURCHASE_ORDER_NO_FIELD_DESC = new org.apache.thrift.protocol.TField("purchaseOrderNo", org.apache.thrift.protocol.TType.STRING, (short)37);
63
  private static final org.apache.thrift.protocol.TField COD_FIELD_DESC = new org.apache.thrift.protocol.TField("cod", org.apache.thrift.protocol.TType.BOOL, (short)38);
63
  private static final org.apache.thrift.protocol.TField COD_FIELD_DESC = new org.apache.thrift.protocol.TField("cod", org.apache.thrift.protocol.TType.BOOL, (short)38);
64
  private static final org.apache.thrift.protocol.TField DELAY_REASON_FIELD_DESC = new org.apache.thrift.protocol.TField("delayReason", org.apache.thrift.protocol.TType.I32, (short)39);
64
  private static final org.apache.thrift.protocol.TField DELAY_REASON_FIELD_DESC = new org.apache.thrift.protocol.TField("delayReason", org.apache.thrift.protocol.TType.I32, (short)39);
65
  private static final org.apache.thrift.protocol.TField PROMISED_DELIVERY_TIME_FIELD_DESC = new org.apache.thrift.protocol.TField("promised_delivery_time", org.apache.thrift.protocol.TType.I64, (short)40);
65
  private static final org.apache.thrift.protocol.TField PROMISED_DELIVERY_TIME_FIELD_DESC = new org.apache.thrift.protocol.TField("promised_delivery_time", org.apache.thrift.protocol.TType.I64, (short)40);
-
 
66
  private static final org.apache.thrift.protocol.TField EXPECTED_SHIPPING_TIME_FIELD_DESC = new org.apache.thrift.protocol.TField("expected_shipping_time", org.apache.thrift.protocol.TType.I64, (short)41);
-
 
67
  private static final org.apache.thrift.protocol.TField VERIFICATION_TIMESTAMP_FIELD_DESC = new org.apache.thrift.protocol.TField("verification_timestamp", org.apache.thrift.protocol.TType.I64, (short)42);
66
 
68
 
67
  private long id; // required
69
  private long id; // required
68
  private long warehouse_id; // required
70
  private long warehouse_id; // required
69
  private List<LineItem> lineitems; // required
71
  private List<LineItem> lineitems; // required
70
  private long logistics_provider_id; // required
72
  private long logistics_provider_id; // required
Line 102... Line 104...
102
  private long transactionId; // required
104
  private long transactionId; // required
103
  private String purchaseOrderNo; // required
105
  private String purchaseOrderNo; // required
104
  private boolean cod; // required
106
  private boolean cod; // required
105
  private DelayReason delayReason; // required
107
  private DelayReason delayReason; // required
106
  private long promised_delivery_time; // required
108
  private long promised_delivery_time; // required
-
 
109
  private long expected_shipping_time; // required
-
 
110
  private long verification_timestamp; // required
107
 
111
 
108
  /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
112
  /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
109
  public enum _Fields implements org.apache.thrift.TFieldIdEnum {
113
  public enum _Fields implements org.apache.thrift.TFieldIdEnum {
110
    ID((short)1, "id"),
114
    ID((short)1, "id"),
111
    WAREHOUSE_ID((short)2, "warehouse_id"),
115
    WAREHOUSE_ID((short)2, "warehouse_id"),
Line 174... Line 178...
174
    /**
178
    /**
175
     * 
179
     * 
176
     * @see DelayReason
180
     * @see DelayReason
177
     */
181
     */
178
    DELAY_REASON((short)39, "delayReason"),
182
    DELAY_REASON((short)39, "delayReason"),
179
    PROMISED_DELIVERY_TIME((short)40, "promised_delivery_time");
183
    PROMISED_DELIVERY_TIME((short)40, "promised_delivery_time"),
-
 
184
    EXPECTED_SHIPPING_TIME((short)41, "expected_shipping_time"),
-
 
185
    VERIFICATION_TIMESTAMP((short)42, "verification_timestamp");
180
 
186
 
181
    private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
187
    private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
182
 
188
 
183
    static {
189
    static {
184
      for (_Fields field : EnumSet.allOf(_Fields.class)) {
190
      for (_Fields field : EnumSet.allOf(_Fields.class)) {
Line 269... Line 275...
269
          return COD;
275
          return COD;
270
        case 39: // DELAY_REASON
276
        case 39: // DELAY_REASON
271
          return DELAY_REASON;
277
          return DELAY_REASON;
272
        case 40: // PROMISED_DELIVERY_TIME
278
        case 40: // PROMISED_DELIVERY_TIME
273
          return PROMISED_DELIVERY_TIME;
279
          return PROMISED_DELIVERY_TIME;
-
 
280
        case 41: // EXPECTED_SHIPPING_TIME
-
 
281
          return EXPECTED_SHIPPING_TIME;
-
 
282
        case 42: // VERIFICATION_TIMESTAMP
-
 
283
          return VERIFICATION_TIMESTAMP;
274
        default:
284
        default:
275
          return null;
285
          return null;
276
      }
286
      }
277
    }
287
    }
278
 
288
 
Line 330... Line 340...
330
  private static final int __SERIALNO_ISSET_ID = 16;
340
  private static final int __SERIALNO_ISSET_ID = 16;
331
  private static final int __DOAFLAG_ISSET_ID = 17;
341
  private static final int __DOAFLAG_ISSET_ID = 17;
332
  private static final int __TRANSACTIONID_ISSET_ID = 18;
342
  private static final int __TRANSACTIONID_ISSET_ID = 18;
333
  private static final int __COD_ISSET_ID = 19;
343
  private static final int __COD_ISSET_ID = 19;
334
  private static final int __PROMISED_DELIVERY_TIME_ISSET_ID = 20;
344
  private static final int __PROMISED_DELIVERY_TIME_ISSET_ID = 20;
-
 
345
  private static final int __EXPECTED_SHIPPING_TIME_ISSET_ID = 21;
-
 
346
  private static final int __VERIFICATION_TIMESTAMP_ISSET_ID = 22;
335
  private BitSet __isset_bit_vector = new BitSet(21);
347
  private BitSet __isset_bit_vector = new BitSet(23);
336
 
348
 
337
  public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
349
  public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
338
  static {
350
  static {
339
    Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
351
    Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
340
    tmpMap.put(_Fields.ID, new org.apache.thrift.meta_data.FieldMetaData("id", org.apache.thrift.TFieldRequirementType.DEFAULT, 
352
    tmpMap.put(_Fields.ID, new org.apache.thrift.meta_data.FieldMetaData("id", org.apache.thrift.TFieldRequirementType.DEFAULT, 
Line 416... Line 428...
416
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
428
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
417
    tmpMap.put(_Fields.DELAY_REASON, new org.apache.thrift.meta_data.FieldMetaData("delayReason", org.apache.thrift.TFieldRequirementType.DEFAULT, 
429
    tmpMap.put(_Fields.DELAY_REASON, new org.apache.thrift.meta_data.FieldMetaData("delayReason", org.apache.thrift.TFieldRequirementType.DEFAULT, 
418
        new org.apache.thrift.meta_data.EnumMetaData(org.apache.thrift.protocol.TType.ENUM, DelayReason.class)));
430
        new org.apache.thrift.meta_data.EnumMetaData(org.apache.thrift.protocol.TType.ENUM, DelayReason.class)));
419
    tmpMap.put(_Fields.PROMISED_DELIVERY_TIME, new org.apache.thrift.meta_data.FieldMetaData("promised_delivery_time", org.apache.thrift.TFieldRequirementType.DEFAULT, 
431
    tmpMap.put(_Fields.PROMISED_DELIVERY_TIME, new org.apache.thrift.meta_data.FieldMetaData("promised_delivery_time", org.apache.thrift.TFieldRequirementType.DEFAULT, 
420
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
432
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
433
    tmpMap.put(_Fields.EXPECTED_SHIPPING_TIME, new org.apache.thrift.meta_data.FieldMetaData("expected_shipping_time", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
434
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
435
    tmpMap.put(_Fields.VERIFICATION_TIMESTAMP, new org.apache.thrift.meta_data.FieldMetaData("verification_timestamp", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
436
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
421
    metaDataMap = Collections.unmodifiableMap(tmpMap);
437
    metaDataMap = Collections.unmodifiableMap(tmpMap);
422
    org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(Order.class, metaDataMap);
438
    org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(Order.class, metaDataMap);
423
  }
439
  }
424
 
440
 
425
  public Order() {
441
  public Order() {
Line 463... Line 479...
463
    String pickupRequestNo,
479
    String pickupRequestNo,
464
    long transactionId,
480
    long transactionId,
465
    String purchaseOrderNo,
481
    String purchaseOrderNo,
466
    boolean cod,
482
    boolean cod,
467
    DelayReason delayReason,
483
    DelayReason delayReason,
468
    long promised_delivery_time)
484
    long promised_delivery_time,
-
 
485
    long expected_shipping_time,
-
 
486
    long verification_timestamp)
469
  {
487
  {
470
    this();
488
    this();
471
    this.id = id;
489
    this.id = id;
472
    setIdIsSet(true);
490
    setIdIsSet(true);
473
    this.warehouse_id = warehouse_id;
491
    this.warehouse_id = warehouse_id;
Line 527... Line 545...
527
    this.cod = cod;
545
    this.cod = cod;
528
    setCodIsSet(true);
546
    setCodIsSet(true);
529
    this.delayReason = delayReason;
547
    this.delayReason = delayReason;
530
    this.promised_delivery_time = promised_delivery_time;
548
    this.promised_delivery_time = promised_delivery_time;
531
    setPromised_delivery_timeIsSet(true);
549
    setPromised_delivery_timeIsSet(true);
-
 
550
    this.expected_shipping_time = expected_shipping_time;
-
 
551
    setExpected_shipping_timeIsSet(true);
-
 
552
    this.verification_timestamp = verification_timestamp;
-
 
553
    setVerification_timestampIsSet(true);
532
  }
554
  }
533
 
555
 
534
  /**
556
  /**
535
   * Performs a deep copy on <i>other</i>.
557
   * Performs a deep copy on <i>other</i>.
536
   */
558
   */
Line 617... Line 639...
617
    this.cod = other.cod;
639
    this.cod = other.cod;
618
    if (other.isSetDelayReason()) {
640
    if (other.isSetDelayReason()) {
619
      this.delayReason = other.delayReason;
641
      this.delayReason = other.delayReason;
620
    }
642
    }
621
    this.promised_delivery_time = other.promised_delivery_time;
643
    this.promised_delivery_time = other.promised_delivery_time;
-
 
644
    this.expected_shipping_time = other.expected_shipping_time;
-
 
645
    this.verification_timestamp = other.verification_timestamp;
622
  }
646
  }
623
 
647
 
624
  public Order deepCopy() {
648
  public Order deepCopy() {
625
    return new Order(this);
649
    return new Order(this);
626
  }
650
  }
Line 686... Line 710...
686
    setCodIsSet(false);
710
    setCodIsSet(false);
687
    this.cod = false;
711
    this.cod = false;
688
    this.delayReason = null;
712
    this.delayReason = null;
689
    setPromised_delivery_timeIsSet(false);
713
    setPromised_delivery_timeIsSet(false);
690
    this.promised_delivery_time = 0;
714
    this.promised_delivery_time = 0;
-
 
715
    setExpected_shipping_timeIsSet(false);
-
 
716
    this.expected_shipping_time = 0;
-
 
717
    setVerification_timestampIsSet(false);
-
 
718
    this.verification_timestamp = 0;
691
  }
719
  }
692
 
720
 
693
  public long getId() {
721
  public long getId() {
694
    return this.id;
722
    return this.id;
695
  }
723
  }
Line 1662... Line 1690...
1662
 
1690
 
1663
  public void setPromised_delivery_timeIsSet(boolean value) {
1691
  public void setPromised_delivery_timeIsSet(boolean value) {
1664
    __isset_bit_vector.set(__PROMISED_DELIVERY_TIME_ISSET_ID, value);
1692
    __isset_bit_vector.set(__PROMISED_DELIVERY_TIME_ISSET_ID, value);
1665
  }
1693
  }
1666
 
1694
 
-
 
1695
  public long getExpected_shipping_time() {
-
 
1696
    return this.expected_shipping_time;
-
 
1697
  }
-
 
1698
 
-
 
1699
  public void setExpected_shipping_time(long expected_shipping_time) {
-
 
1700
    this.expected_shipping_time = expected_shipping_time;
-
 
1701
    setExpected_shipping_timeIsSet(true);
-
 
1702
  }
-
 
1703
 
-
 
1704
  public void unsetExpected_shipping_time() {
-
 
1705
    __isset_bit_vector.clear(__EXPECTED_SHIPPING_TIME_ISSET_ID);
-
 
1706
  }
-
 
1707
 
-
 
1708
  /** Returns true if field expected_shipping_time is set (has been assigned a value) and false otherwise */
-
 
1709
  public boolean isSetExpected_shipping_time() {
-
 
1710
    return __isset_bit_vector.get(__EXPECTED_SHIPPING_TIME_ISSET_ID);
-
 
1711
  }
-
 
1712
 
-
 
1713
  public void setExpected_shipping_timeIsSet(boolean value) {
-
 
1714
    __isset_bit_vector.set(__EXPECTED_SHIPPING_TIME_ISSET_ID, value);
-
 
1715
  }
-
 
1716
 
-
 
1717
  public long getVerification_timestamp() {
-
 
1718
    return this.verification_timestamp;
-
 
1719
  }
-
 
1720
 
-
 
1721
  public void setVerification_timestamp(long verification_timestamp) {
-
 
1722
    this.verification_timestamp = verification_timestamp;
-
 
1723
    setVerification_timestampIsSet(true);
-
 
1724
  }
-
 
1725
 
-
 
1726
  public void unsetVerification_timestamp() {
-
 
1727
    __isset_bit_vector.clear(__VERIFICATION_TIMESTAMP_ISSET_ID);
-
 
1728
  }
-
 
1729
 
-
 
1730
  /** Returns true if field verification_timestamp is set (has been assigned a value) and false otherwise */
-
 
1731
  public boolean isSetVerification_timestamp() {
-
 
1732
    return __isset_bit_vector.get(__VERIFICATION_TIMESTAMP_ISSET_ID);
-
 
1733
  }
-
 
1734
 
-
 
1735
  public void setVerification_timestampIsSet(boolean value) {
-
 
1736
    __isset_bit_vector.set(__VERIFICATION_TIMESTAMP_ISSET_ID, value);
-
 
1737
  }
-
 
1738
 
1667
  public void setFieldValue(_Fields field, Object value) {
1739
  public void setFieldValue(_Fields field, Object value) {
1668
    switch (field) {
1740
    switch (field) {
1669
    case ID:
1741
    case ID:
1670
      if (value == null) {
1742
      if (value == null) {
1671
        unsetId();
1743
        unsetId();
Line 1984... Line 2056...
1984
      } else {
2056
      } else {
1985
        setPromised_delivery_time((Long)value);
2057
        setPromised_delivery_time((Long)value);
1986
      }
2058
      }
1987
      break;
2059
      break;
1988
 
2060
 
-
 
2061
    case EXPECTED_SHIPPING_TIME:
-
 
2062
      if (value == null) {
-
 
2063
        unsetExpected_shipping_time();
-
 
2064
      } else {
-
 
2065
        setExpected_shipping_time((Long)value);
-
 
2066
      }
-
 
2067
      break;
-
 
2068
 
-
 
2069
    case VERIFICATION_TIMESTAMP:
-
 
2070
      if (value == null) {
-
 
2071
        unsetVerification_timestamp();
-
 
2072
      } else {
-
 
2073
        setVerification_timestamp((Long)value);
-
 
2074
      }
-
 
2075
      break;
-
 
2076
 
1989
    }
2077
    }
1990
  }
2078
  }
1991
 
2079
 
1992
  public Object getFieldValue(_Fields field) {
2080
  public Object getFieldValue(_Fields field) {
1993
    switch (field) {
2081
    switch (field) {
Line 2109... Line 2197...
2109
      return getDelayReason();
2197
      return getDelayReason();
2110
 
2198
 
2111
    case PROMISED_DELIVERY_TIME:
2199
    case PROMISED_DELIVERY_TIME:
2112
      return Long.valueOf(getPromised_delivery_time());
2200
      return Long.valueOf(getPromised_delivery_time());
2113
 
2201
 
-
 
2202
    case EXPECTED_SHIPPING_TIME:
-
 
2203
      return Long.valueOf(getExpected_shipping_time());
-
 
2204
 
-
 
2205
    case VERIFICATION_TIMESTAMP:
-
 
2206
      return Long.valueOf(getVerification_timestamp());
-
 
2207
 
2114
    }
2208
    }
2115
    throw new IllegalStateException();
2209
    throw new IllegalStateException();
2116
  }
2210
  }
2117
 
2211
 
2118
  /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
2212
  /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
Line 2200... Line 2294...
2200
      return isSetCod();
2294
      return isSetCod();
2201
    case DELAY_REASON:
2295
    case DELAY_REASON:
2202
      return isSetDelayReason();
2296
      return isSetDelayReason();
2203
    case PROMISED_DELIVERY_TIME:
2297
    case PROMISED_DELIVERY_TIME:
2204
      return isSetPromised_delivery_time();
2298
      return isSetPromised_delivery_time();
-
 
2299
    case EXPECTED_SHIPPING_TIME:
-
 
2300
      return isSetExpected_shipping_time();
-
 
2301
    case VERIFICATION_TIMESTAMP:
-
 
2302
      return isSetVerification_timestamp();
2205
    }
2303
    }
2206
    throw new IllegalStateException();
2304
    throw new IllegalStateException();
2207
  }
2305
  }
2208
 
2306
 
2209
  @Override
2307
  @Override
Line 2577... Line 2675...
2577
        return false;
2675
        return false;
2578
      if (this.promised_delivery_time != that.promised_delivery_time)
2676
      if (this.promised_delivery_time != that.promised_delivery_time)
2579
        return false;
2677
        return false;
2580
    }
2678
    }
2581
 
2679
 
-
 
2680
    boolean this_present_expected_shipping_time = true;
-
 
2681
    boolean that_present_expected_shipping_time = true;
-
 
2682
    if (this_present_expected_shipping_time || that_present_expected_shipping_time) {
-
 
2683
      if (!(this_present_expected_shipping_time && that_present_expected_shipping_time))
-
 
2684
        return false;
-
 
2685
      if (this.expected_shipping_time != that.expected_shipping_time)
-
 
2686
        return false;
-
 
2687
    }
-
 
2688
 
-
 
2689
    boolean this_present_verification_timestamp = true;
-
 
2690
    boolean that_present_verification_timestamp = true;
-
 
2691
    if (this_present_verification_timestamp || that_present_verification_timestamp) {
-
 
2692
      if (!(this_present_verification_timestamp && that_present_verification_timestamp))
-
 
2693
        return false;
-
 
2694
      if (this.verification_timestamp != that.verification_timestamp)
-
 
2695
        return false;
-
 
2696
    }
-
 
2697
 
2582
    return true;
2698
    return true;
2583
  }
2699
  }
2584
 
2700
 
2585
  @Override
2701
  @Override
2586
  public int hashCode() {
2702
  public int hashCode() {
Line 2993... Line 3109...
2993
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.promised_delivery_time, typedOther.promised_delivery_time);
3109
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.promised_delivery_time, typedOther.promised_delivery_time);
2994
      if (lastComparison != 0) {
3110
      if (lastComparison != 0) {
2995
        return lastComparison;
3111
        return lastComparison;
2996
      }
3112
      }
2997
    }
3113
    }
-
 
3114
    lastComparison = Boolean.valueOf(isSetExpected_shipping_time()).compareTo(typedOther.isSetExpected_shipping_time());
-
 
3115
    if (lastComparison != 0) {
-
 
3116
      return lastComparison;
-
 
3117
    }
-
 
3118
    if (isSetExpected_shipping_time()) {
-
 
3119
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.expected_shipping_time, typedOther.expected_shipping_time);
-
 
3120
      if (lastComparison != 0) {
-
 
3121
        return lastComparison;
-
 
3122
      }
-
 
3123
    }
-
 
3124
    lastComparison = Boolean.valueOf(isSetVerification_timestamp()).compareTo(typedOther.isSetVerification_timestamp());
-
 
3125
    if (lastComparison != 0) {
-
 
3126
      return lastComparison;
-
 
3127
    }
-
 
3128
    if (isSetVerification_timestamp()) {
-
 
3129
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.verification_timestamp, typedOther.verification_timestamp);
-
 
3130
      if (lastComparison != 0) {
-
 
3131
        return lastComparison;
-
 
3132
      }
-
 
3133
    }
2998
    return 0;
3134
    return 0;
2999
  }
3135
  }
3000
 
3136
 
3001
  public _Fields fieldForId(int fieldId) {
3137
  public _Fields fieldForId(int fieldId) {
3002
    return _Fields.findByThriftId(fieldId);
3138
    return _Fields.findByThriftId(fieldId);
Line 3322... Line 3458...
3322
            setPromised_delivery_timeIsSet(true);
3458
            setPromised_delivery_timeIsSet(true);
3323
          } else { 
3459
          } else { 
3324
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
3460
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
3325
          }
3461
          }
3326
          break;
3462
          break;
-
 
3463
        case 41: // EXPECTED_SHIPPING_TIME
-
 
3464
          if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
3465
            this.expected_shipping_time = iprot.readI64();
-
 
3466
            setExpected_shipping_timeIsSet(true);
-
 
3467
          } else { 
-
 
3468
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
3469
          }
-
 
3470
          break;
-
 
3471
        case 42: // VERIFICATION_TIMESTAMP
-
 
3472
          if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
3473
            this.verification_timestamp = iprot.readI64();
-
 
3474
            setVerification_timestampIsSet(true);
-
 
3475
          } else { 
-
 
3476
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
3477
          }
-
 
3478
          break;
3327
        default:
3479
        default:
3328
          org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
3480
          org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
3329
      }
3481
      }
3330
      iprot.readFieldEnd();
3482
      iprot.readFieldEnd();
3331
    }
3483
    }
Line 3500... Line 3652...
3500
      oprot.writeFieldEnd();
3652
      oprot.writeFieldEnd();
3501
    }
3653
    }
3502
    oprot.writeFieldBegin(PROMISED_DELIVERY_TIME_FIELD_DESC);
3654
    oprot.writeFieldBegin(PROMISED_DELIVERY_TIME_FIELD_DESC);
3503
    oprot.writeI64(this.promised_delivery_time);
3655
    oprot.writeI64(this.promised_delivery_time);
3504
    oprot.writeFieldEnd();
3656
    oprot.writeFieldEnd();
-
 
3657
    oprot.writeFieldBegin(EXPECTED_SHIPPING_TIME_FIELD_DESC);
-
 
3658
    oprot.writeI64(this.expected_shipping_time);
-
 
3659
    oprot.writeFieldEnd();
-
 
3660
    oprot.writeFieldBegin(VERIFICATION_TIMESTAMP_FIELD_DESC);
-
 
3661
    oprot.writeI64(this.verification_timestamp);
-
 
3662
    oprot.writeFieldEnd();
3505
    oprot.writeFieldStop();
3663
    oprot.writeFieldStop();
3506
    oprot.writeStructEnd();
3664
    oprot.writeStructEnd();
3507
  }
3665
  }
3508
 
3666
 
3509
  @Override
3667
  @Override
Line 3744... Line 3902...
3744
    first = false;
3902
    first = false;
3745
    if (!first) sb.append(", ");
3903
    if (!first) sb.append(", ");
3746
    sb.append("promised_delivery_time:");
3904
    sb.append("promised_delivery_time:");
3747
    sb.append(this.promised_delivery_time);
3905
    sb.append(this.promised_delivery_time);
3748
    first = false;
3906
    first = false;
-
 
3907
    if (!first) sb.append(", ");
-
 
3908
    sb.append("expected_shipping_time:");
-
 
3909
    sb.append(this.expected_shipping_time);
-
 
3910
    first = false;
-
 
3911
    if (!first) sb.append(", ");
-
 
3912
    sb.append("verification_timestamp:");
-
 
3913
    sb.append(this.verification_timestamp);
-
 
3914
    first = false;
3749
    sb.append(")");
3915
    sb.append(")");
3750
    return sb.toString();
3916
    return sb.toString();
3751
  }
3917
  }
3752
 
3918
 
3753
  public void validate() throws org.apache.thrift.TException {
3919
  public void validate() throws org.apache.thrift.TException {