Subversion Repositories SmartDukaan

Rev

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

Rev 13146 Rev 17470
Line 98... Line 98...
98
  private static final org.apache.thrift.protocol.TField PRODUCT_CONDITION_FIELD_DESC = new org.apache.thrift.protocol.TField("productCondition", org.apache.thrift.protocol.TType.I32, (short)73);
98
  private static final org.apache.thrift.protocol.TField PRODUCT_CONDITION_FIELD_DESC = new org.apache.thrift.protocol.TField("productCondition", org.apache.thrift.protocol.TType.I32, (short)73);
99
  private static final org.apache.thrift.protocol.TField DATA_PROTECTION_INSURER_FIELD_DESC = new org.apache.thrift.protocol.TField("dataProtectionInsurer", org.apache.thrift.protocol.TType.I64, (short)74);
99
  private static final org.apache.thrift.protocol.TField DATA_PROTECTION_INSURER_FIELD_DESC = new org.apache.thrift.protocol.TField("dataProtectionInsurer", org.apache.thrift.protocol.TType.I64, (short)74);
100
  private static final org.apache.thrift.protocol.TField DATA_PROTECTION_AMOUNT_FIELD_DESC = new org.apache.thrift.protocol.TField("dataProtectionAmount", org.apache.thrift.protocol.TType.DOUBLE, (short)75);
100
  private static final org.apache.thrift.protocol.TField DATA_PROTECTION_AMOUNT_FIELD_DESC = new org.apache.thrift.protocol.TField("dataProtectionAmount", org.apache.thrift.protocol.TType.DOUBLE, (short)75);
101
  private static final org.apache.thrift.protocol.TField TAX_TYPE_FIELD_DESC = new org.apache.thrift.protocol.TField("taxType", org.apache.thrift.protocol.TType.I32, (short)76);
101
  private static final org.apache.thrift.protocol.TField TAX_TYPE_FIELD_DESC = new org.apache.thrift.protocol.TField("taxType", org.apache.thrift.protocol.TType.I32, (short)76);
102
  private static final org.apache.thrift.protocol.TField LOGISTICS_TRANSACTION_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("logisticsTransactionId", org.apache.thrift.protocol.TType.STRING, (short)77);
102
  private static final org.apache.thrift.protocol.TField LOGISTICS_TRANSACTION_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("logisticsTransactionId", org.apache.thrift.protocol.TType.STRING, (short)77);
-
 
103
  private static final org.apache.thrift.protocol.TField SHIPPING_COST_FIELD_DESC = new org.apache.thrift.protocol.TField("shippingCost", org.apache.thrift.protocol.TType.DOUBLE, (short)78);
-
 
104
  private static final org.apache.thrift.protocol.TField COD_CHARGES_FIELD_DESC = new org.apache.thrift.protocol.TField("codCharges", org.apache.thrift.protocol.TType.DOUBLE, (short)79);
103
 
105
 
104
  private long id; // required
106
  private long id; // required
105
  private long warehouse_id; // required
107
  private long warehouse_id; // required
106
  private List<LineItem> lineitems; // required
108
  private List<LineItem> lineitems; // required
107
  private long logistics_provider_id; // required
109
  private long logistics_provider_id; // required
Line 176... Line 178...
176
  private ProductCondition productCondition; // required
178
  private ProductCondition productCondition; // required
177
  private long dataProtectionInsurer; // required
179
  private long dataProtectionInsurer; // required
178
  private double dataProtectionAmount; // required
180
  private double dataProtectionAmount; // required
179
  private TaxType taxType; // required
181
  private TaxType taxType; // required
180
  private String logisticsTransactionId; // required
182
  private String logisticsTransactionId; // required
-
 
183
  private double shippingCost; // required
-
 
184
  private double codCharges; // required
181
 
185
 
182
  /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
186
  /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
183
  public enum _Fields implements org.apache.thrift.TFieldIdEnum {
187
  public enum _Fields implements org.apache.thrift.TFieldIdEnum {
184
    ID((short)1, "id"),
188
    ID((short)1, "id"),
185
    WAREHOUSE_ID((short)2, "warehouse_id"),
189
    WAREHOUSE_ID((short)2, "warehouse_id"),
Line 301... Line 305...
301
    /**
305
    /**
302
     * 
306
     * 
303
     * @see TaxType
307
     * @see TaxType
304
     */
308
     */
305
    TAX_TYPE((short)76, "taxType"),
309
    TAX_TYPE((short)76, "taxType"),
306
    LOGISTICS_TRANSACTION_ID((short)77, "logisticsTransactionId");
310
    LOGISTICS_TRANSACTION_ID((short)77, "logisticsTransactionId"),
-
 
311
    SHIPPING_COST((short)78, "shippingCost"),
-
 
312
    COD_CHARGES((short)79, "codCharges");
307
 
313
 
308
    private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
314
    private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
309
 
315
 
310
    static {
316
    static {
311
      for (_Fields field : EnumSet.allOf(_Fields.class)) {
317
      for (_Fields field : EnumSet.allOf(_Fields.class)) {
Line 470... Line 476...
470
          return DATA_PROTECTION_AMOUNT;
476
          return DATA_PROTECTION_AMOUNT;
471
        case 76: // TAX_TYPE
477
        case 76: // TAX_TYPE
472
          return TAX_TYPE;
478
          return TAX_TYPE;
473
        case 77: // LOGISTICS_TRANSACTION_ID
479
        case 77: // LOGISTICS_TRANSACTION_ID
474
          return LOGISTICS_TRANSACTION_ID;
480
          return LOGISTICS_TRANSACTION_ID;
-
 
481
        case 78: // SHIPPING_COST
-
 
482
          return SHIPPING_COST;
-
 
483
        case 79: // COD_CHARGES
-
 
484
          return COD_CHARGES;
475
        default:
485
        default:
476
          return null;
486
          return null;
477
      }
487
      }
478
    }
488
    }
479
 
489
 
Line 559... Line 569...
559
  private static final int __SOURCE_ISSET_ID = 44;
569
  private static final int __SOURCE_ISSET_ID = 44;
560
  private static final int __ADVANCEAMOUNT_ISSET_ID = 45;
570
  private static final int __ADVANCEAMOUNT_ISSET_ID = 45;
561
  private static final int __STOREID_ISSET_ID = 46;
571
  private static final int __STOREID_ISSET_ID = 46;
562
  private static final int __DATAPROTECTIONINSURER_ISSET_ID = 47;
572
  private static final int __DATAPROTECTIONINSURER_ISSET_ID = 47;
563
  private static final int __DATAPROTECTIONAMOUNT_ISSET_ID = 48;
573
  private static final int __DATAPROTECTIONAMOUNT_ISSET_ID = 48;
-
 
574
  private static final int __SHIPPINGCOST_ISSET_ID = 49;
-
 
575
  private static final int __CODCHARGES_ISSET_ID = 50;
564
  private BitSet __isset_bit_vector = new BitSet(49);
576
  private BitSet __isset_bit_vector = new BitSet(51);
565
 
577
 
566
  public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
578
  public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
567
  static {
579
  static {
568
    Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
580
    Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
569
    tmpMap.put(_Fields.ID, new org.apache.thrift.meta_data.FieldMetaData("id", org.apache.thrift.TFieldRequirementType.DEFAULT, 
581
    tmpMap.put(_Fields.ID, new org.apache.thrift.meta_data.FieldMetaData("id", org.apache.thrift.TFieldRequirementType.DEFAULT, 
Line 719... Line 731...
719
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
731
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
720
    tmpMap.put(_Fields.TAX_TYPE, new org.apache.thrift.meta_data.FieldMetaData("taxType", org.apache.thrift.TFieldRequirementType.DEFAULT, 
732
    tmpMap.put(_Fields.TAX_TYPE, new org.apache.thrift.meta_data.FieldMetaData("taxType", org.apache.thrift.TFieldRequirementType.DEFAULT, 
721
        new org.apache.thrift.meta_data.EnumMetaData(org.apache.thrift.protocol.TType.ENUM, TaxType.class)));
733
        new org.apache.thrift.meta_data.EnumMetaData(org.apache.thrift.protocol.TType.ENUM, TaxType.class)));
722
    tmpMap.put(_Fields.LOGISTICS_TRANSACTION_ID, new org.apache.thrift.meta_data.FieldMetaData("logisticsTransactionId", org.apache.thrift.TFieldRequirementType.DEFAULT, 
734
    tmpMap.put(_Fields.LOGISTICS_TRANSACTION_ID, new org.apache.thrift.meta_data.FieldMetaData("logisticsTransactionId", org.apache.thrift.TFieldRequirementType.DEFAULT, 
723
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
735
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
-
 
736
    tmpMap.put(_Fields.SHIPPING_COST, new org.apache.thrift.meta_data.FieldMetaData("shippingCost", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
737
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
-
 
738
    tmpMap.put(_Fields.COD_CHARGES, new org.apache.thrift.meta_data.FieldMetaData("codCharges", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
739
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
724
    metaDataMap = Collections.unmodifiableMap(tmpMap);
740
    metaDataMap = Collections.unmodifiableMap(tmpMap);
725
    org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(Order.class, metaDataMap);
741
    org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(Order.class, metaDataMap);
726
  }
742
  }
727
 
743
 
728
  public Order() {
744
  public Order() {
Line 796... Line 812...
796
    long storeId,
812
    long storeId,
797
    ProductCondition productCondition,
813
    ProductCondition productCondition,
798
    long dataProtectionInsurer,
814
    long dataProtectionInsurer,
799
    double dataProtectionAmount,
815
    double dataProtectionAmount,
800
    TaxType taxType,
816
    TaxType taxType,
801
    String logisticsTransactionId)
817
    String logisticsTransactionId,
-
 
818
    double shippingCost,
-
 
819
    double codCharges)
802
  {
820
  {
803
    this();
821
    this();
804
    this.id = id;
822
    this.id = id;
805
    setIdIsSet(true);
823
    setIdIsSet(true);
806
    this.warehouse_id = warehouse_id;
824
    this.warehouse_id = warehouse_id;
Line 911... Line 929...
911
    setDataProtectionInsurerIsSet(true);
929
    setDataProtectionInsurerIsSet(true);
912
    this.dataProtectionAmount = dataProtectionAmount;
930
    this.dataProtectionAmount = dataProtectionAmount;
913
    setDataProtectionAmountIsSet(true);
931
    setDataProtectionAmountIsSet(true);
914
    this.taxType = taxType;
932
    this.taxType = taxType;
915
    this.logisticsTransactionId = logisticsTransactionId;
933
    this.logisticsTransactionId = logisticsTransactionId;
-
 
934
    this.shippingCost = shippingCost;
-
 
935
    setShippingCostIsSet(true);
-
 
936
    this.codCharges = codCharges;
-
 
937
    setCodChargesIsSet(true);
916
  }
938
  }
917
 
939
 
918
  /**
940
  /**
919
   * Performs a deep copy on <i>other</i>.
941
   * Performs a deep copy on <i>other</i>.
920
   */
942
   */
Line 1056... Line 1078...
1056
      this.taxType = other.taxType;
1078
      this.taxType = other.taxType;
1057
    }
1079
    }
1058
    if (other.isSetLogisticsTransactionId()) {
1080
    if (other.isSetLogisticsTransactionId()) {
1059
      this.logisticsTransactionId = other.logisticsTransactionId;
1081
      this.logisticsTransactionId = other.logisticsTransactionId;
1060
    }
1082
    }
-
 
1083
    this.shippingCost = other.shippingCost;
-
 
1084
    this.codCharges = other.codCharges;
1061
  }
1085
  }
1062
 
1086
 
1063
  public Order deepCopy() {
1087
  public Order deepCopy() {
1064
    return new Order(this);
1088
    return new Order(this);
1065
  }
1089
  }
Line 1190... Line 1214...
1190
    this.dataProtectionInsurer = 0;
1214
    this.dataProtectionInsurer = 0;
1191
    setDataProtectionAmountIsSet(false);
1215
    setDataProtectionAmountIsSet(false);
1192
    this.dataProtectionAmount = 0.0;
1216
    this.dataProtectionAmount = 0.0;
1193
    this.taxType = null;
1217
    this.taxType = null;
1194
    this.logisticsTransactionId = null;
1218
    this.logisticsTransactionId = null;
-
 
1219
    setShippingCostIsSet(false);
-
 
1220
    this.shippingCost = 0.0;
-
 
1221
    setCodChargesIsSet(false);
-
 
1222
    this.codCharges = 0.0;
1195
  }
1223
  }
1196
 
1224
 
1197
  public long getId() {
1225
  public long getId() {
1198
    return this.id;
1226
    return this.id;
1199
  }
1227
  }
Line 3021... Line 3049...
3021
    if (!value) {
3049
    if (!value) {
3022
      this.logisticsTransactionId = null;
3050
      this.logisticsTransactionId = null;
3023
    }
3051
    }
3024
  }
3052
  }
3025
 
3053
 
-
 
3054
  public double getShippingCost() {
-
 
3055
    return this.shippingCost;
-
 
3056
  }
-
 
3057
 
-
 
3058
  public void setShippingCost(double shippingCost) {
-
 
3059
    this.shippingCost = shippingCost;
-
 
3060
    setShippingCostIsSet(true);
-
 
3061
  }
-
 
3062
 
-
 
3063
  public void unsetShippingCost() {
-
 
3064
    __isset_bit_vector.clear(__SHIPPINGCOST_ISSET_ID);
-
 
3065
  }
-
 
3066
 
-
 
3067
  /** Returns true if field shippingCost is set (has been assigned a value) and false otherwise */
-
 
3068
  public boolean isSetShippingCost() {
-
 
3069
    return __isset_bit_vector.get(__SHIPPINGCOST_ISSET_ID);
-
 
3070
  }
-
 
3071
 
-
 
3072
  public void setShippingCostIsSet(boolean value) {
-
 
3073
    __isset_bit_vector.set(__SHIPPINGCOST_ISSET_ID, value);
-
 
3074
  }
-
 
3075
 
-
 
3076
  public double getCodCharges() {
-
 
3077
    return this.codCharges;
-
 
3078
  }
-
 
3079
 
-
 
3080
  public void setCodCharges(double codCharges) {
-
 
3081
    this.codCharges = codCharges;
-
 
3082
    setCodChargesIsSet(true);
-
 
3083
  }
-
 
3084
 
-
 
3085
  public void unsetCodCharges() {
-
 
3086
    __isset_bit_vector.clear(__CODCHARGES_ISSET_ID);
-
 
3087
  }
-
 
3088
 
-
 
3089
  /** Returns true if field codCharges is set (has been assigned a value) and false otherwise */
-
 
3090
  public boolean isSetCodCharges() {
-
 
3091
    return __isset_bit_vector.get(__CODCHARGES_ISSET_ID);
-
 
3092
  }
-
 
3093
 
-
 
3094
  public void setCodChargesIsSet(boolean value) {
-
 
3095
    __isset_bit_vector.set(__CODCHARGES_ISSET_ID, value);
-
 
3096
  }
-
 
3097
 
3026
  public void setFieldValue(_Fields field, Object value) {
3098
  public void setFieldValue(_Fields field, Object value) {
3027
    switch (field) {
3099
    switch (field) {
3028
    case ID:
3100
    case ID:
3029
      if (value == null) {
3101
      if (value == null) {
3030
        unsetId();
3102
        unsetId();
Line 3639... Line 3711...
3639
      } else {
3711
      } else {
3640
        setLogisticsTransactionId((String)value);
3712
        setLogisticsTransactionId((String)value);
3641
      }
3713
      }
3642
      break;
3714
      break;
3643
 
3715
 
-
 
3716
    case SHIPPING_COST:
-
 
3717
      if (value == null) {
-
 
3718
        unsetShippingCost();
-
 
3719
      } else {
-
 
3720
        setShippingCost((Double)value);
-
 
3721
      }
-
 
3722
      break;
-
 
3723
 
-
 
3724
    case COD_CHARGES:
-
 
3725
      if (value == null) {
-
 
3726
        unsetCodCharges();
-
 
3727
      } else {
-
 
3728
        setCodCharges((Double)value);
-
 
3729
      }
-
 
3730
      break;
-
 
3731
 
3644
    }
3732
    }
3645
  }
3733
  }
3646
 
3734
 
3647
  public Object getFieldValue(_Fields field) {
3735
  public Object getFieldValue(_Fields field) {
3648
    switch (field) {
3736
    switch (field) {
Line 3875... Line 3963...
3875
      return getTaxType();
3963
      return getTaxType();
3876
 
3964
 
3877
    case LOGISTICS_TRANSACTION_ID:
3965
    case LOGISTICS_TRANSACTION_ID:
3878
      return getLogisticsTransactionId();
3966
      return getLogisticsTransactionId();
3879
 
3967
 
-
 
3968
    case SHIPPING_COST:
-
 
3969
      return Double.valueOf(getShippingCost());
-
 
3970
 
-
 
3971
    case COD_CHARGES:
-
 
3972
      return Double.valueOf(getCodCharges());
-
 
3973
 
3880
    }
3974
    }
3881
    throw new IllegalStateException();
3975
    throw new IllegalStateException();
3882
  }
3976
  }
3883
 
3977
 
3884
  /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
3978
  /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
Line 4040... Line 4134...
4040
      return isSetDataProtectionAmount();
4134
      return isSetDataProtectionAmount();
4041
    case TAX_TYPE:
4135
    case TAX_TYPE:
4042
      return isSetTaxType();
4136
      return isSetTaxType();
4043
    case LOGISTICS_TRANSACTION_ID:
4137
    case LOGISTICS_TRANSACTION_ID:
4044
      return isSetLogisticsTransactionId();
4138
      return isSetLogisticsTransactionId();
-
 
4139
    case SHIPPING_COST:
-
 
4140
      return isSetShippingCost();
-
 
4141
    case COD_CHARGES:
-
 
4142
      return isSetCodCharges();
4045
    }
4143
    }
4046
    throw new IllegalStateException();
4144
    throw new IllegalStateException();
4047
  }
4145
  }
4048
 
4146
 
4049
  @Override
4147
  @Override
Line 4750... Line 4848...
4750
        return false;
4848
        return false;
4751
      if (!this.logisticsTransactionId.equals(that.logisticsTransactionId))
4849
      if (!this.logisticsTransactionId.equals(that.logisticsTransactionId))
4752
        return false;
4850
        return false;
4753
    }
4851
    }
4754
 
4852
 
-
 
4853
    boolean this_present_shippingCost = true;
-
 
4854
    boolean that_present_shippingCost = true;
-
 
4855
    if (this_present_shippingCost || that_present_shippingCost) {
-
 
4856
      if (!(this_present_shippingCost && that_present_shippingCost))
-
 
4857
        return false;
-
 
4858
      if (this.shippingCost != that.shippingCost)
-
 
4859
        return false;
-
 
4860
    }
-
 
4861
 
-
 
4862
    boolean this_present_codCharges = true;
-
 
4863
    boolean that_present_codCharges = true;
-
 
4864
    if (this_present_codCharges || that_present_codCharges) {
-
 
4865
      if (!(this_present_codCharges && that_present_codCharges))
-
 
4866
        return false;
-
 
4867
      if (this.codCharges != that.codCharges)
-
 
4868
        return false;
-
 
4869
    }
-
 
4870
 
4755
    return true;
4871
    return true;
4756
  }
4872
  }
4757
 
4873
 
4758
  @Override
4874
  @Override
4759
  public int hashCode() {
4875
  public int hashCode() {
Line 5536... Line 5652...
5536
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.logisticsTransactionId, typedOther.logisticsTransactionId);
5652
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.logisticsTransactionId, typedOther.logisticsTransactionId);
5537
      if (lastComparison != 0) {
5653
      if (lastComparison != 0) {
5538
        return lastComparison;
5654
        return lastComparison;
5539
      }
5655
      }
5540
    }
5656
    }
-
 
5657
    lastComparison = Boolean.valueOf(isSetShippingCost()).compareTo(typedOther.isSetShippingCost());
-
 
5658
    if (lastComparison != 0) {
-
 
5659
      return lastComparison;
-
 
5660
    }
-
 
5661
    if (isSetShippingCost()) {
-
 
5662
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.shippingCost, typedOther.shippingCost);
-
 
5663
      if (lastComparison != 0) {
-
 
5664
        return lastComparison;
-
 
5665
      }
-
 
5666
    }
-
 
5667
    lastComparison = Boolean.valueOf(isSetCodCharges()).compareTo(typedOther.isSetCodCharges());
-
 
5668
    if (lastComparison != 0) {
-
 
5669
      return lastComparison;
-
 
5670
    }
-
 
5671
    if (isSetCodCharges()) {
-
 
5672
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.codCharges, typedOther.codCharges);
-
 
5673
      if (lastComparison != 0) {
-
 
5674
        return lastComparison;
-
 
5675
      }
-
 
5676
    }
5541
    return 0;
5677
    return 0;
5542
  }
5678
  }
5543
 
5679
 
5544
  public _Fields fieldForId(int fieldId) {
5680
  public _Fields fieldForId(int fieldId) {
5545
    return _Fields.findByThriftId(fieldId);
5681
    return _Fields.findByThriftId(fieldId);
Line 6152... Line 6288...
6152
            this.logisticsTransactionId = iprot.readString();
6288
            this.logisticsTransactionId = iprot.readString();
6153
          } else { 
6289
          } else { 
6154
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
6290
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
6155
          }
6291
          }
6156
          break;
6292
          break;
-
 
6293
        case 78: // SHIPPING_COST
-
 
6294
          if (field.type == org.apache.thrift.protocol.TType.DOUBLE) {
-
 
6295
            this.shippingCost = iprot.readDouble();
-
 
6296
            setShippingCostIsSet(true);
-
 
6297
          } else { 
-
 
6298
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
6299
          }
-
 
6300
          break;
-
 
6301
        case 79: // COD_CHARGES
-
 
6302
          if (field.type == org.apache.thrift.protocol.TType.DOUBLE) {
-
 
6303
            this.codCharges = iprot.readDouble();
-
 
6304
            setCodChargesIsSet(true);
-
 
6305
          } else { 
-
 
6306
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
6307
          }
-
 
6308
          break;
6157
        default:
6309
        default:
6158
          org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
6310
          org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
6159
      }
6311
      }
6160
      iprot.readFieldEnd();
6312
      iprot.readFieldEnd();
6161
    }
6313
    }
Line 6473... Line 6625...
6473
    if (this.logisticsTransactionId != null) {
6625
    if (this.logisticsTransactionId != null) {
6474
      oprot.writeFieldBegin(LOGISTICS_TRANSACTION_ID_FIELD_DESC);
6626
      oprot.writeFieldBegin(LOGISTICS_TRANSACTION_ID_FIELD_DESC);
6475
      oprot.writeString(this.logisticsTransactionId);
6627
      oprot.writeString(this.logisticsTransactionId);
6476
      oprot.writeFieldEnd();
6628
      oprot.writeFieldEnd();
6477
    }
6629
    }
-
 
6630
    oprot.writeFieldBegin(SHIPPING_COST_FIELD_DESC);
-
 
6631
    oprot.writeDouble(this.shippingCost);
-
 
6632
    oprot.writeFieldEnd();
-
 
6633
    oprot.writeFieldBegin(COD_CHARGES_FIELD_DESC);
-
 
6634
    oprot.writeDouble(this.codCharges);
-
 
6635
    oprot.writeFieldEnd();
6478
    oprot.writeFieldStop();
6636
    oprot.writeFieldStop();
6479
    oprot.writeStructEnd();
6637
    oprot.writeStructEnd();
6480
  }
6638
  }
6481
 
6639
 
6482
  @Override
6640
  @Override
Line 6915... Line 7073...
6915
      sb.append("null");
7073
      sb.append("null");
6916
    } else {
7074
    } else {
6917
      sb.append(this.logisticsTransactionId);
7075
      sb.append(this.logisticsTransactionId);
6918
    }
7076
    }
6919
    first = false;
7077
    first = false;
-
 
7078
    if (!first) sb.append(", ");
-
 
7079
    sb.append("shippingCost:");
-
 
7080
    sb.append(this.shippingCost);
-
 
7081
    first = false;
-
 
7082
    if (!first) sb.append(", ");
-
 
7083
    sb.append("codCharges:");
-
 
7084
    sb.append(this.codCharges);
-
 
7085
    first = false;
6920
    sb.append(")");
7086
    sb.append(")");
6921
    return sb.toString();
7087
    return sb.toString();
6922
  }
7088
  }
6923
 
7089
 
6924
  public void validate() throws org.apache.thrift.TException {
7090
  public void validate() throws org.apache.thrift.TException {