Subversion Repositories SmartDukaan

Rev

Rev 17470 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 17470 Rev 18590
Line 33... Line 33...
33
  private static final org.apache.thrift.protocol.TField COUPON_CODE_FIELD_DESC = new org.apache.thrift.protocol.TField("coupon_code", org.apache.thrift.protocol.TType.STRING, (short)8);
33
  private static final org.apache.thrift.protocol.TField COUPON_CODE_FIELD_DESC = new org.apache.thrift.protocol.TField("coupon_code", org.apache.thrift.protocol.TType.STRING, (short)8);
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 PAYMENT_OPTION_FIELD_DESC = new org.apache.thrift.protocol.TField("payment_option", 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);
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);
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);
41
 
41
 
42
  private long id; // required
42
  private long id; // required
43
  private List<Order> orders; // required
43
  private List<Order> orders; // required
Line 49... Line 49...
49
  private String coupon_code; // required
49
  private String coupon_code; // required
50
  private String sessionSource; // required
50
  private String sessionSource; // required
51
  private long sessionStartTime; // required
51
  private long sessionStartTime; // required
52
  private String firstSource; // required
52
  private String firstSource; // required
53
  private long firstSourceTime; // required
53
  private long firstSourceTime; // required
54
  private long emiSchemeId; // required
54
  private long payment_option; // required
55
  private double totalShippingCost; // required
55
  private double totalShippingCost; // required
56
  private double totalCodCharges; // required
56
  private double totalCodCharges; // required
57
 
57
 
58
  /** 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. */
59
  public enum _Fields implements org.apache.thrift.TFieldIdEnum {
59
  public enum _Fields implements org.apache.thrift.TFieldIdEnum {
Line 71... Line 71...
71
    COUPON_CODE((short)8, "coupon_code"),
71
    COUPON_CODE((short)8, "coupon_code"),
72
    SESSION_SOURCE((short)9, "sessionSource"),
72
    SESSION_SOURCE((short)9, "sessionSource"),
73
    SESSION_START_TIME((short)10, "sessionStartTime"),
73
    SESSION_START_TIME((short)10, "sessionStartTime"),
74
    FIRST_SOURCE((short)11, "firstSource"),
74
    FIRST_SOURCE((short)11, "firstSource"),
75
    FIRST_SOURCE_TIME((short)12, "firstSourceTime"),
75
    FIRST_SOURCE_TIME((short)12, "firstSourceTime"),
76
    EMI_SCHEME_ID((short)13, "emiSchemeId"),
76
    PAYMENT_OPTION((short)13, "payment_option"),
77
    TOTAL_SHIPPING_COST((short)14, "totalShippingCost"),
77
    TOTAL_SHIPPING_COST((short)14, "totalShippingCost"),
78
    TOTAL_COD_CHARGES((short)15, "totalCodCharges");
78
    TOTAL_COD_CHARGES((short)15, "totalCodCharges");
79
 
79
 
80
    private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
80
    private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
81
 
81
 
Line 112... Line 112...
112
          return SESSION_START_TIME;
112
          return SESSION_START_TIME;
113
        case 11: // FIRST_SOURCE
113
        case 11: // FIRST_SOURCE
114
          return FIRST_SOURCE;
114
          return FIRST_SOURCE;
115
        case 12: // FIRST_SOURCE_TIME
115
        case 12: // FIRST_SOURCE_TIME
116
          return FIRST_SOURCE_TIME;
116
          return FIRST_SOURCE_TIME;
117
        case 13: // EMI_SCHEME_ID
117
        case 13: // PAYMENT_OPTION
118
          return EMI_SCHEME_ID;
118
          return PAYMENT_OPTION;
119
        case 14: // TOTAL_SHIPPING_COST
119
        case 14: // TOTAL_SHIPPING_COST
120
          return TOTAL_SHIPPING_COST;
120
          return TOTAL_SHIPPING_COST;
121
        case 15: // TOTAL_COD_CHARGES
121
        case 15: // TOTAL_COD_CHARGES
122
          return TOTAL_COD_CHARGES;
122
          return TOTAL_COD_CHARGES;
123
        default:
123
        default:
Line 164... Line 164...
164
  private static final int __CREATEDON_ISSET_ID = 1;
164
  private static final int __CREATEDON_ISSET_ID = 1;
165
  private static final int __SHOPPINGCARTID_ISSET_ID = 2;
165
  private static final int __SHOPPINGCARTID_ISSET_ID = 2;
166
  private static final int __CUSTOMER_ID_ISSET_ID = 3;
166
  private static final int __CUSTOMER_ID_ISSET_ID = 3;
167
  private static final int __SESSIONSTARTTIME_ISSET_ID = 4;
167
  private static final int __SESSIONSTARTTIME_ISSET_ID = 4;
168
  private static final int __FIRSTSOURCETIME_ISSET_ID = 5;
168
  private static final int __FIRSTSOURCETIME_ISSET_ID = 5;
169
  private static final int __EMISCHEMEID_ISSET_ID = 6;
169
  private static final int __PAYMENT_OPTION_ISSET_ID = 6;
170
  private static final int __TOTALSHIPPINGCOST_ISSET_ID = 7;
170
  private static final int __TOTALSHIPPINGCOST_ISSET_ID = 7;
171
  private static final int __TOTALCODCHARGES_ISSET_ID = 8;
171
  private static final int __TOTALCODCHARGES_ISSET_ID = 8;
172
  private BitSet __isset_bit_vector = new BitSet(9);
172
  private BitSet __isset_bit_vector = new BitSet(9);
173
 
173
 
174
  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;
Line 197... Line 197...
197
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
197
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
198
    tmpMap.put(_Fields.FIRST_SOURCE, new org.apache.thrift.meta_data.FieldMetaData("firstSource", org.apache.thrift.TFieldRequirementType.DEFAULT, 
198
    tmpMap.put(_Fields.FIRST_SOURCE, new org.apache.thrift.meta_data.FieldMetaData("firstSource", org.apache.thrift.TFieldRequirementType.DEFAULT, 
199
        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)));
200
    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, 
201
        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)));
202
    tmpMap.put(_Fields.EMI_SCHEME_ID, new org.apache.thrift.meta_data.FieldMetaData("emiSchemeId", org.apache.thrift.TFieldRequirementType.DEFAULT, 
202
    tmpMap.put(_Fields.PAYMENT_OPTION, new org.apache.thrift.meta_data.FieldMetaData("payment_option", org.apache.thrift.TFieldRequirementType.DEFAULT, 
203
        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, 
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)));
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, 
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)));
207
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
Line 223... Line 223...
223
    String coupon_code,
223
    String coupon_code,
224
    String sessionSource,
224
    String sessionSource,
225
    long sessionStartTime,
225
    long sessionStartTime,
226
    String firstSource,
226
    String firstSource,
227
    long firstSourceTime,
227
    long firstSourceTime,
228
    long emiSchemeId,
228
    long payment_option,
229
    double totalShippingCost,
229
    double totalShippingCost,
230
    double totalCodCharges)
230
    double totalCodCharges)
231
  {
231
  {
232
    this();
232
    this();
233
    this.id = id;
233
    this.id = id;
Line 246... Line 246...
246
    this.sessionStartTime = sessionStartTime;
246
    this.sessionStartTime = sessionStartTime;
247
    setSessionStartTimeIsSet(true);
247
    setSessionStartTimeIsSet(true);
248
    this.firstSource = firstSource;
248
    this.firstSource = firstSource;
249
    this.firstSourceTime = firstSourceTime;
249
    this.firstSourceTime = firstSourceTime;
250
    setFirstSourceTimeIsSet(true);
250
    setFirstSourceTimeIsSet(true);
251
    this.emiSchemeId = emiSchemeId;
251
    this.payment_option = payment_option;
252
    setEmiSchemeIdIsSet(true);
252
    setPayment_optionIsSet(true);
253
    this.totalShippingCost = totalShippingCost;
253
    this.totalShippingCost = totalShippingCost;
254
    setTotalShippingCostIsSet(true);
254
    setTotalShippingCostIsSet(true);
255
    this.totalCodCharges = totalCodCharges;
255
    this.totalCodCharges = totalCodCharges;
256
    setTotalCodChargesIsSet(true);
256
    setTotalCodChargesIsSet(true);
257
  }
257
  }
Line 288... Line 288...
288
    this.sessionStartTime = other.sessionStartTime;
288
    this.sessionStartTime = other.sessionStartTime;
289
    if (other.isSetFirstSource()) {
289
    if (other.isSetFirstSource()) {
290
      this.firstSource = other.firstSource;
290
      this.firstSource = other.firstSource;
291
    }
291
    }
292
    this.firstSourceTime = other.firstSourceTime;
292
    this.firstSourceTime = other.firstSourceTime;
293
    this.emiSchemeId = other.emiSchemeId;
293
    this.payment_option = other.payment_option;
294
    this.totalShippingCost = other.totalShippingCost;
294
    this.totalShippingCost = other.totalShippingCost;
295
    this.totalCodCharges = other.totalCodCharges;
295
    this.totalCodCharges = other.totalCodCharges;
296
  }
296
  }
297
 
297
 
298
  public Transaction deepCopy() {
298
  public Transaction deepCopy() {
Line 317... Line 317...
317
    setSessionStartTimeIsSet(false);
317
    setSessionStartTimeIsSet(false);
318
    this.sessionStartTime = 0;
318
    this.sessionStartTime = 0;
319
    this.firstSource = null;
319
    this.firstSource = null;
320
    setFirstSourceTimeIsSet(false);
320
    setFirstSourceTimeIsSet(false);
321
    this.firstSourceTime = 0;
321
    this.firstSourceTime = 0;
322
    setEmiSchemeIdIsSet(false);
322
    setPayment_optionIsSet(false);
323
    this.emiSchemeId = 0;
323
    this.payment_option = 0;
324
    setTotalShippingCostIsSet(false);
324
    setTotalShippingCostIsSet(false);
325
    this.totalShippingCost = 0.0;
325
    this.totalShippingCost = 0.0;
326
    setTotalCodChargesIsSet(false);
326
    setTotalCodChargesIsSet(false);
327
    this.totalCodCharges = 0.0;
327
    this.totalCodCharges = 0.0;
328
  }
328
  }
Line 618... Line 618...
618
 
618
 
619
  public void setFirstSourceTimeIsSet(boolean value) {
619
  public void setFirstSourceTimeIsSet(boolean value) {
620
    __isset_bit_vector.set(__FIRSTSOURCETIME_ISSET_ID, value);
620
    __isset_bit_vector.set(__FIRSTSOURCETIME_ISSET_ID, value);
621
  }
621
  }
622
 
622
 
623
  public long getEmiSchemeId() {
623
  public long getPayment_option() {
624
    return this.emiSchemeId;
624
    return this.payment_option;
625
  }
625
  }
626
 
626
 
627
  public void setEmiSchemeId(long emiSchemeId) {
627
  public void setPayment_option(long payment_option) {
628
    this.emiSchemeId = emiSchemeId;
628
    this.payment_option = payment_option;
629
    setEmiSchemeIdIsSet(true);
629
    setPayment_optionIsSet(true);
630
  }
630
  }
631
 
631
 
632
  public void unsetEmiSchemeId() {
632
  public void unsetPayment_option() {
633
    __isset_bit_vector.clear(__EMISCHEMEID_ISSET_ID);
633
    __isset_bit_vector.clear(__PAYMENT_OPTION_ISSET_ID);
634
  }
634
  }
635
 
635
 
636
  /** Returns true if field emiSchemeId is set (has been assigned a value) and false otherwise */
636
  /** Returns true if field payment_option is set (has been assigned a value) and false otherwise */
637
  public boolean isSetEmiSchemeId() {
637
  public boolean isSetPayment_option() {
638
    return __isset_bit_vector.get(__EMISCHEMEID_ISSET_ID);
638
    return __isset_bit_vector.get(__PAYMENT_OPTION_ISSET_ID);
639
  }
639
  }
640
 
640
 
641
  public void setEmiSchemeIdIsSet(boolean value) {
641
  public void setPayment_optionIsSet(boolean value) {
642
    __isset_bit_vector.set(__EMISCHEMEID_ISSET_ID, value);
642
    __isset_bit_vector.set(__PAYMENT_OPTION_ISSET_ID, value);
643
  }
643
  }
644
 
644
 
645
  public double getTotalShippingCost() {
645
  public double getTotalShippingCost() {
646
    return this.totalShippingCost;
646
    return this.totalShippingCost;
647
  }
647
  }
Line 782... Line 782...
782
      } else {
782
      } else {
783
        setFirstSourceTime((Long)value);
783
        setFirstSourceTime((Long)value);
784
      }
784
      }
785
      break;
785
      break;
786
 
786
 
787
    case EMI_SCHEME_ID:
787
    case PAYMENT_OPTION:
788
      if (value == null) {
788
      if (value == null) {
789
        unsetEmiSchemeId();
789
        unsetPayment_option();
790
      } else {
790
      } else {
791
        setEmiSchemeId((Long)value);
791
        setPayment_option((Long)value);
792
      }
792
      }
793
      break;
793
      break;
794
 
794
 
795
    case TOTAL_SHIPPING_COST:
795
    case TOTAL_SHIPPING_COST:
796
      if (value == null) {
796
      if (value == null) {
Line 847... Line 847...
847
      return getFirstSource();
847
      return getFirstSource();
848
 
848
 
849
    case FIRST_SOURCE_TIME:
849
    case FIRST_SOURCE_TIME:
850
      return Long.valueOf(getFirstSourceTime());
850
      return Long.valueOf(getFirstSourceTime());
851
 
851
 
852
    case EMI_SCHEME_ID:
852
    case PAYMENT_OPTION:
853
      return Long.valueOf(getEmiSchemeId());
853
      return Long.valueOf(getPayment_option());
854
 
854
 
855
    case TOTAL_SHIPPING_COST:
855
    case TOTAL_SHIPPING_COST:
856
      return Double.valueOf(getTotalShippingCost());
856
      return Double.valueOf(getTotalShippingCost());
857
 
857
 
858
    case TOTAL_COD_CHARGES:
858
    case TOTAL_COD_CHARGES:
Line 891... Line 891...
891
      return isSetSessionStartTime();
891
      return isSetSessionStartTime();
892
    case FIRST_SOURCE:
892
    case FIRST_SOURCE:
893
      return isSetFirstSource();
893
      return isSetFirstSource();
894
    case FIRST_SOURCE_TIME:
894
    case FIRST_SOURCE_TIME:
895
      return isSetFirstSourceTime();
895
      return isSetFirstSourceTime();
896
    case EMI_SCHEME_ID:
896
    case PAYMENT_OPTION:
897
      return isSetEmiSchemeId();
897
      return isSetPayment_option();
898
    case TOTAL_SHIPPING_COST:
898
    case TOTAL_SHIPPING_COST:
899
      return isSetTotalShippingCost();
899
      return isSetTotalShippingCost();
900
    case TOTAL_COD_CHARGES:
900
    case TOTAL_COD_CHARGES:
901
      return isSetTotalCodCharges();
901
      return isSetTotalCodCharges();
902
    }
902
    }
Line 1022... Line 1022...
1022
        return false;
1022
        return false;
1023
      if (this.firstSourceTime != that.firstSourceTime)
1023
      if (this.firstSourceTime != that.firstSourceTime)
1024
        return false;
1024
        return false;
1025
    }
1025
    }
1026
 
1026
 
1027
    boolean this_present_emiSchemeId = true;
1027
    boolean this_present_payment_option = true;
1028
    boolean that_present_emiSchemeId = true;
1028
    boolean that_present_payment_option = true;
1029
    if (this_present_emiSchemeId || that_present_emiSchemeId) {
1029
    if (this_present_payment_option || that_present_payment_option) {
1030
      if (!(this_present_emiSchemeId && that_present_emiSchemeId))
1030
      if (!(this_present_payment_option && that_present_payment_option))
1031
        return false;
1031
        return false;
1032
      if (this.emiSchemeId != that.emiSchemeId)
1032
      if (this.payment_option != that.payment_option)
1033
        return false;
1033
        return false;
1034
    }
1034
    }
1035
 
1035
 
1036
    boolean this_present_totalShippingCost = true;
1036
    boolean this_present_totalShippingCost = true;
1037
    boolean that_present_totalShippingCost = true;
1037
    boolean that_present_totalShippingCost = true;
Line 1185... Line 1185...
1185
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.firstSourceTime, typedOther.firstSourceTime);
1185
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.firstSourceTime, typedOther.firstSourceTime);
1186
      if (lastComparison != 0) {
1186
      if (lastComparison != 0) {
1187
        return lastComparison;
1187
        return lastComparison;
1188
      }
1188
      }
1189
    }
1189
    }
1190
    lastComparison = Boolean.valueOf(isSetEmiSchemeId()).compareTo(typedOther.isSetEmiSchemeId());
1190
    lastComparison = Boolean.valueOf(isSetPayment_option()).compareTo(typedOther.isSetPayment_option());
1191
    if (lastComparison != 0) {
1191
    if (lastComparison != 0) {
1192
      return lastComparison;
1192
      return lastComparison;
1193
    }
1193
    }
1194
    if (isSetEmiSchemeId()) {
1194
    if (isSetPayment_option()) {
1195
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.emiSchemeId, typedOther.emiSchemeId);
1195
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.payment_option, typedOther.payment_option);
1196
      if (lastComparison != 0) {
1196
      if (lastComparison != 0) {
1197
        return lastComparison;
1197
        return lastComparison;
1198
      }
1198
      }
1199
    }
1199
    }
1200
    lastComparison = Boolean.valueOf(isSetTotalShippingCost()).compareTo(typedOther.isSetTotalShippingCost());
1200
    lastComparison = Boolean.valueOf(isSetTotalShippingCost()).compareTo(typedOther.isSetTotalShippingCost());
Line 1333... Line 1333...
1333
            setFirstSourceTimeIsSet(true);
1333
            setFirstSourceTimeIsSet(true);
1334
          } else { 
1334
          } else { 
1335
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
1335
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
1336
          }
1336
          }
1337
          break;
1337
          break;
1338
        case 13: // EMI_SCHEME_ID
1338
        case 13: // PAYMENT_OPTION
1339
          if (field.type == org.apache.thrift.protocol.TType.I64) {
1339
          if (field.type == org.apache.thrift.protocol.TType.I64) {
1340
            this.emiSchemeId = iprot.readI64();
1340
            this.payment_option = iprot.readI64();
1341
            setEmiSchemeIdIsSet(true);
1341
            setPayment_optionIsSet(true);
1342
          } else { 
1342
          } else { 
1343
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
1343
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
1344
          }
1344
          }
1345
          break;
1345
          break;
1346
        case 14: // TOTAL_SHIPPING_COST
1346
        case 14: // TOTAL_SHIPPING_COST
Line 1425... Line 1425...
1425
      oprot.writeFieldEnd();
1425
      oprot.writeFieldEnd();
1426
    }
1426
    }
1427
    oprot.writeFieldBegin(FIRST_SOURCE_TIME_FIELD_DESC);
1427
    oprot.writeFieldBegin(FIRST_SOURCE_TIME_FIELD_DESC);
1428
    oprot.writeI64(this.firstSourceTime);
1428
    oprot.writeI64(this.firstSourceTime);
1429
    oprot.writeFieldEnd();
1429
    oprot.writeFieldEnd();
1430
    oprot.writeFieldBegin(EMI_SCHEME_ID_FIELD_DESC);
1430
    oprot.writeFieldBegin(PAYMENT_OPTION_FIELD_DESC);
1431
    oprot.writeI64(this.emiSchemeId);
1431
    oprot.writeI64(this.payment_option);
1432
    oprot.writeFieldEnd();
1432
    oprot.writeFieldEnd();
1433
    oprot.writeFieldBegin(TOTAL_SHIPPING_COST_FIELD_DESC);
1433
    oprot.writeFieldBegin(TOTAL_SHIPPING_COST_FIELD_DESC);
1434
    oprot.writeDouble(this.totalShippingCost);
1434
    oprot.writeDouble(this.totalShippingCost);
1435
    oprot.writeFieldEnd();
1435
    oprot.writeFieldEnd();
1436
    oprot.writeFieldBegin(TOTAL_COD_CHARGES_FIELD_DESC);
1436
    oprot.writeFieldBegin(TOTAL_COD_CHARGES_FIELD_DESC);
Line 1515... Line 1515...
1515
    if (!first) sb.append(", ");
1515
    if (!first) sb.append(", ");
1516
    sb.append("firstSourceTime:");
1516
    sb.append("firstSourceTime:");
1517
    sb.append(this.firstSourceTime);
1517
    sb.append(this.firstSourceTime);
1518
    first = false;
1518
    first = false;
1519
    if (!first) sb.append(", ");
1519
    if (!first) sb.append(", ");
1520
    sb.append("emiSchemeId:");
1520
    sb.append("payment_option:");
1521
    sb.append(this.emiSchemeId);
1521
    sb.append(this.payment_option);
1522
    first = false;
1522
    first = false;
1523
    if (!first) sb.append(", ");
1523
    if (!first) sb.append(", ");
1524
    sb.append("totalShippingCost:");
1524
    sb.append("totalShippingCost:");
1525
    sb.append(this.totalShippingCost);
1525
    sb.append(this.totalShippingCost);
1526
    first = false;
1526
    first = false;