Package org.cyclos.impl.banking
Class AccountWrapper
- java.lang.Object
-
- org.cyclos.impl.banking.AccountWrapper
-
- All Implemented Interfaces:
ProcessableForProxying
public class AccountWrapper extends Object implements ProcessableForProxying
Wraps an account for Thymeleaf expressions
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAccountWrapper()AccountWrapper(Account account)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AccountgetAccount()BigDecimalgetARate()BigDecimalgetAvailableBalance()BigDecimalgetBalance()BigDecimalgetCreditLimit()CurrencygetCurrency()BigDecimalgetDRate()DateTimegetNegativeSince()StringgetNumber()BigDecimalgetRateBalanceCorrection()BigDecimalgetReservedAmount()AccountStatusVOgetStatus()AccountTypegetType()BigDecimalgetVirtualRatedBalance()List<AccountHistoryEntry>lastCredits(int count)List<AccountHistoryEntry>lastDebits(int count)List<AccountHistoryEntry>lastTransfers(int count)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.cyclos.entities.ProcessableForProxying
getProxyClass
-
-
-
-
Constructor Detail
-
AccountWrapper
public AccountWrapper(Account account)
-
AccountWrapper
protected AccountWrapper()
-
-
Method Detail
-
getAccount
public Account getAccount()
-
getARate
public BigDecimal getARate()
-
getAvailableBalance
public BigDecimal getAvailableBalance()
-
getBalance
public BigDecimal getBalance()
-
getCreditLimit
public BigDecimal getCreditLimit()
-
getCurrency
public Currency getCurrency()
-
getDRate
public BigDecimal getDRate()
-
getNegativeSince
public DateTime getNegativeSince()
-
getNumber
public String getNumber()
-
getRateBalanceCorrection
public BigDecimal getRateBalanceCorrection()
-
getReservedAmount
public BigDecimal getReservedAmount()
-
getStatus
public AccountStatusVO getStatus()
-
getType
public AccountType getType()
-
getVirtualRatedBalance
public BigDecimal getVirtualRatedBalance()
-
lastCredits
public List<AccountHistoryEntry> lastCredits(int count)
-
lastDebits
public List<AccountHistoryEntry> lastDebits(int count)
-
lastTransfers
public List<AccountHistoryEntry> lastTransfers(int count)
-
-