From bb83044c782e1fb329d1ea0e62ab23e158ca13aa Mon Sep 17 00:00:00 2001 From: ibartkowski Date: Mon, 14 Oct 2024 19:07:46 +0200 Subject: [PATCH] Update Technikladen/Receipt.java Removed package line --- Technikladen/Receipt.java | 26 ++++++++++++-------------- 1 file changed, 12 insertions(+), 14 deletions(-) diff --git a/Technikladen/Receipt.java b/Technikladen/Receipt.java index c6168d8..95ddeb5 100755 --- a/Technikladen/Receipt.java +++ b/Technikladen/Receipt.java @@ -1,14 +1,12 @@ -package tech_store; - -public class Receipt { - private Order receiptOrder; - private Client receiptClient; - public Receipt(Order order, Client client) { - this.receiptOrder = order; - this.receiptClient = client; - } - public void printReceipt() { - System.out.println("Client:\n" + this.receiptClient.toString()); - System.out.println(this.receiptOrder.createReceipt()); - } -} +public class Receipt { + private Order receiptOrder; + private Client receiptClient; + public Receipt(Order order, Client client) { + this.receiptOrder = order; + this.receiptClient = client; + } + public void printReceipt() { + System.out.println("Client:\n" + this.receiptClient.toString()); + System.out.println(this.receiptOrder.createReceipt()); + } +}