/// <summary> /// Makes the customer give money to the given checkout. The money is subtracted from the customers wallet /// </summary> /// <param name="checkout">The checkout to pay the money to</param> public void Pay(Checkout checkout) { checkout.Pay(inventory.TotalCost); }