org.vfdtech.interfaces.ICoreBanking Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of utilities-and-generic-tools Show documentation
Show all versions of utilities-and-generic-tools Show documentation
A utilities service with generic tools implementation. Can be
plugged into your java project
package org.vfdtech.interfaces;
import java.math.BigDecimal;
public interface ICoreBanking {
public T doDebit(String accountNumber, BigDecimal amount);
public T doCredit(String accountNumber, BigDecimal amount);
public T doAccountLookup(String accountNumber);
public T holdAmount(String accountNumber, BigDecimal amount);
public T releaseAmount(String holdId);
public boolean checkBalanceSufficiency(String accountNumber);
public String checkAccountStatus(String accountNumber);
public String hideCardNumber(String cardNumber);
public String getMaskedPan(String firstSixDigits, String lastFourDigits);
}