Subversion Repositories SmartDukaan

Rev

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

Rev 5189 Rev 5354
Line 77... Line 77...
77
  private static final org.apache.thrift.protocol.TField PURCHASE_ORDER_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("purchaseOrderId", org.apache.thrift.protocol.TType.I64, (short)52);
77
  private static final org.apache.thrift.protocol.TField PURCHASE_ORDER_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("purchaseOrderId", org.apache.thrift.protocol.TType.I64, (short)52);
78
  private static final org.apache.thrift.protocol.TField DOA_LOGISTICS_PROVIDER_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("doa_logistics_provider_id", org.apache.thrift.protocol.TType.I64, (short)53);
78
  private static final org.apache.thrift.protocol.TField DOA_LOGISTICS_PROVIDER_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("doa_logistics_provider_id", org.apache.thrift.protocol.TType.I64, (short)53);
79
  private static final org.apache.thrift.protocol.TField ORIGINAL_ORDER_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("originalOrderId", org.apache.thrift.protocol.TType.I64, (short)54);
79
  private static final org.apache.thrift.protocol.TField ORIGINAL_ORDER_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("originalOrderId", org.apache.thrift.protocol.TType.I64, (short)54);
80
  private static final org.apache.thrift.protocol.TField FULFILMENT_WAREHOUSE_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("fulfilmentWarehouseId", org.apache.thrift.protocol.TType.I64, (short)55);
80
  private static final org.apache.thrift.protocol.TField FULFILMENT_WAREHOUSE_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("fulfilmentWarehouseId", org.apache.thrift.protocol.TType.I64, (short)55);
81
  private static final org.apache.thrift.protocol.TField VENDOR_PAID_FIELD_DESC = new org.apache.thrift.protocol.TField("vendorPaid", org.apache.thrift.protocol.TType.BOOL, (short)56);
81
  private static final org.apache.thrift.protocol.TField VENDOR_PAID_FIELD_DESC = new org.apache.thrift.protocol.TField("vendorPaid", org.apache.thrift.protocol.TType.BOOL, (short)56);
-
 
82
  private static final org.apache.thrift.protocol.TField RECEIVED_RETURN_TIMESTAMP_FIELD_DESC = new org.apache.thrift.protocol.TField("received_return_timestamp", org.apache.thrift.protocol.TType.I64, (short)57);
-
 
83
  private static final org.apache.thrift.protocol.TField FIRST_ATTEMPT_TIMESTAMP_FIELD_DESC = new org.apache.thrift.protocol.TField("first_attempt_timestamp", org.apache.thrift.protocol.TType.I64, (short)58);
82
 
84
 
83
  private long id; // required
85
  private long id; // required
84
  private long warehouse_id; // required
86
  private long warehouse_id; // required
85
  private List<LineItem> lineitems; // required
87
  private List<LineItem> lineitems; // required
86
  private long logistics_provider_id; // required
88
  private long logistics_provider_id; // required
Line 134... Line 136...
134
  private long purchaseOrderId; // required
136
  private long purchaseOrderId; // required
135
  private long doa_logistics_provider_id; // required
137
  private long doa_logistics_provider_id; // required
136
  private long originalOrderId; // required
138
  private long originalOrderId; // required
137
  private long fulfilmentWarehouseId; // required
139
  private long fulfilmentWarehouseId; // required
138
  private boolean vendorPaid; // required
140
  private boolean vendorPaid; // required
-
 
141
  private long received_return_timestamp; // required
-
 
142
  private long first_attempt_timestamp; // required
139
 
143
 
140
  /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
144
  /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
141
  public enum _Fields implements org.apache.thrift.TFieldIdEnum {
145
  public enum _Fields implements org.apache.thrift.TFieldIdEnum {
142
    ID((short)1, "id"),
146
    ID((short)1, "id"),
143
    WAREHOUSE_ID((short)2, "warehouse_id"),
147
    WAREHOUSE_ID((short)2, "warehouse_id"),
Line 226... Line 230...
226
    REFUND_REASON((short)51, "refundReason"),
230
    REFUND_REASON((short)51, "refundReason"),
227
    PURCHASE_ORDER_ID((short)52, "purchaseOrderId"),
231
    PURCHASE_ORDER_ID((short)52, "purchaseOrderId"),
228
    DOA_LOGISTICS_PROVIDER_ID((short)53, "doa_logistics_provider_id"),
232
    DOA_LOGISTICS_PROVIDER_ID((short)53, "doa_logistics_provider_id"),
229
    ORIGINAL_ORDER_ID((short)54, "originalOrderId"),
233
    ORIGINAL_ORDER_ID((short)54, "originalOrderId"),
230
    FULFILMENT_WAREHOUSE_ID((short)55, "fulfilmentWarehouseId"),
234
    FULFILMENT_WAREHOUSE_ID((short)55, "fulfilmentWarehouseId"),
231
    VENDOR_PAID((short)56, "vendorPaid");
235
    VENDOR_PAID((short)56, "vendorPaid"),
-
 
236
    RECEIVED_RETURN_TIMESTAMP((short)57, "received_return_timestamp"),
-
 
237
    FIRST_ATTEMPT_TIMESTAMP((short)58, "first_attempt_timestamp");
232
 
238
 
233
    private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
239
    private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
234
 
240
 
235
    static {
241
    static {
236
      for (_Fields field : EnumSet.allOf(_Fields.class)) {
242
      for (_Fields field : EnumSet.allOf(_Fields.class)) {
Line 353... Line 359...
353
          return ORIGINAL_ORDER_ID;
359
          return ORIGINAL_ORDER_ID;
354
        case 55: // FULFILMENT_WAREHOUSE_ID
360
        case 55: // FULFILMENT_WAREHOUSE_ID
355
          return FULFILMENT_WAREHOUSE_ID;
361
          return FULFILMENT_WAREHOUSE_ID;
356
        case 56: // VENDOR_PAID
362
        case 56: // VENDOR_PAID
357
          return VENDOR_PAID;
363
          return VENDOR_PAID;
-
 
364
        case 57: // RECEIVED_RETURN_TIMESTAMP
-
 
365
          return RECEIVED_RETURN_TIMESTAMP;
-
 
366
        case 58: // FIRST_ATTEMPT_TIMESTAMP
-
 
367
          return FIRST_ATTEMPT_TIMESTAMP;
358
        default:
368
        default:
359
          return null;
369
          return null;
360
      }
370
      }
361
    }
371
    }
362
 
372
 
Line 427... Line 437...
427
  private static final int __PURCHASEORDERID_ISSET_ID = 29;
437
  private static final int __PURCHASEORDERID_ISSET_ID = 29;
428
  private static final int __DOA_LOGISTICS_PROVIDER_ID_ISSET_ID = 30;
438
  private static final int __DOA_LOGISTICS_PROVIDER_ID_ISSET_ID = 30;
429
  private static final int __ORIGINALORDERID_ISSET_ID = 31;
439
  private static final int __ORIGINALORDERID_ISSET_ID = 31;
430
  private static final int __FULFILMENTWAREHOUSEID_ISSET_ID = 32;
440
  private static final int __FULFILMENTWAREHOUSEID_ISSET_ID = 32;
431
  private static final int __VENDORPAID_ISSET_ID = 33;
441
  private static final int __VENDORPAID_ISSET_ID = 33;
-
 
442
  private static final int __RECEIVED_RETURN_TIMESTAMP_ISSET_ID = 34;
-
 
443
  private static final int __FIRST_ATTEMPT_TIMESTAMP_ISSET_ID = 35;
432
  private BitSet __isset_bit_vector = new BitSet(34);
444
  private BitSet __isset_bit_vector = new BitSet(36);
433
 
445
 
434
  public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
446
  public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
435
  static {
447
  static {
436
    Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
448
    Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
437
    tmpMap.put(_Fields.ID, new org.apache.thrift.meta_data.FieldMetaData("id", org.apache.thrift.TFieldRequirementType.DEFAULT, 
449
    tmpMap.put(_Fields.ID, new org.apache.thrift.meta_data.FieldMetaData("id", org.apache.thrift.TFieldRequirementType.DEFAULT, 
Line 545... Line 557...
545
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
557
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
546
    tmpMap.put(_Fields.FULFILMENT_WAREHOUSE_ID, new org.apache.thrift.meta_data.FieldMetaData("fulfilmentWarehouseId", org.apache.thrift.TFieldRequirementType.DEFAULT, 
558
    tmpMap.put(_Fields.FULFILMENT_WAREHOUSE_ID, new org.apache.thrift.meta_data.FieldMetaData("fulfilmentWarehouseId", org.apache.thrift.TFieldRequirementType.DEFAULT, 
547
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
559
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
548
    tmpMap.put(_Fields.VENDOR_PAID, new org.apache.thrift.meta_data.FieldMetaData("vendorPaid", org.apache.thrift.TFieldRequirementType.DEFAULT, 
560
    tmpMap.put(_Fields.VENDOR_PAID, new org.apache.thrift.meta_data.FieldMetaData("vendorPaid", org.apache.thrift.TFieldRequirementType.DEFAULT, 
549
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
561
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
-
 
562
    tmpMap.put(_Fields.RECEIVED_RETURN_TIMESTAMP, new org.apache.thrift.meta_data.FieldMetaData("received_return_timestamp", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
-
 
563
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
564
    tmpMap.put(_Fields.FIRST_ATTEMPT_TIMESTAMP, new org.apache.thrift.meta_data.FieldMetaData("first_attempt_timestamp", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
-
 
565
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
550
    metaDataMap = Collections.unmodifiableMap(tmpMap);
566
    metaDataMap = Collections.unmodifiableMap(tmpMap);
551
    org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(Order.class, metaDataMap);
567
    org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(Order.class, metaDataMap);
552
  }
568
  }
553
 
569
 
554
  public Order() {
570
  public Order() {
Line 798... Line 814...
798
    this.purchaseOrderId = other.purchaseOrderId;
814
    this.purchaseOrderId = other.purchaseOrderId;
799
    this.doa_logistics_provider_id = other.doa_logistics_provider_id;
815
    this.doa_logistics_provider_id = other.doa_logistics_provider_id;
800
    this.originalOrderId = other.originalOrderId;
816
    this.originalOrderId = other.originalOrderId;
801
    this.fulfilmentWarehouseId = other.fulfilmentWarehouseId;
817
    this.fulfilmentWarehouseId = other.fulfilmentWarehouseId;
802
    this.vendorPaid = other.vendorPaid;
818
    this.vendorPaid = other.vendorPaid;
-
 
819
    this.received_return_timestamp = other.received_return_timestamp;
-
 
820
    this.first_attempt_timestamp = other.first_attempt_timestamp;
803
  }
821
  }
804
 
822
 
805
  public Order deepCopy() {
823
  public Order deepCopy() {
806
    return new Order(this);
824
    return new Order(this);
807
  }
825
  }
Line 896... Line 914...
896
    this.originalOrderId = 0;
914
    this.originalOrderId = 0;
897
    setFulfilmentWarehouseIdIsSet(false);
915
    setFulfilmentWarehouseIdIsSet(false);
898
    this.fulfilmentWarehouseId = 0;
916
    this.fulfilmentWarehouseId = 0;
899
    setVendorPaidIsSet(false);
917
    setVendorPaidIsSet(false);
900
    this.vendorPaid = false;
918
    this.vendorPaid = false;
-
 
919
    setReceived_return_timestampIsSet(false);
-
 
920
    this.received_return_timestamp = 0;
-
 
921
    setFirst_attempt_timestampIsSet(false);
-
 
922
    this.first_attempt_timestamp = 0;
901
  }
923
  }
902
 
924
 
903
  public long getId() {
925
  public long getId() {
904
    return this.id;
926
    return this.id;
905
  }
927
  }
Line 2235... Line 2257...
2235
 
2257
 
2236
  public void setVendorPaidIsSet(boolean value) {
2258
  public void setVendorPaidIsSet(boolean value) {
2237
    __isset_bit_vector.set(__VENDORPAID_ISSET_ID, value);
2259
    __isset_bit_vector.set(__VENDORPAID_ISSET_ID, value);
2238
  }
2260
  }
2239
 
2261
 
-
 
2262
  public long getReceived_return_timestamp() {
-
 
2263
    return this.received_return_timestamp;
-
 
2264
  }
-
 
2265
 
-
 
2266
  public void setReceived_return_timestamp(long received_return_timestamp) {
-
 
2267
    this.received_return_timestamp = received_return_timestamp;
-
 
2268
    setReceived_return_timestampIsSet(true);
-
 
2269
  }
-
 
2270
 
-
 
2271
  public void unsetReceived_return_timestamp() {
-
 
2272
    __isset_bit_vector.clear(__RECEIVED_RETURN_TIMESTAMP_ISSET_ID);
-
 
2273
  }
-
 
2274
 
-
 
2275
  /** Returns true if field received_return_timestamp is set (has been assigned a value) and false otherwise */
-
 
2276
  public boolean isSetReceived_return_timestamp() {
-
 
2277
    return __isset_bit_vector.get(__RECEIVED_RETURN_TIMESTAMP_ISSET_ID);
-
 
2278
  }
-
 
2279
 
-
 
2280
  public void setReceived_return_timestampIsSet(boolean value) {
-
 
2281
    __isset_bit_vector.set(__RECEIVED_RETURN_TIMESTAMP_ISSET_ID, value);
-
 
2282
  }
-
 
2283
 
-
 
2284
  public long getFirst_attempt_timestamp() {
-
 
2285
    return this.first_attempt_timestamp;
-
 
2286
  }
-
 
2287
 
-
 
2288
  public void setFirst_attempt_timestamp(long first_attempt_timestamp) {
-
 
2289
    this.first_attempt_timestamp = first_attempt_timestamp;
-
 
2290
    setFirst_attempt_timestampIsSet(true);
-
 
2291
  }
-
 
2292
 
-
 
2293
  public void unsetFirst_attempt_timestamp() {
-
 
2294
    __isset_bit_vector.clear(__FIRST_ATTEMPT_TIMESTAMP_ISSET_ID);
-
 
2295
  }
-
 
2296
 
-
 
2297
  /** Returns true if field first_attempt_timestamp is set (has been assigned a value) and false otherwise */
-
 
2298
  public boolean isSetFirst_attempt_timestamp() {
-
 
2299
    return __isset_bit_vector.get(__FIRST_ATTEMPT_TIMESTAMP_ISSET_ID);
-
 
2300
  }
-
 
2301
 
-
 
2302
  public void setFirst_attempt_timestampIsSet(boolean value) {
-
 
2303
    __isset_bit_vector.set(__FIRST_ATTEMPT_TIMESTAMP_ISSET_ID, value);
-
 
2304
  }
-
 
2305
 
2240
  public void setFieldValue(_Fields field, Object value) {
2306
  public void setFieldValue(_Fields field, Object value) {
2241
    switch (field) {
2307
    switch (field) {
2242
    case ID:
2308
    case ID:
2243
      if (value == null) {
2309
      if (value == null) {
2244
        unsetId();
2310
        unsetId();
Line 2685... Line 2751...
2685
      } else {
2751
      } else {
2686
        setVendorPaid((Boolean)value);
2752
        setVendorPaid((Boolean)value);
2687
      }
2753
      }
2688
      break;
2754
      break;
2689
 
2755
 
-
 
2756
    case RECEIVED_RETURN_TIMESTAMP:
-
 
2757
      if (value == null) {
-
 
2758
        unsetReceived_return_timestamp();
-
 
2759
      } else {
-
 
2760
        setReceived_return_timestamp((Long)value);
-
 
2761
      }
-
 
2762
      break;
-
 
2763
 
-
 
2764
    case FIRST_ATTEMPT_TIMESTAMP:
-
 
2765
      if (value == null) {
-
 
2766
        unsetFirst_attempt_timestamp();
-
 
2767
      } else {
-
 
2768
        setFirst_attempt_timestamp((Long)value);
-
 
2769
      }
-
 
2770
      break;
-
 
2771
 
2690
    }
2772
    }
2691
  }
2773
  }
2692
 
2774
 
2693
  public Object getFieldValue(_Fields field) {
2775
  public Object getFieldValue(_Fields field) {
2694
    switch (field) {
2776
    switch (field) {
Line 2858... Line 2940...
2858
      return Long.valueOf(getFulfilmentWarehouseId());
2940
      return Long.valueOf(getFulfilmentWarehouseId());
2859
 
2941
 
2860
    case VENDOR_PAID:
2942
    case VENDOR_PAID:
2861
      return Boolean.valueOf(isVendorPaid());
2943
      return Boolean.valueOf(isVendorPaid());
2862
 
2944
 
-
 
2945
    case RECEIVED_RETURN_TIMESTAMP:
-
 
2946
      return Long.valueOf(getReceived_return_timestamp());
-
 
2947
 
-
 
2948
    case FIRST_ATTEMPT_TIMESTAMP:
-
 
2949
      return Long.valueOf(getFirst_attempt_timestamp());
-
 
2950
 
2863
    }
2951
    }
2864
    throw new IllegalStateException();
2952
    throw new IllegalStateException();
2865
  }
2953
  }
2866
 
2954
 
2867
  /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
2955
  /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
Line 2981... Line 3069...
2981
      return isSetOriginalOrderId();
3069
      return isSetOriginalOrderId();
2982
    case FULFILMENT_WAREHOUSE_ID:
3070
    case FULFILMENT_WAREHOUSE_ID:
2983
      return isSetFulfilmentWarehouseId();
3071
      return isSetFulfilmentWarehouseId();
2984
    case VENDOR_PAID:
3072
    case VENDOR_PAID:
2985
      return isSetVendorPaid();
3073
      return isSetVendorPaid();
-
 
3074
    case RECEIVED_RETURN_TIMESTAMP:
-
 
3075
      return isSetReceived_return_timestamp();
-
 
3076
    case FIRST_ATTEMPT_TIMESTAMP:
-
 
3077
      return isSetFirst_attempt_timestamp();
2986
    }
3078
    }
2987
    throw new IllegalStateException();
3079
    throw new IllegalStateException();
2988
  }
3080
  }
2989
 
3081
 
2990
  @Override
3082
  @Override
Line 3502... Line 3594...
3502
        return false;
3594
        return false;
3503
      if (this.vendorPaid != that.vendorPaid)
3595
      if (this.vendorPaid != that.vendorPaid)
3504
        return false;
3596
        return false;
3505
    }
3597
    }
3506
 
3598
 
-
 
3599
    boolean this_present_received_return_timestamp = true && this.isSetReceived_return_timestamp();
-
 
3600
    boolean that_present_received_return_timestamp = true && that.isSetReceived_return_timestamp();
-
 
3601
    if (this_present_received_return_timestamp || that_present_received_return_timestamp) {
-
 
3602
      if (!(this_present_received_return_timestamp && that_present_received_return_timestamp))
-
 
3603
        return false;
-
 
3604
      if (this.received_return_timestamp != that.received_return_timestamp)
-
 
3605
        return false;
-
 
3606
    }
-
 
3607
 
-
 
3608
    boolean this_present_first_attempt_timestamp = true && this.isSetFirst_attempt_timestamp();
-
 
3609
    boolean that_present_first_attempt_timestamp = true && that.isSetFirst_attempt_timestamp();
-
 
3610
    if (this_present_first_attempt_timestamp || that_present_first_attempt_timestamp) {
-
 
3611
      if (!(this_present_first_attempt_timestamp && that_present_first_attempt_timestamp))
-
 
3612
        return false;
-
 
3613
      if (this.first_attempt_timestamp != that.first_attempt_timestamp)
-
 
3614
        return false;
-
 
3615
    }
-
 
3616
 
3507
    return true;
3617
    return true;
3508
  }
3618
  }
3509
 
3619
 
3510
  @Override
3620
  @Override
3511
  public int hashCode() {
3621
  public int hashCode() {
Line 4078... Line 4188...
4078
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.vendorPaid, typedOther.vendorPaid);
4188
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.vendorPaid, typedOther.vendorPaid);
4079
      if (lastComparison != 0) {
4189
      if (lastComparison != 0) {
4080
        return lastComparison;
4190
        return lastComparison;
4081
      }
4191
      }
4082
    }
4192
    }
-
 
4193
    lastComparison = Boolean.valueOf(isSetReceived_return_timestamp()).compareTo(typedOther.isSetReceived_return_timestamp());
-
 
4194
    if (lastComparison != 0) {
-
 
4195
      return lastComparison;
-
 
4196
    }
-
 
4197
    if (isSetReceived_return_timestamp()) {
-
 
4198
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.received_return_timestamp, typedOther.received_return_timestamp);
-
 
4199
      if (lastComparison != 0) {
-
 
4200
        return lastComparison;
-
 
4201
      }
-
 
4202
    }
-
 
4203
    lastComparison = Boolean.valueOf(isSetFirst_attempt_timestamp()).compareTo(typedOther.isSetFirst_attempt_timestamp());
-
 
4204
    if (lastComparison != 0) {
-
 
4205
      return lastComparison;
-
 
4206
    }
-
 
4207
    if (isSetFirst_attempt_timestamp()) {
-
 
4208
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.first_attempt_timestamp, typedOther.first_attempt_timestamp);
-
 
4209
      if (lastComparison != 0) {
-
 
4210
        return lastComparison;
-
 
4211
      }
-
 
4212
    }
4083
    return 0;
4213
    return 0;
4084
  }
4214
  }
4085
 
4215
 
4086
  public _Fields fieldForId(int fieldId) {
4216
  public _Fields fieldForId(int fieldId) {
4087
    return _Fields.findByThriftId(fieldId);
4217
    return _Fields.findByThriftId(fieldId);
Line 4532... Line 4662...
4532
            setVendorPaidIsSet(true);
4662
            setVendorPaidIsSet(true);
4533
          } else { 
4663
          } else { 
4534
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
4664
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
4535
          }
4665
          }
4536
          break;
4666
          break;
-
 
4667
        case 57: // RECEIVED_RETURN_TIMESTAMP
-
 
4668
          if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
4669
            this.received_return_timestamp = iprot.readI64();
-
 
4670
            setReceived_return_timestampIsSet(true);
-
 
4671
          } else { 
-
 
4672
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
4673
          }
-
 
4674
          break;
-
 
4675
        case 58: // FIRST_ATTEMPT_TIMESTAMP
-
 
4676
          if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
4677
            this.first_attempt_timestamp = iprot.readI64();
-
 
4678
            setFirst_attempt_timestampIsSet(true);
-
 
4679
          } else { 
-
 
4680
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
4681
          }
-
 
4682
          break;
4537
        default:
4683
        default:
4538
          org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
4684
          org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
4539
      }
4685
      }
4540
      iprot.readFieldEnd();
4686
      iprot.readFieldEnd();
4541
    }
4687
    }
Line 4774... Line 4920...
4774
    oprot.writeI64(this.fulfilmentWarehouseId);
4920
    oprot.writeI64(this.fulfilmentWarehouseId);
4775
    oprot.writeFieldEnd();
4921
    oprot.writeFieldEnd();
4776
    oprot.writeFieldBegin(VENDOR_PAID_FIELD_DESC);
4922
    oprot.writeFieldBegin(VENDOR_PAID_FIELD_DESC);
4777
    oprot.writeBool(this.vendorPaid);
4923
    oprot.writeBool(this.vendorPaid);
4778
    oprot.writeFieldEnd();
4924
    oprot.writeFieldEnd();
-
 
4925
    if (isSetReceived_return_timestamp()) {
-
 
4926
      oprot.writeFieldBegin(RECEIVED_RETURN_TIMESTAMP_FIELD_DESC);
-
 
4927
      oprot.writeI64(this.received_return_timestamp);
-
 
4928
      oprot.writeFieldEnd();
-
 
4929
    }
-
 
4930
    if (isSetFirst_attempt_timestamp()) {
-
 
4931
      oprot.writeFieldBegin(FIRST_ATTEMPT_TIMESTAMP_FIELD_DESC);
-
 
4932
      oprot.writeI64(this.first_attempt_timestamp);
-
 
4933
      oprot.writeFieldEnd();
-
 
4934
    }
4779
    oprot.writeFieldStop();
4935
    oprot.writeFieldStop();
4780
    oprot.writeStructEnd();
4936
    oprot.writeStructEnd();
4781
  }
4937
  }
4782
 
4938
 
4783
  @Override
4939
  @Override
Line 5104... Line 5260...
5104
    first = false;
5260
    first = false;
5105
    if (!first) sb.append(", ");
5261
    if (!first) sb.append(", ");
5106
    sb.append("vendorPaid:");
5262
    sb.append("vendorPaid:");
5107
    sb.append(this.vendorPaid);
5263
    sb.append(this.vendorPaid);
5108
    first = false;
5264
    first = false;
-
 
5265
    if (isSetReceived_return_timestamp()) {
-
 
5266
      if (!first) sb.append(", ");
-
 
5267
      sb.append("received_return_timestamp:");
-
 
5268
      sb.append(this.received_return_timestamp);
-
 
5269
      first = false;
-
 
5270
    }
-
 
5271
    if (isSetFirst_attempt_timestamp()) {
-
 
5272
      if (!first) sb.append(", ");
-
 
5273
      sb.append("first_attempt_timestamp:");
-
 
5274
      sb.append(this.first_attempt_timestamp);
-
 
5275
      first = false;
-
 
5276
    }
5109
    sb.append(")");
5277
    sb.append(")");
5110
    return sb.toString();
5278
    return sb.toString();
5111
  }
5279
  }
5112
 
5280
 
5113
  public void validate() throws org.apache.thrift.TException {
5281
  public void validate() throws org.apache.thrift.TException {