seperate pay function
This commit is contained in:
parent
529365b88d
commit
2a94b86ba0
1 changed files with 6 additions and 1 deletions
|
@ -249,12 +249,17 @@ public class transact {
|
|||
return(true);
|
||||
};
|
||||
|
||||
public static void pay() {
|
||||
/* Initialize the payment process of the transaction. */
|
||||
payment.init();
|
||||
};
|
||||
|
||||
public static void finalise() {
|
||||
/* Finalize the transaction. */
|
||||
|
||||
// TODO Replace this section with wrapping up the payment, "saving" the receipt, and then initializing it.
|
||||
|
||||
// receipt.finalise();
|
||||
}
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue