| 6000 |
mandeep.dh |
1 |
/**
|
|
|
2 |
* Autogenerated by Thrift Compiler (0.7.0)
|
|
|
3 |
*
|
|
|
4 |
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
|
|
|
5 |
*/
|
|
|
6 |
package in.shop2020.model.v1.order;
|
|
|
7 |
|
|
|
8 |
import java.util.List;
|
|
|
9 |
import java.util.ArrayList;
|
|
|
10 |
import java.util.Map;
|
|
|
11 |
import java.util.HashMap;
|
|
|
12 |
import java.util.EnumMap;
|
|
|
13 |
import java.util.Set;
|
|
|
14 |
import java.util.HashSet;
|
|
|
15 |
import java.util.EnumSet;
|
|
|
16 |
import java.util.Collections;
|
|
|
17 |
import java.util.BitSet;
|
|
|
18 |
import java.nio.ByteBuffer;
|
|
|
19 |
import java.util.Arrays;
|
|
|
20 |
import org.slf4j.Logger;
|
|
|
21 |
import org.slf4j.LoggerFactory;
|
|
|
22 |
|
|
|
23 |
public class RechargeOrder implements org.apache.thrift.TBase<RechargeOrder, RechargeOrder._Fields>, java.io.Serializable, Cloneable {
|
|
|
24 |
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("RechargeOrder");
|
|
|
25 |
|
| 6031 |
rajveer |
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 DISPLAY_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("displayId", org.apache.thrift.protocol.TType.STRING, (short)2);
|
|
|
28 |
private static final org.apache.thrift.protocol.TField TOTAL_AMOUNT_FIELD_DESC = new org.apache.thrift.protocol.TField("totalAmount", org.apache.thrift.protocol.TType.I64, (short)3);
|
|
|
29 |
private static final org.apache.thrift.protocol.TField WALLET_AMOUNT_FIELD_DESC = new org.apache.thrift.protocol.TField("walletAmount", org.apache.thrift.protocol.TType.I64, (short)4);
|
|
|
30 |
private static final org.apache.thrift.protocol.TField TRANSACTION_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("transactionId", org.apache.thrift.protocol.TType.I64, (short)5);
|
| 6077 |
anupam.sin |
31 |
private static final org.apache.thrift.protocol.TField INVOICE_NUMBER_FIELD_DESC = new org.apache.thrift.protocol.TField("invoiceNumber", org.apache.thrift.protocol.TType.I64, (short)6);
|
| 6031 |
rajveer |
32 |
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)7);
|
|
|
33 |
private static final org.apache.thrift.protocol.TField OPERATOR_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("operatorId", org.apache.thrift.protocol.TType.I64, (short)8);
|
|
|
34 |
private static final org.apache.thrift.protocol.TField RECHARGE_TYPE_FIELD_DESC = new org.apache.thrift.protocol.TField("rechargeType", org.apache.thrift.protocol.TType.I32, (short)9);
|
|
|
35 |
private static final org.apache.thrift.protocol.TField STATUS_FIELD_DESC = new org.apache.thrift.protocol.TField("status", org.apache.thrift.protocol.TType.I32, (short)10);
|
|
|
36 |
private static final org.apache.thrift.protocol.TField DEVICE_NUMBER_FIELD_DESC = new org.apache.thrift.protocol.TField("deviceNumber", org.apache.thrift.protocol.TType.STRING, (short)11);
|
|
|
37 |
private static final org.apache.thrift.protocol.TField USER_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("userId", org.apache.thrift.protocol.TType.I64, (short)12);
|
|
|
38 |
private static final org.apache.thrift.protocol.TField USER_EMAIL_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("userEmailId", org.apache.thrift.protocol.TType.STRING, (short)13);
|
|
|
39 |
private static final org.apache.thrift.protocol.TField CREATION_TIMESTAMP_FIELD_DESC = new org.apache.thrift.protocol.TField("creationTimestamp", org.apache.thrift.protocol.TType.I64, (short)14);
|
| 6048 |
rajveer |
40 |
private static final org.apache.thrift.protocol.TField SPICE_TID_FIELD_DESC = new org.apache.thrift.protocol.TField("spiceTID", org.apache.thrift.protocol.TType.STRING, (short)15);
|
|
|
41 |
private static final org.apache.thrift.protocol.TField RESPONSE_TIMESTAMP_FIELD_DESC = new org.apache.thrift.protocol.TField("responseTimestamp", org.apache.thrift.protocol.TType.I64, (short)16);
|
| 6094 |
rajveer |
42 |
private static final org.apache.thrift.protocol.TField DESCRIPTION_FIELD_DESC = new org.apache.thrift.protocol.TField("description", org.apache.thrift.protocol.TType.STRING, (short)17);
|
| 6159 |
rajveer |
43 |
private static final org.apache.thrift.protocol.TField PLAN_FIELD_DESC = new org.apache.thrift.protocol.TField("plan", org.apache.thrift.protocol.TType.STRING, (short)18);
|
| 6000 |
mandeep.dh |
44 |
|
| 6031 |
rajveer |
45 |
private long id; // required
|
|
|
46 |
private String displayId; // required
|
|
|
47 |
private long totalAmount; // required
|
|
|
48 |
private long walletAmount; // required
|
| 6000 |
mandeep.dh |
49 |
private long transactionId; // required
|
| 6077 |
anupam.sin |
50 |
private long invoiceNumber; // required
|
| 6000 |
mandeep.dh |
51 |
private OrderType orderType; // required
|
|
|
52 |
private long operatorId; // required
|
|
|
53 |
private RechargeType rechargeType; // required
|
| 6031 |
rajveer |
54 |
private RechargeOrderStatus status; // required
|
| 6000 |
mandeep.dh |
55 |
private String deviceNumber; // required
|
| 6031 |
rajveer |
56 |
private long userId; // required
|
|
|
57 |
private String userEmailId; // required
|
| 6000 |
mandeep.dh |
58 |
private long creationTimestamp; // required
|
| 6048 |
rajveer |
59 |
private String spiceTID; // required
|
|
|
60 |
private long responseTimestamp; // required
|
| 6094 |
rajveer |
61 |
private String description; // required
|
| 6159 |
rajveer |
62 |
private String plan; // required
|
| 6000 |
mandeep.dh |
63 |
|
|
|
64 |
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
|
|
|
65 |
public enum _Fields implements org.apache.thrift.TFieldIdEnum {
|
|
|
66 |
ID((short)1, "id"),
|
| 6031 |
rajveer |
67 |
DISPLAY_ID((short)2, "displayId"),
|
|
|
68 |
TOTAL_AMOUNT((short)3, "totalAmount"),
|
|
|
69 |
WALLET_AMOUNT((short)4, "walletAmount"),
|
|
|
70 |
TRANSACTION_ID((short)5, "transactionId"),
|
|
|
71 |
INVOICE_NUMBER((short)6, "invoiceNumber"),
|
| 6000 |
mandeep.dh |
72 |
/**
|
|
|
73 |
*
|
|
|
74 |
* @see OrderType
|
|
|
75 |
*/
|
| 6031 |
rajveer |
76 |
ORDER_TYPE((short)7, "orderType"),
|
|
|
77 |
OPERATOR_ID((short)8, "operatorId"),
|
| 6000 |
mandeep.dh |
78 |
/**
|
|
|
79 |
*
|
|
|
80 |
* @see RechargeType
|
|
|
81 |
*/
|
| 6031 |
rajveer |
82 |
RECHARGE_TYPE((short)9, "rechargeType"),
|
| 6000 |
mandeep.dh |
83 |
/**
|
|
|
84 |
*
|
|
|
85 |
* @see RechargeOrderStatus
|
|
|
86 |
*/
|
| 6031 |
rajveer |
87 |
STATUS((short)10, "status"),
|
|
|
88 |
DEVICE_NUMBER((short)11, "deviceNumber"),
|
|
|
89 |
USER_ID((short)12, "userId"),
|
|
|
90 |
USER_EMAIL_ID((short)13, "userEmailId"),
|
| 6048 |
rajveer |
91 |
CREATION_TIMESTAMP((short)14, "creationTimestamp"),
|
|
|
92 |
SPICE_TID((short)15, "spiceTID"),
|
| 6094 |
rajveer |
93 |
RESPONSE_TIMESTAMP((short)16, "responseTimestamp"),
|
| 6159 |
rajveer |
94 |
DESCRIPTION((short)17, "description"),
|
|
|
95 |
PLAN((short)18, "plan");
|
| 6000 |
mandeep.dh |
96 |
|
|
|
97 |
private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
|
|
|
98 |
|
|
|
99 |
static {
|
|
|
100 |
for (_Fields field : EnumSet.allOf(_Fields.class)) {
|
|
|
101 |
byName.put(field.getFieldName(), field);
|
|
|
102 |
}
|
|
|
103 |
}
|
|
|
104 |
|
|
|
105 |
/**
|
|
|
106 |
* Find the _Fields constant that matches fieldId, or null if its not found.
|
|
|
107 |
*/
|
|
|
108 |
public static _Fields findByThriftId(int fieldId) {
|
|
|
109 |
switch(fieldId) {
|
|
|
110 |
case 1: // ID
|
|
|
111 |
return ID;
|
| 6031 |
rajveer |
112 |
case 2: // DISPLAY_ID
|
|
|
113 |
return DISPLAY_ID;
|
|
|
114 |
case 3: // TOTAL_AMOUNT
|
|
|
115 |
return TOTAL_AMOUNT;
|
|
|
116 |
case 4: // WALLET_AMOUNT
|
|
|
117 |
return WALLET_AMOUNT;
|
|
|
118 |
case 5: // TRANSACTION_ID
|
| 6000 |
mandeep.dh |
119 |
return TRANSACTION_ID;
|
| 6031 |
rajveer |
120 |
case 6: // INVOICE_NUMBER
|
| 6000 |
mandeep.dh |
121 |
return INVOICE_NUMBER;
|
| 6031 |
rajveer |
122 |
case 7: // ORDER_TYPE
|
| 6000 |
mandeep.dh |
123 |
return ORDER_TYPE;
|
| 6031 |
rajveer |
124 |
case 8: // OPERATOR_ID
|
| 6000 |
mandeep.dh |
125 |
return OPERATOR_ID;
|
| 6031 |
rajveer |
126 |
case 9: // RECHARGE_TYPE
|
| 6000 |
mandeep.dh |
127 |
return RECHARGE_TYPE;
|
| 6031 |
rajveer |
128 |
case 10: // STATUS
|
|
|
129 |
return STATUS;
|
|
|
130 |
case 11: // DEVICE_NUMBER
|
| 6000 |
mandeep.dh |
131 |
return DEVICE_NUMBER;
|
| 6031 |
rajveer |
132 |
case 12: // USER_ID
|
|
|
133 |
return USER_ID;
|
|
|
134 |
case 13: // USER_EMAIL_ID
|
|
|
135 |
return USER_EMAIL_ID;
|
|
|
136 |
case 14: // CREATION_TIMESTAMP
|
| 6000 |
mandeep.dh |
137 |
return CREATION_TIMESTAMP;
|
| 6048 |
rajveer |
138 |
case 15: // SPICE_TID
|
|
|
139 |
return SPICE_TID;
|
|
|
140 |
case 16: // RESPONSE_TIMESTAMP
|
|
|
141 |
return RESPONSE_TIMESTAMP;
|
| 6094 |
rajveer |
142 |
case 17: // DESCRIPTION
|
|
|
143 |
return DESCRIPTION;
|
| 6159 |
rajveer |
144 |
case 18: // PLAN
|
|
|
145 |
return PLAN;
|
| 6000 |
mandeep.dh |
146 |
default:
|
|
|
147 |
return null;
|
|
|
148 |
}
|
|
|
149 |
}
|
|
|
150 |
|
|
|
151 |
/**
|
|
|
152 |
* Find the _Fields constant that matches fieldId, throwing an exception
|
|
|
153 |
* if it is not found.
|
|
|
154 |
*/
|
|
|
155 |
public static _Fields findByThriftIdOrThrow(int fieldId) {
|
|
|
156 |
_Fields fields = findByThriftId(fieldId);
|
|
|
157 |
if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
|
|
|
158 |
return fields;
|
|
|
159 |
}
|
|
|
160 |
|
|
|
161 |
/**
|
|
|
162 |
* Find the _Fields constant that matches name, or null if its not found.
|
|
|
163 |
*/
|
|
|
164 |
public static _Fields findByName(String name) {
|
|
|
165 |
return byName.get(name);
|
|
|
166 |
}
|
|
|
167 |
|
|
|
168 |
private final short _thriftId;
|
|
|
169 |
private final String _fieldName;
|
|
|
170 |
|
|
|
171 |
_Fields(short thriftId, String fieldName) {
|
|
|
172 |
_thriftId = thriftId;
|
|
|
173 |
_fieldName = fieldName;
|
|
|
174 |
}
|
|
|
175 |
|
|
|
176 |
public short getThriftFieldId() {
|
|
|
177 |
return _thriftId;
|
|
|
178 |
}
|
|
|
179 |
|
|
|
180 |
public String getFieldName() {
|
|
|
181 |
return _fieldName;
|
|
|
182 |
}
|
|
|
183 |
}
|
|
|
184 |
|
|
|
185 |
// isset id assignments
|
| 6031 |
rajveer |
186 |
private static final int __ID_ISSET_ID = 0;
|
|
|
187 |
private static final int __TOTALAMOUNT_ISSET_ID = 1;
|
|
|
188 |
private static final int __WALLETAMOUNT_ISSET_ID = 2;
|
|
|
189 |
private static final int __TRANSACTIONID_ISSET_ID = 3;
|
| 6077 |
anupam.sin |
190 |
private static final int __INVOICENUMBER_ISSET_ID = 4;
|
|
|
191 |
private static final int __OPERATORID_ISSET_ID = 5;
|
|
|
192 |
private static final int __USERID_ISSET_ID = 6;
|
|
|
193 |
private static final int __CREATIONTIMESTAMP_ISSET_ID = 7;
|
|
|
194 |
private static final int __RESPONSETIMESTAMP_ISSET_ID = 8;
|
|
|
195 |
private BitSet __isset_bit_vector = new BitSet(9);
|
| 6000 |
mandeep.dh |
196 |
|
|
|
197 |
public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
|
|
|
198 |
static {
|
|
|
199 |
Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
|
|
|
200 |
tmpMap.put(_Fields.ID, new org.apache.thrift.meta_data.FieldMetaData("id", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| 6031 |
rajveer |
201 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
|
|
202 |
tmpMap.put(_Fields.DISPLAY_ID, new org.apache.thrift.meta_data.FieldMetaData("displayId", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| 6000 |
mandeep.dh |
203 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
|
| 6031 |
rajveer |
204 |
tmpMap.put(_Fields.TOTAL_AMOUNT, new org.apache.thrift.meta_data.FieldMetaData("totalAmount", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| 6000 |
mandeep.dh |
205 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
| 6031 |
rajveer |
206 |
tmpMap.put(_Fields.WALLET_AMOUNT, new org.apache.thrift.meta_data.FieldMetaData("walletAmount", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
207 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
| 6000 |
mandeep.dh |
208 |
tmpMap.put(_Fields.TRANSACTION_ID, new org.apache.thrift.meta_data.FieldMetaData("transactionId", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
209 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
|
|
210 |
tmpMap.put(_Fields.INVOICE_NUMBER, new org.apache.thrift.meta_data.FieldMetaData("invoiceNumber", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| 6077 |
anupam.sin |
211 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
| 6000 |
mandeep.dh |
212 |
tmpMap.put(_Fields.ORDER_TYPE, new org.apache.thrift.meta_data.FieldMetaData("orderType", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
213 |
new org.apache.thrift.meta_data.EnumMetaData(org.apache.thrift.protocol.TType.ENUM, OrderType.class)));
|
|
|
214 |
tmpMap.put(_Fields.OPERATOR_ID, new org.apache.thrift.meta_data.FieldMetaData("operatorId", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
215 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
|
|
216 |
tmpMap.put(_Fields.RECHARGE_TYPE, new org.apache.thrift.meta_data.FieldMetaData("rechargeType", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
217 |
new org.apache.thrift.meta_data.EnumMetaData(org.apache.thrift.protocol.TType.ENUM, RechargeType.class)));
|
| 6031 |
rajveer |
218 |
tmpMap.put(_Fields.STATUS, new org.apache.thrift.meta_data.FieldMetaData("status", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| 6000 |
mandeep.dh |
219 |
new org.apache.thrift.meta_data.EnumMetaData(org.apache.thrift.protocol.TType.ENUM, RechargeOrderStatus.class)));
|
|
|
220 |
tmpMap.put(_Fields.DEVICE_NUMBER, new org.apache.thrift.meta_data.FieldMetaData("deviceNumber", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
221 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
|
| 6031 |
rajveer |
222 |
tmpMap.put(_Fields.USER_ID, new org.apache.thrift.meta_data.FieldMetaData("userId", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| 6000 |
mandeep.dh |
223 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
| 6031 |
rajveer |
224 |
tmpMap.put(_Fields.USER_EMAIL_ID, new org.apache.thrift.meta_data.FieldMetaData("userEmailId", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
225 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
|
| 6000 |
mandeep.dh |
226 |
tmpMap.put(_Fields.CREATION_TIMESTAMP, new org.apache.thrift.meta_data.FieldMetaData("creationTimestamp", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
227 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
| 6048 |
rajveer |
228 |
tmpMap.put(_Fields.SPICE_TID, new org.apache.thrift.meta_data.FieldMetaData("spiceTID", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
229 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
|
|
|
230 |
tmpMap.put(_Fields.RESPONSE_TIMESTAMP, new org.apache.thrift.meta_data.FieldMetaData("responseTimestamp", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
231 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
| 6094 |
rajveer |
232 |
tmpMap.put(_Fields.DESCRIPTION, new org.apache.thrift.meta_data.FieldMetaData("description", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
233 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
|
| 6159 |
rajveer |
234 |
tmpMap.put(_Fields.PLAN, new org.apache.thrift.meta_data.FieldMetaData("plan", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
235 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
|
| 6000 |
mandeep.dh |
236 |
metaDataMap = Collections.unmodifiableMap(tmpMap);
|
|
|
237 |
org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(RechargeOrder.class, metaDataMap);
|
|
|
238 |
}
|
|
|
239 |
|
|
|
240 |
public RechargeOrder() {
|
|
|
241 |
}
|
|
|
242 |
|
|
|
243 |
public RechargeOrder(
|
| 6031 |
rajveer |
244 |
long id,
|
|
|
245 |
String displayId,
|
|
|
246 |
long totalAmount,
|
|
|
247 |
long walletAmount,
|
| 6000 |
mandeep.dh |
248 |
long transactionId,
|
| 6077 |
anupam.sin |
249 |
long invoiceNumber,
|
| 6000 |
mandeep.dh |
250 |
OrderType orderType,
|
|
|
251 |
long operatorId,
|
|
|
252 |
RechargeType rechargeType,
|
| 6031 |
rajveer |
253 |
RechargeOrderStatus status,
|
| 6000 |
mandeep.dh |
254 |
String deviceNumber,
|
| 6031 |
rajveer |
255 |
long userId,
|
|
|
256 |
String userEmailId,
|
| 6048 |
rajveer |
257 |
long creationTimestamp,
|
|
|
258 |
String spiceTID,
|
| 6094 |
rajveer |
259 |
long responseTimestamp,
|
| 6159 |
rajveer |
260 |
String description,
|
|
|
261 |
String plan)
|
| 6000 |
mandeep.dh |
262 |
{
|
|
|
263 |
this();
|
|
|
264 |
this.id = id;
|
| 6031 |
rajveer |
265 |
setIdIsSet(true);
|
|
|
266 |
this.displayId = displayId;
|
|
|
267 |
this.totalAmount = totalAmount;
|
|
|
268 |
setTotalAmountIsSet(true);
|
|
|
269 |
this.walletAmount = walletAmount;
|
|
|
270 |
setWalletAmountIsSet(true);
|
| 6000 |
mandeep.dh |
271 |
this.transactionId = transactionId;
|
|
|
272 |
setTransactionIdIsSet(true);
|
|
|
273 |
this.invoiceNumber = invoiceNumber;
|
| 6077 |
anupam.sin |
274 |
setInvoiceNumberIsSet(true);
|
| 6000 |
mandeep.dh |
275 |
this.orderType = orderType;
|
|
|
276 |
this.operatorId = operatorId;
|
|
|
277 |
setOperatorIdIsSet(true);
|
|
|
278 |
this.rechargeType = rechargeType;
|
| 6031 |
rajveer |
279 |
this.status = status;
|
| 6000 |
mandeep.dh |
280 |
this.deviceNumber = deviceNumber;
|
| 6031 |
rajveer |
281 |
this.userId = userId;
|
|
|
282 |
setUserIdIsSet(true);
|
|
|
283 |
this.userEmailId = userEmailId;
|
| 6000 |
mandeep.dh |
284 |
this.creationTimestamp = creationTimestamp;
|
|
|
285 |
setCreationTimestampIsSet(true);
|
| 6048 |
rajveer |
286 |
this.spiceTID = spiceTID;
|
|
|
287 |
this.responseTimestamp = responseTimestamp;
|
|
|
288 |
setResponseTimestampIsSet(true);
|
| 6094 |
rajveer |
289 |
this.description = description;
|
| 6159 |
rajveer |
290 |
this.plan = plan;
|
| 6000 |
mandeep.dh |
291 |
}
|
|
|
292 |
|
|
|
293 |
/**
|
|
|
294 |
* Performs a deep copy on <i>other</i>.
|
|
|
295 |
*/
|
|
|
296 |
public RechargeOrder(RechargeOrder other) {
|
|
|
297 |
__isset_bit_vector.clear();
|
|
|
298 |
__isset_bit_vector.or(other.__isset_bit_vector);
|
| 6031 |
rajveer |
299 |
this.id = other.id;
|
|
|
300 |
if (other.isSetDisplayId()) {
|
|
|
301 |
this.displayId = other.displayId;
|
| 6000 |
mandeep.dh |
302 |
}
|
| 6031 |
rajveer |
303 |
this.totalAmount = other.totalAmount;
|
|
|
304 |
this.walletAmount = other.walletAmount;
|
| 6000 |
mandeep.dh |
305 |
this.transactionId = other.transactionId;
|
| 6077 |
anupam.sin |
306 |
this.invoiceNumber = other.invoiceNumber;
|
| 6000 |
mandeep.dh |
307 |
if (other.isSetOrderType()) {
|
|
|
308 |
this.orderType = other.orderType;
|
|
|
309 |
}
|
|
|
310 |
this.operatorId = other.operatorId;
|
|
|
311 |
if (other.isSetRechargeType()) {
|
|
|
312 |
this.rechargeType = other.rechargeType;
|
|
|
313 |
}
|
| 6031 |
rajveer |
314 |
if (other.isSetStatus()) {
|
|
|
315 |
this.status = other.status;
|
| 6000 |
mandeep.dh |
316 |
}
|
|
|
317 |
if (other.isSetDeviceNumber()) {
|
|
|
318 |
this.deviceNumber = other.deviceNumber;
|
|
|
319 |
}
|
| 6031 |
rajveer |
320 |
this.userId = other.userId;
|
|
|
321 |
if (other.isSetUserEmailId()) {
|
|
|
322 |
this.userEmailId = other.userEmailId;
|
|
|
323 |
}
|
| 6000 |
mandeep.dh |
324 |
this.creationTimestamp = other.creationTimestamp;
|
| 6048 |
rajveer |
325 |
if (other.isSetSpiceTID()) {
|
|
|
326 |
this.spiceTID = other.spiceTID;
|
|
|
327 |
}
|
|
|
328 |
this.responseTimestamp = other.responseTimestamp;
|
| 6094 |
rajveer |
329 |
if (other.isSetDescription()) {
|
|
|
330 |
this.description = other.description;
|
|
|
331 |
}
|
| 6159 |
rajveer |
332 |
if (other.isSetPlan()) {
|
|
|
333 |
this.plan = other.plan;
|
|
|
334 |
}
|
| 6000 |
mandeep.dh |
335 |
}
|
|
|
336 |
|
|
|
337 |
public RechargeOrder deepCopy() {
|
|
|
338 |
return new RechargeOrder(this);
|
|
|
339 |
}
|
|
|
340 |
|
|
|
341 |
@Override
|
|
|
342 |
public void clear() {
|
| 6031 |
rajveer |
343 |
setIdIsSet(false);
|
|
|
344 |
this.id = 0;
|
|
|
345 |
this.displayId = null;
|
|
|
346 |
setTotalAmountIsSet(false);
|
|
|
347 |
this.totalAmount = 0;
|
|
|
348 |
setWalletAmountIsSet(false);
|
|
|
349 |
this.walletAmount = 0;
|
| 6000 |
mandeep.dh |
350 |
setTransactionIdIsSet(false);
|
|
|
351 |
this.transactionId = 0;
|
| 6077 |
anupam.sin |
352 |
setInvoiceNumberIsSet(false);
|
|
|
353 |
this.invoiceNumber = 0;
|
| 6000 |
mandeep.dh |
354 |
this.orderType = null;
|
|
|
355 |
setOperatorIdIsSet(false);
|
|
|
356 |
this.operatorId = 0;
|
|
|
357 |
this.rechargeType = null;
|
| 6031 |
rajveer |
358 |
this.status = null;
|
| 6000 |
mandeep.dh |
359 |
this.deviceNumber = null;
|
| 6031 |
rajveer |
360 |
setUserIdIsSet(false);
|
|
|
361 |
this.userId = 0;
|
|
|
362 |
this.userEmailId = null;
|
| 6000 |
mandeep.dh |
363 |
setCreationTimestampIsSet(false);
|
|
|
364 |
this.creationTimestamp = 0;
|
| 6048 |
rajveer |
365 |
this.spiceTID = null;
|
|
|
366 |
setResponseTimestampIsSet(false);
|
|
|
367 |
this.responseTimestamp = 0;
|
| 6094 |
rajveer |
368 |
this.description = null;
|
| 6159 |
rajveer |
369 |
this.plan = null;
|
| 6000 |
mandeep.dh |
370 |
}
|
|
|
371 |
|
| 6031 |
rajveer |
372 |
public long getId() {
|
| 6000 |
mandeep.dh |
373 |
return this.id;
|
|
|
374 |
}
|
|
|
375 |
|
| 6031 |
rajveer |
376 |
public void setId(long id) {
|
| 6000 |
mandeep.dh |
377 |
this.id = id;
|
| 6031 |
rajveer |
378 |
setIdIsSet(true);
|
| 6000 |
mandeep.dh |
379 |
}
|
|
|
380 |
|
|
|
381 |
public void unsetId() {
|
| 6031 |
rajveer |
382 |
__isset_bit_vector.clear(__ID_ISSET_ID);
|
| 6000 |
mandeep.dh |
383 |
}
|
|
|
384 |
|
|
|
385 |
/** Returns true if field id is set (has been assigned a value) and false otherwise */
|
|
|
386 |
public boolean isSetId() {
|
| 6031 |
rajveer |
387 |
return __isset_bit_vector.get(__ID_ISSET_ID);
|
| 6000 |
mandeep.dh |
388 |
}
|
|
|
389 |
|
|
|
390 |
public void setIdIsSet(boolean value) {
|
| 6031 |
rajveer |
391 |
__isset_bit_vector.set(__ID_ISSET_ID, value);
|
|
|
392 |
}
|
|
|
393 |
|
|
|
394 |
public String getDisplayId() {
|
|
|
395 |
return this.displayId;
|
|
|
396 |
}
|
|
|
397 |
|
|
|
398 |
public void setDisplayId(String displayId) {
|
|
|
399 |
this.displayId = displayId;
|
|
|
400 |
}
|
|
|
401 |
|
|
|
402 |
public void unsetDisplayId() {
|
|
|
403 |
this.displayId = null;
|
|
|
404 |
}
|
|
|
405 |
|
|
|
406 |
/** Returns true if field displayId is set (has been assigned a value) and false otherwise */
|
|
|
407 |
public boolean isSetDisplayId() {
|
|
|
408 |
return this.displayId != null;
|
|
|
409 |
}
|
|
|
410 |
|
|
|
411 |
public void setDisplayIdIsSet(boolean value) {
|
| 6000 |
mandeep.dh |
412 |
if (!value) {
|
| 6031 |
rajveer |
413 |
this.displayId = null;
|
| 6000 |
mandeep.dh |
414 |
}
|
|
|
415 |
}
|
|
|
416 |
|
| 6031 |
rajveer |
417 |
public long getTotalAmount() {
|
|
|
418 |
return this.totalAmount;
|
| 6000 |
mandeep.dh |
419 |
}
|
|
|
420 |
|
| 6031 |
rajveer |
421 |
public void setTotalAmount(long totalAmount) {
|
|
|
422 |
this.totalAmount = totalAmount;
|
|
|
423 |
setTotalAmountIsSet(true);
|
| 6000 |
mandeep.dh |
424 |
}
|
|
|
425 |
|
| 6031 |
rajveer |
426 |
public void unsetTotalAmount() {
|
|
|
427 |
__isset_bit_vector.clear(__TOTALAMOUNT_ISSET_ID);
|
| 6000 |
mandeep.dh |
428 |
}
|
|
|
429 |
|
| 6031 |
rajveer |
430 |
/** Returns true if field totalAmount is set (has been assigned a value) and false otherwise */
|
|
|
431 |
public boolean isSetTotalAmount() {
|
|
|
432 |
return __isset_bit_vector.get(__TOTALAMOUNT_ISSET_ID);
|
| 6000 |
mandeep.dh |
433 |
}
|
|
|
434 |
|
| 6031 |
rajveer |
435 |
public void setTotalAmountIsSet(boolean value) {
|
|
|
436 |
__isset_bit_vector.set(__TOTALAMOUNT_ISSET_ID, value);
|
| 6000 |
mandeep.dh |
437 |
}
|
|
|
438 |
|
| 6031 |
rajveer |
439 |
public long getWalletAmount() {
|
|
|
440 |
return this.walletAmount;
|
|
|
441 |
}
|
|
|
442 |
|
|
|
443 |
public void setWalletAmount(long walletAmount) {
|
|
|
444 |
this.walletAmount = walletAmount;
|
|
|
445 |
setWalletAmountIsSet(true);
|
|
|
446 |
}
|
|
|
447 |
|
|
|
448 |
public void unsetWalletAmount() {
|
|
|
449 |
__isset_bit_vector.clear(__WALLETAMOUNT_ISSET_ID);
|
|
|
450 |
}
|
|
|
451 |
|
|
|
452 |
/** Returns true if field walletAmount is set (has been assigned a value) and false otherwise */
|
|
|
453 |
public boolean isSetWalletAmount() {
|
|
|
454 |
return __isset_bit_vector.get(__WALLETAMOUNT_ISSET_ID);
|
|
|
455 |
}
|
|
|
456 |
|
|
|
457 |
public void setWalletAmountIsSet(boolean value) {
|
|
|
458 |
__isset_bit_vector.set(__WALLETAMOUNT_ISSET_ID, value);
|
|
|
459 |
}
|
|
|
460 |
|
| 6000 |
mandeep.dh |
461 |
public long getTransactionId() {
|
|
|
462 |
return this.transactionId;
|
|
|
463 |
}
|
|
|
464 |
|
|
|
465 |
public void setTransactionId(long transactionId) {
|
|
|
466 |
this.transactionId = transactionId;
|
|
|
467 |
setTransactionIdIsSet(true);
|
|
|
468 |
}
|
|
|
469 |
|
|
|
470 |
public void unsetTransactionId() {
|
|
|
471 |
__isset_bit_vector.clear(__TRANSACTIONID_ISSET_ID);
|
|
|
472 |
}
|
|
|
473 |
|
|
|
474 |
/** Returns true if field transactionId is set (has been assigned a value) and false otherwise */
|
|
|
475 |
public boolean isSetTransactionId() {
|
|
|
476 |
return __isset_bit_vector.get(__TRANSACTIONID_ISSET_ID);
|
|
|
477 |
}
|
|
|
478 |
|
|
|
479 |
public void setTransactionIdIsSet(boolean value) {
|
|
|
480 |
__isset_bit_vector.set(__TRANSACTIONID_ISSET_ID, value);
|
|
|
481 |
}
|
|
|
482 |
|
| 6077 |
anupam.sin |
483 |
public long getInvoiceNumber() {
|
| 6000 |
mandeep.dh |
484 |
return this.invoiceNumber;
|
|
|
485 |
}
|
|
|
486 |
|
| 6077 |
anupam.sin |
487 |
public void setInvoiceNumber(long invoiceNumber) {
|
| 6000 |
mandeep.dh |
488 |
this.invoiceNumber = invoiceNumber;
|
| 6077 |
anupam.sin |
489 |
setInvoiceNumberIsSet(true);
|
| 6000 |
mandeep.dh |
490 |
}
|
|
|
491 |
|
|
|
492 |
public void unsetInvoiceNumber() {
|
| 6077 |
anupam.sin |
493 |
__isset_bit_vector.clear(__INVOICENUMBER_ISSET_ID);
|
| 6000 |
mandeep.dh |
494 |
}
|
|
|
495 |
|
|
|
496 |
/** Returns true if field invoiceNumber is set (has been assigned a value) and false otherwise */
|
|
|
497 |
public boolean isSetInvoiceNumber() {
|
| 6077 |
anupam.sin |
498 |
return __isset_bit_vector.get(__INVOICENUMBER_ISSET_ID);
|
| 6000 |
mandeep.dh |
499 |
}
|
|
|
500 |
|
|
|
501 |
public void setInvoiceNumberIsSet(boolean value) {
|
| 6077 |
anupam.sin |
502 |
__isset_bit_vector.set(__INVOICENUMBER_ISSET_ID, value);
|
| 6000 |
mandeep.dh |
503 |
}
|
|
|
504 |
|
|
|
505 |
/**
|
|
|
506 |
*
|
|
|
507 |
* @see OrderType
|
|
|
508 |
*/
|
|
|
509 |
public OrderType getOrderType() {
|
|
|
510 |
return this.orderType;
|
|
|
511 |
}
|
|
|
512 |
|
|
|
513 |
/**
|
|
|
514 |
*
|
|
|
515 |
* @see OrderType
|
|
|
516 |
*/
|
|
|
517 |
public void setOrderType(OrderType orderType) {
|
|
|
518 |
this.orderType = orderType;
|
|
|
519 |
}
|
|
|
520 |
|
|
|
521 |
public void unsetOrderType() {
|
|
|
522 |
this.orderType = null;
|
|
|
523 |
}
|
|
|
524 |
|
|
|
525 |
/** Returns true if field orderType is set (has been assigned a value) and false otherwise */
|
|
|
526 |
public boolean isSetOrderType() {
|
|
|
527 |
return this.orderType != null;
|
|
|
528 |
}
|
|
|
529 |
|
|
|
530 |
public void setOrderTypeIsSet(boolean value) {
|
|
|
531 |
if (!value) {
|
|
|
532 |
this.orderType = null;
|
|
|
533 |
}
|
|
|
534 |
}
|
|
|
535 |
|
|
|
536 |
public long getOperatorId() {
|
|
|
537 |
return this.operatorId;
|
|
|
538 |
}
|
|
|
539 |
|
|
|
540 |
public void setOperatorId(long operatorId) {
|
|
|
541 |
this.operatorId = operatorId;
|
|
|
542 |
setOperatorIdIsSet(true);
|
|
|
543 |
}
|
|
|
544 |
|
|
|
545 |
public void unsetOperatorId() {
|
|
|
546 |
__isset_bit_vector.clear(__OPERATORID_ISSET_ID);
|
|
|
547 |
}
|
|
|
548 |
|
|
|
549 |
/** Returns true if field operatorId is set (has been assigned a value) and false otherwise */
|
|
|
550 |
public boolean isSetOperatorId() {
|
|
|
551 |
return __isset_bit_vector.get(__OPERATORID_ISSET_ID);
|
|
|
552 |
}
|
|
|
553 |
|
|
|
554 |
public void setOperatorIdIsSet(boolean value) {
|
|
|
555 |
__isset_bit_vector.set(__OPERATORID_ISSET_ID, value);
|
|
|
556 |
}
|
|
|
557 |
|
|
|
558 |
/**
|
|
|
559 |
*
|
|
|
560 |
* @see RechargeType
|
|
|
561 |
*/
|
|
|
562 |
public RechargeType getRechargeType() {
|
|
|
563 |
return this.rechargeType;
|
|
|
564 |
}
|
|
|
565 |
|
|
|
566 |
/**
|
|
|
567 |
*
|
|
|
568 |
* @see RechargeType
|
|
|
569 |
*/
|
|
|
570 |
public void setRechargeType(RechargeType rechargeType) {
|
|
|
571 |
this.rechargeType = rechargeType;
|
|
|
572 |
}
|
|
|
573 |
|
|
|
574 |
public void unsetRechargeType() {
|
|
|
575 |
this.rechargeType = null;
|
|
|
576 |
}
|
|
|
577 |
|
|
|
578 |
/** Returns true if field rechargeType is set (has been assigned a value) and false otherwise */
|
|
|
579 |
public boolean isSetRechargeType() {
|
|
|
580 |
return this.rechargeType != null;
|
|
|
581 |
}
|
|
|
582 |
|
|
|
583 |
public void setRechargeTypeIsSet(boolean value) {
|
|
|
584 |
if (!value) {
|
|
|
585 |
this.rechargeType = null;
|
|
|
586 |
}
|
|
|
587 |
}
|
|
|
588 |
|
|
|
589 |
/**
|
|
|
590 |
*
|
|
|
591 |
* @see RechargeOrderStatus
|
|
|
592 |
*/
|
| 6031 |
rajveer |
593 |
public RechargeOrderStatus getStatus() {
|
|
|
594 |
return this.status;
|
| 6000 |
mandeep.dh |
595 |
}
|
|
|
596 |
|
|
|
597 |
/**
|
|
|
598 |
*
|
|
|
599 |
* @see RechargeOrderStatus
|
|
|
600 |
*/
|
| 6031 |
rajveer |
601 |
public void setStatus(RechargeOrderStatus status) {
|
|
|
602 |
this.status = status;
|
| 6000 |
mandeep.dh |
603 |
}
|
|
|
604 |
|
| 6031 |
rajveer |
605 |
public void unsetStatus() {
|
|
|
606 |
this.status = null;
|
| 6000 |
mandeep.dh |
607 |
}
|
|
|
608 |
|
| 6031 |
rajveer |
609 |
/** Returns true if field status is set (has been assigned a value) and false otherwise */
|
|
|
610 |
public boolean isSetStatus() {
|
|
|
611 |
return this.status != null;
|
| 6000 |
mandeep.dh |
612 |
}
|
|
|
613 |
|
| 6031 |
rajveer |
614 |
public void setStatusIsSet(boolean value) {
|
| 6000 |
mandeep.dh |
615 |
if (!value) {
|
| 6031 |
rajveer |
616 |
this.status = null;
|
| 6000 |
mandeep.dh |
617 |
}
|
|
|
618 |
}
|
|
|
619 |
|
|
|
620 |
public String getDeviceNumber() {
|
|
|
621 |
return this.deviceNumber;
|
|
|
622 |
}
|
|
|
623 |
|
|
|
624 |
public void setDeviceNumber(String deviceNumber) {
|
|
|
625 |
this.deviceNumber = deviceNumber;
|
|
|
626 |
}
|
|
|
627 |
|
|
|
628 |
public void unsetDeviceNumber() {
|
|
|
629 |
this.deviceNumber = null;
|
|
|
630 |
}
|
|
|
631 |
|
|
|
632 |
/** Returns true if field deviceNumber is set (has been assigned a value) and false otherwise */
|
|
|
633 |
public boolean isSetDeviceNumber() {
|
|
|
634 |
return this.deviceNumber != null;
|
|
|
635 |
}
|
|
|
636 |
|
|
|
637 |
public void setDeviceNumberIsSet(boolean value) {
|
|
|
638 |
if (!value) {
|
|
|
639 |
this.deviceNumber = null;
|
|
|
640 |
}
|
|
|
641 |
}
|
|
|
642 |
|
| 6031 |
rajveer |
643 |
public long getUserId() {
|
|
|
644 |
return this.userId;
|
| 6000 |
mandeep.dh |
645 |
}
|
|
|
646 |
|
| 6031 |
rajveer |
647 |
public void setUserId(long userId) {
|
|
|
648 |
this.userId = userId;
|
|
|
649 |
setUserIdIsSet(true);
|
| 6000 |
mandeep.dh |
650 |
}
|
|
|
651 |
|
| 6031 |
rajveer |
652 |
public void unsetUserId() {
|
|
|
653 |
__isset_bit_vector.clear(__USERID_ISSET_ID);
|
| 6000 |
mandeep.dh |
654 |
}
|
|
|
655 |
|
| 6031 |
rajveer |
656 |
/** Returns true if field userId is set (has been assigned a value) and false otherwise */
|
|
|
657 |
public boolean isSetUserId() {
|
|
|
658 |
return __isset_bit_vector.get(__USERID_ISSET_ID);
|
| 6000 |
mandeep.dh |
659 |
}
|
|
|
660 |
|
| 6031 |
rajveer |
661 |
public void setUserIdIsSet(boolean value) {
|
|
|
662 |
__isset_bit_vector.set(__USERID_ISSET_ID, value);
|
| 6000 |
mandeep.dh |
663 |
}
|
|
|
664 |
|
| 6031 |
rajveer |
665 |
public String getUserEmailId() {
|
|
|
666 |
return this.userEmailId;
|
| 6000 |
mandeep.dh |
667 |
}
|
|
|
668 |
|
| 6031 |
rajveer |
669 |
public void setUserEmailId(String userEmailId) {
|
|
|
670 |
this.userEmailId = userEmailId;
|
| 6000 |
mandeep.dh |
671 |
}
|
|
|
672 |
|
| 6031 |
rajveer |
673 |
public void unsetUserEmailId() {
|
|
|
674 |
this.userEmailId = null;
|
| 6000 |
mandeep.dh |
675 |
}
|
|
|
676 |
|
| 6031 |
rajveer |
677 |
/** Returns true if field userEmailId is set (has been assigned a value) and false otherwise */
|
|
|
678 |
public boolean isSetUserEmailId() {
|
|
|
679 |
return this.userEmailId != null;
|
| 6000 |
mandeep.dh |
680 |
}
|
|
|
681 |
|
| 6031 |
rajveer |
682 |
public void setUserEmailIdIsSet(boolean value) {
|
|
|
683 |
if (!value) {
|
|
|
684 |
this.userEmailId = null;
|
|
|
685 |
}
|
| 6000 |
mandeep.dh |
686 |
}
|
|
|
687 |
|
|
|
688 |
public long getCreationTimestamp() {
|
|
|
689 |
return this.creationTimestamp;
|
|
|
690 |
}
|
|
|
691 |
|
|
|
692 |
public void setCreationTimestamp(long creationTimestamp) {
|
|
|
693 |
this.creationTimestamp = creationTimestamp;
|
|
|
694 |
setCreationTimestampIsSet(true);
|
|
|
695 |
}
|
|
|
696 |
|
|
|
697 |
public void unsetCreationTimestamp() {
|
|
|
698 |
__isset_bit_vector.clear(__CREATIONTIMESTAMP_ISSET_ID);
|
|
|
699 |
}
|
|
|
700 |
|
|
|
701 |
/** Returns true if field creationTimestamp is set (has been assigned a value) and false otherwise */
|
|
|
702 |
public boolean isSetCreationTimestamp() {
|
|
|
703 |
return __isset_bit_vector.get(__CREATIONTIMESTAMP_ISSET_ID);
|
|
|
704 |
}
|
|
|
705 |
|
|
|
706 |
public void setCreationTimestampIsSet(boolean value) {
|
|
|
707 |
__isset_bit_vector.set(__CREATIONTIMESTAMP_ISSET_ID, value);
|
|
|
708 |
}
|
|
|
709 |
|
| 6048 |
rajveer |
710 |
public String getSpiceTID() {
|
|
|
711 |
return this.spiceTID;
|
|
|
712 |
}
|
|
|
713 |
|
|
|
714 |
public void setSpiceTID(String spiceTID) {
|
|
|
715 |
this.spiceTID = spiceTID;
|
|
|
716 |
}
|
|
|
717 |
|
|
|
718 |
public void unsetSpiceTID() {
|
|
|
719 |
this.spiceTID = null;
|
|
|
720 |
}
|
|
|
721 |
|
|
|
722 |
/** Returns true if field spiceTID is set (has been assigned a value) and false otherwise */
|
|
|
723 |
public boolean isSetSpiceTID() {
|
|
|
724 |
return this.spiceTID != null;
|
|
|
725 |
}
|
|
|
726 |
|
|
|
727 |
public void setSpiceTIDIsSet(boolean value) {
|
|
|
728 |
if (!value) {
|
|
|
729 |
this.spiceTID = null;
|
|
|
730 |
}
|
|
|
731 |
}
|
|
|
732 |
|
|
|
733 |
public long getResponseTimestamp() {
|
|
|
734 |
return this.responseTimestamp;
|
|
|
735 |
}
|
|
|
736 |
|
|
|
737 |
public void setResponseTimestamp(long responseTimestamp) {
|
|
|
738 |
this.responseTimestamp = responseTimestamp;
|
|
|
739 |
setResponseTimestampIsSet(true);
|
|
|
740 |
}
|
|
|
741 |
|
|
|
742 |
public void unsetResponseTimestamp() {
|
|
|
743 |
__isset_bit_vector.clear(__RESPONSETIMESTAMP_ISSET_ID);
|
|
|
744 |
}
|
|
|
745 |
|
|
|
746 |
/** Returns true if field responseTimestamp is set (has been assigned a value) and false otherwise */
|
|
|
747 |
public boolean isSetResponseTimestamp() {
|
|
|
748 |
return __isset_bit_vector.get(__RESPONSETIMESTAMP_ISSET_ID);
|
|
|
749 |
}
|
|
|
750 |
|
|
|
751 |
public void setResponseTimestampIsSet(boolean value) {
|
|
|
752 |
__isset_bit_vector.set(__RESPONSETIMESTAMP_ISSET_ID, value);
|
|
|
753 |
}
|
|
|
754 |
|
| 6094 |
rajveer |
755 |
public String getDescription() {
|
|
|
756 |
return this.description;
|
|
|
757 |
}
|
|
|
758 |
|
|
|
759 |
public void setDescription(String description) {
|
|
|
760 |
this.description = description;
|
|
|
761 |
}
|
|
|
762 |
|
|
|
763 |
public void unsetDescription() {
|
|
|
764 |
this.description = null;
|
|
|
765 |
}
|
|
|
766 |
|
|
|
767 |
/** Returns true if field description is set (has been assigned a value) and false otherwise */
|
|
|
768 |
public boolean isSetDescription() {
|
|
|
769 |
return this.description != null;
|
|
|
770 |
}
|
|
|
771 |
|
|
|
772 |
public void setDescriptionIsSet(boolean value) {
|
|
|
773 |
if (!value) {
|
|
|
774 |
this.description = null;
|
|
|
775 |
}
|
|
|
776 |
}
|
|
|
777 |
|
| 6159 |
rajveer |
778 |
public String getPlan() {
|
|
|
779 |
return this.plan;
|
|
|
780 |
}
|
|
|
781 |
|
|
|
782 |
public void setPlan(String plan) {
|
|
|
783 |
this.plan = plan;
|
|
|
784 |
}
|
|
|
785 |
|
|
|
786 |
public void unsetPlan() {
|
|
|
787 |
this.plan = null;
|
|
|
788 |
}
|
|
|
789 |
|
|
|
790 |
/** Returns true if field plan is set (has been assigned a value) and false otherwise */
|
|
|
791 |
public boolean isSetPlan() {
|
|
|
792 |
return this.plan != null;
|
|
|
793 |
}
|
|
|
794 |
|
|
|
795 |
public void setPlanIsSet(boolean value) {
|
|
|
796 |
if (!value) {
|
|
|
797 |
this.plan = null;
|
|
|
798 |
}
|
|
|
799 |
}
|
|
|
800 |
|
| 6000 |
mandeep.dh |
801 |
public void setFieldValue(_Fields field, Object value) {
|
|
|
802 |
switch (field) {
|
|
|
803 |
case ID:
|
|
|
804 |
if (value == null) {
|
|
|
805 |
unsetId();
|
|
|
806 |
} else {
|
| 6031 |
rajveer |
807 |
setId((Long)value);
|
| 6000 |
mandeep.dh |
808 |
}
|
|
|
809 |
break;
|
|
|
810 |
|
| 6031 |
rajveer |
811 |
case DISPLAY_ID:
|
| 6000 |
mandeep.dh |
812 |
if (value == null) {
|
| 6031 |
rajveer |
813 |
unsetDisplayId();
|
| 6000 |
mandeep.dh |
814 |
} else {
|
| 6031 |
rajveer |
815 |
setDisplayId((String)value);
|
| 6000 |
mandeep.dh |
816 |
}
|
|
|
817 |
break;
|
|
|
818 |
|
| 6031 |
rajveer |
819 |
case TOTAL_AMOUNT:
|
|
|
820 |
if (value == null) {
|
|
|
821 |
unsetTotalAmount();
|
|
|
822 |
} else {
|
|
|
823 |
setTotalAmount((Long)value);
|
|
|
824 |
}
|
|
|
825 |
break;
|
|
|
826 |
|
|
|
827 |
case WALLET_AMOUNT:
|
|
|
828 |
if (value == null) {
|
|
|
829 |
unsetWalletAmount();
|
|
|
830 |
} else {
|
|
|
831 |
setWalletAmount((Long)value);
|
|
|
832 |
}
|
|
|
833 |
break;
|
|
|
834 |
|
| 6000 |
mandeep.dh |
835 |
case TRANSACTION_ID:
|
|
|
836 |
if (value == null) {
|
|
|
837 |
unsetTransactionId();
|
|
|
838 |
} else {
|
|
|
839 |
setTransactionId((Long)value);
|
|
|
840 |
}
|
|
|
841 |
break;
|
|
|
842 |
|
|
|
843 |
case INVOICE_NUMBER:
|
|
|
844 |
if (value == null) {
|
|
|
845 |
unsetInvoiceNumber();
|
|
|
846 |
} else {
|
| 6077 |
anupam.sin |
847 |
setInvoiceNumber((Long)value);
|
| 6000 |
mandeep.dh |
848 |
}
|
|
|
849 |
break;
|
|
|
850 |
|
|
|
851 |
case ORDER_TYPE:
|
|
|
852 |
if (value == null) {
|
|
|
853 |
unsetOrderType();
|
|
|
854 |
} else {
|
|
|
855 |
setOrderType((OrderType)value);
|
|
|
856 |
}
|
|
|
857 |
break;
|
|
|
858 |
|
|
|
859 |
case OPERATOR_ID:
|
|
|
860 |
if (value == null) {
|
|
|
861 |
unsetOperatorId();
|
|
|
862 |
} else {
|
|
|
863 |
setOperatorId((Long)value);
|
|
|
864 |
}
|
|
|
865 |
break;
|
|
|
866 |
|
|
|
867 |
case RECHARGE_TYPE:
|
|
|
868 |
if (value == null) {
|
|
|
869 |
unsetRechargeType();
|
|
|
870 |
} else {
|
|
|
871 |
setRechargeType((RechargeType)value);
|
|
|
872 |
}
|
|
|
873 |
break;
|
|
|
874 |
|
| 6031 |
rajveer |
875 |
case STATUS:
|
| 6000 |
mandeep.dh |
876 |
if (value == null) {
|
| 6031 |
rajveer |
877 |
unsetStatus();
|
| 6000 |
mandeep.dh |
878 |
} else {
|
| 6031 |
rajveer |
879 |
setStatus((RechargeOrderStatus)value);
|
| 6000 |
mandeep.dh |
880 |
}
|
|
|
881 |
break;
|
|
|
882 |
|
|
|
883 |
case DEVICE_NUMBER:
|
|
|
884 |
if (value == null) {
|
|
|
885 |
unsetDeviceNumber();
|
|
|
886 |
} else {
|
|
|
887 |
setDeviceNumber((String)value);
|
|
|
888 |
}
|
|
|
889 |
break;
|
|
|
890 |
|
| 6031 |
rajveer |
891 |
case USER_ID:
|
| 6000 |
mandeep.dh |
892 |
if (value == null) {
|
| 6031 |
rajveer |
893 |
unsetUserId();
|
| 6000 |
mandeep.dh |
894 |
} else {
|
| 6031 |
rajveer |
895 |
setUserId((Long)value);
|
| 6000 |
mandeep.dh |
896 |
}
|
|
|
897 |
break;
|
|
|
898 |
|
| 6031 |
rajveer |
899 |
case USER_EMAIL_ID:
|
| 6000 |
mandeep.dh |
900 |
if (value == null) {
|
| 6031 |
rajveer |
901 |
unsetUserEmailId();
|
| 6000 |
mandeep.dh |
902 |
} else {
|
| 6031 |
rajveer |
903 |
setUserEmailId((String)value);
|
| 6000 |
mandeep.dh |
904 |
}
|
|
|
905 |
break;
|
|
|
906 |
|
|
|
907 |
case CREATION_TIMESTAMP:
|
|
|
908 |
if (value == null) {
|
|
|
909 |
unsetCreationTimestamp();
|
|
|
910 |
} else {
|
|
|
911 |
setCreationTimestamp((Long)value);
|
|
|
912 |
}
|
|
|
913 |
break;
|
|
|
914 |
|
| 6048 |
rajveer |
915 |
case SPICE_TID:
|
|
|
916 |
if (value == null) {
|
|
|
917 |
unsetSpiceTID();
|
|
|
918 |
} else {
|
|
|
919 |
setSpiceTID((String)value);
|
|
|
920 |
}
|
|
|
921 |
break;
|
|
|
922 |
|
|
|
923 |
case RESPONSE_TIMESTAMP:
|
|
|
924 |
if (value == null) {
|
|
|
925 |
unsetResponseTimestamp();
|
|
|
926 |
} else {
|
|
|
927 |
setResponseTimestamp((Long)value);
|
|
|
928 |
}
|
|
|
929 |
break;
|
|
|
930 |
|
| 6094 |
rajveer |
931 |
case DESCRIPTION:
|
|
|
932 |
if (value == null) {
|
|
|
933 |
unsetDescription();
|
|
|
934 |
} else {
|
|
|
935 |
setDescription((String)value);
|
|
|
936 |
}
|
|
|
937 |
break;
|
|
|
938 |
|
| 6159 |
rajveer |
939 |
case PLAN:
|
|
|
940 |
if (value == null) {
|
|
|
941 |
unsetPlan();
|
|
|
942 |
} else {
|
|
|
943 |
setPlan((String)value);
|
|
|
944 |
}
|
|
|
945 |
break;
|
|
|
946 |
|
| 6000 |
mandeep.dh |
947 |
}
|
|
|
948 |
}
|
|
|
949 |
|
|
|
950 |
public Object getFieldValue(_Fields field) {
|
|
|
951 |
switch (field) {
|
|
|
952 |
case ID:
|
| 6031 |
rajveer |
953 |
return Long.valueOf(getId());
|
| 6000 |
mandeep.dh |
954 |
|
| 6031 |
rajveer |
955 |
case DISPLAY_ID:
|
|
|
956 |
return getDisplayId();
|
| 6000 |
mandeep.dh |
957 |
|
| 6031 |
rajveer |
958 |
case TOTAL_AMOUNT:
|
|
|
959 |
return Long.valueOf(getTotalAmount());
|
|
|
960 |
|
|
|
961 |
case WALLET_AMOUNT:
|
|
|
962 |
return Long.valueOf(getWalletAmount());
|
|
|
963 |
|
| 6000 |
mandeep.dh |
964 |
case TRANSACTION_ID:
|
|
|
965 |
return Long.valueOf(getTransactionId());
|
|
|
966 |
|
|
|
967 |
case INVOICE_NUMBER:
|
| 6077 |
anupam.sin |
968 |
return Long.valueOf(getInvoiceNumber());
|
| 6000 |
mandeep.dh |
969 |
|
|
|
970 |
case ORDER_TYPE:
|
|
|
971 |
return getOrderType();
|
|
|
972 |
|
|
|
973 |
case OPERATOR_ID:
|
|
|
974 |
return Long.valueOf(getOperatorId());
|
|
|
975 |
|
|
|
976 |
case RECHARGE_TYPE:
|
|
|
977 |
return getRechargeType();
|
|
|
978 |
|
| 6031 |
rajveer |
979 |
case STATUS:
|
|
|
980 |
return getStatus();
|
| 6000 |
mandeep.dh |
981 |
|
|
|
982 |
case DEVICE_NUMBER:
|
|
|
983 |
return getDeviceNumber();
|
|
|
984 |
|
| 6031 |
rajveer |
985 |
case USER_ID:
|
|
|
986 |
return Long.valueOf(getUserId());
|
| 6000 |
mandeep.dh |
987 |
|
| 6031 |
rajveer |
988 |
case USER_EMAIL_ID:
|
|
|
989 |
return getUserEmailId();
|
| 6000 |
mandeep.dh |
990 |
|
|
|
991 |
case CREATION_TIMESTAMP:
|
|
|
992 |
return Long.valueOf(getCreationTimestamp());
|
|
|
993 |
|
| 6048 |
rajveer |
994 |
case SPICE_TID:
|
|
|
995 |
return getSpiceTID();
|
|
|
996 |
|
|
|
997 |
case RESPONSE_TIMESTAMP:
|
|
|
998 |
return Long.valueOf(getResponseTimestamp());
|
|
|
999 |
|
| 6094 |
rajveer |
1000 |
case DESCRIPTION:
|
|
|
1001 |
return getDescription();
|
|
|
1002 |
|
| 6159 |
rajveer |
1003 |
case PLAN:
|
|
|
1004 |
return getPlan();
|
|
|
1005 |
|
| 6000 |
mandeep.dh |
1006 |
}
|
|
|
1007 |
throw new IllegalStateException();
|
|
|
1008 |
}
|
|
|
1009 |
|
|
|
1010 |
/** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
|
|
|
1011 |
public boolean isSet(_Fields field) {
|
|
|
1012 |
if (field == null) {
|
|
|
1013 |
throw new IllegalArgumentException();
|
|
|
1014 |
}
|
|
|
1015 |
|
|
|
1016 |
switch (field) {
|
|
|
1017 |
case ID:
|
|
|
1018 |
return isSetId();
|
| 6031 |
rajveer |
1019 |
case DISPLAY_ID:
|
|
|
1020 |
return isSetDisplayId();
|
|
|
1021 |
case TOTAL_AMOUNT:
|
|
|
1022 |
return isSetTotalAmount();
|
|
|
1023 |
case WALLET_AMOUNT:
|
|
|
1024 |
return isSetWalletAmount();
|
| 6000 |
mandeep.dh |
1025 |
case TRANSACTION_ID:
|
|
|
1026 |
return isSetTransactionId();
|
|
|
1027 |
case INVOICE_NUMBER:
|
|
|
1028 |
return isSetInvoiceNumber();
|
|
|
1029 |
case ORDER_TYPE:
|
|
|
1030 |
return isSetOrderType();
|
|
|
1031 |
case OPERATOR_ID:
|
|
|
1032 |
return isSetOperatorId();
|
|
|
1033 |
case RECHARGE_TYPE:
|
|
|
1034 |
return isSetRechargeType();
|
| 6031 |
rajveer |
1035 |
case STATUS:
|
|
|
1036 |
return isSetStatus();
|
| 6000 |
mandeep.dh |
1037 |
case DEVICE_NUMBER:
|
|
|
1038 |
return isSetDeviceNumber();
|
| 6031 |
rajveer |
1039 |
case USER_ID:
|
|
|
1040 |
return isSetUserId();
|
|
|
1041 |
case USER_EMAIL_ID:
|
|
|
1042 |
return isSetUserEmailId();
|
| 6000 |
mandeep.dh |
1043 |
case CREATION_TIMESTAMP:
|
|
|
1044 |
return isSetCreationTimestamp();
|
| 6048 |
rajveer |
1045 |
case SPICE_TID:
|
|
|
1046 |
return isSetSpiceTID();
|
|
|
1047 |
case RESPONSE_TIMESTAMP:
|
|
|
1048 |
return isSetResponseTimestamp();
|
| 6094 |
rajveer |
1049 |
case DESCRIPTION:
|
|
|
1050 |
return isSetDescription();
|
| 6159 |
rajveer |
1051 |
case PLAN:
|
|
|
1052 |
return isSetPlan();
|
| 6000 |
mandeep.dh |
1053 |
}
|
|
|
1054 |
throw new IllegalStateException();
|
|
|
1055 |
}
|
|
|
1056 |
|
|
|
1057 |
@Override
|
|
|
1058 |
public boolean equals(Object that) {
|
|
|
1059 |
if (that == null)
|
|
|
1060 |
return false;
|
|
|
1061 |
if (that instanceof RechargeOrder)
|
|
|
1062 |
return this.equals((RechargeOrder)that);
|
|
|
1063 |
return false;
|
|
|
1064 |
}
|
|
|
1065 |
|
|
|
1066 |
public boolean equals(RechargeOrder that) {
|
|
|
1067 |
if (that == null)
|
|
|
1068 |
return false;
|
|
|
1069 |
|
| 6031 |
rajveer |
1070 |
boolean this_present_id = true;
|
|
|
1071 |
boolean that_present_id = true;
|
| 6000 |
mandeep.dh |
1072 |
if (this_present_id || that_present_id) {
|
|
|
1073 |
if (!(this_present_id && that_present_id))
|
|
|
1074 |
return false;
|
| 6031 |
rajveer |
1075 |
if (this.id != that.id)
|
| 6000 |
mandeep.dh |
1076 |
return false;
|
|
|
1077 |
}
|
|
|
1078 |
|
| 6031 |
rajveer |
1079 |
boolean this_present_displayId = true && this.isSetDisplayId();
|
|
|
1080 |
boolean that_present_displayId = true && that.isSetDisplayId();
|
|
|
1081 |
if (this_present_displayId || that_present_displayId) {
|
|
|
1082 |
if (!(this_present_displayId && that_present_displayId))
|
| 6000 |
mandeep.dh |
1083 |
return false;
|
| 6031 |
rajveer |
1084 |
if (!this.displayId.equals(that.displayId))
|
| 6000 |
mandeep.dh |
1085 |
return false;
|
|
|
1086 |
}
|
|
|
1087 |
|
| 6031 |
rajveer |
1088 |
boolean this_present_totalAmount = true;
|
|
|
1089 |
boolean that_present_totalAmount = true;
|
|
|
1090 |
if (this_present_totalAmount || that_present_totalAmount) {
|
|
|
1091 |
if (!(this_present_totalAmount && that_present_totalAmount))
|
|
|
1092 |
return false;
|
|
|
1093 |
if (this.totalAmount != that.totalAmount)
|
|
|
1094 |
return false;
|
|
|
1095 |
}
|
|
|
1096 |
|
|
|
1097 |
boolean this_present_walletAmount = true;
|
|
|
1098 |
boolean that_present_walletAmount = true;
|
|
|
1099 |
if (this_present_walletAmount || that_present_walletAmount) {
|
|
|
1100 |
if (!(this_present_walletAmount && that_present_walletAmount))
|
|
|
1101 |
return false;
|
|
|
1102 |
if (this.walletAmount != that.walletAmount)
|
|
|
1103 |
return false;
|
|
|
1104 |
}
|
|
|
1105 |
|
| 6000 |
mandeep.dh |
1106 |
boolean this_present_transactionId = true;
|
|
|
1107 |
boolean that_present_transactionId = true;
|
|
|
1108 |
if (this_present_transactionId || that_present_transactionId) {
|
|
|
1109 |
if (!(this_present_transactionId && that_present_transactionId))
|
|
|
1110 |
return false;
|
|
|
1111 |
if (this.transactionId != that.transactionId)
|
|
|
1112 |
return false;
|
|
|
1113 |
}
|
|
|
1114 |
|
| 6077 |
anupam.sin |
1115 |
boolean this_present_invoiceNumber = true;
|
|
|
1116 |
boolean that_present_invoiceNumber = true;
|
| 6000 |
mandeep.dh |
1117 |
if (this_present_invoiceNumber || that_present_invoiceNumber) {
|
|
|
1118 |
if (!(this_present_invoiceNumber && that_present_invoiceNumber))
|
|
|
1119 |
return false;
|
| 6077 |
anupam.sin |
1120 |
if (this.invoiceNumber != that.invoiceNumber)
|
| 6000 |
mandeep.dh |
1121 |
return false;
|
|
|
1122 |
}
|
|
|
1123 |
|
|
|
1124 |
boolean this_present_orderType = true && this.isSetOrderType();
|
|
|
1125 |
boolean that_present_orderType = true && that.isSetOrderType();
|
|
|
1126 |
if (this_present_orderType || that_present_orderType) {
|
|
|
1127 |
if (!(this_present_orderType && that_present_orderType))
|
|
|
1128 |
return false;
|
|
|
1129 |
if (!this.orderType.equals(that.orderType))
|
|
|
1130 |
return false;
|
|
|
1131 |
}
|
|
|
1132 |
|
|
|
1133 |
boolean this_present_operatorId = true;
|
|
|
1134 |
boolean that_present_operatorId = true;
|
|
|
1135 |
if (this_present_operatorId || that_present_operatorId) {
|
|
|
1136 |
if (!(this_present_operatorId && that_present_operatorId))
|
|
|
1137 |
return false;
|
|
|
1138 |
if (this.operatorId != that.operatorId)
|
|
|
1139 |
return false;
|
|
|
1140 |
}
|
|
|
1141 |
|
|
|
1142 |
boolean this_present_rechargeType = true && this.isSetRechargeType();
|
|
|
1143 |
boolean that_present_rechargeType = true && that.isSetRechargeType();
|
|
|
1144 |
if (this_present_rechargeType || that_present_rechargeType) {
|
|
|
1145 |
if (!(this_present_rechargeType && that_present_rechargeType))
|
|
|
1146 |
return false;
|
|
|
1147 |
if (!this.rechargeType.equals(that.rechargeType))
|
|
|
1148 |
return false;
|
|
|
1149 |
}
|
|
|
1150 |
|
| 6031 |
rajveer |
1151 |
boolean this_present_status = true && this.isSetStatus();
|
|
|
1152 |
boolean that_present_status = true && that.isSetStatus();
|
|
|
1153 |
if (this_present_status || that_present_status) {
|
|
|
1154 |
if (!(this_present_status && that_present_status))
|
| 6000 |
mandeep.dh |
1155 |
return false;
|
| 6031 |
rajveer |
1156 |
if (!this.status.equals(that.status))
|
| 6000 |
mandeep.dh |
1157 |
return false;
|
|
|
1158 |
}
|
|
|
1159 |
|
|
|
1160 |
boolean this_present_deviceNumber = true && this.isSetDeviceNumber();
|
|
|
1161 |
boolean that_present_deviceNumber = true && that.isSetDeviceNumber();
|
|
|
1162 |
if (this_present_deviceNumber || that_present_deviceNumber) {
|
|
|
1163 |
if (!(this_present_deviceNumber && that_present_deviceNumber))
|
|
|
1164 |
return false;
|
|
|
1165 |
if (!this.deviceNumber.equals(that.deviceNumber))
|
|
|
1166 |
return false;
|
|
|
1167 |
}
|
|
|
1168 |
|
| 6031 |
rajveer |
1169 |
boolean this_present_userId = true;
|
|
|
1170 |
boolean that_present_userId = true;
|
|
|
1171 |
if (this_present_userId || that_present_userId) {
|
|
|
1172 |
if (!(this_present_userId && that_present_userId))
|
| 6000 |
mandeep.dh |
1173 |
return false;
|
| 6031 |
rajveer |
1174 |
if (this.userId != that.userId)
|
| 6000 |
mandeep.dh |
1175 |
return false;
|
|
|
1176 |
}
|
|
|
1177 |
|
| 6031 |
rajveer |
1178 |
boolean this_present_userEmailId = true && this.isSetUserEmailId();
|
|
|
1179 |
boolean that_present_userEmailId = true && that.isSetUserEmailId();
|
|
|
1180 |
if (this_present_userEmailId || that_present_userEmailId) {
|
|
|
1181 |
if (!(this_present_userEmailId && that_present_userEmailId))
|
| 6000 |
mandeep.dh |
1182 |
return false;
|
| 6031 |
rajveer |
1183 |
if (!this.userEmailId.equals(that.userEmailId))
|
| 6000 |
mandeep.dh |
1184 |
return false;
|
|
|
1185 |
}
|
|
|
1186 |
|
|
|
1187 |
boolean this_present_creationTimestamp = true;
|
|
|
1188 |
boolean that_present_creationTimestamp = true;
|
|
|
1189 |
if (this_present_creationTimestamp || that_present_creationTimestamp) {
|
|
|
1190 |
if (!(this_present_creationTimestamp && that_present_creationTimestamp))
|
|
|
1191 |
return false;
|
|
|
1192 |
if (this.creationTimestamp != that.creationTimestamp)
|
|
|
1193 |
return false;
|
|
|
1194 |
}
|
|
|
1195 |
|
| 6048 |
rajveer |
1196 |
boolean this_present_spiceTID = true && this.isSetSpiceTID();
|
|
|
1197 |
boolean that_present_spiceTID = true && that.isSetSpiceTID();
|
|
|
1198 |
if (this_present_spiceTID || that_present_spiceTID) {
|
|
|
1199 |
if (!(this_present_spiceTID && that_present_spiceTID))
|
|
|
1200 |
return false;
|
|
|
1201 |
if (!this.spiceTID.equals(that.spiceTID))
|
|
|
1202 |
return false;
|
|
|
1203 |
}
|
|
|
1204 |
|
|
|
1205 |
boolean this_present_responseTimestamp = true;
|
|
|
1206 |
boolean that_present_responseTimestamp = true;
|
|
|
1207 |
if (this_present_responseTimestamp || that_present_responseTimestamp) {
|
|
|
1208 |
if (!(this_present_responseTimestamp && that_present_responseTimestamp))
|
|
|
1209 |
return false;
|
|
|
1210 |
if (this.responseTimestamp != that.responseTimestamp)
|
|
|
1211 |
return false;
|
|
|
1212 |
}
|
|
|
1213 |
|
| 6094 |
rajveer |
1214 |
boolean this_present_description = true && this.isSetDescription();
|
|
|
1215 |
boolean that_present_description = true && that.isSetDescription();
|
|
|
1216 |
if (this_present_description || that_present_description) {
|
|
|
1217 |
if (!(this_present_description && that_present_description))
|
|
|
1218 |
return false;
|
|
|
1219 |
if (!this.description.equals(that.description))
|
|
|
1220 |
return false;
|
|
|
1221 |
}
|
|
|
1222 |
|
| 6159 |
rajveer |
1223 |
boolean this_present_plan = true && this.isSetPlan();
|
|
|
1224 |
boolean that_present_plan = true && that.isSetPlan();
|
|
|
1225 |
if (this_present_plan || that_present_plan) {
|
|
|
1226 |
if (!(this_present_plan && that_present_plan))
|
|
|
1227 |
return false;
|
|
|
1228 |
if (!this.plan.equals(that.plan))
|
|
|
1229 |
return false;
|
|
|
1230 |
}
|
|
|
1231 |
|
| 6000 |
mandeep.dh |
1232 |
return true;
|
|
|
1233 |
}
|
|
|
1234 |
|
|
|
1235 |
@Override
|
|
|
1236 |
public int hashCode() {
|
|
|
1237 |
return 0;
|
|
|
1238 |
}
|
|
|
1239 |
|
|
|
1240 |
public int compareTo(RechargeOrder other) {
|
|
|
1241 |
if (!getClass().equals(other.getClass())) {
|
|
|
1242 |
return getClass().getName().compareTo(other.getClass().getName());
|
|
|
1243 |
}
|
|
|
1244 |
|
|
|
1245 |
int lastComparison = 0;
|
|
|
1246 |
RechargeOrder typedOther = (RechargeOrder)other;
|
|
|
1247 |
|
|
|
1248 |
lastComparison = Boolean.valueOf(isSetId()).compareTo(typedOther.isSetId());
|
|
|
1249 |
if (lastComparison != 0) {
|
|
|
1250 |
return lastComparison;
|
|
|
1251 |
}
|
|
|
1252 |
if (isSetId()) {
|
|
|
1253 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.id, typedOther.id);
|
|
|
1254 |
if (lastComparison != 0) {
|
|
|
1255 |
return lastComparison;
|
|
|
1256 |
}
|
|
|
1257 |
}
|
| 6031 |
rajveer |
1258 |
lastComparison = Boolean.valueOf(isSetDisplayId()).compareTo(typedOther.isSetDisplayId());
|
| 6000 |
mandeep.dh |
1259 |
if (lastComparison != 0) {
|
|
|
1260 |
return lastComparison;
|
|
|
1261 |
}
|
| 6031 |
rajveer |
1262 |
if (isSetDisplayId()) {
|
|
|
1263 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.displayId, typedOther.displayId);
|
| 6000 |
mandeep.dh |
1264 |
if (lastComparison != 0) {
|
|
|
1265 |
return lastComparison;
|
|
|
1266 |
}
|
|
|
1267 |
}
|
| 6031 |
rajveer |
1268 |
lastComparison = Boolean.valueOf(isSetTotalAmount()).compareTo(typedOther.isSetTotalAmount());
|
|
|
1269 |
if (lastComparison != 0) {
|
|
|
1270 |
return lastComparison;
|
|
|
1271 |
}
|
|
|
1272 |
if (isSetTotalAmount()) {
|
|
|
1273 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.totalAmount, typedOther.totalAmount);
|
|
|
1274 |
if (lastComparison != 0) {
|
|
|
1275 |
return lastComparison;
|
|
|
1276 |
}
|
|
|
1277 |
}
|
|
|
1278 |
lastComparison = Boolean.valueOf(isSetWalletAmount()).compareTo(typedOther.isSetWalletAmount());
|
|
|
1279 |
if (lastComparison != 0) {
|
|
|
1280 |
return lastComparison;
|
|
|
1281 |
}
|
|
|
1282 |
if (isSetWalletAmount()) {
|
|
|
1283 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.walletAmount, typedOther.walletAmount);
|
|
|
1284 |
if (lastComparison != 0) {
|
|
|
1285 |
return lastComparison;
|
|
|
1286 |
}
|
|
|
1287 |
}
|
| 6000 |
mandeep.dh |
1288 |
lastComparison = Boolean.valueOf(isSetTransactionId()).compareTo(typedOther.isSetTransactionId());
|
|
|
1289 |
if (lastComparison != 0) {
|
|
|
1290 |
return lastComparison;
|
|
|
1291 |
}
|
|
|
1292 |
if (isSetTransactionId()) {
|
|
|
1293 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.transactionId, typedOther.transactionId);
|
|
|
1294 |
if (lastComparison != 0) {
|
|
|
1295 |
return lastComparison;
|
|
|
1296 |
}
|
|
|
1297 |
}
|
|
|
1298 |
lastComparison = Boolean.valueOf(isSetInvoiceNumber()).compareTo(typedOther.isSetInvoiceNumber());
|
|
|
1299 |
if (lastComparison != 0) {
|
|
|
1300 |
return lastComparison;
|
|
|
1301 |
}
|
|
|
1302 |
if (isSetInvoiceNumber()) {
|
|
|
1303 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.invoiceNumber, typedOther.invoiceNumber);
|
|
|
1304 |
if (lastComparison != 0) {
|
|
|
1305 |
return lastComparison;
|
|
|
1306 |
}
|
|
|
1307 |
}
|
|
|
1308 |
lastComparison = Boolean.valueOf(isSetOrderType()).compareTo(typedOther.isSetOrderType());
|
|
|
1309 |
if (lastComparison != 0) {
|
|
|
1310 |
return lastComparison;
|
|
|
1311 |
}
|
|
|
1312 |
if (isSetOrderType()) {
|
|
|
1313 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.orderType, typedOther.orderType);
|
|
|
1314 |
if (lastComparison != 0) {
|
|
|
1315 |
return lastComparison;
|
|
|
1316 |
}
|
|
|
1317 |
}
|
|
|
1318 |
lastComparison = Boolean.valueOf(isSetOperatorId()).compareTo(typedOther.isSetOperatorId());
|
|
|
1319 |
if (lastComparison != 0) {
|
|
|
1320 |
return lastComparison;
|
|
|
1321 |
}
|
|
|
1322 |
if (isSetOperatorId()) {
|
|
|
1323 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.operatorId, typedOther.operatorId);
|
|
|
1324 |
if (lastComparison != 0) {
|
|
|
1325 |
return lastComparison;
|
|
|
1326 |
}
|
|
|
1327 |
}
|
|
|
1328 |
lastComparison = Boolean.valueOf(isSetRechargeType()).compareTo(typedOther.isSetRechargeType());
|
|
|
1329 |
if (lastComparison != 0) {
|
|
|
1330 |
return lastComparison;
|
|
|
1331 |
}
|
|
|
1332 |
if (isSetRechargeType()) {
|
|
|
1333 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.rechargeType, typedOther.rechargeType);
|
|
|
1334 |
if (lastComparison != 0) {
|
|
|
1335 |
return lastComparison;
|
|
|
1336 |
}
|
|
|
1337 |
}
|
| 6031 |
rajveer |
1338 |
lastComparison = Boolean.valueOf(isSetStatus()).compareTo(typedOther.isSetStatus());
|
| 6000 |
mandeep.dh |
1339 |
if (lastComparison != 0) {
|
|
|
1340 |
return lastComparison;
|
|
|
1341 |
}
|
| 6031 |
rajveer |
1342 |
if (isSetStatus()) {
|
|
|
1343 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.status, typedOther.status);
|
| 6000 |
mandeep.dh |
1344 |
if (lastComparison != 0) {
|
|
|
1345 |
return lastComparison;
|
|
|
1346 |
}
|
|
|
1347 |
}
|
|
|
1348 |
lastComparison = Boolean.valueOf(isSetDeviceNumber()).compareTo(typedOther.isSetDeviceNumber());
|
|
|
1349 |
if (lastComparison != 0) {
|
|
|
1350 |
return lastComparison;
|
|
|
1351 |
}
|
|
|
1352 |
if (isSetDeviceNumber()) {
|
|
|
1353 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.deviceNumber, typedOther.deviceNumber);
|
|
|
1354 |
if (lastComparison != 0) {
|
|
|
1355 |
return lastComparison;
|
|
|
1356 |
}
|
|
|
1357 |
}
|
| 6031 |
rajveer |
1358 |
lastComparison = Boolean.valueOf(isSetUserId()).compareTo(typedOther.isSetUserId());
|
| 6000 |
mandeep.dh |
1359 |
if (lastComparison != 0) {
|
|
|
1360 |
return lastComparison;
|
|
|
1361 |
}
|
| 6031 |
rajveer |
1362 |
if (isSetUserId()) {
|
|
|
1363 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.userId, typedOther.userId);
|
| 6000 |
mandeep.dh |
1364 |
if (lastComparison != 0) {
|
|
|
1365 |
return lastComparison;
|
|
|
1366 |
}
|
|
|
1367 |
}
|
| 6031 |
rajveer |
1368 |
lastComparison = Boolean.valueOf(isSetUserEmailId()).compareTo(typedOther.isSetUserEmailId());
|
| 6000 |
mandeep.dh |
1369 |
if (lastComparison != 0) {
|
|
|
1370 |
return lastComparison;
|
|
|
1371 |
}
|
| 6031 |
rajveer |
1372 |
if (isSetUserEmailId()) {
|
|
|
1373 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.userEmailId, typedOther.userEmailId);
|
| 6000 |
mandeep.dh |
1374 |
if (lastComparison != 0) {
|
|
|
1375 |
return lastComparison;
|
|
|
1376 |
}
|
|
|
1377 |
}
|
|
|
1378 |
lastComparison = Boolean.valueOf(isSetCreationTimestamp()).compareTo(typedOther.isSetCreationTimestamp());
|
|
|
1379 |
if (lastComparison != 0) {
|
|
|
1380 |
return lastComparison;
|
|
|
1381 |
}
|
|
|
1382 |
if (isSetCreationTimestamp()) {
|
|
|
1383 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.creationTimestamp, typedOther.creationTimestamp);
|
|
|
1384 |
if (lastComparison != 0) {
|
|
|
1385 |
return lastComparison;
|
|
|
1386 |
}
|
|
|
1387 |
}
|
| 6048 |
rajveer |
1388 |
lastComparison = Boolean.valueOf(isSetSpiceTID()).compareTo(typedOther.isSetSpiceTID());
|
|
|
1389 |
if (lastComparison != 0) {
|
|
|
1390 |
return lastComparison;
|
|
|
1391 |
}
|
|
|
1392 |
if (isSetSpiceTID()) {
|
|
|
1393 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.spiceTID, typedOther.spiceTID);
|
|
|
1394 |
if (lastComparison != 0) {
|
|
|
1395 |
return lastComparison;
|
|
|
1396 |
}
|
|
|
1397 |
}
|
|
|
1398 |
lastComparison = Boolean.valueOf(isSetResponseTimestamp()).compareTo(typedOther.isSetResponseTimestamp());
|
|
|
1399 |
if (lastComparison != 0) {
|
|
|
1400 |
return lastComparison;
|
|
|
1401 |
}
|
|
|
1402 |
if (isSetResponseTimestamp()) {
|
|
|
1403 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.responseTimestamp, typedOther.responseTimestamp);
|
|
|
1404 |
if (lastComparison != 0) {
|
|
|
1405 |
return lastComparison;
|
|
|
1406 |
}
|
|
|
1407 |
}
|
| 6094 |
rajveer |
1408 |
lastComparison = Boolean.valueOf(isSetDescription()).compareTo(typedOther.isSetDescription());
|
|
|
1409 |
if (lastComparison != 0) {
|
|
|
1410 |
return lastComparison;
|
|
|
1411 |
}
|
|
|
1412 |
if (isSetDescription()) {
|
|
|
1413 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.description, typedOther.description);
|
|
|
1414 |
if (lastComparison != 0) {
|
|
|
1415 |
return lastComparison;
|
|
|
1416 |
}
|
|
|
1417 |
}
|
| 6159 |
rajveer |
1418 |
lastComparison = Boolean.valueOf(isSetPlan()).compareTo(typedOther.isSetPlan());
|
|
|
1419 |
if (lastComparison != 0) {
|
|
|
1420 |
return lastComparison;
|
|
|
1421 |
}
|
|
|
1422 |
if (isSetPlan()) {
|
|
|
1423 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.plan, typedOther.plan);
|
|
|
1424 |
if (lastComparison != 0) {
|
|
|
1425 |
return lastComparison;
|
|
|
1426 |
}
|
|
|
1427 |
}
|
| 6000 |
mandeep.dh |
1428 |
return 0;
|
|
|
1429 |
}
|
|
|
1430 |
|
|
|
1431 |
public _Fields fieldForId(int fieldId) {
|
|
|
1432 |
return _Fields.findByThriftId(fieldId);
|
|
|
1433 |
}
|
|
|
1434 |
|
|
|
1435 |
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
|
|
|
1436 |
org.apache.thrift.protocol.TField field;
|
|
|
1437 |
iprot.readStructBegin();
|
|
|
1438 |
while (true)
|
|
|
1439 |
{
|
|
|
1440 |
field = iprot.readFieldBegin();
|
|
|
1441 |
if (field.type == org.apache.thrift.protocol.TType.STOP) {
|
|
|
1442 |
break;
|
|
|
1443 |
}
|
|
|
1444 |
switch (field.id) {
|
|
|
1445 |
case 1: // ID
|
| 6031 |
rajveer |
1446 |
if (field.type == org.apache.thrift.protocol.TType.I64) {
|
|
|
1447 |
this.id = iprot.readI64();
|
|
|
1448 |
setIdIsSet(true);
|
|
|
1449 |
} else {
|
|
|
1450 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
1451 |
}
|
|
|
1452 |
break;
|
|
|
1453 |
case 2: // DISPLAY_ID
|
| 6000 |
mandeep.dh |
1454 |
if (field.type == org.apache.thrift.protocol.TType.STRING) {
|
| 6031 |
rajveer |
1455 |
this.displayId = iprot.readString();
|
| 6000 |
mandeep.dh |
1456 |
} else {
|
|
|
1457 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
1458 |
}
|
|
|
1459 |
break;
|
| 6031 |
rajveer |
1460 |
case 3: // TOTAL_AMOUNT
|
| 6000 |
mandeep.dh |
1461 |
if (field.type == org.apache.thrift.protocol.TType.I64) {
|
| 6031 |
rajveer |
1462 |
this.totalAmount = iprot.readI64();
|
|
|
1463 |
setTotalAmountIsSet(true);
|
| 6000 |
mandeep.dh |
1464 |
} else {
|
|
|
1465 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
1466 |
}
|
|
|
1467 |
break;
|
| 6031 |
rajveer |
1468 |
case 4: // WALLET_AMOUNT
|
| 6000 |
mandeep.dh |
1469 |
if (field.type == org.apache.thrift.protocol.TType.I64) {
|
| 6031 |
rajveer |
1470 |
this.walletAmount = iprot.readI64();
|
|
|
1471 |
setWalletAmountIsSet(true);
|
|
|
1472 |
} else {
|
|
|
1473 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
1474 |
}
|
|
|
1475 |
break;
|
|
|
1476 |
case 5: // TRANSACTION_ID
|
|
|
1477 |
if (field.type == org.apache.thrift.protocol.TType.I64) {
|
| 6000 |
mandeep.dh |
1478 |
this.transactionId = iprot.readI64();
|
|
|
1479 |
setTransactionIdIsSet(true);
|
|
|
1480 |
} else {
|
|
|
1481 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
1482 |
}
|
|
|
1483 |
break;
|
| 6031 |
rajveer |
1484 |
case 6: // INVOICE_NUMBER
|
| 6077 |
anupam.sin |
1485 |
if (field.type == org.apache.thrift.protocol.TType.I64) {
|
|
|
1486 |
this.invoiceNumber = iprot.readI64();
|
|
|
1487 |
setInvoiceNumberIsSet(true);
|
| 6000 |
mandeep.dh |
1488 |
} else {
|
|
|
1489 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
1490 |
}
|
|
|
1491 |
break;
|
| 6031 |
rajveer |
1492 |
case 7: // ORDER_TYPE
|
| 6000 |
mandeep.dh |
1493 |
if (field.type == org.apache.thrift.protocol.TType.I32) {
|
|
|
1494 |
this.orderType = OrderType.findByValue(iprot.readI32());
|
|
|
1495 |
} else {
|
|
|
1496 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
1497 |
}
|
|
|
1498 |
break;
|
| 6031 |
rajveer |
1499 |
case 8: // OPERATOR_ID
|
| 6000 |
mandeep.dh |
1500 |
if (field.type == org.apache.thrift.protocol.TType.I64) {
|
|
|
1501 |
this.operatorId = iprot.readI64();
|
|
|
1502 |
setOperatorIdIsSet(true);
|
|
|
1503 |
} else {
|
|
|
1504 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
1505 |
}
|
|
|
1506 |
break;
|
| 6031 |
rajveer |
1507 |
case 9: // RECHARGE_TYPE
|
| 6000 |
mandeep.dh |
1508 |
if (field.type == org.apache.thrift.protocol.TType.I32) {
|
|
|
1509 |
this.rechargeType = RechargeType.findByValue(iprot.readI32());
|
|
|
1510 |
} else {
|
|
|
1511 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
1512 |
}
|
|
|
1513 |
break;
|
| 6031 |
rajveer |
1514 |
case 10: // STATUS
|
| 6000 |
mandeep.dh |
1515 |
if (field.type == org.apache.thrift.protocol.TType.I32) {
|
| 6031 |
rajveer |
1516 |
this.status = RechargeOrderStatus.findByValue(iprot.readI32());
|
| 6000 |
mandeep.dh |
1517 |
} else {
|
|
|
1518 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
1519 |
}
|
|
|
1520 |
break;
|
| 6031 |
rajveer |
1521 |
case 11: // DEVICE_NUMBER
|
| 6000 |
mandeep.dh |
1522 |
if (field.type == org.apache.thrift.protocol.TType.STRING) {
|
|
|
1523 |
this.deviceNumber = iprot.readString();
|
|
|
1524 |
} else {
|
|
|
1525 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
1526 |
}
|
|
|
1527 |
break;
|
| 6031 |
rajveer |
1528 |
case 12: // USER_ID
|
| 6000 |
mandeep.dh |
1529 |
if (field.type == org.apache.thrift.protocol.TType.I64) {
|
| 6031 |
rajveer |
1530 |
this.userId = iprot.readI64();
|
|
|
1531 |
setUserIdIsSet(true);
|
| 6000 |
mandeep.dh |
1532 |
} else {
|
|
|
1533 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
1534 |
}
|
|
|
1535 |
break;
|
| 6031 |
rajveer |
1536 |
case 13: // USER_EMAIL_ID
|
|
|
1537 |
if (field.type == org.apache.thrift.protocol.TType.STRING) {
|
|
|
1538 |
this.userEmailId = iprot.readString();
|
| 6000 |
mandeep.dh |
1539 |
} else {
|
|
|
1540 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
1541 |
}
|
|
|
1542 |
break;
|
| 6031 |
rajveer |
1543 |
case 14: // CREATION_TIMESTAMP
|
| 6000 |
mandeep.dh |
1544 |
if (field.type == org.apache.thrift.protocol.TType.I64) {
|
|
|
1545 |
this.creationTimestamp = iprot.readI64();
|
|
|
1546 |
setCreationTimestampIsSet(true);
|
|
|
1547 |
} else {
|
|
|
1548 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
1549 |
}
|
|
|
1550 |
break;
|
| 6048 |
rajveer |
1551 |
case 15: // SPICE_TID
|
|
|
1552 |
if (field.type == org.apache.thrift.protocol.TType.STRING) {
|
|
|
1553 |
this.spiceTID = iprot.readString();
|
|
|
1554 |
} else {
|
|
|
1555 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
1556 |
}
|
|
|
1557 |
break;
|
|
|
1558 |
case 16: // RESPONSE_TIMESTAMP
|
|
|
1559 |
if (field.type == org.apache.thrift.protocol.TType.I64) {
|
|
|
1560 |
this.responseTimestamp = iprot.readI64();
|
|
|
1561 |
setResponseTimestampIsSet(true);
|
|
|
1562 |
} else {
|
|
|
1563 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
1564 |
}
|
|
|
1565 |
break;
|
| 6094 |
rajveer |
1566 |
case 17: // DESCRIPTION
|
|
|
1567 |
if (field.type == org.apache.thrift.protocol.TType.STRING) {
|
|
|
1568 |
this.description = iprot.readString();
|
|
|
1569 |
} else {
|
|
|
1570 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
1571 |
}
|
|
|
1572 |
break;
|
| 6159 |
rajveer |
1573 |
case 18: // PLAN
|
|
|
1574 |
if (field.type == org.apache.thrift.protocol.TType.STRING) {
|
|
|
1575 |
this.plan = iprot.readString();
|
|
|
1576 |
} else {
|
|
|
1577 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
1578 |
}
|
|
|
1579 |
break;
|
| 6000 |
mandeep.dh |
1580 |
default:
|
|
|
1581 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
1582 |
}
|
|
|
1583 |
iprot.readFieldEnd();
|
|
|
1584 |
}
|
|
|
1585 |
iprot.readStructEnd();
|
|
|
1586 |
validate();
|
|
|
1587 |
}
|
|
|
1588 |
|
|
|
1589 |
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
|
|
|
1590 |
validate();
|
|
|
1591 |
|
|
|
1592 |
oprot.writeStructBegin(STRUCT_DESC);
|
| 6031 |
rajveer |
1593 |
oprot.writeFieldBegin(ID_FIELD_DESC);
|
|
|
1594 |
oprot.writeI64(this.id);
|
|
|
1595 |
oprot.writeFieldEnd();
|
|
|
1596 |
if (this.displayId != null) {
|
|
|
1597 |
oprot.writeFieldBegin(DISPLAY_ID_FIELD_DESC);
|
|
|
1598 |
oprot.writeString(this.displayId);
|
| 6000 |
mandeep.dh |
1599 |
oprot.writeFieldEnd();
|
|
|
1600 |
}
|
| 6031 |
rajveer |
1601 |
oprot.writeFieldBegin(TOTAL_AMOUNT_FIELD_DESC);
|
|
|
1602 |
oprot.writeI64(this.totalAmount);
|
| 6000 |
mandeep.dh |
1603 |
oprot.writeFieldEnd();
|
| 6031 |
rajveer |
1604 |
oprot.writeFieldBegin(WALLET_AMOUNT_FIELD_DESC);
|
|
|
1605 |
oprot.writeI64(this.walletAmount);
|
|
|
1606 |
oprot.writeFieldEnd();
|
| 6000 |
mandeep.dh |
1607 |
oprot.writeFieldBegin(TRANSACTION_ID_FIELD_DESC);
|
|
|
1608 |
oprot.writeI64(this.transactionId);
|
|
|
1609 |
oprot.writeFieldEnd();
|
| 6077 |
anupam.sin |
1610 |
oprot.writeFieldBegin(INVOICE_NUMBER_FIELD_DESC);
|
|
|
1611 |
oprot.writeI64(this.invoiceNumber);
|
|
|
1612 |
oprot.writeFieldEnd();
|
| 6000 |
mandeep.dh |
1613 |
if (this.orderType != null) {
|
|
|
1614 |
oprot.writeFieldBegin(ORDER_TYPE_FIELD_DESC);
|
|
|
1615 |
oprot.writeI32(this.orderType.getValue());
|
|
|
1616 |
oprot.writeFieldEnd();
|
|
|
1617 |
}
|
|
|
1618 |
oprot.writeFieldBegin(OPERATOR_ID_FIELD_DESC);
|
|
|
1619 |
oprot.writeI64(this.operatorId);
|
|
|
1620 |
oprot.writeFieldEnd();
|
|
|
1621 |
if (this.rechargeType != null) {
|
|
|
1622 |
oprot.writeFieldBegin(RECHARGE_TYPE_FIELD_DESC);
|
|
|
1623 |
oprot.writeI32(this.rechargeType.getValue());
|
|
|
1624 |
oprot.writeFieldEnd();
|
|
|
1625 |
}
|
| 6031 |
rajveer |
1626 |
if (this.status != null) {
|
|
|
1627 |
oprot.writeFieldBegin(STATUS_FIELD_DESC);
|
|
|
1628 |
oprot.writeI32(this.status.getValue());
|
| 6000 |
mandeep.dh |
1629 |
oprot.writeFieldEnd();
|
|
|
1630 |
}
|
|
|
1631 |
if (this.deviceNumber != null) {
|
|
|
1632 |
oprot.writeFieldBegin(DEVICE_NUMBER_FIELD_DESC);
|
|
|
1633 |
oprot.writeString(this.deviceNumber);
|
|
|
1634 |
oprot.writeFieldEnd();
|
|
|
1635 |
}
|
| 6031 |
rajveer |
1636 |
oprot.writeFieldBegin(USER_ID_FIELD_DESC);
|
|
|
1637 |
oprot.writeI64(this.userId);
|
| 6000 |
mandeep.dh |
1638 |
oprot.writeFieldEnd();
|
| 6031 |
rajveer |
1639 |
if (this.userEmailId != null) {
|
|
|
1640 |
oprot.writeFieldBegin(USER_EMAIL_ID_FIELD_DESC);
|
|
|
1641 |
oprot.writeString(this.userEmailId);
|
|
|
1642 |
oprot.writeFieldEnd();
|
|
|
1643 |
}
|
| 6000 |
mandeep.dh |
1644 |
oprot.writeFieldBegin(CREATION_TIMESTAMP_FIELD_DESC);
|
|
|
1645 |
oprot.writeI64(this.creationTimestamp);
|
|
|
1646 |
oprot.writeFieldEnd();
|
| 6048 |
rajveer |
1647 |
if (this.spiceTID != null) {
|
|
|
1648 |
oprot.writeFieldBegin(SPICE_TID_FIELD_DESC);
|
|
|
1649 |
oprot.writeString(this.spiceTID);
|
|
|
1650 |
oprot.writeFieldEnd();
|
|
|
1651 |
}
|
|
|
1652 |
oprot.writeFieldBegin(RESPONSE_TIMESTAMP_FIELD_DESC);
|
|
|
1653 |
oprot.writeI64(this.responseTimestamp);
|
|
|
1654 |
oprot.writeFieldEnd();
|
| 6094 |
rajveer |
1655 |
if (this.description != null) {
|
|
|
1656 |
oprot.writeFieldBegin(DESCRIPTION_FIELD_DESC);
|
|
|
1657 |
oprot.writeString(this.description);
|
|
|
1658 |
oprot.writeFieldEnd();
|
|
|
1659 |
}
|
| 6159 |
rajveer |
1660 |
if (this.plan != null) {
|
|
|
1661 |
oprot.writeFieldBegin(PLAN_FIELD_DESC);
|
|
|
1662 |
oprot.writeString(this.plan);
|
|
|
1663 |
oprot.writeFieldEnd();
|
|
|
1664 |
}
|
| 6000 |
mandeep.dh |
1665 |
oprot.writeFieldStop();
|
|
|
1666 |
oprot.writeStructEnd();
|
|
|
1667 |
}
|
|
|
1668 |
|
|
|
1669 |
@Override
|
|
|
1670 |
public String toString() {
|
|
|
1671 |
StringBuilder sb = new StringBuilder("RechargeOrder(");
|
|
|
1672 |
boolean first = true;
|
|
|
1673 |
|
|
|
1674 |
sb.append("id:");
|
| 6031 |
rajveer |
1675 |
sb.append(this.id);
|
|
|
1676 |
first = false;
|
|
|
1677 |
if (!first) sb.append(", ");
|
|
|
1678 |
sb.append("displayId:");
|
|
|
1679 |
if (this.displayId == null) {
|
| 6000 |
mandeep.dh |
1680 |
sb.append("null");
|
|
|
1681 |
} else {
|
| 6031 |
rajveer |
1682 |
sb.append(this.displayId);
|
| 6000 |
mandeep.dh |
1683 |
}
|
|
|
1684 |
first = false;
|
|
|
1685 |
if (!first) sb.append(", ");
|
| 6031 |
rajveer |
1686 |
sb.append("totalAmount:");
|
|
|
1687 |
sb.append(this.totalAmount);
|
| 6000 |
mandeep.dh |
1688 |
first = false;
|
|
|
1689 |
if (!first) sb.append(", ");
|
| 6031 |
rajveer |
1690 |
sb.append("walletAmount:");
|
|
|
1691 |
sb.append(this.walletAmount);
|
|
|
1692 |
first = false;
|
|
|
1693 |
if (!first) sb.append(", ");
|
| 6000 |
mandeep.dh |
1694 |
sb.append("transactionId:");
|
|
|
1695 |
sb.append(this.transactionId);
|
|
|
1696 |
first = false;
|
|
|
1697 |
if (!first) sb.append(", ");
|
|
|
1698 |
sb.append("invoiceNumber:");
|
| 6077 |
anupam.sin |
1699 |
sb.append(this.invoiceNumber);
|
| 6000 |
mandeep.dh |
1700 |
first = false;
|
|
|
1701 |
if (!first) sb.append(", ");
|
|
|
1702 |
sb.append("orderType:");
|
|
|
1703 |
if (this.orderType == null) {
|
|
|
1704 |
sb.append("null");
|
|
|
1705 |
} else {
|
|
|
1706 |
sb.append(this.orderType);
|
|
|
1707 |
}
|
|
|
1708 |
first = false;
|
|
|
1709 |
if (!first) sb.append(", ");
|
|
|
1710 |
sb.append("operatorId:");
|
|
|
1711 |
sb.append(this.operatorId);
|
|
|
1712 |
first = false;
|
|
|
1713 |
if (!first) sb.append(", ");
|
|
|
1714 |
sb.append("rechargeType:");
|
|
|
1715 |
if (this.rechargeType == null) {
|
|
|
1716 |
sb.append("null");
|
|
|
1717 |
} else {
|
|
|
1718 |
sb.append(this.rechargeType);
|
|
|
1719 |
}
|
|
|
1720 |
first = false;
|
|
|
1721 |
if (!first) sb.append(", ");
|
| 6031 |
rajveer |
1722 |
sb.append("status:");
|
|
|
1723 |
if (this.status == null) {
|
| 6000 |
mandeep.dh |
1724 |
sb.append("null");
|
|
|
1725 |
} else {
|
| 6031 |
rajveer |
1726 |
sb.append(this.status);
|
| 6000 |
mandeep.dh |
1727 |
}
|
|
|
1728 |
first = false;
|
|
|
1729 |
if (!first) sb.append(", ");
|
|
|
1730 |
sb.append("deviceNumber:");
|
|
|
1731 |
if (this.deviceNumber == null) {
|
|
|
1732 |
sb.append("null");
|
|
|
1733 |
} else {
|
|
|
1734 |
sb.append(this.deviceNumber);
|
|
|
1735 |
}
|
|
|
1736 |
first = false;
|
|
|
1737 |
if (!first) sb.append(", ");
|
| 6031 |
rajveer |
1738 |
sb.append("userId:");
|
|
|
1739 |
sb.append(this.userId);
|
| 6000 |
mandeep.dh |
1740 |
first = false;
|
|
|
1741 |
if (!first) sb.append(", ");
|
| 6031 |
rajveer |
1742 |
sb.append("userEmailId:");
|
|
|
1743 |
if (this.userEmailId == null) {
|
|
|
1744 |
sb.append("null");
|
|
|
1745 |
} else {
|
|
|
1746 |
sb.append(this.userEmailId);
|
|
|
1747 |
}
|
| 6000 |
mandeep.dh |
1748 |
first = false;
|
|
|
1749 |
if (!first) sb.append(", ");
|
|
|
1750 |
sb.append("creationTimestamp:");
|
|
|
1751 |
sb.append(this.creationTimestamp);
|
|
|
1752 |
first = false;
|
| 6048 |
rajveer |
1753 |
if (!first) sb.append(", ");
|
|
|
1754 |
sb.append("spiceTID:");
|
|
|
1755 |
if (this.spiceTID == null) {
|
|
|
1756 |
sb.append("null");
|
|
|
1757 |
} else {
|
|
|
1758 |
sb.append(this.spiceTID);
|
|
|
1759 |
}
|
|
|
1760 |
first = false;
|
|
|
1761 |
if (!first) sb.append(", ");
|
|
|
1762 |
sb.append("responseTimestamp:");
|
|
|
1763 |
sb.append(this.responseTimestamp);
|
|
|
1764 |
first = false;
|
| 6094 |
rajveer |
1765 |
if (!first) sb.append(", ");
|
|
|
1766 |
sb.append("description:");
|
|
|
1767 |
if (this.description == null) {
|
|
|
1768 |
sb.append("null");
|
|
|
1769 |
} else {
|
|
|
1770 |
sb.append(this.description);
|
|
|
1771 |
}
|
|
|
1772 |
first = false;
|
| 6159 |
rajveer |
1773 |
if (!first) sb.append(", ");
|
|
|
1774 |
sb.append("plan:");
|
|
|
1775 |
if (this.plan == null) {
|
|
|
1776 |
sb.append("null");
|
|
|
1777 |
} else {
|
|
|
1778 |
sb.append(this.plan);
|
|
|
1779 |
}
|
|
|
1780 |
first = false;
|
| 6000 |
mandeep.dh |
1781 |
sb.append(")");
|
|
|
1782 |
return sb.toString();
|
|
|
1783 |
}
|
|
|
1784 |
|
|
|
1785 |
public void validate() throws org.apache.thrift.TException {
|
|
|
1786 |
// check for required fields
|
|
|
1787 |
}
|
|
|
1788 |
|
|
|
1789 |
private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
|
|
|
1790 |
try {
|
|
|
1791 |
write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
|
|
|
1792 |
} catch (org.apache.thrift.TException te) {
|
|
|
1793 |
throw new java.io.IOException(te);
|
|
|
1794 |
}
|
|
|
1795 |
}
|
|
|
1796 |
|
|
|
1797 |
private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
|
|
|
1798 |
try {
|
|
|
1799 |
// it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
|
|
|
1800 |
__isset_bit_vector = new BitSet(1);
|
|
|
1801 |
read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
|
|
|
1802 |
} catch (org.apache.thrift.TException te) {
|
|
|
1803 |
throw new java.io.IOException(te);
|
|
|
1804 |
}
|
|
|
1805 |
}
|
|
|
1806 |
|
|
|
1807 |
}
|
|
|
1808 |
|