Subversion Repositories SmartDukaan

Rev

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

Rev 4102 Rev 4192
Line 64... Line 64...
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);
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);
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);
68
  private static final org.apache.thrift.protocol.TField PROMISED_SHIPPING_TIME_FIELD_DESC = new org.apache.thrift.protocol.TField("promised_shipping_time", org.apache.thrift.protocol.TType.I64, (short)43);
68
  private static final org.apache.thrift.protocol.TField PROMISED_SHIPPING_TIME_FIELD_DESC = new org.apache.thrift.protocol.TField("promised_shipping_time", org.apache.thrift.protocol.TType.I64, (short)43);
-
 
69
  private static final org.apache.thrift.protocol.TField RESHIP_TIMESTAMP_FIELD_DESC = new org.apache.thrift.protocol.TField("reship_timestamp", org.apache.thrift.protocol.TType.I64, (short)44);
-
 
70
  private static final org.apache.thrift.protocol.TField REFUND_TIMESTAMP_FIELD_DESC = new org.apache.thrift.protocol.TField("refund_timestamp", org.apache.thrift.protocol.TType.I64, (short)45);
-
 
71
  private static final org.apache.thrift.protocol.TField NEW_ORDER_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("new_order_id", org.apache.thrift.protocol.TType.I64, (short)46);
69
 
72
 
70
  private long id; // required
73
  private long id; // required
71
  private long warehouse_id; // required
74
  private long warehouse_id; // required
72
  private List<LineItem> lineitems; // required
75
  private List<LineItem> lineitems; // required
73
  private long logistics_provider_id; // required
76
  private long logistics_provider_id; // required
Line 108... Line 111...
108
  private DelayReason delayReason; // required
111
  private DelayReason delayReason; // required
109
  private long promised_delivery_time; // required
112
  private long promised_delivery_time; // required
110
  private long expected_shipping_time; // required
113
  private long expected_shipping_time; // required
111
  private long verification_timestamp; // required
114
  private long verification_timestamp; // required
112
  private long promised_shipping_time; // required
115
  private long promised_shipping_time; // required
-
 
116
  private long reship_timestamp; // required
-
 
117
  private long refund_timestamp; // required
-
 
118
  private long new_order_id; // required
113
 
119
 
114
  /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
120
  /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
115
  public enum _Fields implements org.apache.thrift.TFieldIdEnum {
121
  public enum _Fields implements org.apache.thrift.TFieldIdEnum {
116
    ID((short)1, "id"),
122
    ID((short)1, "id"),
117
    WAREHOUSE_ID((short)2, "warehouse_id"),
123
    WAREHOUSE_ID((short)2, "warehouse_id"),
Line 183... Line 189...
183
     */
189
     */
184
    DELAY_REASON((short)39, "delayReason"),
190
    DELAY_REASON((short)39, "delayReason"),
185
    PROMISED_DELIVERY_TIME((short)40, "promised_delivery_time"),
191
    PROMISED_DELIVERY_TIME((short)40, "promised_delivery_time"),
186
    EXPECTED_SHIPPING_TIME((short)41, "expected_shipping_time"),
192
    EXPECTED_SHIPPING_TIME((short)41, "expected_shipping_time"),
187
    VERIFICATION_TIMESTAMP((short)42, "verification_timestamp"),
193
    VERIFICATION_TIMESTAMP((short)42, "verification_timestamp"),
188
    PROMISED_SHIPPING_TIME((short)43, "promised_shipping_time");
194
    PROMISED_SHIPPING_TIME((short)43, "promised_shipping_time"),
-
 
195
    RESHIP_TIMESTAMP((short)44, "reship_timestamp"),
-
 
196
    REFUND_TIMESTAMP((short)45, "refund_timestamp"),
-
 
197
    NEW_ORDER_ID((short)46, "new_order_id");
189
 
198
 
190
    private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
199
    private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
191
 
200
 
192
    static {
201
    static {
193
      for (_Fields field : EnumSet.allOf(_Fields.class)) {
202
      for (_Fields field : EnumSet.allOf(_Fields.class)) {
Line 284... Line 293...
284
          return EXPECTED_SHIPPING_TIME;
293
          return EXPECTED_SHIPPING_TIME;
285
        case 42: // VERIFICATION_TIMESTAMP
294
        case 42: // VERIFICATION_TIMESTAMP
286
          return VERIFICATION_TIMESTAMP;
295
          return VERIFICATION_TIMESTAMP;
287
        case 43: // PROMISED_SHIPPING_TIME
296
        case 43: // PROMISED_SHIPPING_TIME
288
          return PROMISED_SHIPPING_TIME;
297
          return PROMISED_SHIPPING_TIME;
-
 
298
        case 44: // RESHIP_TIMESTAMP
-
 
299
          return RESHIP_TIMESTAMP;
-
 
300
        case 45: // REFUND_TIMESTAMP
-
 
301
          return REFUND_TIMESTAMP;
-
 
302
        case 46: // NEW_ORDER_ID
-
 
303
          return NEW_ORDER_ID;
289
        default:
304
        default:
290
          return null;
305
          return null;
291
      }
306
      }
292
    }
307
    }
293
 
308
 
Line 348... Line 363...
348
  private static final int __COD_ISSET_ID = 19;
363
  private static final int __COD_ISSET_ID = 19;
349
  private static final int __PROMISED_DELIVERY_TIME_ISSET_ID = 20;
364
  private static final int __PROMISED_DELIVERY_TIME_ISSET_ID = 20;
350
  private static final int __EXPECTED_SHIPPING_TIME_ISSET_ID = 21;
365
  private static final int __EXPECTED_SHIPPING_TIME_ISSET_ID = 21;
351
  private static final int __VERIFICATION_TIMESTAMP_ISSET_ID = 22;
366
  private static final int __VERIFICATION_TIMESTAMP_ISSET_ID = 22;
352
  private static final int __PROMISED_SHIPPING_TIME_ISSET_ID = 23;
367
  private static final int __PROMISED_SHIPPING_TIME_ISSET_ID = 23;
-
 
368
  private static final int __RESHIP_TIMESTAMP_ISSET_ID = 24;
-
 
369
  private static final int __REFUND_TIMESTAMP_ISSET_ID = 25;
-
 
370
  private static final int __NEW_ORDER_ID_ISSET_ID = 26;
353
  private BitSet __isset_bit_vector = new BitSet(24);
371
  private BitSet __isset_bit_vector = new BitSet(27);
354
 
372
 
355
  public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
373
  public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
356
  static {
374
  static {
357
    Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
375
    Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
358
    tmpMap.put(_Fields.ID, new org.apache.thrift.meta_data.FieldMetaData("id", org.apache.thrift.TFieldRequirementType.DEFAULT, 
376
    tmpMap.put(_Fields.ID, new org.apache.thrift.meta_data.FieldMetaData("id", org.apache.thrift.TFieldRequirementType.DEFAULT, 
Line 440... Line 458...
440
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
458
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
441
    tmpMap.put(_Fields.VERIFICATION_TIMESTAMP, new org.apache.thrift.meta_data.FieldMetaData("verification_timestamp", org.apache.thrift.TFieldRequirementType.DEFAULT, 
459
    tmpMap.put(_Fields.VERIFICATION_TIMESTAMP, new org.apache.thrift.meta_data.FieldMetaData("verification_timestamp", org.apache.thrift.TFieldRequirementType.DEFAULT, 
442
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
460
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
443
    tmpMap.put(_Fields.PROMISED_SHIPPING_TIME, new org.apache.thrift.meta_data.FieldMetaData("promised_shipping_time", org.apache.thrift.TFieldRequirementType.DEFAULT, 
461
    tmpMap.put(_Fields.PROMISED_SHIPPING_TIME, new org.apache.thrift.meta_data.FieldMetaData("promised_shipping_time", org.apache.thrift.TFieldRequirementType.DEFAULT, 
444
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
462
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
463
    tmpMap.put(_Fields.RESHIP_TIMESTAMP, new org.apache.thrift.meta_data.FieldMetaData("reship_timestamp", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
-
 
464
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
465
    tmpMap.put(_Fields.REFUND_TIMESTAMP, new org.apache.thrift.meta_data.FieldMetaData("refund_timestamp", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
-
 
466
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
467
    tmpMap.put(_Fields.NEW_ORDER_ID, new org.apache.thrift.meta_data.FieldMetaData("new_order_id", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
-
 
468
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
445
    metaDataMap = Collections.unmodifiableMap(tmpMap);
469
    metaDataMap = Collections.unmodifiableMap(tmpMap);
446
    org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(Order.class, metaDataMap);
470
    org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(Order.class, metaDataMap);
447
  }
471
  }
448
 
472
 
449
  public Order() {
473
  public Order() {
Line 653... Line 677...
653
    }
677
    }
654
    this.promised_delivery_time = other.promised_delivery_time;
678
    this.promised_delivery_time = other.promised_delivery_time;
655
    this.expected_shipping_time = other.expected_shipping_time;
679
    this.expected_shipping_time = other.expected_shipping_time;
656
    this.verification_timestamp = other.verification_timestamp;
680
    this.verification_timestamp = other.verification_timestamp;
657
    this.promised_shipping_time = other.promised_shipping_time;
681
    this.promised_shipping_time = other.promised_shipping_time;
-
 
682
    this.reship_timestamp = other.reship_timestamp;
-
 
683
    this.refund_timestamp = other.refund_timestamp;
-
 
684
    this.new_order_id = other.new_order_id;
658
  }
685
  }
659
 
686
 
660
  public Order deepCopy() {
687
  public Order deepCopy() {
661
    return new Order(this);
688
    return new Order(this);
662
  }
689
  }
Line 728... Line 755...
728
    this.expected_shipping_time = 0;
755
    this.expected_shipping_time = 0;
729
    setVerification_timestampIsSet(false);
756
    setVerification_timestampIsSet(false);
730
    this.verification_timestamp = 0;
757
    this.verification_timestamp = 0;
731
    setPromised_shipping_timeIsSet(false);
758
    setPromised_shipping_timeIsSet(false);
732
    this.promised_shipping_time = 0;
759
    this.promised_shipping_time = 0;
-
 
760
    setReship_timestampIsSet(false);
-
 
761
    this.reship_timestamp = 0;
-
 
762
    setRefund_timestampIsSet(false);
-
 
763
    this.refund_timestamp = 0;
-
 
764
    setNew_order_idIsSet(false);
-
 
765
    this.new_order_id = 0;
733
  }
766
  }
734
 
767
 
735
  public long getId() {
768
  public long getId() {
736
    return this.id;
769
    return this.id;
737
  }
770
  }
Line 1770... Line 1803...
1770
 
1803
 
1771
  public void setPromised_shipping_timeIsSet(boolean value) {
1804
  public void setPromised_shipping_timeIsSet(boolean value) {
1772
    __isset_bit_vector.set(__PROMISED_SHIPPING_TIME_ISSET_ID, value);
1805
    __isset_bit_vector.set(__PROMISED_SHIPPING_TIME_ISSET_ID, value);
1773
  }
1806
  }
1774
 
1807
 
-
 
1808
  public long getReship_timestamp() {
-
 
1809
    return this.reship_timestamp;
-
 
1810
  }
-
 
1811
 
-
 
1812
  public void setReship_timestamp(long reship_timestamp) {
-
 
1813
    this.reship_timestamp = reship_timestamp;
-
 
1814
    setReship_timestampIsSet(true);
-
 
1815
  }
-
 
1816
 
-
 
1817
  public void unsetReship_timestamp() {
-
 
1818
    __isset_bit_vector.clear(__RESHIP_TIMESTAMP_ISSET_ID);
-
 
1819
  }
-
 
1820
 
-
 
1821
  /** Returns true if field reship_timestamp is set (has been assigned a value) and false otherwise */
-
 
1822
  public boolean isSetReship_timestamp() {
-
 
1823
    return __isset_bit_vector.get(__RESHIP_TIMESTAMP_ISSET_ID);
-
 
1824
  }
-
 
1825
 
-
 
1826
  public void setReship_timestampIsSet(boolean value) {
-
 
1827
    __isset_bit_vector.set(__RESHIP_TIMESTAMP_ISSET_ID, value);
-
 
1828
  }
-
 
1829
 
-
 
1830
  public long getRefund_timestamp() {
-
 
1831
    return this.refund_timestamp;
-
 
1832
  }
-
 
1833
 
-
 
1834
  public void setRefund_timestamp(long refund_timestamp) {
-
 
1835
    this.refund_timestamp = refund_timestamp;
-
 
1836
    setRefund_timestampIsSet(true);
-
 
1837
  }
-
 
1838
 
-
 
1839
  public void unsetRefund_timestamp() {
-
 
1840
    __isset_bit_vector.clear(__REFUND_TIMESTAMP_ISSET_ID);
-
 
1841
  }
-
 
1842
 
-
 
1843
  /** Returns true if field refund_timestamp is set (has been assigned a value) and false otherwise */
-
 
1844
  public boolean isSetRefund_timestamp() {
-
 
1845
    return __isset_bit_vector.get(__REFUND_TIMESTAMP_ISSET_ID);
-
 
1846
  }
-
 
1847
 
-
 
1848
  public void setRefund_timestampIsSet(boolean value) {
-
 
1849
    __isset_bit_vector.set(__REFUND_TIMESTAMP_ISSET_ID, value);
-
 
1850
  }
-
 
1851
 
-
 
1852
  public long getNew_order_id() {
-
 
1853
    return this.new_order_id;
-
 
1854
  }
-
 
1855
 
-
 
1856
  public void setNew_order_id(long new_order_id) {
-
 
1857
    this.new_order_id = new_order_id;
-
 
1858
    setNew_order_idIsSet(true);
-
 
1859
  }
-
 
1860
 
-
 
1861
  public void unsetNew_order_id() {
-
 
1862
    __isset_bit_vector.clear(__NEW_ORDER_ID_ISSET_ID);
-
 
1863
  }
-
 
1864
 
-
 
1865
  /** Returns true if field new_order_id is set (has been assigned a value) and false otherwise */
-
 
1866
  public boolean isSetNew_order_id() {
-
 
1867
    return __isset_bit_vector.get(__NEW_ORDER_ID_ISSET_ID);
-
 
1868
  }
-
 
1869
 
-
 
1870
  public void setNew_order_idIsSet(boolean value) {
-
 
1871
    __isset_bit_vector.set(__NEW_ORDER_ID_ISSET_ID, value);
-
 
1872
  }
-
 
1873
 
1775
  public void setFieldValue(_Fields field, Object value) {
1874
  public void setFieldValue(_Fields field, Object value) {
1776
    switch (field) {
1875
    switch (field) {
1777
    case ID:
1876
    case ID:
1778
      if (value == null) {
1877
      if (value == null) {
1779
        unsetId();
1878
        unsetId();
Line 2116... Line 2215...
2116
      } else {
2215
      } else {
2117
        setPromised_shipping_time((Long)value);
2216
        setPromised_shipping_time((Long)value);
2118
      }
2217
      }
2119
      break;
2218
      break;
2120
 
2219
 
-
 
2220
    case RESHIP_TIMESTAMP:
-
 
2221
      if (value == null) {
-
 
2222
        unsetReship_timestamp();
-
 
2223
      } else {
-
 
2224
        setReship_timestamp((Long)value);
-
 
2225
      }
-
 
2226
      break;
-
 
2227
 
-
 
2228
    case REFUND_TIMESTAMP:
-
 
2229
      if (value == null) {
-
 
2230
        unsetRefund_timestamp();
-
 
2231
      } else {
-
 
2232
        setRefund_timestamp((Long)value);
-
 
2233
      }
-
 
2234
      break;
-
 
2235
 
-
 
2236
    case NEW_ORDER_ID:
-
 
2237
      if (value == null) {
-
 
2238
        unsetNew_order_id();
-
 
2239
      } else {
-
 
2240
        setNew_order_id((Long)value);
-
 
2241
      }
-
 
2242
      break;
-
 
2243
 
2121
    }
2244
    }
2122
  }
2245
  }
2123
 
2246
 
2124
  public Object getFieldValue(_Fields field) {
2247
  public Object getFieldValue(_Fields field) {
2125
    switch (field) {
2248
    switch (field) {
Line 2250... Line 2373...
2250
      return Long.valueOf(getVerification_timestamp());
2373
      return Long.valueOf(getVerification_timestamp());
2251
 
2374
 
2252
    case PROMISED_SHIPPING_TIME:
2375
    case PROMISED_SHIPPING_TIME:
2253
      return Long.valueOf(getPromised_shipping_time());
2376
      return Long.valueOf(getPromised_shipping_time());
2254
 
2377
 
-
 
2378
    case RESHIP_TIMESTAMP:
-
 
2379
      return Long.valueOf(getReship_timestamp());
-
 
2380
 
-
 
2381
    case REFUND_TIMESTAMP:
-
 
2382
      return Long.valueOf(getRefund_timestamp());
-
 
2383
 
-
 
2384
    case NEW_ORDER_ID:
-
 
2385
      return Long.valueOf(getNew_order_id());
-
 
2386
 
2255
    }
2387
    }
2256
    throw new IllegalStateException();
2388
    throw new IllegalStateException();
2257
  }
2389
  }
2258
 
2390
 
2259
  /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
2391
  /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
Line 2347... Line 2479...
2347
      return isSetExpected_shipping_time();
2479
      return isSetExpected_shipping_time();
2348
    case VERIFICATION_TIMESTAMP:
2480
    case VERIFICATION_TIMESTAMP:
2349
      return isSetVerification_timestamp();
2481
      return isSetVerification_timestamp();
2350
    case PROMISED_SHIPPING_TIME:
2482
    case PROMISED_SHIPPING_TIME:
2351
      return isSetPromised_shipping_time();
2483
      return isSetPromised_shipping_time();
-
 
2484
    case RESHIP_TIMESTAMP:
-
 
2485
      return isSetReship_timestamp();
-
 
2486
    case REFUND_TIMESTAMP:
-
 
2487
      return isSetRefund_timestamp();
-
 
2488
    case NEW_ORDER_ID:
-
 
2489
      return isSetNew_order_id();
2352
    }
2490
    }
2353
    throw new IllegalStateException();
2491
    throw new IllegalStateException();
2354
  }
2492
  }
2355
 
2493
 
2356
  @Override
2494
  @Override
Line 2751... Line 2889...
2751
        return false;
2889
        return false;
2752
      if (this.promised_shipping_time != that.promised_shipping_time)
2890
      if (this.promised_shipping_time != that.promised_shipping_time)
2753
        return false;
2891
        return false;
2754
    }
2892
    }
2755
 
2893
 
-
 
2894
    boolean this_present_reship_timestamp = true && this.isSetReship_timestamp();
-
 
2895
    boolean that_present_reship_timestamp = true && that.isSetReship_timestamp();
-
 
2896
    if (this_present_reship_timestamp || that_present_reship_timestamp) {
-
 
2897
      if (!(this_present_reship_timestamp && that_present_reship_timestamp))
-
 
2898
        return false;
-
 
2899
      if (this.reship_timestamp != that.reship_timestamp)
-
 
2900
        return false;
-
 
2901
    }
-
 
2902
 
-
 
2903
    boolean this_present_refund_timestamp = true && this.isSetRefund_timestamp();
-
 
2904
    boolean that_present_refund_timestamp = true && that.isSetRefund_timestamp();
-
 
2905
    if (this_present_refund_timestamp || that_present_refund_timestamp) {
-
 
2906
      if (!(this_present_refund_timestamp && that_present_refund_timestamp))
-
 
2907
        return false;
-
 
2908
      if (this.refund_timestamp != that.refund_timestamp)
-
 
2909
        return false;
-
 
2910
    }
-
 
2911
 
-
 
2912
    boolean this_present_new_order_id = true && this.isSetNew_order_id();
-
 
2913
    boolean that_present_new_order_id = true && that.isSetNew_order_id();
-
 
2914
    if (this_present_new_order_id || that_present_new_order_id) {
-
 
2915
      if (!(this_present_new_order_id && that_present_new_order_id))
-
 
2916
        return false;
-
 
2917
      if (this.new_order_id != that.new_order_id)
-
 
2918
        return false;
-
 
2919
    }
-
 
2920
 
2756
    return true;
2921
    return true;
2757
  }
2922
  }
2758
 
2923
 
2759
  @Override
2924
  @Override
2760
  public int hashCode() {
2925
  public int hashCode() {
Line 3197... Line 3362...
3197
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.promised_shipping_time, typedOther.promised_shipping_time);
3362
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.promised_shipping_time, typedOther.promised_shipping_time);
3198
      if (lastComparison != 0) {
3363
      if (lastComparison != 0) {
3199
        return lastComparison;
3364
        return lastComparison;
3200
      }
3365
      }
3201
    }
3366
    }
-
 
3367
    lastComparison = Boolean.valueOf(isSetReship_timestamp()).compareTo(typedOther.isSetReship_timestamp());
-
 
3368
    if (lastComparison != 0) {
-
 
3369
      return lastComparison;
-
 
3370
    }
-
 
3371
    if (isSetReship_timestamp()) {
-
 
3372
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.reship_timestamp, typedOther.reship_timestamp);
-
 
3373
      if (lastComparison != 0) {
-
 
3374
        return lastComparison;
-
 
3375
      }
-
 
3376
    }
-
 
3377
    lastComparison = Boolean.valueOf(isSetRefund_timestamp()).compareTo(typedOther.isSetRefund_timestamp());
-
 
3378
    if (lastComparison != 0) {
-
 
3379
      return lastComparison;
-
 
3380
    }
-
 
3381
    if (isSetRefund_timestamp()) {
-
 
3382
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.refund_timestamp, typedOther.refund_timestamp);
-
 
3383
      if (lastComparison != 0) {
-
 
3384
        return lastComparison;
-
 
3385
      }
-
 
3386
    }
-
 
3387
    lastComparison = Boolean.valueOf(isSetNew_order_id()).compareTo(typedOther.isSetNew_order_id());
-
 
3388
    if (lastComparison != 0) {
-
 
3389
      return lastComparison;
-
 
3390
    }
-
 
3391
    if (isSetNew_order_id()) {
-
 
3392
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.new_order_id, typedOther.new_order_id);
-
 
3393
      if (lastComparison != 0) {
-
 
3394
        return lastComparison;
-
 
3395
      }
-
 
3396
    }
3202
    return 0;
3397
    return 0;
3203
  }
3398
  }
3204
 
3399
 
3205
  public _Fields fieldForId(int fieldId) {
3400
  public _Fields fieldForId(int fieldId) {
3206
    return _Fields.findByThriftId(fieldId);
3401
    return _Fields.findByThriftId(fieldId);
Line 3550... Line 3745...
3550
            setPromised_shipping_timeIsSet(true);
3745
            setPromised_shipping_timeIsSet(true);
3551
          } else { 
3746
          } else { 
3552
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
3747
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
3553
          }
3748
          }
3554
          break;
3749
          break;
-
 
3750
        case 44: // RESHIP_TIMESTAMP
-
 
3751
          if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
3752
            this.reship_timestamp = iprot.readI64();
-
 
3753
            setReship_timestampIsSet(true);
-
 
3754
          } else { 
-
 
3755
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
3756
          }
-
 
3757
          break;
-
 
3758
        case 45: // REFUND_TIMESTAMP
-
 
3759
          if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
3760
            this.refund_timestamp = iprot.readI64();
-
 
3761
            setRefund_timestampIsSet(true);
-
 
3762
          } else { 
-
 
3763
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
3764
          }
-
 
3765
          break;
-
 
3766
        case 46: // NEW_ORDER_ID
-
 
3767
          if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
3768
            this.new_order_id = iprot.readI64();
-
 
3769
            setNew_order_idIsSet(true);
-
 
3770
          } else { 
-
 
3771
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
3772
          }
-
 
3773
          break;
3555
        default:
3774
        default:
3556
          org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
3775
          org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
3557
      }
3776
      }
3558
      iprot.readFieldEnd();
3777
      iprot.readFieldEnd();
3559
    }
3778
    }
Line 3737... Line 3956...
3737
    oprot.writeI64(this.verification_timestamp);
3956
    oprot.writeI64(this.verification_timestamp);
3738
    oprot.writeFieldEnd();
3957
    oprot.writeFieldEnd();
3739
    oprot.writeFieldBegin(PROMISED_SHIPPING_TIME_FIELD_DESC);
3958
    oprot.writeFieldBegin(PROMISED_SHIPPING_TIME_FIELD_DESC);
3740
    oprot.writeI64(this.promised_shipping_time);
3959
    oprot.writeI64(this.promised_shipping_time);
3741
    oprot.writeFieldEnd();
3960
    oprot.writeFieldEnd();
-
 
3961
    if (isSetReship_timestamp()) {
-
 
3962
      oprot.writeFieldBegin(RESHIP_TIMESTAMP_FIELD_DESC);
-
 
3963
      oprot.writeI64(this.reship_timestamp);
-
 
3964
      oprot.writeFieldEnd();
-
 
3965
    }
-
 
3966
    if (isSetRefund_timestamp()) {
-
 
3967
      oprot.writeFieldBegin(REFUND_TIMESTAMP_FIELD_DESC);
-
 
3968
      oprot.writeI64(this.refund_timestamp);
-
 
3969
      oprot.writeFieldEnd();
-
 
3970
    }
-
 
3971
    if (isSetNew_order_id()) {
-
 
3972
      oprot.writeFieldBegin(NEW_ORDER_ID_FIELD_DESC);
-
 
3973
      oprot.writeI64(this.new_order_id);
-
 
3974
      oprot.writeFieldEnd();
-
 
3975
    }
3742
    oprot.writeFieldStop();
3976
    oprot.writeFieldStop();
3743
    oprot.writeStructEnd();
3977
    oprot.writeStructEnd();
3744
  }
3978
  }
3745
 
3979
 
3746
  @Override
3980
  @Override
Line 3993... Line 4227...
3993
    first = false;
4227
    first = false;
3994
    if (!first) sb.append(", ");
4228
    if (!first) sb.append(", ");
3995
    sb.append("promised_shipping_time:");
4229
    sb.append("promised_shipping_time:");
3996
    sb.append(this.promised_shipping_time);
4230
    sb.append(this.promised_shipping_time);
3997
    first = false;
4231
    first = false;
-
 
4232
    if (isSetReship_timestamp()) {
-
 
4233
      if (!first) sb.append(", ");
-
 
4234
      sb.append("reship_timestamp:");
-
 
4235
      sb.append(this.reship_timestamp);
-
 
4236
      first = false;
-
 
4237
    }
-
 
4238
    if (isSetRefund_timestamp()) {
-
 
4239
      if (!first) sb.append(", ");
-
 
4240
      sb.append("refund_timestamp:");
-
 
4241
      sb.append(this.refund_timestamp);
-
 
4242
      first = false;
-
 
4243
    }
-
 
4244
    if (isSetNew_order_id()) {
-
 
4245
      if (!first) sb.append(", ");
-
 
4246
      sb.append("new_order_id:");
-
 
4247
      sb.append(this.new_order_id);
-
 
4248
      first = false;
-
 
4249
    }
3998
    sb.append(")");
4250
    sb.append(")");
3999
    return sb.toString();
4251
    return sb.toString();
4000
  }
4252
  }
4001
 
4253
 
4002
  public void validate() throws org.apache.thrift.TException {
4254
  public void validate() throws org.apache.thrift.TException {