Exemple #1
0
        public static String getRemainingDate()
        {
            ServiceReference.dbi2iBenimleClient connect = new ServiceReference.dbi2iBenimleClient();
            String remainingDate = connect.getBalance(contractID).expiration_date;

            return(remainingDate);
        }
Exemple #2
0
        public static int getRemainingSms()
        {
            ServiceReference.dbi2iBenimleClient connect = new ServiceReference.dbi2iBenimleClient();
            int remainingSms = connect.getBalance(contractID).remaining_sms;

            return(remainingSms);
        }
Exemple #3
0
        public static int getRemainingInternet()
        {
            ServiceReference.dbi2iBenimleClient connect = new ServiceReference.dbi2iBenimleClient();
            int remainingInternet = connect.getBalance(contractID).remaining_data;

            return(remainingInternet);
        }
Exemple #4
0
        public static int getRemainingMinute()
        {
            ServiceReference.dbi2iBenimleClient connectObject = new ServiceReference.dbi2iBenimleClient();
            int remainingMinute = connectObject.getBalance(contractID).remaining_voice;

            return(remainingMinute);
        }