Class DepositAccountRecurringDetail

java.lang.Object
org.apache.fineract.infrastructure.core.domain.AbstractPersistableCustom<Long>
org.apache.fineract.portfolio.savings.domain.DepositAccountRecurringDetail
All Implemented Interfaces:
Serializable, Cloneable, org.eclipse.persistence.descriptors.changetracking.ChangeTracker, org.eclipse.persistence.internal.descriptors.PersistenceEntity, org.eclipse.persistence.internal.descriptors.PersistenceObject, org.eclipse.persistence.internal.weaving.PersistenceWeaved, org.eclipse.persistence.internal.weaving.PersistenceWeavedChangeTracking, org.eclipse.persistence.internal.weaving.PersistenceWeavedFetchGroups, org.eclipse.persistence.queries.FetchGroupTracker, org.springframework.data.domain.Persistable<Long>

@Entity public class DepositAccountRecurringDetail extends org.apache.fineract.infrastructure.core.domain.AbstractPersistableCustom<Long>
See Also:
  • Field Summary

    Fields inherited from class org.apache.fineract.infrastructure.core.domain.AbstractPersistableCustom

    _persistence_cacheKey, _persistence_fetchGroup, _persistence_listener, _persistence_primaryKey, _persistence_session, _persistence_shouldRefreshFetchGroup
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
     
     
    protected
    DepositAccountRecurringDetail(BigDecimal mandatoryRecommendedDepositAmount, BigDecimal totalOverdueAmount, Integer noOfOverdueInstallments, org.apache.fineract.portfolio.savings.domain.DepositRecurringDetail recurringDetail, org.apache.fineract.portfolio.savings.domain.SavingsAccount account, boolean isCalendarInherited)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    boolean
     
     
    createNew(BigDecimal mandatoryRecommendedDepositAmount, org.apache.fineract.portfolio.savings.domain.DepositRecurringDetail recurringDetail, org.apache.fineract.portfolio.savings.domain.SavingsAccount account, boolean isCalendarInherited)
     
    boolean
     
    boolean
     
     
    org.apache.fineract.portfolio.savings.domain.DepositRecurringDetail
     
    update(org.apache.fineract.infrastructure.core.api.JsonCommand command)
     
    void
    updateAccountReference(org.apache.fineract.portfolio.savings.domain.SavingsAccount account)
     
    updateMandatoryRecommendedDepositAmount(BigDecimal newMandatoryRecommendedDepositAmount, LocalDate effectiveDate, Boolean isSavingsInterestPostingAtCurrentPeriodEnd, Integer financialYearBeginningMonth)
     
    void
    updateOverdueDetails(int noOfOverdueInstallments, org.apache.fineract.organisation.monetary.domain.Money totalOverdueAmount)
     

    Methods inherited from class org.apache.fineract.infrastructure.core.domain.AbstractPersistableCustom

    _persistence_checkFetched, _persistence_checkFetchedForSet, _persistence_get, _persistence_get_id, _persistence_getCacheKey, _persistence_getFetchGroup, _persistence_getId, _persistence_getPropertyChangeListener, _persistence_getSession, _persistence_isAttributeFetched, _persistence_new, _persistence_post_clone, _persistence_propertyChange, _persistence_resetFetchGroup, _persistence_set, _persistence_set_id, _persistence_setCacheKey, _persistence_setFetchGroup, _persistence_setId, _persistence_setPropertyChangeListener, _persistence_setSession, _persistence_setShouldRefreshFetchGroup, _persistence_shallow_clone, _persistence_shouldRefreshFetchGroup, getId, isNew, setId

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • DepositAccountRecurringDetail

      public DepositAccountRecurringDetail()
    • DepositAccountRecurringDetail

      protected DepositAccountRecurringDetail(BigDecimal mandatoryRecommendedDepositAmount, BigDecimal totalOverdueAmount, Integer noOfOverdueInstallments, org.apache.fineract.portfolio.savings.domain.DepositRecurringDetail recurringDetail, org.apache.fineract.portfolio.savings.domain.SavingsAccount account, boolean isCalendarInherited)
      Parameters:
      mandatoryRecommendedDepositAmount -
      totalOverdueAmount -
      noOfOverdueInstallments -
      recurringDetail -
      account -
  • Method Details

    • createNew

      public static DepositAccountRecurringDetail createNew(BigDecimal mandatoryRecommendedDepositAmount, org.apache.fineract.portfolio.savings.domain.DepositRecurringDetail recurringDetail, org.apache.fineract.portfolio.savings.domain.SavingsAccount account, boolean isCalendarInherited)
    • update

      public Map<String,Object> update(org.apache.fineract.infrastructure.core.api.JsonCommand command)
    • updateMandatoryRecommendedDepositAmount

      public Map<String,Object> updateMandatoryRecommendedDepositAmount(BigDecimal newMandatoryRecommendedDepositAmount, LocalDate effectiveDate, Boolean isSavingsInterestPostingAtCurrentPeriodEnd, Integer financialYearBeginningMonth)
    • recurringDetail

      public org.apache.fineract.portfolio.savings.domain.DepositRecurringDetail recurringDetail()
    • updateAccountReference

      public void updateAccountReference(org.apache.fineract.portfolio.savings.domain.SavingsAccount account)
    • isMandatoryDeposit

      public boolean isMandatoryDeposit()
    • allowWithdrawal

      public boolean allowWithdrawal()
    • adjustAdvanceTowardsFuturePayments

      public boolean adjustAdvanceTowardsFuturePayments()
    • mandatoryRecommendedDepositAmount

      public BigDecimal mandatoryRecommendedDepositAmount()
    • isCalendarInherited

      public boolean isCalendarInherited()
    • copy

    • updateOverdueDetails

      public void updateOverdueDetails(int noOfOverdueInstallments, org.apache.fineract.organisation.monetary.domain.Money totalOverdueAmount)