Subversion Repositories SmartDukaan

Rev

Rev 7125 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 7125 Rev 7207
Line 37... Line 37...
37
    private String denominationType;
37
    private String denominationType;
38
    private String circlecode;
38
    private String circlecode;
39
    private List<RechargeDenomination> rechargeDenominations = null;
39
    private List<RechargeDenomination> rechargeDenominations = null;
40
    private static final long serialVersionUID = 2079308723099307749L;
40
    private static final long serialVersionUID = 2079308723099307749L;
41
 
41
 
42
    private Long storeId;
42
    
43
    private static Logger log = Logger.getLogger(Class.class);
43
    private static Logger log = Logger.getLogger(Class.class);
44
    private static Map<Long, String> mobileProvidersMap;
44
    private static Map<Long, String> mobileProvidersMap;
45
    private static Map<Long, String> dthProvidersMap;
45
    private static Map<Long, String> dthProvidersMap;
46
    private static Map<Long, List<RechargePlan>> operatorPlanMap;
46
    private static Map<Long, List<RechargePlan>> operatorPlanMap;
47
    public static Map<Long, HotspotStore> hotspotStores = new HashMap<Long, HotspotStore>();
-
 
48
    private String errorMsg = "";
47
    private String errorMsg = "";
49
    private String redirectUrl;
48
    private String redirectUrl;
50
    
49
    
51
    
50
    
52
    static {
51
    static {
Line 234... Line 233...
234
 
233
 
235
    public static Map<Long, String> getMobileProvidersMap() {
234
    public static Map<Long, String> getMobileProvidersMap() {
236
        return mobileProvidersMap;
235
        return mobileProvidersMap;
237
    }
236
    }
238
 
237
 
239
    public Long getStoreId() {
-
 
240
        return storeId;
-
 
241
    }
-
 
242
 
-
 
243
    public void setStoreId(Long storeId) {
-
 
244
        this.storeId = storeId;
-
 
245
    }
-
 
246
 
-
 
247
    public String getStoreCircleCode() {
238
    public String getStoreCircleCode() {
248
    	return (String)(request.getSession().getAttribute("STORE_CIRCLE_CODE"));
239
    	return (String)(request.getSession().getAttribute("STORE_CIRCLE_CODE"));
249
    }
240
    }
250
 
241
 
251
    public String getRedirectUrl() {
242
    public String getRedirectUrl() {
Line 253... Line 244...
253
    }
244
    }
254
 
245
 
255
    public void setRedirectUrl(String redirectUrl) {
246
    public void setRedirectUrl(String redirectUrl) {
256
        this.redirectUrl = redirectUrl;
247
        this.redirectUrl = redirectUrl;
257
    }
248
    }
258
    
-
 
259
    public String getStoreCode(){
-
 
260
    	return hotspotStores.get(storeId).getHotspotId();	
-
 
261
    }
-
 
262
	
-
 
263
    public String getCollectedAmount(){
-
 
264
    	return hotspotStores.get(storeId).getCollectedAmount()+"";
-
 
265
    }
-
 
266
	
-
 
267
}
249
}
268
250