Subversion Repositories SmartDukaan

Rev

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

Rev 6389 Rev 17470
Line 34... Line 34...
34
  private static final org.apache.thrift.protocol.TField SESSION_SOURCE_FIELD_DESC = new org.apache.thrift.protocol.TField("sessionSource", org.apache.thrift.protocol.TType.STRING, (short)9);
34
  private static final org.apache.thrift.protocol.TField SESSION_SOURCE_FIELD_DESC = new org.apache.thrift.protocol.TField("sessionSource", org.apache.thrift.protocol.TType.STRING, (short)9);
35
  private static final org.apache.thrift.protocol.TField SESSION_START_TIME_FIELD_DESC = new org.apache.thrift.protocol.TField("sessionStartTime", org.apache.thrift.protocol.TType.I64, (short)10);
35
  private static final org.apache.thrift.protocol.TField SESSION_START_TIME_FIELD_DESC = new org.apache.thrift.protocol.TField("sessionStartTime", org.apache.thrift.protocol.TType.I64, (short)10);
36
  private static final org.apache.thrift.protocol.TField FIRST_SOURCE_FIELD_DESC = new org.apache.thrift.protocol.TField("firstSource", org.apache.thrift.protocol.TType.STRING, (short)11);
36
  private static final org.apache.thrift.protocol.TField FIRST_SOURCE_FIELD_DESC = new org.apache.thrift.protocol.TField("firstSource", org.apache.thrift.protocol.TType.STRING, (short)11);
37
  private static final org.apache.thrift.protocol.TField FIRST_SOURCE_TIME_FIELD_DESC = new org.apache.thrift.protocol.TField("firstSourceTime", org.apache.thrift.protocol.TType.I64, (short)12);
37
  private static final org.apache.thrift.protocol.TField FIRST_SOURCE_TIME_FIELD_DESC = new org.apache.thrift.protocol.TField("firstSourceTime", org.apache.thrift.protocol.TType.I64, (short)12);
38
  private static final org.apache.thrift.protocol.TField EMI_SCHEME_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("emiSchemeId", org.apache.thrift.protocol.TType.I64, (short)13);
38
  private static final org.apache.thrift.protocol.TField EMI_SCHEME_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("emiSchemeId", org.apache.thrift.protocol.TType.I64, (short)13);
-
 
39
  private static final org.apache.thrift.protocol.TField TOTAL_SHIPPING_COST_FIELD_DESC = new org.apache.thrift.protocol.TField("totalShippingCost", org.apache.thrift.protocol.TType.DOUBLE, (short)14);
-
 
40
  private static final org.apache.thrift.protocol.TField TOTAL_COD_CHARGES_FIELD_DESC = new org.apache.thrift.protocol.TField("totalCodCharges", org.apache.thrift.protocol.TType.DOUBLE, (short)15);
39
 
41
 
40
  private long id; // required
42
  private long id; // required
41
  private List<Order> orders; // required
43
  private List<Order> orders; // required
42
  private long createdOn; // required
44
  private long createdOn; // required
43
  private TransactionStatus transactionStatus; // required
45
  private TransactionStatus transactionStatus; // required
Line 48... Line 50...
48
  private String sessionSource; // required
50
  private String sessionSource; // required
49
  private long sessionStartTime; // required
51
  private long sessionStartTime; // required
50
  private String firstSource; // required
52
  private String firstSource; // required
51
  private long firstSourceTime; // required
53
  private long firstSourceTime; // required
52
  private long emiSchemeId; // required
54
  private long emiSchemeId; // required
-
 
55
  private double totalShippingCost; // required
-
 
56
  private double totalCodCharges; // required
53
 
57
 
54
  /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
58
  /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
55
  public enum _Fields implements org.apache.thrift.TFieldIdEnum {
59
  public enum _Fields implements org.apache.thrift.TFieldIdEnum {
56
    ID((short)1, "id"),
60
    ID((short)1, "id"),
57
    ORDERS((short)2, "orders"),
61
    ORDERS((short)2, "orders"),
Line 67... Line 71...
67
    COUPON_CODE((short)8, "coupon_code"),
71
    COUPON_CODE((short)8, "coupon_code"),
68
    SESSION_SOURCE((short)9, "sessionSource"),
72
    SESSION_SOURCE((short)9, "sessionSource"),
69
    SESSION_START_TIME((short)10, "sessionStartTime"),
73
    SESSION_START_TIME((short)10, "sessionStartTime"),
70
    FIRST_SOURCE((short)11, "firstSource"),
74
    FIRST_SOURCE((short)11, "firstSource"),
71
    FIRST_SOURCE_TIME((short)12, "firstSourceTime"),
75
    FIRST_SOURCE_TIME((short)12, "firstSourceTime"),
72
    EMI_SCHEME_ID((short)13, "emiSchemeId");
76
    EMI_SCHEME_ID((short)13, "emiSchemeId"),
-
 
77
    TOTAL_SHIPPING_COST((short)14, "totalShippingCost"),
-
 
78
    TOTAL_COD_CHARGES((short)15, "totalCodCharges");
73
 
79
 
74
    private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
80
    private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
75
 
81
 
76
    static {
82
    static {
77
      for (_Fields field : EnumSet.allOf(_Fields.class)) {
83
      for (_Fields field : EnumSet.allOf(_Fields.class)) {
Line 108... Line 114...
108
          return FIRST_SOURCE;
114
          return FIRST_SOURCE;
109
        case 12: // FIRST_SOURCE_TIME
115
        case 12: // FIRST_SOURCE_TIME
110
          return FIRST_SOURCE_TIME;
116
          return FIRST_SOURCE_TIME;
111
        case 13: // EMI_SCHEME_ID
117
        case 13: // EMI_SCHEME_ID
112
          return EMI_SCHEME_ID;
118
          return EMI_SCHEME_ID;
-
 
119
        case 14: // TOTAL_SHIPPING_COST
-
 
120
          return TOTAL_SHIPPING_COST;
-
 
121
        case 15: // TOTAL_COD_CHARGES
-
 
122
          return TOTAL_COD_CHARGES;
113
        default:
123
        default:
114
          return null;
124
          return null;
115
      }
125
      }
116
    }
126
    }
117
 
127
 
Line 155... Line 165...
155
  private static final int __SHOPPINGCARTID_ISSET_ID = 2;
165
  private static final int __SHOPPINGCARTID_ISSET_ID = 2;
156
  private static final int __CUSTOMER_ID_ISSET_ID = 3;
166
  private static final int __CUSTOMER_ID_ISSET_ID = 3;
157
  private static final int __SESSIONSTARTTIME_ISSET_ID = 4;
167
  private static final int __SESSIONSTARTTIME_ISSET_ID = 4;
158
  private static final int __FIRSTSOURCETIME_ISSET_ID = 5;
168
  private static final int __FIRSTSOURCETIME_ISSET_ID = 5;
159
  private static final int __EMISCHEMEID_ISSET_ID = 6;
169
  private static final int __EMISCHEMEID_ISSET_ID = 6;
-
 
170
  private static final int __TOTALSHIPPINGCOST_ISSET_ID = 7;
-
 
171
  private static final int __TOTALCODCHARGES_ISSET_ID = 8;
160
  private BitSet __isset_bit_vector = new BitSet(7);
172
  private BitSet __isset_bit_vector = new BitSet(9);
161
 
173
 
162
  public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
174
  public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
163
  static {
175
  static {
164
    Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
176
    Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
165
    tmpMap.put(_Fields.ID, new org.apache.thrift.meta_data.FieldMetaData("id", org.apache.thrift.TFieldRequirementType.DEFAULT, 
177
    tmpMap.put(_Fields.ID, new org.apache.thrift.meta_data.FieldMetaData("id", org.apache.thrift.TFieldRequirementType.DEFAULT, 
Line 187... Line 199...
187
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
199
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
188
    tmpMap.put(_Fields.FIRST_SOURCE_TIME, new org.apache.thrift.meta_data.FieldMetaData("firstSourceTime", org.apache.thrift.TFieldRequirementType.DEFAULT, 
200
    tmpMap.put(_Fields.FIRST_SOURCE_TIME, new org.apache.thrift.meta_data.FieldMetaData("firstSourceTime", org.apache.thrift.TFieldRequirementType.DEFAULT, 
189
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
201
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
190
    tmpMap.put(_Fields.EMI_SCHEME_ID, new org.apache.thrift.meta_data.FieldMetaData("emiSchemeId", org.apache.thrift.TFieldRequirementType.DEFAULT, 
202
    tmpMap.put(_Fields.EMI_SCHEME_ID, new org.apache.thrift.meta_data.FieldMetaData("emiSchemeId", org.apache.thrift.TFieldRequirementType.DEFAULT, 
191
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
203
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
204
    tmpMap.put(_Fields.TOTAL_SHIPPING_COST, new org.apache.thrift.meta_data.FieldMetaData("totalShippingCost", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
205
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
-
 
206
    tmpMap.put(_Fields.TOTAL_COD_CHARGES, new org.apache.thrift.meta_data.FieldMetaData("totalCodCharges", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
207
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
192
    metaDataMap = Collections.unmodifiableMap(tmpMap);
208
    metaDataMap = Collections.unmodifiableMap(tmpMap);
193
    org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(Transaction.class, metaDataMap);
209
    org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(Transaction.class, metaDataMap);
194
  }
210
  }
195
 
211
 
196
  public Transaction() {
212
  public Transaction() {
Line 207... Line 223...
207
    String coupon_code,
223
    String coupon_code,
208
    String sessionSource,
224
    String sessionSource,
209
    long sessionStartTime,
225
    long sessionStartTime,
210
    String firstSource,
226
    String firstSource,
211
    long firstSourceTime,
227
    long firstSourceTime,
212
    long emiSchemeId)
228
    long emiSchemeId,
-
 
229
    double totalShippingCost,
-
 
230
    double totalCodCharges)
213
  {
231
  {
214
    this();
232
    this();
215
    this.id = id;
233
    this.id = id;
216
    setIdIsSet(true);
234
    setIdIsSet(true);
217
    this.orders = orders;
235
    this.orders = orders;
Line 230... Line 248...
230
    this.firstSource = firstSource;
248
    this.firstSource = firstSource;
231
    this.firstSourceTime = firstSourceTime;
249
    this.firstSourceTime = firstSourceTime;
232
    setFirstSourceTimeIsSet(true);
250
    setFirstSourceTimeIsSet(true);
233
    this.emiSchemeId = emiSchemeId;
251
    this.emiSchemeId = emiSchemeId;
234
    setEmiSchemeIdIsSet(true);
252
    setEmiSchemeIdIsSet(true);
-
 
253
    this.totalShippingCost = totalShippingCost;
-
 
254
    setTotalShippingCostIsSet(true);
-
 
255
    this.totalCodCharges = totalCodCharges;
-
 
256
    setTotalCodChargesIsSet(true);
235
  }
257
  }
236
 
258
 
237
  /**
259
  /**
238
   * Performs a deep copy on <i>other</i>.
260
   * Performs a deep copy on <i>other</i>.
239
   */
261
   */
Line 267... Line 289...
267
    if (other.isSetFirstSource()) {
289
    if (other.isSetFirstSource()) {
268
      this.firstSource = other.firstSource;
290
      this.firstSource = other.firstSource;
269
    }
291
    }
270
    this.firstSourceTime = other.firstSourceTime;
292
    this.firstSourceTime = other.firstSourceTime;
271
    this.emiSchemeId = other.emiSchemeId;
293
    this.emiSchemeId = other.emiSchemeId;
-
 
294
    this.totalShippingCost = other.totalShippingCost;
-
 
295
    this.totalCodCharges = other.totalCodCharges;
272
  }
296
  }
273
 
297
 
274
  public Transaction deepCopy() {
298
  public Transaction deepCopy() {
275
    return new Transaction(this);
299
    return new Transaction(this);
276
  }
300
  }
Line 295... Line 319...
295
    this.firstSource = null;
319
    this.firstSource = null;
296
    setFirstSourceTimeIsSet(false);
320
    setFirstSourceTimeIsSet(false);
297
    this.firstSourceTime = 0;
321
    this.firstSourceTime = 0;
298
    setEmiSchemeIdIsSet(false);
322
    setEmiSchemeIdIsSet(false);
299
    this.emiSchemeId = 0;
323
    this.emiSchemeId = 0;
-
 
324
    setTotalShippingCostIsSet(false);
-
 
325
    this.totalShippingCost = 0.0;
-
 
326
    setTotalCodChargesIsSet(false);
-
 
327
    this.totalCodCharges = 0.0;
300
  }
328
  }
301
 
329
 
302
  public long getId() {
330
  public long getId() {
303
    return this.id;
331
    return this.id;
304
  }
332
  }
Line 612... Line 640...
612
 
640
 
613
  public void setEmiSchemeIdIsSet(boolean value) {
641
  public void setEmiSchemeIdIsSet(boolean value) {
614
    __isset_bit_vector.set(__EMISCHEMEID_ISSET_ID, value);
642
    __isset_bit_vector.set(__EMISCHEMEID_ISSET_ID, value);
615
  }
643
  }
616
 
644
 
-
 
645
  public double getTotalShippingCost() {
-
 
646
    return this.totalShippingCost;
-
 
647
  }
-
 
648
 
-
 
649
  public void setTotalShippingCost(double totalShippingCost) {
-
 
650
    this.totalShippingCost = totalShippingCost;
-
 
651
    setTotalShippingCostIsSet(true);
-
 
652
  }
-
 
653
 
-
 
654
  public void unsetTotalShippingCost() {
-
 
655
    __isset_bit_vector.clear(__TOTALSHIPPINGCOST_ISSET_ID);
-
 
656
  }
-
 
657
 
-
 
658
  /** Returns true if field totalShippingCost is set (has been assigned a value) and false otherwise */
-
 
659
  public boolean isSetTotalShippingCost() {
-
 
660
    return __isset_bit_vector.get(__TOTALSHIPPINGCOST_ISSET_ID);
-
 
661
  }
-
 
662
 
-
 
663
  public void setTotalShippingCostIsSet(boolean value) {
-
 
664
    __isset_bit_vector.set(__TOTALSHIPPINGCOST_ISSET_ID, value);
-
 
665
  }
-
 
666
 
-
 
667
  public double getTotalCodCharges() {
-
 
668
    return this.totalCodCharges;
-
 
669
  }
-
 
670
 
-
 
671
  public void setTotalCodCharges(double totalCodCharges) {
-
 
672
    this.totalCodCharges = totalCodCharges;
-
 
673
    setTotalCodChargesIsSet(true);
-
 
674
  }
-
 
675
 
-
 
676
  public void unsetTotalCodCharges() {
-
 
677
    __isset_bit_vector.clear(__TOTALCODCHARGES_ISSET_ID);
-
 
678
  }
-
 
679
 
-
 
680
  /** Returns true if field totalCodCharges is set (has been assigned a value) and false otherwise */
-
 
681
  public boolean isSetTotalCodCharges() {
-
 
682
    return __isset_bit_vector.get(__TOTALCODCHARGES_ISSET_ID);
-
 
683
  }
-
 
684
 
-
 
685
  public void setTotalCodChargesIsSet(boolean value) {
-
 
686
    __isset_bit_vector.set(__TOTALCODCHARGES_ISSET_ID, value);
-
 
687
  }
-
 
688
 
617
  public void setFieldValue(_Fields field, Object value) {
689
  public void setFieldValue(_Fields field, Object value) {
618
    switch (field) {
690
    switch (field) {
619
    case ID:
691
    case ID:
620
      if (value == null) {
692
      if (value == null) {
621
        unsetId();
693
        unsetId();
Line 718... Line 790...
718
      } else {
790
      } else {
719
        setEmiSchemeId((Long)value);
791
        setEmiSchemeId((Long)value);
720
      }
792
      }
721
      break;
793
      break;
722
 
794
 
-
 
795
    case TOTAL_SHIPPING_COST:
-
 
796
      if (value == null) {
-
 
797
        unsetTotalShippingCost();
-
 
798
      } else {
-
 
799
        setTotalShippingCost((Double)value);
-
 
800
      }
-
 
801
      break;
-
 
802
 
-
 
803
    case TOTAL_COD_CHARGES:
-
 
804
      if (value == null) {
-
 
805
        unsetTotalCodCharges();
-
 
806
      } else {
-
 
807
        setTotalCodCharges((Double)value);
-
 
808
      }
-
 
809
      break;
-
 
810
 
723
    }
811
    }
724
  }
812
  }
725
 
813
 
726
  public Object getFieldValue(_Fields field) {
814
  public Object getFieldValue(_Fields field) {
727
    switch (field) {
815
    switch (field) {
Line 762... Line 850...
762
      return Long.valueOf(getFirstSourceTime());
850
      return Long.valueOf(getFirstSourceTime());
763
 
851
 
764
    case EMI_SCHEME_ID:
852
    case EMI_SCHEME_ID:
765
      return Long.valueOf(getEmiSchemeId());
853
      return Long.valueOf(getEmiSchemeId());
766
 
854
 
-
 
855
    case TOTAL_SHIPPING_COST:
-
 
856
      return Double.valueOf(getTotalShippingCost());
-
 
857
 
-
 
858
    case TOTAL_COD_CHARGES:
-
 
859
      return Double.valueOf(getTotalCodCharges());
-
 
860
 
767
    }
861
    }
768
    throw new IllegalStateException();
862
    throw new IllegalStateException();
769
  }
863
  }
770
 
864
 
771
  /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
865
  /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
Line 799... Line 893...
799
      return isSetFirstSource();
893
      return isSetFirstSource();
800
    case FIRST_SOURCE_TIME:
894
    case FIRST_SOURCE_TIME:
801
      return isSetFirstSourceTime();
895
      return isSetFirstSourceTime();
802
    case EMI_SCHEME_ID:
896
    case EMI_SCHEME_ID:
803
      return isSetEmiSchemeId();
897
      return isSetEmiSchemeId();
-
 
898
    case TOTAL_SHIPPING_COST:
-
 
899
      return isSetTotalShippingCost();
-
 
900
    case TOTAL_COD_CHARGES:
-
 
901
      return isSetTotalCodCharges();
804
    }
902
    }
805
    throw new IllegalStateException();
903
    throw new IllegalStateException();
806
  }
904
  }
807
 
905
 
808
  @Override
906
  @Override
Line 933... Line 1031...
933
        return false;
1031
        return false;
934
      if (this.emiSchemeId != that.emiSchemeId)
1032
      if (this.emiSchemeId != that.emiSchemeId)
935
        return false;
1033
        return false;
936
    }
1034
    }
937
 
1035
 
-
 
1036
    boolean this_present_totalShippingCost = true;
-
 
1037
    boolean that_present_totalShippingCost = true;
-
 
1038
    if (this_present_totalShippingCost || that_present_totalShippingCost) {
-
 
1039
      if (!(this_present_totalShippingCost && that_present_totalShippingCost))
-
 
1040
        return false;
-
 
1041
      if (this.totalShippingCost != that.totalShippingCost)
-
 
1042
        return false;
-
 
1043
    }
-
 
1044
 
-
 
1045
    boolean this_present_totalCodCharges = true;
-
 
1046
    boolean that_present_totalCodCharges = true;
-
 
1047
    if (this_present_totalCodCharges || that_present_totalCodCharges) {
-
 
1048
      if (!(this_present_totalCodCharges && that_present_totalCodCharges))
-
 
1049
        return false;
-
 
1050
      if (this.totalCodCharges != that.totalCodCharges)
-
 
1051
        return false;
-
 
1052
    }
-
 
1053
 
938
    return true;
1054
    return true;
939
  }
1055
  }
940
 
1056
 
941
  @Override
1057
  @Override
942
  public int hashCode() {
1058
  public int hashCode() {
Line 1079... Line 1195...
1079
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.emiSchemeId, typedOther.emiSchemeId);
1195
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.emiSchemeId, typedOther.emiSchemeId);
1080
      if (lastComparison != 0) {
1196
      if (lastComparison != 0) {
1081
        return lastComparison;
1197
        return lastComparison;
1082
      }
1198
      }
1083
    }
1199
    }
-
 
1200
    lastComparison = Boolean.valueOf(isSetTotalShippingCost()).compareTo(typedOther.isSetTotalShippingCost());
-
 
1201
    if (lastComparison != 0) {
-
 
1202
      return lastComparison;
-
 
1203
    }
-
 
1204
    if (isSetTotalShippingCost()) {
-
 
1205
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.totalShippingCost, typedOther.totalShippingCost);
-
 
1206
      if (lastComparison != 0) {
-
 
1207
        return lastComparison;
-
 
1208
      }
-
 
1209
    }
-
 
1210
    lastComparison = Boolean.valueOf(isSetTotalCodCharges()).compareTo(typedOther.isSetTotalCodCharges());
-
 
1211
    if (lastComparison != 0) {
-
 
1212
      return lastComparison;
-
 
1213
    }
-
 
1214
    if (isSetTotalCodCharges()) {
-
 
1215
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.totalCodCharges, typedOther.totalCodCharges);
-
 
1216
      if (lastComparison != 0) {
-
 
1217
        return lastComparison;
-
 
1218
      }
-
 
1219
    }
1084
    return 0;
1220
    return 0;
1085
  }
1221
  }
1086
 
1222
 
1087
  public _Fields fieldForId(int fieldId) {
1223
  public _Fields fieldForId(int fieldId) {
1088
    return _Fields.findByThriftId(fieldId);
1224
    return _Fields.findByThriftId(fieldId);
Line 1205... Line 1341...
1205
            setEmiSchemeIdIsSet(true);
1341
            setEmiSchemeIdIsSet(true);
1206
          } else { 
1342
          } else { 
1207
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
1343
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
1208
          }
1344
          }
1209
          break;
1345
          break;
-
 
1346
        case 14: // TOTAL_SHIPPING_COST
-
 
1347
          if (field.type == org.apache.thrift.protocol.TType.DOUBLE) {
-
 
1348
            this.totalShippingCost = iprot.readDouble();
-
 
1349
            setTotalShippingCostIsSet(true);
-
 
1350
          } else { 
-
 
1351
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
1352
          }
-
 
1353
          break;
-
 
1354
        case 15: // TOTAL_COD_CHARGES
-
 
1355
          if (field.type == org.apache.thrift.protocol.TType.DOUBLE) {
-
 
1356
            this.totalCodCharges = iprot.readDouble();
-
 
1357
            setTotalCodChargesIsSet(true);
-
 
1358
          } else { 
-
 
1359
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
1360
          }
-
 
1361
          break;
1210
        default:
1362
        default:
1211
          org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
1363
          org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
1212
      }
1364
      }
1213
      iprot.readFieldEnd();
1365
      iprot.readFieldEnd();
1214
    }
1366
    }
Line 1276... Line 1428...
1276
    oprot.writeI64(this.firstSourceTime);
1428
    oprot.writeI64(this.firstSourceTime);
1277
    oprot.writeFieldEnd();
1429
    oprot.writeFieldEnd();
1278
    oprot.writeFieldBegin(EMI_SCHEME_ID_FIELD_DESC);
1430
    oprot.writeFieldBegin(EMI_SCHEME_ID_FIELD_DESC);
1279
    oprot.writeI64(this.emiSchemeId);
1431
    oprot.writeI64(this.emiSchemeId);
1280
    oprot.writeFieldEnd();
1432
    oprot.writeFieldEnd();
-
 
1433
    oprot.writeFieldBegin(TOTAL_SHIPPING_COST_FIELD_DESC);
-
 
1434
    oprot.writeDouble(this.totalShippingCost);
-
 
1435
    oprot.writeFieldEnd();
-
 
1436
    oprot.writeFieldBegin(TOTAL_COD_CHARGES_FIELD_DESC);
-
 
1437
    oprot.writeDouble(this.totalCodCharges);
-
 
1438
    oprot.writeFieldEnd();
1281
    oprot.writeFieldStop();
1439
    oprot.writeFieldStop();
1282
    oprot.writeStructEnd();
1440
    oprot.writeStructEnd();
1283
  }
1441
  }
1284
 
1442
 
1285
  @Override
1443
  @Override
Line 1360... Line 1518...
1360
    first = false;
1518
    first = false;
1361
    if (!first) sb.append(", ");
1519
    if (!first) sb.append(", ");
1362
    sb.append("emiSchemeId:");
1520
    sb.append("emiSchemeId:");
1363
    sb.append(this.emiSchemeId);
1521
    sb.append(this.emiSchemeId);
1364
    first = false;
1522
    first = false;
-
 
1523
    if (!first) sb.append(", ");
-
 
1524
    sb.append("totalShippingCost:");
-
 
1525
    sb.append(this.totalShippingCost);
-
 
1526
    first = false;
-
 
1527
    if (!first) sb.append(", ");
-
 
1528
    sb.append("totalCodCharges:");
-
 
1529
    sb.append(this.totalCodCharges);
-
 
1530
    first = false;
1365
    sb.append(")");
1531
    sb.append(")");
1366
    return sb.toString();
1532
    return sb.toString();
1367
  }
1533
  }
1368
 
1534
 
1369
  public void validate() throws org.apache.thrift.TException {
1535
  public void validate() throws org.apache.thrift.TException {