public void set(String in, int index) {
		switch(index) {
		case 1:
			serviceCode = in;
			break;
		case 2:
			memberNum = in;
			break;
		case 3:
			providerNum = in;
			break;
		case 4:
			currentTime = in;
			break;
		case 5:
			dateOfService = in;
			break;
		case 6:
			comments = in;
			break;
		case 7:
			fee = in;
			break;
		case 8:
			isPayed = in;
			break;
		default:
			System.out.println("Please enter a valid number.");
		}
		
	}