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