public static void cashSelected()
	{
		askForAmount();
		String s = sc.nextLine();
		BigDecimal cashAmt;
		cashAmt = BigDecimal.valueOf(Double.parseDouble(s));

		if (payments == null || payments.isEmpty())
		{

			if (s == null || s.isEmpty())
			{
				System.out.println("Error: Please enter a valid cash amount.");
				cashSelected();
			}
			if (cashAmt.compareTo(InvoiceDisplay.getTotal()) < 0)
			{
				payments.add(new CashPayment(cashAmt, "CASH"));
				calculateIncompleteTotal(cashAmt);
			}
		}
		else
		{
			if (s == null || s.isEmpty())
			{
				System.out.println("Error: Please enter a valid cash amount.");
				cashSelected();
			}

			else if (cashAmt.compareTo(remainingTotal) <= 0)
			{
				payments.add(new CashPayment(cashAmt, "CASH"));
				calculateTotalAndFinish(cashAmt);
			}

		}
	}