From 74ea1167ed6d8b8f0b5ea9b60ae1e7a458004e2a Mon Sep 17 00:00:00 2001 From: buzzcode2007 <73412182+buzz_lightsnack_2007@users.noreply.github.com> Date: Tue, 27 Feb 2024 19:24:21 +0800 Subject: [PATCH] set up transaction finalization function Commented functions are expected names. --- src/main/java/tech/iBeans/POSware/Lite/transact.java | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/main/java/tech/iBeans/POSware/Lite/transact.java b/src/main/java/tech/iBeans/POSware/Lite/transact.java index 884f698..d7c7e6a 100644 --- a/src/main/java/tech/iBeans/POSware/Lite/transact.java +++ b/src/main/java/tech/iBeans/POSware/Lite/transact.java @@ -250,4 +250,14 @@ public class transact { // Return the state. return(true); }; + + public static void finalise() { + /* Finalize the transaction. */ + + // TODO Replace this section with the ability to initialize receiving payment in the backend. + + // payment.begin(); + // receipt.finalise(); + } + }