| 419 |
rajveer |
1 |
package in.shop2020.serving.controllers;
|
|
|
2 |
|
| 2263 |
vikas |
3 |
import in.shop2020.datalogger.EventType;
|
| 2183 |
vikas |
4 |
import in.shop2020.model.v1.order.Order;
|
| 4325 |
mandeep.dh |
5 |
import in.shop2020.model.v1.order.TransactionServiceException;
|
| 3063 |
chandransh |
6 |
import in.shop2020.model.v1.user.Address;
|
| 894 |
rajveer |
7 |
import in.shop2020.model.v1.user.ShoppingCartException;
|
| 2817 |
vikas |
8 |
import in.shop2020.serving.interceptors.TrackingInterceptor;
|
| 3063 |
chandransh |
9 |
import in.shop2020.serving.services.CodPaymentService;
|
|
|
10 |
import in.shop2020.serving.services.CommonPaymentService;
|
| 1905 |
chandransh |
11 |
import in.shop2020.serving.services.EbsPaymentService;
|
| 3616 |
chandransh |
12 |
import in.shop2020.serving.services.HdfcEmiPaymentService;
|
| 1318 |
rajveer |
13 |
import in.shop2020.serving.services.HdfcPaymentService;
|
| 1905 |
chandransh |
14 |
import in.shop2020.serving.services.IPaymentService;
|
| 3212 |
vikas |
15 |
import in.shop2020.serving.utils.Utils;
|
| 3126 |
rajveer |
16 |
import in.shop2020.thrift.clients.TransactionClient;
|
|
|
17 |
import in.shop2020.thrift.clients.UserClient;
|
| 2511 |
vikas |
18 |
import in.shop2020.utils.DataLogger;
|
| 517 |
rajveer |
19 |
|
| 3394 |
vikas |
20 |
import java.util.ArrayList;
|
| 2419 |
vikas |
21 |
import java.util.List;
|
|
|
22 |
|
| 832 |
rajveer |
23 |
import org.apache.log4j.Logger;
|
| 822 |
vikas |
24 |
import org.apache.struts2.convention.annotation.InterceptorRef;
|
|
|
25 |
import org.apache.struts2.convention.annotation.InterceptorRefs;
|
| 419 |
rajveer |
26 |
import org.apache.struts2.convention.annotation.Result;
|
|
|
27 |
import org.apache.struts2.convention.annotation.Results;
|
| 517 |
rajveer |
28 |
import org.apache.thrift.TException;
|
| 4325 |
mandeep.dh |
29 |
import org.apache.thrift.transport.TTransportException;
|
| 4609 |
phani.kuma |
30 |
import nl.captcha.Captcha;
|
| 419 |
rajveer |
31 |
|
| 2159 |
chandransh |
32 |
@SuppressWarnings("serial")
|
| 822 |
vikas |
33 |
@InterceptorRefs({
|
|
|
34 |
@InterceptorRef("myDefault"),
|
|
|
35 |
@InterceptorRef("login")
|
|
|
36 |
})
|
|
|
37 |
|
| 419 |
rajveer |
38 |
@Results({
|
| 3101 |
chandransh |
39 |
@Result(name="shipping-redirect", type="redirectAction", params = {"actionName" , "shipping"}),
|
| 5614 |
rajveer |
40 |
@Result(name="proceed-to-pay-redirect", type="redirectAction", params = {"actionName" , "proceed-to-pay"}),
|
| 3063 |
chandransh |
41 |
@Result(name="ebs-pay-redirect", type="redirect", location="/ebs-pay/${paymentId}"),
|
|
|
42 |
@Result(name="cod-redirect", type="redirect", location="/pay-success?paymentId=${paymentId}")
|
| 419 |
rajveer |
43 |
})
|
| 650 |
rajveer |
44 |
public class OrderController extends BaseController {
|
| 419 |
rajveer |
45 |
|
| 1905 |
chandransh |
46 |
public long getPaymentId() {
|
|
|
47 |
return paymentId;
|
|
|
48 |
}
|
| 419 |
rajveer |
49 |
|
| 832 |
rajveer |
50 |
private static Logger log = Logger.getLogger(Class.class);
|
| 3063 |
chandransh |
51 |
|
| 507 |
rajveer |
52 |
private String id;
|
| 712 |
rajveer |
53 |
private long txnId = 0;
|
| 650 |
rajveer |
54 |
|
| 1905 |
chandransh |
55 |
private long paymentId;
|
|
|
56 |
|
| 1318 |
rajveer |
57 |
private String redirectURL;
|
| 681 |
rajveer |
58 |
|
| 419 |
rajveer |
59 |
public OrderController(){
|
| 507 |
rajveer |
60 |
super();
|
| 419 |
rajveer |
61 |
}
|
|
|
62 |
|
| 507 |
rajveer |
63 |
// GET /order/ orderid
|
|
|
64 |
public String show() {
|
|
|
65 |
log.info("id=" + id);
|
| 822 |
vikas |
66 |
htmlSnippets.put("MYACCOUNT_HEADER", pageLoader.getMyaccountHeaderHtml());
|
| 4815 |
phani.kuma |
67 |
htmlSnippets.put("ORDER_DETAILS", pageLoader.getOrderDetailsHtml(Long.parseLong(id), userinfo));
|
| 507 |
rajveer |
68 |
return "show";
|
| 419 |
rajveer |
69 |
}
|
| 517 |
rajveer |
70 |
|
| 572 |
chandransh |
71 |
// POST /order/
|
|
|
72 |
public String create(){
|
| 786 |
rajveer |
73 |
String addressIdString = this.request.getParameter("addressid");
|
|
|
74 |
if(addressIdString == null){
|
| 894 |
rajveer |
75 |
addActionError("Please specify shipping address to continue.");
|
| 3101 |
chandransh |
76 |
return "proceed-to-pay-redirect";
|
| 786 |
rajveer |
77 |
}
|
| 2159 |
chandransh |
78 |
|
|
|
79 |
String paymentOption = request.getParameter("payment_option");
|
|
|
80 |
log.info("Payment Option Selected: " + paymentOption);
|
|
|
81 |
if(paymentOption == null || paymentOption.equals("")){
|
|
|
82 |
addActionError("Please select a payment method to continue.");
|
| 3101 |
chandransh |
83 |
return "proceed-to-pay-redirect";
|
| 2159 |
chandransh |
84 |
}
|
|
|
85 |
|
|
|
86 |
|
| 3101 |
chandransh |
87 |
long addressId;
|
|
|
88 |
try {
|
|
|
89 |
addressId = Long.parseLong(addressIdString);
|
|
|
90 |
} catch(NumberFormatException nfe){
|
|
|
91 |
log.error("Unable to get address id", nfe);
|
|
|
92 |
addActionError("Invalid address. Please add an address to the cart.");
|
|
|
93 |
return "shipping-redirect";
|
|
|
94 |
}
|
|
|
95 |
|
| 572 |
chandransh |
96 |
long currentCartId = userinfo.getCartId();
|
| 5326 |
rajveer |
97 |
long currentUserId = userinfo.getUserId();
|
| 3063 |
chandransh |
98 |
|
|
|
99 |
if(paymentOption.equals(IPaymentService.COD)){
|
|
|
100 |
if(!verifyCaptcha()){
|
|
|
101 |
addActionError("Invalid captcha");
|
| 4815 |
phani.kuma |
102 |
log.info("Invalid captcha error msg has been added");
|
| 3101 |
chandransh |
103 |
return "proceed-to-pay-redirect";
|
| 3063 |
chandransh |
104 |
}
|
|
|
105 |
|
|
|
106 |
//Check that this address is eligible for COD shipping.
|
| 3126 |
rajveer |
107 |
UserClient userServiceClient = null;
|
| 3063 |
chandransh |
108 |
try {
|
| 3126 |
rajveer |
109 |
userServiceClient = new UserClient();
|
| 3063 |
chandransh |
110 |
in.shop2020.model.v1.user.UserContextService.Client userClient = userServiceClient.getClient();
|
|
|
111 |
Address address = userClient.getAddressById(addressId);
|
|
|
112 |
|
| 4867 |
rajveer |
113 |
if(!userClient.showCODOption(currentCartId, sourceId, address.getPin())){
|
| 3063 |
chandransh |
114 |
addActionError("Cash on Delivery is currently not available for this pincode. Please choose a different payment option.");
|
| 3101 |
chandransh |
115 |
return "proceed-to-pay-redirect";
|
| 3063 |
chandransh |
116 |
}
|
|
|
117 |
} catch (Exception e) {
|
|
|
118 |
log.error("Unable to talk to the user context service.", e);
|
|
|
119 |
addActionError("We are experiencing some problems. Please try later.");
|
| 3101 |
chandransh |
120 |
return "proceed-to-pay-redirect";
|
| 3063 |
chandransh |
121 |
}
|
|
|
122 |
}
|
|
|
123 |
|
|
|
124 |
try {
|
| 5326 |
rajveer |
125 |
if(!createOrders(addressId, currentCartId, currentUserId)) {
|
| 1128 |
rajveer |
126 |
addActionError("We are experiencing some problems. Please try later.");
|
| 3101 |
chandransh |
127 |
return "proceed-to-pay-redirect";
|
| 894 |
rajveer |
128 |
}
|
| 3063 |
chandransh |
129 |
} catch (Exception e) {
|
| 1128 |
rajveer |
130 |
addActionError("We are experiencing some problems. Please try later.");
|
| 2296 |
chandransh |
131 |
log.error("Exception in createOrders function. Something went wrong.", e);
|
| 3101 |
chandransh |
132 |
return "proceed-to-pay-redirect";
|
| 693 |
rajveer |
133 |
}
|
| 2159 |
chandransh |
134 |
|
| 4325 |
mandeep.dh |
135 |
if(paymentOption.equals(IPaymentService.COD)) {
|
| 3063 |
chandransh |
136 |
IPaymentService codPaymentService = new CodPaymentService();
|
| 3561 |
rajveer |
137 |
paymentId = codPaymentService.createPayment(userinfo.getCartId(), userinfo.getUserId(), txnId, paymentOption, sourceId);
|
| 3063 |
chandransh |
138 |
if (paymentId == IPaymentService.PAYMENT_NOT_CREATED) {
|
|
|
139 |
//Very unlikely. The only possible reason can be that the payment service is down.
|
|
|
140 |
log.error("Unable to process the COD payment.");
|
|
|
141 |
addActionError("We are experiencing some problems. Please try later.");
|
| 3101 |
chandransh |
142 |
return "proceed-to-pay-redirect";
|
| 3063 |
chandransh |
143 |
} else {
|
|
|
144 |
CommonPaymentService.processCodTxn(txnId);
|
|
|
145 |
return "cod-redirect";
|
|
|
146 |
}
|
| 3616 |
chandransh |
147 |
} else if(paymentOption.equals(IPaymentService.HDFC_EMI)){
|
|
|
148 |
IPaymentService hdfcEmiPaymentService = new HdfcEmiPaymentService();
|
|
|
149 |
paymentId = hdfcEmiPaymentService.createPayment(userinfo.getCartId(), userinfo.getUserId(), txnId, paymentOption, sourceId);
|
|
|
150 |
if(paymentId == IPaymentService.PAYMENT_NOT_CREATED){
|
|
|
151 |
addActionError("We are experiencing some problems. Please try later.");
|
|
|
152 |
log.error("Unable to process payment through HDFC EMI.");
|
|
|
153 |
return "proceed-to-pay-redirect";
|
|
|
154 |
} else {
|
| 3617 |
chandransh |
155 |
this.redirectURL = ((HdfcEmiPaymentService)hdfcEmiPaymentService).getRedirectUrl();
|
| 3616 |
chandransh |
156 |
log.info(this.redirectURL);
|
|
|
157 |
return "success";
|
|
|
158 |
}
|
| 3063 |
chandransh |
159 |
} else {
|
| 5538 |
anupam.sin |
160 |
if(paymentOption.equals(IPaymentService.HDFC_MASTERCARD_CREDIT) || paymentOption.equals(IPaymentService.HDFC_MASTERCARD_DEBIT) ||
|
|
|
161 |
paymentOption.equals(IPaymentService.HDFC_VISA) || paymentOption.equals(IPaymentService.HDFC_VISA_ELECTRON)) {
|
|
|
162 |
// User has selected Visa or MasterCard
|
| 3063 |
chandransh |
163 |
IPaymentService hdfcPaymentService = new HdfcPaymentService();
|
| 3561 |
rajveer |
164 |
paymentId = hdfcPaymentService.createPayment(userinfo.getCartId(), userinfo.getUserId(), txnId, paymentOption, sourceId);
|
| 3063 |
chandransh |
165 |
if (paymentId == IPaymentService.PAYMENT_NOT_CREATED) {
|
|
|
166 |
log.error("Unable to process payment through HDFC. Falling through to EBS.");
|
|
|
167 |
} else {
|
|
|
168 |
this.redirectURL = ((HdfcPaymentService)hdfcPaymentService).getRedirectUrl();
|
|
|
169 |
log.info(this.redirectURL);
|
|
|
170 |
return "success";
|
|
|
171 |
}
|
|
|
172 |
}
|
| 2199 |
chandransh |
173 |
|
| 3063 |
chandransh |
174 |
if(paymentOption.equals(IPaymentService.HDFC_VISA))
|
|
|
175 |
paymentOption = IPaymentService.EBS_VISA;
|
| 5538 |
anupam.sin |
176 |
else if(paymentOption.equals(IPaymentService.HDFC_MASTERCARD_DEBIT) || paymentOption.equals(IPaymentService.HDFC_MASTERCARD_CREDIT))
|
| 3063 |
chandransh |
177 |
paymentOption = IPaymentService.EBS_MASTERCARD;
|
|
|
178 |
else if(paymentOption.equals(IPaymentService.HDFC_VISA_ELECTRON))
|
|
|
179 |
paymentOption = null; //Since we don't know the bank's name in this case, we'll let the user select the bank on the EBS page.
|
|
|
180 |
|
|
|
181 |
IPaymentService ebsPaymentService = new EbsPaymentService();
|
| 3561 |
rajveer |
182 |
paymentId = ebsPaymentService.createPayment(userinfo.getCartId(), userinfo.getUserId(), txnId, paymentOption, sourceId);
|
| 3063 |
chandransh |
183 |
if(paymentId == IPaymentService.PAYMENT_NOT_CREATED){
|
|
|
184 |
addActionError("We are experiencing some problems. Please try later.");
|
| 3616 |
chandransh |
185 |
log.error("Unable to process payment through EBS.");
|
| 3101 |
chandransh |
186 |
return "proceed-to-pay-redirect";
|
| 3063 |
chandransh |
187 |
} else {
|
|
|
188 |
log.info("Successfully created payment for EBS to process. Redirecting to /ebs-pay/" + paymentId);
|
|
|
189 |
return "ebs-pay-redirect";
|
|
|
190 |
}
|
|
|
191 |
}
|
|
|
192 |
|
| 572 |
chandransh |
193 |
}
|
| 3063 |
chandransh |
194 |
|
|
|
195 |
/**
|
|
|
196 |
* Verifies if the recaptcha response matches the recaptcha challenge.
|
|
|
197 |
*
|
|
|
198 |
* @return True if the captcha was valid, false otherwise.
|
|
|
199 |
*/
|
|
|
200 |
private boolean verifyCaptcha() {
|
| 4609 |
phani.kuma |
201 |
String cookieCaptchaAnswer = getCookie(Captcha.NAME, true, "saholic");
|
|
|
202 |
String captchaReceived = (String) request.getParameter("captcha_response_field");
|
|
|
203 |
|
|
|
204 |
if (captchaReceived.equalsIgnoreCase(cookieCaptchaAnswer)) {
|
|
|
205 |
try {
|
|
|
206 |
DataLogger.logData(EventType.CAPTCHA_SUCCESS, getSessionId(), userinfo.getUserId(), userinfo.getEmail());
|
|
|
207 |
} catch (Exception e1) {
|
|
|
208 |
log.warn("Unable to log orders through the datalogger", e1);
|
|
|
209 |
}
|
|
|
210 |
return true;
|
|
|
211 |
}
|
|
|
212 |
else {
|
|
|
213 |
try {
|
|
|
214 |
DataLogger.logData(EventType.CAPTCHA_FAILED, getSessionId(), userinfo.getUserId(), userinfo.getEmail());
|
|
|
215 |
} catch (Exception e1) {
|
|
|
216 |
log.warn("Unable to log orders through the datalogger", e1);
|
|
|
217 |
}
|
|
|
218 |
return false;
|
|
|
219 |
}
|
| 3063 |
chandransh |
220 |
}
|
| 572 |
chandransh |
221 |
|
| 507 |
rajveer |
222 |
public String getId(){
|
|
|
223 |
return id;
|
|
|
224 |
}
|
| 419 |
rajveer |
225 |
|
| 507 |
rajveer |
226 |
public void setId(String id){
|
|
|
227 |
this.id = id;
|
|
|
228 |
}
|
| 419 |
rajveer |
229 |
|
| 507 |
rajveer |
230 |
public String getMyaccountHeaderSnippet(){
|
|
|
231 |
return htmlSnippets.get("MYACCOUNT_HEADER");
|
|
|
232 |
}
|
|
|
233 |
|
|
|
234 |
public String getOrderDetailsSnippet(){
|
|
|
235 |
return htmlSnippets.get("ORDER_DETAILS");
|
|
|
236 |
}
|
|
|
237 |
|
| 712 |
rajveer |
238 |
public long getTxn(){
|
|
|
239 |
return this.txnId;
|
| 517 |
rajveer |
240 |
}
|
| 894 |
rajveer |
241 |
|
|
|
242 |
/**
|
|
|
243 |
*
|
|
|
244 |
* @param addressId
|
|
|
245 |
* @param currentCartId
|
|
|
246 |
* @return
|
|
|
247 |
*/
|
| 5326 |
rajveer |
248 |
private boolean createOrders(long addressId, long currentCartId, long currentUserId){
|
| 3126 |
rajveer |
249 |
UserClient userServiceClient = null;
|
| 894 |
rajveer |
250 |
try {
|
| 3126 |
rajveer |
251 |
userServiceClient = new UserClient();
|
| 894 |
rajveer |
252 |
} catch (Exception e) {
|
| 2296 |
chandransh |
253 |
log.error("Unable to talk to the user context service.", e);
|
| 894 |
rajveer |
254 |
return false;
|
|
|
255 |
}
|
|
|
256 |
|
|
|
257 |
in.shop2020.model.v1.user.UserContextService.Client userClient = userServiceClient.getClient();
|
|
|
258 |
try {
|
|
|
259 |
userClient.addAddressToCart(currentCartId, addressId);
|
|
|
260 |
} catch (ShoppingCartException e1) {
|
| 2296 |
chandransh |
261 |
log.error("Not able to set address in the cart.", e1);
|
| 894 |
rajveer |
262 |
return false;
|
|
|
263 |
} catch (TException e1) {
|
| 2296 |
chandransh |
264 |
log.error("Thrift exception while setting address in cart.", e1);
|
| 894 |
rajveer |
265 |
return false;
|
|
|
266 |
}
|
|
|
267 |
|
|
|
268 |
|
|
|
269 |
try {
|
| 3561 |
rajveer |
270 |
String errorMsg = userClient.validateCart(currentCartId, sourceId);
|
| 1466 |
ankur.sing |
271 |
if(!errorMsg.isEmpty()){
|
|
|
272 |
addActionError(errorMsg);
|
| 894 |
rajveer |
273 |
return false;
|
|
|
274 |
}
|
|
|
275 |
} catch (ShoppingCartException e1) {
|
| 2296 |
chandransh |
276 |
log.error("Error while validating shopping cart.", e1);
|
| 894 |
rajveer |
277 |
return false;
|
|
|
278 |
} catch (TException e) {
|
| 2296 |
chandransh |
279 |
log.error("Thrift exception while validating cart.", e);
|
| 894 |
rajveer |
280 |
return false;
|
|
|
281 |
}
|
|
|
282 |
|
|
|
283 |
|
|
|
284 |
try {
|
| 3859 |
vikas |
285 |
String sessionSrc = getCookie(TrackingInterceptor.SESSION_SRC_COOKIE, true, TrackingInterceptor.ENCRIPTION_STRING);
|
|
|
286 |
String firstSrc = getCookie(TrackingInterceptor.SRC_COOKIE, true, TrackingInterceptor.ENCRIPTION_STRING);
|
| 2817 |
vikas |
287 |
|
| 3859 |
vikas |
288 |
long sessionTime = 0;
|
|
|
289 |
try {
|
|
|
290 |
sessionTime = Long.parseLong(getCookie(TrackingInterceptor.SESSION_SRC_TIME_COOKIE, false, null));
|
|
|
291 |
} catch (Exception e) {
|
|
|
292 |
log.warn("Unable to parse session src time cookie.", e);
|
| 2817 |
vikas |
293 |
}
|
| 3859 |
vikas |
294 |
long firstSrcTime = 0;
|
|
|
295 |
try {
|
|
|
296 |
firstSrcTime = Long.parseLong(getCookie(TrackingInterceptor.SRC_TIME_COOKIE, false, null));
|
|
|
297 |
} catch (Exception e) {
|
|
|
298 |
log.warn("Unable to parse session src time cookie.", e);
|
|
|
299 |
}
|
| 5326 |
rajveer |
300 |
txnId = userClient.createOrders(currentCartId, sessionSrc, sessionTime, firstSrc, firstSrcTime, currentUserId);
|
| 894 |
rajveer |
301 |
} catch (ShoppingCartException e1) {
|
| 2296 |
chandransh |
302 |
log.error("Error while creating orders from cart.", e1);
|
| 894 |
rajveer |
303 |
return false;
|
|
|
304 |
} catch (TException e) {
|
| 2296 |
chandransh |
305 |
log.error("Thrift exception while creating orders from cart.", e);
|
| 894 |
rajveer |
306 |
return false;
|
|
|
307 |
}
|
|
|
308 |
|
| 3126 |
rajveer |
309 |
TransactionClient transactionServiceClient = null;
|
| 4325 |
mandeep.dh |
310 |
|
| 2183 |
vikas |
311 |
try {
|
| 3126 |
rajveer |
312 |
transactionServiceClient = new TransactionClient();
|
| 2183 |
vikas |
313 |
List<Order> orders = transactionServiceClient.getClient().getOrdersForTransaction(txnId, userinfo.getUserId());
|
|
|
314 |
for (Order order : orders) {
|
| 3394 |
vikas |
315 |
List<Order> tmpOrders = new ArrayList<Order>();
|
|
|
316 |
tmpOrders.add(order);
|
|
|
317 |
String itemIdString = Utils.getItemIdStringFromOrders(tmpOrders);
|
| 3209 |
vikas |
318 |
DataLogger.logData(EventType.ORDER_CREATION, getSessionId(), userinfo.getUserId(), userinfo.getEmail(),
|
| 3212 |
vikas |
319 |
Long.toString(order.getId()), Long.toString(currentCartId), itemIdString);
|
| 2183 |
vikas |
320 |
}
|
|
|
321 |
} catch (Exception e1) {
|
| 2296 |
chandransh |
322 |
log.warn("Unable to log orders through the datalogger", e1);
|
| 2183 |
vikas |
323 |
}
|
| 894 |
rajveer |
324 |
|
|
|
325 |
return true;
|
|
|
326 |
}
|
| 4325 |
mandeep.dh |
327 |
|
|
|
328 |
/**
|
|
|
329 |
* This method updates address of a given order.
|
|
|
330 |
*
|
|
|
331 |
* @return
|
|
|
332 |
*/
|
|
|
333 |
public String modifyAddress() {
|
|
|
334 |
long orderId = Long.parseLong(request.getParameter("orderId"));
|
|
|
335 |
long addressId = Long.valueOf(request.getParameter("addressId"));
|
|
|
336 |
|
|
|
337 |
try {
|
|
|
338 |
TransactionClient transactionServiceClient = new TransactionClient();
|
|
|
339 |
in.shop2020.model.v1.order.TransactionService.Client transactionClient
|
|
|
340 |
= transactionServiceClient.getClient();
|
|
|
341 |
transactionClient.updateShipmentAddress(orderId, addressId);
|
|
|
342 |
} catch (TTransportException e) {
|
|
|
343 |
log.error("Could not update address: " + addressId + " for orderId: " + orderId, e);
|
|
|
344 |
} catch (NumberFormatException e) {
|
|
|
345 |
log.error("Could not update address: " + addressId + " for orderId: " + orderId, e);
|
|
|
346 |
} catch (TransactionServiceException e) {
|
|
|
347 |
log.error("Could not update address: " + addressId + " for orderId: " + orderId, e);
|
|
|
348 |
} catch (TException e) {
|
|
|
349 |
log.error("Could not update address: " + addressId + " for orderId: " + orderId, e);
|
|
|
350 |
}
|
|
|
351 |
|
|
|
352 |
return "index";
|
|
|
353 |
}
|
|
|
354 |
|
| 1318 |
rajveer |
355 |
public String getRedirectURL(){
|
|
|
356 |
return this.redirectURL;
|
|
|
357 |
}
|
| 419 |
rajveer |
358 |
}
|