Package org.cyclos.entities.banking
Class AccountFee
- java.lang.Object
-
- org.cyclos.entities.SimpleEntity
-
- org.cyclos.entities.NetworkedEntity
-
- org.cyclos.entities.BaseEntity
-
- org.cyclos.entities.NamedEntity
-
- org.cyclos.entities.ConfigurationEntity
-
- org.cyclos.entities.banking.AccountFee
-
- All Implemented Interfaces:
Cloneable,Comparable<NamedEntity>,HasCurrency,ProcessableForDataTranslation,IEntity,IInternalNamedEntity,INamedEntity
@Entity public class AccountFee extends ConfigurationEntity implements HasCurrency
Taxes are charged over all accounts of a given type
-
-
Constructor Summary
Constructors Constructor Description AccountFee()
-
Method Summary
-
Methods inherited from class org.cyclos.entities.ConfigurationEntity
getDescription, getInternalName, setDescription, setInternalName, toShortString, toString
-
Methods inherited from class org.cyclos.entities.NamedEntity
compareTo, getName, getNames, setName
-
Methods inherited from class org.cyclos.entities.BaseEntity
getVersion
-
Methods inherited from class org.cyclos.entities.NetworkedEntity
isGlobal
-
Methods inherited from class org.cyclos.entities.SimpleEntity
clone, equals, getId, getId, getIds, getUniqueIds, getUniqueIds, hashCode, isPersistent, isTransient
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.cyclos.model.IInternalNamedEntity
matches
-
-
-
-
Method Detail
-
getAccountType
public UserAccountType getAccountType()
-
getAmount
public BigDecimal getAmount()
-
getBalanceHandling
public AccountFeeBalanceHandling getBalanceHandling()
-
getChargeMode
public AccountFeeChargeMode getChargeMode()
-
getCurrency
public Currency getCurrency()
- Specified by:
getCurrencyin interfaceHasCurrency
-
getCustomScript
public CustomScript getCustomScript()
-
getCustomScriptParameters
public String getCustomScriptParameters()
-
getDataTranslationType
public DataTranslationType getDataTranslationType()
Description copied from class:BaseEntityIf this entity allows data translation, should return the translation type- Overrides:
getDataTranslationTypein classBaseEntity- Returns:
-
getDayMonth
public Integer getDayMonth()
-
getDayWeek
public WeekDay getDayWeek()
-
getEnabledSince
public Date getEnabledSince()
-
getFreeBase
public BigDecimal getFreeBase()
-
getHour
public Integer getHour()
-
getLogs
public Set<AccountFeeLog> getLogs()
-
getNetwork
public Network getNetwork()
Description copied from class:NetworkedEntityReturns the network this entity belongs to- Specified by:
getNetworkin classNetworkedEntity
-
getPaymentDirection
public AccountFeePaymentDirection getPaymentDirection()
-
getRecurrence
public TimeInterval getRecurrence()
-
getRunMode
public AccountFeeRunMode getRunMode()
-
getTransferType
public GeneratedTransferType getTransferType()
-
isEnabled
public boolean isEnabled()
-
isManual
public boolean isManual()
-
isNotifyWhenSuccess
public boolean isNotifyWhenSuccess()
-
isScheduled
public boolean isScheduled()
-
setAccountType
public void setAccountType(UserAccountType accountType)
-
setAmount
public void setAmount(BigDecimal amount)
-
setBalanceHandling
public void setBalanceHandling(AccountFeeBalanceHandling balanceHandling)
-
setChargeMode
public void setChargeMode(AccountFeeChargeMode chargeMode)
-
setCustomScript
public void setCustomScript(CustomScript customScript)
-
setCustomScriptParameters
public void setCustomScriptParameters(String customScriptParameters)
-
setDayMonth
public void setDayMonth(Integer dayMonth)
-
setDayWeek
public void setDayWeek(WeekDay dayWeek)
-
setEnabled
public void setEnabled(boolean enabled)
-
setEnabledSince
public void setEnabledSince(Date enabledSince)
-
setFreeBase
public void setFreeBase(BigDecimal freeBase)
-
setHour
public void setHour(Integer hour)
-
setLogs
public void setLogs(Set<AccountFeeLog> logs)
-
setNotify
public void setNotify(boolean notify)
-
setNotifyWhenSuccess
public void setNotifyWhenSuccess(boolean notifyWhenSuccess)
-
setPaymentDirection
public void setPaymentDirection(AccountFeePaymentDirection paymentDirection)
-
setRecurrence
public void setRecurrence(TimeInterval recurrence)
-
setRunMode
public void setRunMode(AccountFeeRunMode runMode)
-
setTransferType
public void setTransferType(GeneratedTransferType transferType)
-
-