Examples of payFines()


Examples of kirjastox.model.Customer.payFines()

        try {
            Customer selectedCustomer = (Customer) customersTableView.getSelectionModel().getSelectedItem();
           
            // Tarkastetaan onko asiakkaalla maksettavia sakkoja, jottei turhaan päivitetä persistenttiä dataa
            if(selectedCustomer.getFines() > 0){
                selectedCustomer.payFines();
                this.dataController.updateCustomersPersistentStore();
            }
           
        } catch (Exception e) {
            System.out.println("Customers: Returning customers loans failed");
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.