Update Technikladen/Receipt.java
Removed package line
This commit is contained in:
parent
fdb1719171
commit
bb83044c78
@ -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());
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user