| Line 26... |
Line 26... |
| 26 |
private static final org.apache.thrift.protocol.TField ID_FIELD_DESC = new org.apache.thrift.protocol.TField("id", org.apache.thrift.protocol.TType.I64, (short)1);
|
26 |
private static final org.apache.thrift.protocol.TField ID_FIELD_DESC = new org.apache.thrift.protocol.TField("id", org.apache.thrift.protocol.TType.I64, (short)1);
|
| 27 |
private static final org.apache.thrift.protocol.TField GATEWAY_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("gatewayId", org.apache.thrift.protocol.TType.I64, (short)2);
|
27 |
private static final org.apache.thrift.protocol.TField GATEWAY_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("gatewayId", org.apache.thrift.protocol.TType.I64, (short)2);
|
| 28 |
private static final org.apache.thrift.protocol.TField BANK_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("bankId", org.apache.thrift.protocol.TType.I64, (short)3);
|
28 |
private static final org.apache.thrift.protocol.TField BANK_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("bankId", org.apache.thrift.protocol.TType.I64, (short)3);
|
| 29 |
private static final org.apache.thrift.protocol.TField TENURE_FIELD_DESC = new org.apache.thrift.protocol.TField("tenure", org.apache.thrift.protocol.TType.I64, (short)4);
|
29 |
private static final org.apache.thrift.protocol.TField TENURE_FIELD_DESC = new org.apache.thrift.protocol.TField("tenure", org.apache.thrift.protocol.TType.I64, (short)4);
|
| 30 |
private static final org.apache.thrift.protocol.TField BANK_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("bankName", org.apache.thrift.protocol.TType.STRING, (short)5);
|
30 |
private static final org.apache.thrift.protocol.TField BANK_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("bankName", org.apache.thrift.protocol.TType.STRING, (short)5);
|
| 31 |
private static final org.apache.thrift.protocol.TField MIN_AMOUNT_FIELD_DESC = new org.apache.thrift.protocol.TField("minAmount", org.apache.thrift.protocol.TType.STRING, (short)6);
|
31 |
private static final org.apache.thrift.protocol.TField MIN_AMOUNT_FIELD_DESC = new org.apache.thrift.protocol.TField("minAmount", org.apache.thrift.protocol.TType.I64, (short)6);
|
| 32 |
private static final org.apache.thrift.protocol.TField TENURE_DESCRIPTION_FIELD_DESC = new org.apache.thrift.protocol.TField("tenureDescription", org.apache.thrift.protocol.TType.STRING, (short)7);
|
32 |
private static final org.apache.thrift.protocol.TField TENURE_DESCRIPTION_FIELD_DESC = new org.apache.thrift.protocol.TField("tenureDescription", org.apache.thrift.protocol.TType.STRING, (short)7);
|
| 33 |
private static final org.apache.thrift.protocol.TField CHARGE_TYPE_FIELD_DESC = new org.apache.thrift.protocol.TField("chargeType", org.apache.thrift.protocol.TType.I32, (short)8);
|
33 |
private static final org.apache.thrift.protocol.TField CHARGE_TYPE_FIELD_DESC = new org.apache.thrift.protocol.TField("chargeType", org.apache.thrift.protocol.TType.I32, (short)8);
|
| 34 |
private static final org.apache.thrift.protocol.TField CHARGE_VALUE_FIELD_DESC = new org.apache.thrift.protocol.TField("chargeValue", org.apache.thrift.protocol.TType.I64, (short)9);
|
34 |
private static final org.apache.thrift.protocol.TField CHARGE_VALUE_FIELD_DESC = new org.apache.thrift.protocol.TField("chargeValue", org.apache.thrift.protocol.TType.I64, (short)9);
|
| 35 |
|
35 |
|
| 36 |
private long id; // required
|
36 |
private long id; // required
|
| 37 |
private long gatewayId; // required
|
37 |
private long gatewayId; // required
|
| 38 |
private long bankId; // required
|
38 |
private long bankId; // required
|
| 39 |
private long tenure; // required
|
39 |
private long tenure; // required
|
| 40 |
private String bankName; // required
|
40 |
private String bankName; // required
|
| 41 |
private String minAmount; // required
|
41 |
private long minAmount; // required
|
| 42 |
private String tenureDescription; // required
|
42 |
private String tenureDescription; // required
|
| 43 |
private EmiChargeType chargeType; // required
|
43 |
private EmiChargeType chargeType; // required
|
| 44 |
private long chargeValue; // required
|
44 |
private long chargeValue; // required
|
| 45 |
|
45 |
|
| 46 |
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
|
46 |
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
|
| Line 132... |
Line 132... |
| 132 |
// isset id assignments
|
132 |
// isset id assignments
|
| 133 |
private static final int __ID_ISSET_ID = 0;
|
133 |
private static final int __ID_ISSET_ID = 0;
|
| 134 |
private static final int __GATEWAYID_ISSET_ID = 1;
|
134 |
private static final int __GATEWAYID_ISSET_ID = 1;
|
| 135 |
private static final int __BANKID_ISSET_ID = 2;
|
135 |
private static final int __BANKID_ISSET_ID = 2;
|
| 136 |
private static final int __TENURE_ISSET_ID = 3;
|
136 |
private static final int __TENURE_ISSET_ID = 3;
|
| - |
|
137 |
private static final int __MINAMOUNT_ISSET_ID = 4;
|
| 137 |
private static final int __CHARGEVALUE_ISSET_ID = 4;
|
138 |
private static final int __CHARGEVALUE_ISSET_ID = 5;
|
| 138 |
private BitSet __isset_bit_vector = new BitSet(5);
|
139 |
private BitSet __isset_bit_vector = new BitSet(6);
|
| 139 |
|
140 |
|
| 140 |
public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
|
141 |
public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
|
| 141 |
static {
|
142 |
static {
|
| 142 |
Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
|
143 |
Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
|
| 143 |
tmpMap.put(_Fields.ID, new org.apache.thrift.meta_data.FieldMetaData("id", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
144 |
tmpMap.put(_Fields.ID, new org.apache.thrift.meta_data.FieldMetaData("id", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| Line 149... |
Line 150... |
| 149 |
tmpMap.put(_Fields.TENURE, new org.apache.thrift.meta_data.FieldMetaData("tenure", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
150 |
tmpMap.put(_Fields.TENURE, new org.apache.thrift.meta_data.FieldMetaData("tenure", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| 150 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
151 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
| 151 |
tmpMap.put(_Fields.BANK_NAME, new org.apache.thrift.meta_data.FieldMetaData("bankName", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
152 |
tmpMap.put(_Fields.BANK_NAME, new org.apache.thrift.meta_data.FieldMetaData("bankName", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| 152 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
|
153 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
|
| 153 |
tmpMap.put(_Fields.MIN_AMOUNT, new org.apache.thrift.meta_data.FieldMetaData("minAmount", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
154 |
tmpMap.put(_Fields.MIN_AMOUNT, new org.apache.thrift.meta_data.FieldMetaData("minAmount", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| 154 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
|
155 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
| 155 |
tmpMap.put(_Fields.TENURE_DESCRIPTION, new org.apache.thrift.meta_data.FieldMetaData("tenureDescription", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
156 |
tmpMap.put(_Fields.TENURE_DESCRIPTION, new org.apache.thrift.meta_data.FieldMetaData("tenureDescription", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| 156 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
|
157 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
|
| 157 |
tmpMap.put(_Fields.CHARGE_TYPE, new org.apache.thrift.meta_data.FieldMetaData("chargeType", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
158 |
tmpMap.put(_Fields.CHARGE_TYPE, new org.apache.thrift.meta_data.FieldMetaData("chargeType", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| 158 |
new org.apache.thrift.meta_data.EnumMetaData(org.apache.thrift.protocol.TType.ENUM, EmiChargeType.class)));
|
159 |
new org.apache.thrift.meta_data.EnumMetaData(org.apache.thrift.protocol.TType.ENUM, EmiChargeType.class)));
|
| 159 |
tmpMap.put(_Fields.CHARGE_VALUE, new org.apache.thrift.meta_data.FieldMetaData("chargeValue", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
160 |
tmpMap.put(_Fields.CHARGE_VALUE, new org.apache.thrift.meta_data.FieldMetaData("chargeValue", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| Line 169... |
Line 170... |
| 169 |
long id,
|
170 |
long id,
|
| 170 |
long gatewayId,
|
171 |
long gatewayId,
|
| 171 |
long bankId,
|
172 |
long bankId,
|
| 172 |
long tenure,
|
173 |
long tenure,
|
| 173 |
String bankName,
|
174 |
String bankName,
|
| 174 |
String minAmount,
|
175 |
long minAmount,
|
| 175 |
String tenureDescription,
|
176 |
String tenureDescription,
|
| 176 |
EmiChargeType chargeType,
|
177 |
EmiChargeType chargeType,
|
| 177 |
long chargeValue)
|
178 |
long chargeValue)
|
| 178 |
{
|
179 |
{
|
| 179 |
this();
|
180 |
this();
|
| Line 185... |
Line 186... |
| 185 |
setBankIdIsSet(true);
|
186 |
setBankIdIsSet(true);
|
| 186 |
this.tenure = tenure;
|
187 |
this.tenure = tenure;
|
| 187 |
setTenureIsSet(true);
|
188 |
setTenureIsSet(true);
|
| 188 |
this.bankName = bankName;
|
189 |
this.bankName = bankName;
|
| 189 |
this.minAmount = minAmount;
|
190 |
this.minAmount = minAmount;
|
| - |
|
191 |
setMinAmountIsSet(true);
|
| 190 |
this.tenureDescription = tenureDescription;
|
192 |
this.tenureDescription = tenureDescription;
|
| 191 |
this.chargeType = chargeType;
|
193 |
this.chargeType = chargeType;
|
| 192 |
this.chargeValue = chargeValue;
|
194 |
this.chargeValue = chargeValue;
|
| 193 |
setChargeValueIsSet(true);
|
195 |
setChargeValueIsSet(true);
|
| 194 |
}
|
196 |
}
|
| Line 204... |
Line 206... |
| 204 |
this.bankId = other.bankId;
|
206 |
this.bankId = other.bankId;
|
| 205 |
this.tenure = other.tenure;
|
207 |
this.tenure = other.tenure;
|
| 206 |
if (other.isSetBankName()) {
|
208 |
if (other.isSetBankName()) {
|
| 207 |
this.bankName = other.bankName;
|
209 |
this.bankName = other.bankName;
|
| 208 |
}
|
210 |
}
|
| 209 |
if (other.isSetMinAmount()) {
|
- |
|
| 210 |
this.minAmount = other.minAmount;
|
211 |
this.minAmount = other.minAmount;
|
| 211 |
}
|
- |
|
| 212 |
if (other.isSetTenureDescription()) {
|
212 |
if (other.isSetTenureDescription()) {
|
| 213 |
this.tenureDescription = other.tenureDescription;
|
213 |
this.tenureDescription = other.tenureDescription;
|
| 214 |
}
|
214 |
}
|
| 215 |
if (other.isSetChargeType()) {
|
215 |
if (other.isSetChargeType()) {
|
| 216 |
this.chargeType = other.chargeType;
|
216 |
this.chargeType = other.chargeType;
|
| Line 231... |
Line 231... |
| 231 |
setBankIdIsSet(false);
|
231 |
setBankIdIsSet(false);
|
| 232 |
this.bankId = 0;
|
232 |
this.bankId = 0;
|
| 233 |
setTenureIsSet(false);
|
233 |
setTenureIsSet(false);
|
| 234 |
this.tenure = 0;
|
234 |
this.tenure = 0;
|
| 235 |
this.bankName = null;
|
235 |
this.bankName = null;
|
| - |
|
236 |
setMinAmountIsSet(false);
|
| 236 |
this.minAmount = null;
|
237 |
this.minAmount = 0;
|
| 237 |
this.tenureDescription = null;
|
238 |
this.tenureDescription = null;
|
| 238 |
this.chargeType = null;
|
239 |
this.chargeType = null;
|
| 239 |
setChargeValueIsSet(false);
|
240 |
setChargeValueIsSet(false);
|
| 240 |
this.chargeValue = 0;
|
241 |
this.chargeValue = 0;
|
| 241 |
}
|
242 |
}
|
| Line 349... |
Line 350... |
| 349 |
if (!value) {
|
350 |
if (!value) {
|
| 350 |
this.bankName = null;
|
351 |
this.bankName = null;
|
| 351 |
}
|
352 |
}
|
| 352 |
}
|
353 |
}
|
| 353 |
|
354 |
|
| 354 |
public String getMinAmount() {
|
355 |
public long getMinAmount() {
|
| 355 |
return this.minAmount;
|
356 |
return this.minAmount;
|
| 356 |
}
|
357 |
}
|
| 357 |
|
358 |
|
| 358 |
public void setMinAmount(String minAmount) {
|
359 |
public void setMinAmount(long minAmount) {
|
| 359 |
this.minAmount = minAmount;
|
360 |
this.minAmount = minAmount;
|
| - |
|
361 |
setMinAmountIsSet(true);
|
| 360 |
}
|
362 |
}
|
| 361 |
|
363 |
|
| 362 |
public void unsetMinAmount() {
|
364 |
public void unsetMinAmount() {
|
| 363 |
this.minAmount = null;
|
365 |
__isset_bit_vector.clear(__MINAMOUNT_ISSET_ID);
|
| 364 |
}
|
366 |
}
|
| 365 |
|
367 |
|
| 366 |
/** Returns true if field minAmount is set (has been assigned a value) and false otherwise */
|
368 |
/** Returns true if field minAmount is set (has been assigned a value) and false otherwise */
|
| 367 |
public boolean isSetMinAmount() {
|
369 |
public boolean isSetMinAmount() {
|
| 368 |
return this.minAmount != null;
|
370 |
return __isset_bit_vector.get(__MINAMOUNT_ISSET_ID);
|
| 369 |
}
|
371 |
}
|
| 370 |
|
372 |
|
| 371 |
public void setMinAmountIsSet(boolean value) {
|
373 |
public void setMinAmountIsSet(boolean value) {
|
| 372 |
if (!value) {
|
- |
|
| 373 |
this.minAmount = null;
|
374 |
__isset_bit_vector.set(__MINAMOUNT_ISSET_ID, value);
|
| 374 |
}
|
- |
|
| 375 |
}
|
375 |
}
|
| 376 |
|
376 |
|
| 377 |
public String getTenureDescription() {
|
377 |
public String getTenureDescription() {
|
| 378 |
return this.tenureDescription;
|
378 |
return this.tenureDescription;
|
| 379 |
}
|
379 |
}
|
| Line 494... |
Line 494... |
| 494 |
|
494 |
|
| 495 |
case MIN_AMOUNT:
|
495 |
case MIN_AMOUNT:
|
| 496 |
if (value == null) {
|
496 |
if (value == null) {
|
| 497 |
unsetMinAmount();
|
497 |
unsetMinAmount();
|
| 498 |
} else {
|
498 |
} else {
|
| 499 |
setMinAmount((String)value);
|
499 |
setMinAmount((Long)value);
|
| 500 |
}
|
500 |
}
|
| 501 |
break;
|
501 |
break;
|
| 502 |
|
502 |
|
| 503 |
case TENURE_DESCRIPTION:
|
503 |
case TENURE_DESCRIPTION:
|
| 504 |
if (value == null) {
|
504 |
if (value == null) {
|
| Line 543... |
Line 543... |
| 543 |
|
543 |
|
| 544 |
case BANK_NAME:
|
544 |
case BANK_NAME:
|
| 545 |
return getBankName();
|
545 |
return getBankName();
|
| 546 |
|
546 |
|
| 547 |
case MIN_AMOUNT:
|
547 |
case MIN_AMOUNT:
|
| 548 |
return getMinAmount();
|
548 |
return Long.valueOf(getMinAmount());
|
| 549 |
|
549 |
|
| 550 |
case TENURE_DESCRIPTION:
|
550 |
case TENURE_DESCRIPTION:
|
| 551 |
return getTenureDescription();
|
551 |
return getTenureDescription();
|
| 552 |
|
552 |
|
| 553 |
case CHARGE_TYPE:
|
553 |
case CHARGE_TYPE:
|
| Line 645... |
Line 645... |
| 645 |
return false;
|
645 |
return false;
|
| 646 |
if (!this.bankName.equals(that.bankName))
|
646 |
if (!this.bankName.equals(that.bankName))
|
| 647 |
return false;
|
647 |
return false;
|
| 648 |
}
|
648 |
}
|
| 649 |
|
649 |
|
| 650 |
boolean this_present_minAmount = true && this.isSetMinAmount();
|
650 |
boolean this_present_minAmount = true;
|
| 651 |
boolean that_present_minAmount = true && that.isSetMinAmount();
|
651 |
boolean that_present_minAmount = true;
|
| 652 |
if (this_present_minAmount || that_present_minAmount) {
|
652 |
if (this_present_minAmount || that_present_minAmount) {
|
| 653 |
if (!(this_present_minAmount && that_present_minAmount))
|
653 |
if (!(this_present_minAmount && that_present_minAmount))
|
| 654 |
return false;
|
654 |
return false;
|
| 655 |
if (!this.minAmount.equals(that.minAmount))
|
655 |
if (this.minAmount != that.minAmount)
|
| 656 |
return false;
|
656 |
return false;
|
| 657 |
}
|
657 |
}
|
| 658 |
|
658 |
|
| 659 |
boolean this_present_tenureDescription = true && this.isSetTenureDescription();
|
659 |
boolean this_present_tenureDescription = true && this.isSetTenureDescription();
|
| 660 |
boolean that_present_tenureDescription = true && that.isSetTenureDescription();
|
660 |
boolean that_present_tenureDescription = true && that.isSetTenureDescription();
|
| Line 844... |
Line 844... |
| 844 |
} else {
|
844 |
} else {
|
| 845 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
845 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| 846 |
}
|
846 |
}
|
| 847 |
break;
|
847 |
break;
|
| 848 |
case 6: // MIN_AMOUNT
|
848 |
case 6: // MIN_AMOUNT
|
| 849 |
if (field.type == org.apache.thrift.protocol.TType.STRING) {
|
849 |
if (field.type == org.apache.thrift.protocol.TType.I64) {
|
| 850 |
this.minAmount = iprot.readString();
|
850 |
this.minAmount = iprot.readI64();
|
| - |
|
851 |
setMinAmountIsSet(true);
|
| 851 |
} else {
|
852 |
} else {
|
| 852 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
853 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| 853 |
}
|
854 |
}
|
| 854 |
break;
|
855 |
break;
|
| 855 |
case 7: // TENURE_DESCRIPTION
|
856 |
case 7: // TENURE_DESCRIPTION
|
| Line 902... |
Line 903... |
| 902 |
if (this.bankName != null) {
|
903 |
if (this.bankName != null) {
|
| 903 |
oprot.writeFieldBegin(BANK_NAME_FIELD_DESC);
|
904 |
oprot.writeFieldBegin(BANK_NAME_FIELD_DESC);
|
| 904 |
oprot.writeString(this.bankName);
|
905 |
oprot.writeString(this.bankName);
|
| 905 |
oprot.writeFieldEnd();
|
906 |
oprot.writeFieldEnd();
|
| 906 |
}
|
907 |
}
|
| 907 |
if (this.minAmount != null) {
|
- |
|
| 908 |
oprot.writeFieldBegin(MIN_AMOUNT_FIELD_DESC);
|
908 |
oprot.writeFieldBegin(MIN_AMOUNT_FIELD_DESC);
|
| 909 |
oprot.writeString(this.minAmount);
|
909 |
oprot.writeI64(this.minAmount);
|
| 910 |
oprot.writeFieldEnd();
|
910 |
oprot.writeFieldEnd();
|
| 911 |
}
|
- |
|
| 912 |
if (this.tenureDescription != null) {
|
911 |
if (this.tenureDescription != null) {
|
| 913 |
oprot.writeFieldBegin(TENURE_DESCRIPTION_FIELD_DESC);
|
912 |
oprot.writeFieldBegin(TENURE_DESCRIPTION_FIELD_DESC);
|
| 914 |
oprot.writeString(this.tenureDescription);
|
913 |
oprot.writeString(this.tenureDescription);
|
| 915 |
oprot.writeFieldEnd();
|
914 |
oprot.writeFieldEnd();
|
| 916 |
}
|
915 |
}
|
| Line 954... |
Line 953... |
| 954 |
sb.append(this.bankName);
|
953 |
sb.append(this.bankName);
|
| 955 |
}
|
954 |
}
|
| 956 |
first = false;
|
955 |
first = false;
|
| 957 |
if (!first) sb.append(", ");
|
956 |
if (!first) sb.append(", ");
|
| 958 |
sb.append("minAmount:");
|
957 |
sb.append("minAmount:");
|
| 959 |
if (this.minAmount == null) {
|
- |
|
| 960 |
sb.append("null");
|
- |
|
| 961 |
} else {
|
- |
|
| 962 |
sb.append(this.minAmount);
|
958 |
sb.append(this.minAmount);
|
| 963 |
}
|
- |
|
| 964 |
first = false;
|
959 |
first = false;
|
| 965 |
if (!first) sb.append(", ");
|
960 |
if (!first) sb.append(", ");
|
| 966 |
sb.append("tenureDescription:");
|
961 |
sb.append("tenureDescription:");
|
| 967 |
if (this.tenureDescription == null) {
|
962 |
if (this.tenureDescription == null) {
|
| 968 |
sb.append("null");
|
963 |
sb.append("null");
|