Subversion Repositories SmartDukaan

Rev

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

Rev 5527 Rev 5553
Line 80... Line 80...
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);
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);
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);
84
  private static final org.apache.thrift.protocol.TField ORDER_TYPE_FIELD_DESC = new org.apache.thrift.protocol.TField("orderType", org.apache.thrift.protocol.TType.I32, (short)59);
84
  private static final org.apache.thrift.protocol.TField ORDER_TYPE_FIELD_DESC = new org.apache.thrift.protocol.TField("orderType", org.apache.thrift.protocol.TType.I32, (short)59);
-
 
85
  private static final org.apache.thrift.protocol.TField PICKUP_STORE_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("pickupStoreId", org.apache.thrift.protocol.TType.I64, (short)60);
-
 
86
  private static final org.apache.thrift.protocol.TField LOGISTICS_COD_FIELD_DESC = new org.apache.thrift.protocol.TField("logisticsCod", org.apache.thrift.protocol.TType.BOOL, (short)61);
85
 
87
 
86
  private long id; // required
88
  private long id; // required
87
  private long warehouse_id; // required
89
  private long warehouse_id; // required
88
  private List<LineItem> lineitems; // required
90
  private List<LineItem> lineitems; // required
89
  private long logistics_provider_id; // required
91
  private long logistics_provider_id; // required
Line 140... Line 142...
140
  private long fulfilmentWarehouseId; // required
142
  private long fulfilmentWarehouseId; // required
141
  private boolean vendorPaid; // required
143
  private boolean vendorPaid; // required
142
  private long received_return_timestamp; // required
144
  private long received_return_timestamp; // required
143
  private long first_attempt_timestamp; // required
145
  private long first_attempt_timestamp; // required
144
  private OrderType orderType; // required
146
  private OrderType orderType; // required
-
 
147
  private long pickupStoreId; // required
-
 
148
  private boolean logisticsCod; // required
145
 
149
 
146
  /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
150
  /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
147
  public enum _Fields implements org.apache.thrift.TFieldIdEnum {
151
  public enum _Fields implements org.apache.thrift.TFieldIdEnum {
148
    ID((short)1, "id"),
152
    ID((short)1, "id"),
149
    WAREHOUSE_ID((short)2, "warehouse_id"),
153
    WAREHOUSE_ID((short)2, "warehouse_id"),
Line 239... Line 243...
239
    FIRST_ATTEMPT_TIMESTAMP((short)58, "first_attempt_timestamp"),
243
    FIRST_ATTEMPT_TIMESTAMP((short)58, "first_attempt_timestamp"),
240
    /**
244
    /**
241
     * 
245
     * 
242
     * @see OrderType
246
     * @see OrderType
243
     */
247
     */
244
    ORDER_TYPE((short)59, "orderType");
248
    ORDER_TYPE((short)59, "orderType"),
-
 
249
    PICKUP_STORE_ID((short)60, "pickupStoreId"),
-
 
250
    LOGISTICS_COD((short)61, "logisticsCod");
245
 
251
 
246
    private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
252
    private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
247
 
253
 
248
    static {
254
    static {
249
      for (_Fields field : EnumSet.allOf(_Fields.class)) {
255
      for (_Fields field : EnumSet.allOf(_Fields.class)) {
Line 372... Line 378...
372
          return RECEIVED_RETURN_TIMESTAMP;
378
          return RECEIVED_RETURN_TIMESTAMP;
373
        case 58: // FIRST_ATTEMPT_TIMESTAMP
379
        case 58: // FIRST_ATTEMPT_TIMESTAMP
374
          return FIRST_ATTEMPT_TIMESTAMP;
380
          return FIRST_ATTEMPT_TIMESTAMP;
375
        case 59: // ORDER_TYPE
381
        case 59: // ORDER_TYPE
376
          return ORDER_TYPE;
382
          return ORDER_TYPE;
-
 
383
        case 60: // PICKUP_STORE_ID
-
 
384
          return PICKUP_STORE_ID;
-
 
385
        case 61: // LOGISTICS_COD
-
 
386
          return LOGISTICS_COD;
377
        default:
387
        default:
378
          return null;
388
          return null;
379
      }
389
      }
380
    }
390
    }
381
 
391
 
Line 448... Line 458...
448
  private static final int __ORIGINALORDERID_ISSET_ID = 31;
458
  private static final int __ORIGINALORDERID_ISSET_ID = 31;
449
  private static final int __FULFILMENTWAREHOUSEID_ISSET_ID = 32;
459
  private static final int __FULFILMENTWAREHOUSEID_ISSET_ID = 32;
450
  private static final int __VENDORPAID_ISSET_ID = 33;
460
  private static final int __VENDORPAID_ISSET_ID = 33;
451
  private static final int __RECEIVED_RETURN_TIMESTAMP_ISSET_ID = 34;
461
  private static final int __RECEIVED_RETURN_TIMESTAMP_ISSET_ID = 34;
452
  private static final int __FIRST_ATTEMPT_TIMESTAMP_ISSET_ID = 35;
462
  private static final int __FIRST_ATTEMPT_TIMESTAMP_ISSET_ID = 35;
-
 
463
  private static final int __PICKUPSTOREID_ISSET_ID = 36;
-
 
464
  private static final int __LOGISTICSCOD_ISSET_ID = 37;
453
  private BitSet __isset_bit_vector = new BitSet(36);
465
  private BitSet __isset_bit_vector = new BitSet(38);
454
 
466
 
455
  public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
467
  public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
456
  static {
468
  static {
457
    Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
469
    Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
458
    tmpMap.put(_Fields.ID, new org.apache.thrift.meta_data.FieldMetaData("id", org.apache.thrift.TFieldRequirementType.DEFAULT, 
470
    tmpMap.put(_Fields.ID, new org.apache.thrift.meta_data.FieldMetaData("id", org.apache.thrift.TFieldRequirementType.DEFAULT, 
Line 572... Line 584...
572
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
584
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
573
    tmpMap.put(_Fields.FIRST_ATTEMPT_TIMESTAMP, new org.apache.thrift.meta_data.FieldMetaData("first_attempt_timestamp", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
585
    tmpMap.put(_Fields.FIRST_ATTEMPT_TIMESTAMP, new org.apache.thrift.meta_data.FieldMetaData("first_attempt_timestamp", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
574
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
586
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
575
    tmpMap.put(_Fields.ORDER_TYPE, new org.apache.thrift.meta_data.FieldMetaData("orderType", org.apache.thrift.TFieldRequirementType.DEFAULT, 
587
    tmpMap.put(_Fields.ORDER_TYPE, new org.apache.thrift.meta_data.FieldMetaData("orderType", org.apache.thrift.TFieldRequirementType.DEFAULT, 
576
        new org.apache.thrift.meta_data.EnumMetaData(org.apache.thrift.protocol.TType.ENUM, OrderType.class)));
588
        new org.apache.thrift.meta_data.EnumMetaData(org.apache.thrift.protocol.TType.ENUM, OrderType.class)));
-
 
589
    tmpMap.put(_Fields.PICKUP_STORE_ID, new org.apache.thrift.meta_data.FieldMetaData("pickupStoreId", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
590
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
591
    tmpMap.put(_Fields.LOGISTICS_COD, new org.apache.thrift.meta_data.FieldMetaData("logisticsCod", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
592
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
577
    metaDataMap = Collections.unmodifiableMap(tmpMap);
593
    metaDataMap = Collections.unmodifiableMap(tmpMap);
578
    org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(Order.class, metaDataMap);
594
    org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(Order.class, metaDataMap);
579
  }
595
  }
580
 
596
 
581
  public Order() {
597
  public Order() {
Line 631... Line 647...
631
    String refundReason,
647
    String refundReason,
632
    long purchaseOrderId,
648
    long purchaseOrderId,
633
    long originalOrderId,
649
    long originalOrderId,
634
    long fulfilmentWarehouseId,
650
    long fulfilmentWarehouseId,
635
    boolean vendorPaid,
651
    boolean vendorPaid,
636
    OrderType orderType)
652
    OrderType orderType,
-
 
653
    long pickupStoreId,
-
 
654
    boolean logisticsCod)
637
  {
655
  {
638
    this();
656
    this();
639
    this.id = id;
657
    this.id = id;
640
    setIdIsSet(true);
658
    setIdIsSet(true);
641
    this.warehouse_id = warehouse_id;
659
    this.warehouse_id = warehouse_id;
Line 715... Line 733...
715
    this.fulfilmentWarehouseId = fulfilmentWarehouseId;
733
    this.fulfilmentWarehouseId = fulfilmentWarehouseId;
716
    setFulfilmentWarehouseIdIsSet(true);
734
    setFulfilmentWarehouseIdIsSet(true);
717
    this.vendorPaid = vendorPaid;
735
    this.vendorPaid = vendorPaid;
718
    setVendorPaidIsSet(true);
736
    setVendorPaidIsSet(true);
719
    this.orderType = orderType;
737
    this.orderType = orderType;
-
 
738
    this.pickupStoreId = pickupStoreId;
-
 
739
    setPickupStoreIdIsSet(true);
-
 
740
    this.logisticsCod = logisticsCod;
-
 
741
    setLogisticsCodIsSet(true);
720
  }
742
  }
721
 
743
 
722
  /**
744
  /**
723
   * Performs a deep copy on <i>other</i>.
745
   * Performs a deep copy on <i>other</i>.
724
   */
746
   */
Line 832... Line 854...
832
    this.received_return_timestamp = other.received_return_timestamp;
854
    this.received_return_timestamp = other.received_return_timestamp;
833
    this.first_attempt_timestamp = other.first_attempt_timestamp;
855
    this.first_attempt_timestamp = other.first_attempt_timestamp;
834
    if (other.isSetOrderType()) {
856
    if (other.isSetOrderType()) {
835
      this.orderType = other.orderType;
857
      this.orderType = other.orderType;
836
    }
858
    }
-
 
859
    this.pickupStoreId = other.pickupStoreId;
-
 
860
    this.logisticsCod = other.logisticsCod;
837
  }
861
  }
838
 
862
 
839
  public Order deepCopy() {
863
  public Order deepCopy() {
840
    return new Order(this);
864
    return new Order(this);
841
  }
865
  }
Line 935... Line 959...
935
    setReceived_return_timestampIsSet(false);
959
    setReceived_return_timestampIsSet(false);
936
    this.received_return_timestamp = 0;
960
    this.received_return_timestamp = 0;
937
    setFirst_attempt_timestampIsSet(false);
961
    setFirst_attempt_timestampIsSet(false);
938
    this.first_attempt_timestamp = 0;
962
    this.first_attempt_timestamp = 0;
939
    this.orderType = null;
963
    this.orderType = null;
-
 
964
    setPickupStoreIdIsSet(false);
-
 
965
    this.pickupStoreId = 0;
-
 
966
    setLogisticsCodIsSet(false);
-
 
967
    this.logisticsCod = false;
940
  }
968
  }
941
 
969
 
942
  public long getId() {
970
  public long getId() {
943
    return this.id;
971
    return this.id;
944
  }
972
  }
Line 2349... Line 2377...
2349
    if (!value) {
2377
    if (!value) {
2350
      this.orderType = null;
2378
      this.orderType = null;
2351
    }
2379
    }
2352
  }
2380
  }
2353
 
2381
 
-
 
2382
  public long getPickupStoreId() {
-
 
2383
    return this.pickupStoreId;
-
 
2384
  }
-
 
2385
 
-
 
2386
  public void setPickupStoreId(long pickupStoreId) {
-
 
2387
    this.pickupStoreId = pickupStoreId;
-
 
2388
    setPickupStoreIdIsSet(true);
-
 
2389
  }
-
 
2390
 
-
 
2391
  public void unsetPickupStoreId() {
-
 
2392
    __isset_bit_vector.clear(__PICKUPSTOREID_ISSET_ID);
-
 
2393
  }
-
 
2394
 
-
 
2395
  /** Returns true if field pickupStoreId is set (has been assigned a value) and false otherwise */
-
 
2396
  public boolean isSetPickupStoreId() {
-
 
2397
    return __isset_bit_vector.get(__PICKUPSTOREID_ISSET_ID);
-
 
2398
  }
-
 
2399
 
-
 
2400
  public void setPickupStoreIdIsSet(boolean value) {
-
 
2401
    __isset_bit_vector.set(__PICKUPSTOREID_ISSET_ID, value);
-
 
2402
  }
-
 
2403
 
-
 
2404
  public boolean isLogisticsCod() {
-
 
2405
    return this.logisticsCod;
-
 
2406
  }
-
 
2407
 
-
 
2408
  public void setLogisticsCod(boolean logisticsCod) {
-
 
2409
    this.logisticsCod = logisticsCod;
-
 
2410
    setLogisticsCodIsSet(true);
-
 
2411
  }
-
 
2412
 
-
 
2413
  public void unsetLogisticsCod() {
-
 
2414
    __isset_bit_vector.clear(__LOGISTICSCOD_ISSET_ID);
-
 
2415
  }
-
 
2416
 
-
 
2417
  /** Returns true if field logisticsCod is set (has been assigned a value) and false otherwise */
-
 
2418
  public boolean isSetLogisticsCod() {
-
 
2419
    return __isset_bit_vector.get(__LOGISTICSCOD_ISSET_ID);
-
 
2420
  }
-
 
2421
 
-
 
2422
  public void setLogisticsCodIsSet(boolean value) {
-
 
2423
    __isset_bit_vector.set(__LOGISTICSCOD_ISSET_ID, value);
-
 
2424
  }
-
 
2425
 
2354
  public void setFieldValue(_Fields field, Object value) {
2426
  public void setFieldValue(_Fields field, Object value) {
2355
    switch (field) {
2427
    switch (field) {
2356
    case ID:
2428
    case ID:
2357
      if (value == null) {
2429
      if (value == null) {
2358
        unsetId();
2430
        unsetId();
Line 2823... Line 2895...
2823
      } else {
2895
      } else {
2824
        setOrderType((OrderType)value);
2896
        setOrderType((OrderType)value);
2825
      }
2897
      }
2826
      break;
2898
      break;
2827
 
2899
 
-
 
2900
    case PICKUP_STORE_ID:
-
 
2901
      if (value == null) {
-
 
2902
        unsetPickupStoreId();
-
 
2903
      } else {
-
 
2904
        setPickupStoreId((Long)value);
-
 
2905
      }
-
 
2906
      break;
-
 
2907
 
-
 
2908
    case LOGISTICS_COD:
-
 
2909
      if (value == null) {
-
 
2910
        unsetLogisticsCod();
-
 
2911
      } else {
-
 
2912
        setLogisticsCod((Boolean)value);
-
 
2913
      }
-
 
2914
      break;
-
 
2915
 
2828
    }
2916
    }
2829
  }
2917
  }
2830
 
2918
 
2831
  public Object getFieldValue(_Fields field) {
2919
  public Object getFieldValue(_Fields field) {
2832
    switch (field) {
2920
    switch (field) {
Line 3005... Line 3093...
3005
      return Long.valueOf(getFirst_attempt_timestamp());
3093
      return Long.valueOf(getFirst_attempt_timestamp());
3006
 
3094
 
3007
    case ORDER_TYPE:
3095
    case ORDER_TYPE:
3008
      return getOrderType();
3096
      return getOrderType();
3009
 
3097
 
-
 
3098
    case PICKUP_STORE_ID:
-
 
3099
      return Long.valueOf(getPickupStoreId());
-
 
3100
 
-
 
3101
    case LOGISTICS_COD:
-
 
3102
      return Boolean.valueOf(isLogisticsCod());
-
 
3103
 
3010
    }
3104
    }
3011
    throw new IllegalStateException();
3105
    throw new IllegalStateException();
3012
  }
3106
  }
3013
 
3107
 
3014
  /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
3108
  /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
Line 3134... Line 3228...
3134
      return isSetReceived_return_timestamp();
3228
      return isSetReceived_return_timestamp();
3135
    case FIRST_ATTEMPT_TIMESTAMP:
3229
    case FIRST_ATTEMPT_TIMESTAMP:
3136
      return isSetFirst_attempt_timestamp();
3230
      return isSetFirst_attempt_timestamp();
3137
    case ORDER_TYPE:
3231
    case ORDER_TYPE:
3138
      return isSetOrderType();
3232
      return isSetOrderType();
-
 
3233
    case PICKUP_STORE_ID:
-
 
3234
      return isSetPickupStoreId();
-
 
3235
    case LOGISTICS_COD:
-
 
3236
      return isSetLogisticsCod();
3139
    }
3237
    }
3140
    throw new IllegalStateException();
3238
    throw new IllegalStateException();
3141
  }
3239
  }
3142
 
3240
 
3143
  @Override
3241
  @Override
Line 3682... Line 3780...
3682
        return false;
3780
        return false;
3683
      if (!this.orderType.equals(that.orderType))
3781
      if (!this.orderType.equals(that.orderType))
3684
        return false;
3782
        return false;
3685
    }
3783
    }
3686
 
3784
 
-
 
3785
    boolean this_present_pickupStoreId = true;
-
 
3786
    boolean that_present_pickupStoreId = true;
-
 
3787
    if (this_present_pickupStoreId || that_present_pickupStoreId) {
-
 
3788
      if (!(this_present_pickupStoreId && that_present_pickupStoreId))
-
 
3789
        return false;
-
 
3790
      if (this.pickupStoreId != that.pickupStoreId)
-
 
3791
        return false;
-
 
3792
    }
-
 
3793
 
-
 
3794
    boolean this_present_logisticsCod = true;
-
 
3795
    boolean that_present_logisticsCod = true;
-
 
3796
    if (this_present_logisticsCod || that_present_logisticsCod) {
-
 
3797
      if (!(this_present_logisticsCod && that_present_logisticsCod))
-
 
3798
        return false;
-
 
3799
      if (this.logisticsCod != that.logisticsCod)
-
 
3800
        return false;
-
 
3801
    }
-
 
3802
 
3687
    return true;
3803
    return true;
3688
  }
3804
  }
3689
 
3805
 
3690
  @Override
3806
  @Override
3691
  public int hashCode() {
3807
  public int hashCode() {
Line 4288... Line 4404...
4288
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.orderType, typedOther.orderType);
4404
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.orderType, typedOther.orderType);
4289
      if (lastComparison != 0) {
4405
      if (lastComparison != 0) {
4290
        return lastComparison;
4406
        return lastComparison;
4291
      }
4407
      }
4292
    }
4408
    }
-
 
4409
    lastComparison = Boolean.valueOf(isSetPickupStoreId()).compareTo(typedOther.isSetPickupStoreId());
-
 
4410
    if (lastComparison != 0) {
-
 
4411
      return lastComparison;
-
 
4412
    }
-
 
4413
    if (isSetPickupStoreId()) {
-
 
4414
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.pickupStoreId, typedOther.pickupStoreId);
-
 
4415
      if (lastComparison != 0) {
-
 
4416
        return lastComparison;
-
 
4417
      }
-
 
4418
    }
-
 
4419
    lastComparison = Boolean.valueOf(isSetLogisticsCod()).compareTo(typedOther.isSetLogisticsCod());
-
 
4420
    if (lastComparison != 0) {
-
 
4421
      return lastComparison;
-
 
4422
    }
-
 
4423
    if (isSetLogisticsCod()) {
-
 
4424
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.logisticsCod, typedOther.logisticsCod);
-
 
4425
      if (lastComparison != 0) {
-
 
4426
        return lastComparison;
-
 
4427
      }
-
 
4428
    }
4293
    return 0;
4429
    return 0;
4294
  }
4430
  }
4295
 
4431
 
4296
  public _Fields fieldForId(int fieldId) {
4432
  public _Fields fieldForId(int fieldId) {
4297
    return _Fields.findByThriftId(fieldId);
4433
    return _Fields.findByThriftId(fieldId);
Line 4765... Line 4901...
4765
            this.orderType = OrderType.findByValue(iprot.readI32());
4901
            this.orderType = OrderType.findByValue(iprot.readI32());
4766
          } else { 
4902
          } else { 
4767
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
4903
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
4768
          }
4904
          }
4769
          break;
4905
          break;
-
 
4906
        case 60: // PICKUP_STORE_ID
-
 
4907
          if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
4908
            this.pickupStoreId = iprot.readI64();
-
 
4909
            setPickupStoreIdIsSet(true);
-
 
4910
          } else { 
-
 
4911
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
4912
          }
-
 
4913
          break;
-
 
4914
        case 61: // LOGISTICS_COD
-
 
4915
          if (field.type == org.apache.thrift.protocol.TType.BOOL) {
-
 
4916
            this.logisticsCod = iprot.readBool();
-
 
4917
            setLogisticsCodIsSet(true);
-
 
4918
          } else { 
-
 
4919
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
4920
          }
-
 
4921
          break;
4770
        default:
4922
        default:
4771
          org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
4923
          org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
4772
      }
4924
      }
4773
      iprot.readFieldEnd();
4925
      iprot.readFieldEnd();
4774
    }
4926
    }
Line 5022... Line 5174...
5022
    if (this.orderType != null) {
5174
    if (this.orderType != null) {
5023
      oprot.writeFieldBegin(ORDER_TYPE_FIELD_DESC);
5175
      oprot.writeFieldBegin(ORDER_TYPE_FIELD_DESC);
5024
      oprot.writeI32(this.orderType.getValue());
5176
      oprot.writeI32(this.orderType.getValue());
5025
      oprot.writeFieldEnd();
5177
      oprot.writeFieldEnd();
5026
    }
5178
    }
-
 
5179
    oprot.writeFieldBegin(PICKUP_STORE_ID_FIELD_DESC);
-
 
5180
    oprot.writeI64(this.pickupStoreId);
-
 
5181
    oprot.writeFieldEnd();
-
 
5182
    oprot.writeFieldBegin(LOGISTICS_COD_FIELD_DESC);
-
 
5183
    oprot.writeBool(this.logisticsCod);
-
 
5184
    oprot.writeFieldEnd();
5027
    oprot.writeFieldStop();
5185
    oprot.writeFieldStop();
5028
    oprot.writeStructEnd();
5186
    oprot.writeStructEnd();
5029
  }
5187
  }
5030
 
5188
 
5031
  @Override
5189
  @Override
Line 5372... Line 5530...
5372
      sb.append("null");
5530
      sb.append("null");
5373
    } else {
5531
    } else {
5374
      sb.append(this.orderType);
5532
      sb.append(this.orderType);
5375
    }
5533
    }
5376
    first = false;
5534
    first = false;
-
 
5535
    if (!first) sb.append(", ");
-
 
5536
    sb.append("pickupStoreId:");
-
 
5537
    sb.append(this.pickupStoreId);
-
 
5538
    first = false;
-
 
5539
    if (!first) sb.append(", ");
-
 
5540
    sb.append("logisticsCod:");
-
 
5541
    sb.append(this.logisticsCod);
-
 
5542
    first = false;
5377
    sb.append(")");
5543
    sb.append(")");
5378
    return sb.toString();
5544
    return sb.toString();
5379
  }
5545
  }
5380
 
5546
 
5381
  public void validate() throws org.apache.thrift.TException {
5547
  public void validate() throws org.apache.thrift.TException {