Package org.cyclos.entities.banking
Class AccountFeeLog
- java.lang.Object
-
- org.cyclos.entities.SimpleEntity
-
- org.cyclos.entities.NetworkedEntity
-
- org.cyclos.entities.banking.AccountFeeLog
-
- All Implemented Interfaces:
Cloneable,HasCurrency,HasCurrencyAmount,HasNetwork,ProcessableForProxying,IEntity,HasAmount
@Entity public class AccountFeeLog extends NetworkedEntity implements HasCurrencyAmount
An account fee log records a charge execution
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.cyclos.entities.SimpleEntity
SimpleEntity.EntityLoadNotifier
-
-
Constructor Summary
Constructors Constructor Description AccountFeeLog()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AccountFeegetAccountFee()BigDecimalgetAmount()CurrencygetCurrency()DategetDate()List<AccountFeeLogEvent>getEvents()BigDecimalgetFreeBase()NetworkgetNetwork()Returns the network this entity belongs toDatePeriodgetPeriod()intgetRechargeAttempt()AccountFeeLogStatusgetStatus()BigDecimalgetTotalChargedAmount()booleanisArchived()voidsetAccountFee(AccountFee accountFee)voidsetAmount(BigDecimal amount)voidsetArchived(boolean archived)voidsetDate(Date date)voidsetEvents(List<AccountFeeLogEvent> events)voidsetFreeBase(BigDecimal freeBase)voidsetPeriod(DatePeriod period)voidsetRechargeAttempt(int rechargeAttempt)voidsetStatus(AccountFeeLogStatus status)voidsetTotalChargedAmount(BigDecimal totalChargedAmount)-
Methods inherited from class org.cyclos.entities.NetworkedEntity
isGlobal
-
Methods inherited from class org.cyclos.entities.SimpleEntity
equals, getId, hashCode, id, ids, isPersistent, isTransient, register, setId, toShortString, toString, uniqueIds, uniqueIds
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.cyclos.entities.banking.HasCurrency
round, withCurrency
-
Methods inherited from interface org.cyclos.entities.banking.HasCurrencyAmount
getCurrencyAmount
-
Methods inherited from interface org.cyclos.entities.ProcessableForProxying
getProxyClass
-
-
-
-
Method Detail
-
getAccountFee
public AccountFee getAccountFee()
-
getAmount
public BigDecimal getAmount()
-
getCurrency
public Currency getCurrency()
- Specified by:
getCurrencyin interfaceHasCurrency
-
getDate
public Date getDate()
-
getEvents
public List<AccountFeeLogEvent> getEvents()
-
getFreeBase
public BigDecimal getFreeBase()
-
getNetwork
public Network getNetwork()
Description copied from interface:HasNetworkReturns the network this entity belongs to- Specified by:
getNetworkin interfaceHasNetwork
-
getPeriod
public DatePeriod getPeriod()
-
getRechargeAttempt
public int getRechargeAttempt()
-
getStatus
public AccountFeeLogStatus getStatus()
-
getTotalChargedAmount
public BigDecimal getTotalChargedAmount()
-
isArchived
public boolean isArchived()
-
setAccountFee
public void setAccountFee(AccountFee accountFee)
-
setAmount
public void setAmount(BigDecimal amount)
-
setArchived
public void setArchived(boolean archived)
-
setDate
public void setDate(Date date)
-
setEvents
public void setEvents(List<AccountFeeLogEvent> events)
-
setFreeBase
public void setFreeBase(BigDecimal freeBase)
-
setPeriod
public void setPeriod(DatePeriod period)
-
setRechargeAttempt
public void setRechargeAttempt(int rechargeAttempt)
-
setStatus
public void setStatus(AccountFeeLogStatus status)
-
setTotalChargedAmount
public void setTotalChargedAmount(BigDecimal totalChargedAmount)
-
-