public static String getRemainingDate() { ServiceReference.dbi2iBenimleClient connect = new ServiceReference.dbi2iBenimleClient(); String remainingDate = connect.getBalance(contractID).expiration_date; return(remainingDate); }
public static int getRemainingSms() { ServiceReference.dbi2iBenimleClient connect = new ServiceReference.dbi2iBenimleClient(); int remainingSms = connect.getBalance(contractID).remaining_sms; return(remainingSms); }
public static int getRemainingInternet() { ServiceReference.dbi2iBenimleClient connect = new ServiceReference.dbi2iBenimleClient(); int remainingInternet = connect.getBalance(contractID).remaining_data; return(remainingInternet); }
public static int getRemainingMinute() { ServiceReference.dbi2iBenimleClient connectObject = new ServiceReference.dbi2iBenimleClient(); int remainingMinute = connectObject.getBalance(contractID).remaining_voice; return(remainingMinute); }