Examples of deposit()


Examples of org.melonbrew.fe.database.Account.deposit()

            return true;
        }

        String formattedMoney = plugin.getAPI().format(money);

        victim.deposit(money);

        Phrase.PLAYER_GRANT_MONEY.sendWithPrefix(sender, formattedMoney, victim.getName());

        Player receiverPlayer = plugin.getServer().getPlayerExact(victim.getName());
View Full Code Here

Examples of org.melonbrew.fe.database.Account.deposit()

        if (account == null) {
            return new EconomyResponse(0, 0, ResponseType.FAILURE, "Account doesn't exist");
        }

        account.deposit(amount);

        return new EconomyResponse(amount, account.getMoney(), ResponseType.SUCCESS, "");
    }

    @Override
View Full Code Here

Examples of org.mifosplatform.portfolio.savings.domain.RecurringDepositAccount.deposit()

        SavingsAccountTransaction transaction = null;
        if (savingsAccountTransaction.isDeposit()) {
            final SavingsAccountTransactionDTO transactionDTO = new SavingsAccountTransactionDTO(fmt, transactionDate, transactionAmount,
                    paymentDetail, savingsAccountTransaction.createdDate());
            transaction = account.deposit(transactionDTO);
        } else {
            final SavingsAccountTransactionDTO transactionDTO = new SavingsAccountTransactionDTO(fmt, transactionDate, transactionAmount,
                    paymentDetail, savingsAccountTransaction.createdDate());
            transaction = account.withdraw(transactionDTO, true);
        }
View Full Code Here

Examples of org.mifosplatform.portfolio.savings.domain.SavingsAccount.deposit()

        SavingsAccountTransaction transaction = null;
        boolean isInterestTransfer = false;
        final SavingsAccountTransactionDTO transactionDTO = new SavingsAccountTransactionDTO(fmt, transactionDate, transactionAmount,
                paymentDetail, savingsAccountTransaction.createdDate());
        if (savingsAccountTransaction.isDeposit()) {
            transaction = account.deposit(transactionDTO);
        } else {
            transaction = account.withdraw(transactionDTO, true);
        }
        final Long newtransactionId = saveTransactionToGenerateTransactionId(transaction);
View Full Code Here

Examples of org.sodatest.examples.basic.java.BankAccountJava.deposit()

    @Override
    public void executeEvent() {
        BankAccountJava account = service.get(accountName);
        if (account != null) {
            account.deposit(amount);
        } else {
            throw new RuntimeException("Unknown account");
        }
    }
}
View Full Code Here

Examples of vs.example.Account.deposit()

            System.out.println("\tspecify ammount");
            System.out.print(">> ");
            line = bis.readLine();
            long amount = Long.parseLong(line);
            try {
              account.deposit(amount);
              System.out.println("\tamount "+amount+" deposited");
            }
            catch (AccountException e) {
              System.out.println("Exception occured: class= " + e.getClass().getCanonicalName());
              System.out.println("Exception occured: message= " + e.getMessage());
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.