Subversion Repositories SmartDukaan

Rev

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

Rev 6196 Rev 6206
Line 62... Line 62...
62
		
62
		
63
    static{
63
    static{
64
    	TransactionClient tc;
64
    	TransactionClient tc;
65
        try {
65
        try {
66
            tc = new TransactionClient();
66
            tc = new TransactionClient();
67
            providers = tc.getClient().getServiceProviders(RechargeType.MOBILE);
67
            providers = tc.getClient().getServiceProviders(RechargeType.MOBILE, false);
68
            for(Entry<Long, String> providerEntry: tc.getClient().getServiceProviders(RechargeType.DTH).entrySet()){
68
            for(Entry<Long, String> providerEntry: tc.getClient().getServiceProviders(RechargeType.DTH, false).entrySet()){
69
            	providers.put(providerEntry.getKey(), providerEntry.getValue());
69
            	providers.put(providerEntry.getKey(), providerEntry.getValue());
70
            }
70
            }
71
             
71
             
72
        } catch (Exception e) {
72
        } catch (Exception e) {
73
            logger.error("Cannot get providers", e);
73
            logger.error("Cannot get providers", e);