Class LoanAccountData
java.lang.Object
org.apache.fineract.portfolio.loanaccount.data.LoanAccountData
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionassociateMemberVariations(Map<Long, Integer> memberLoanCycle) associationsAndTemplate(Collection<org.apache.fineract.portfolio.loanproduct.data.LoanProductData> productOptions, Collection<org.apache.fineract.organisation.staff.data.StaffData> allowedLoanOfficers, Collection<org.apache.fineract.portfolio.calendar.data.CalendarData> calendarOptions, Collection<org.apache.fineract.portfolio.account.data.PortfolioAccountData> accountLinkingOptions, Boolean isRatesEnabled) associationsAndTemplate(org.apache.fineract.portfolio.loanaccount.loanschedule.data.LoanScheduleData repaymentSchedule, Collection<org.apache.fineract.portfolio.loanaccount.data.LoanTransactionData> transactions, Collection<org.apache.fineract.portfolio.loanaccount.data.LoanChargeData> charges, Collection<org.apache.fineract.portfolio.loanaccount.data.LoanCollateralManagementData> collateral, Collection<GuarantorData> guarantors, org.apache.fineract.portfolio.calendar.data.CalendarData calendarData, Collection<org.apache.fineract.portfolio.loanproduct.data.LoanProductData> productOptions, Collection<org.apache.fineract.infrastructure.core.data.EnumOptionData> termFrequencyTypeOptions, Collection<org.apache.fineract.infrastructure.core.data.EnumOptionData> repaymentFrequencyTypeOptions, Collection<org.apache.fineract.infrastructure.core.data.EnumOptionData> repaymentFrequencyNthDayTypeOptions, Collection<org.apache.fineract.infrastructure.core.data.EnumOptionData> repaymentFrequencyDayOfWeekTypeOptions, Collection<org.apache.fineract.portfolio.loanproduct.data.TransactionProcessingStrategyData> transactionProcessingStrategyOptions, Collection<org.apache.fineract.infrastructure.core.data.EnumOptionData> interestRateFrequencyTypeOptions, Collection<org.apache.fineract.infrastructure.core.data.EnumOptionData> amortizationTypeOptions, Collection<org.apache.fineract.infrastructure.core.data.EnumOptionData> interestTypeOptions, Collection<org.apache.fineract.infrastructure.core.data.EnumOptionData> interestCalculationPeriodTypeOptions, Collection<org.apache.fineract.portfolio.fund.data.FundData> fundOptions, Collection<org.apache.fineract.portfolio.charge.data.ChargeData> chargeOptions, org.apache.fineract.portfolio.charge.data.ChargeData chargeTemplate, Collection<org.apache.fineract.organisation.staff.data.StaffData> loanOfficerOptions, Collection<org.apache.fineract.infrastructure.codes.data.CodeValueData> loanPurposeOptions, Collection<org.apache.fineract.infrastructure.codes.data.CodeValueData> loanCollateralOptions, Collection<org.apache.fineract.portfolio.calendar.data.CalendarData> calendarOptions, Collection<org.apache.fineract.portfolio.note.data.NoteData> notes, Collection<org.apache.fineract.portfolio.account.data.PortfolioAccountData> accountLinkingOptions, org.apache.fineract.portfolio.account.data.PortfolioAccountData linkedAccount, Collection<org.apache.fineract.portfolio.loanaccount.data.DisbursementData> disbursementDetails, Collection<org.apache.fineract.portfolio.loanaccount.data.LoanTermVariationsData> emiAmountVariations, Collection<org.apache.fineract.portfolio.charge.data.ChargeData> overdueCharges, org.apache.fineract.portfolio.loanaccount.data.PaidInAdvanceData paidInAdvance, Collection<org.apache.fineract.portfolio.floatingrates.data.InterestRatePeriodData> interestRatesPeriods, Collection<org.apache.fineract.portfolio.accountdetails.data.LoanAccountSummaryData> clientActiveLoanOptions, List<org.apache.fineract.portfolio.rate.data.RateData> rates, Boolean isRatesEnabled, org.apache.fineract.portfolio.loanaccount.data.CollectionData delinquent, List<org.apache.fineract.infrastructure.core.data.EnumOptionData> loanScheduleTypeOptions, List<org.apache.fineract.infrastructure.core.data.EnumOptionData> loanScheduleProcessingTypeOptions, List<org.apache.fineract.portfolio.loanaccount.data.LoanTermVariationsData> loanTermVariations) static LoanAccountDatabasicLoanDetails(Long id, String accountNo, org.apache.fineract.portfolio.loanaccount.data.LoanStatusEnumData status, org.apache.fineract.infrastructure.core.domain.ExternalId externalId, Long clientId, String clientAccountNo, String clientName, Long clientOfficeId, org.apache.fineract.infrastructure.core.domain.ExternalId clientExternalId, org.apache.fineract.portfolio.group.data.GroupGeneralData group, org.apache.fineract.infrastructure.core.data.EnumOptionData loanType, Long loanProductId, String loanProductName, String loanProductDescription, boolean isLoanProductLinkedToFloatingRate, Long fundId, String fundName, Long loanPurposeId, String loanPurposeName, Long loanOfficerId, String loanOfficerName, org.apache.fineract.organisation.monetary.data.CurrencyData currencyData, BigDecimal proposedPrincipal, BigDecimal principal, BigDecimal approvedPrincipal, BigDecimal netDisbursalAmount, BigDecimal totalOverpaid, BigDecimal inArrearsTolerance, Integer termFrequency, org.apache.fineract.infrastructure.core.data.EnumOptionData termPeriodFrequencyType, Integer numberOfRepayments, Integer repaymentEvery, org.apache.fineract.infrastructure.core.data.EnumOptionData repaymentFrequencyType, org.apache.fineract.infrastructure.core.data.EnumOptionData repaymentFrequencyNthDayType, org.apache.fineract.infrastructure.core.data.EnumOptionData repaymentFrequencyDayOfWeekType, String transactionStrategy, String transactionStrategyName, org.apache.fineract.infrastructure.core.data.EnumOptionData amortizationType, BigDecimal interestRatePerPeriod, org.apache.fineract.infrastructure.core.data.EnumOptionData interestRateFrequencyType, BigDecimal annualInterestRate, org.apache.fineract.infrastructure.core.data.EnumOptionData interestType, boolean isFloatingInterestRate, BigDecimal interestRateDifferential, org.apache.fineract.infrastructure.core.data.EnumOptionData interestCalculationPeriodType, Boolean allowPartialPeriodInterestCalcualtion, LocalDate expectedFirstRepaymentOnDate, Integer graceOnPrincipalPayment, Integer recurringMoratoriumOnPrincipalPeriods, Integer graceOnInterestPayment, Integer graceOnInterestCharged, LocalDate interestChargedFromDate, org.apache.fineract.portfolio.loanaccount.data.LoanApplicationTimelineData timeline, org.apache.fineract.portfolio.loanaccount.data.LoanSummaryData loanSummary, BigDecimal feeChargesDueAtDisbursementCharged, Boolean syncDisbursementWithMeeting, Integer loanCounter, Integer loanProductCounter, Boolean multiDisburseLoan, Boolean canDefineInstallmentAmount, BigDecimal fixedEmiAmont, BigDecimal outstandingLoanBalance, Boolean inArrears, Integer graceOnArrearsAgeing, Boolean isNPA, org.apache.fineract.infrastructure.core.data.EnumOptionData daysInMonthType, org.apache.fineract.infrastructure.core.data.EnumOptionData daysInYearType, boolean isInterestRecalculationEnabled, org.apache.fineract.portfolio.loanaccount.data.LoanInterestRecalculationData interestRecalculationData, Boolean createStandingInstructionAtDisbursement, Boolean isVariableInstallmentsAllowed, Integer minimumGap, Integer maximumGap, org.apache.fineract.infrastructure.core.data.EnumOptionData subStatus, boolean canUseForTopup, boolean isTopup, Long closureLoanId, String closureLoanAccountNo, BigDecimal topupAmount, boolean isEqualAmortization, BigDecimal fixedPrincipalPercentagePerInstallment, org.apache.fineract.portfolio.delinquency.data.DelinquencyRangeData delinquencyRange, boolean disallowExpectedDisbursements, boolean fraud, LocalDate lastClosedBusinessDate, LocalDate overpaidOnDate, boolean chargedOff, boolean enableDownPayment, BigDecimal disbursedAmountPercentageForDownPayment, boolean enableAutoRepaymentForDownPayment, boolean enableInstallmentLevelDelinquency, org.apache.fineract.infrastructure.core.data.EnumOptionData loanScheduleType, org.apache.fineract.infrastructure.core.data.EnumOptionData loanScheduleProcessingType, Integer fixedLength, org.apache.fineract.infrastructure.core.data.StringEnumOptionData chargeOffBehaviour, boolean isInterestRecognitionOnDisbursementDate) static LoanAccountDataimportInstanceGroup(org.apache.fineract.infrastructure.core.data.EnumOptionData loanTypeEnumOption, Long groupIdforGroupLoan, Long productId, Long loanOfficerId, LocalDate submittedOnDate, Long fundId, BigDecimal principal, Integer numberOfRepayments, Integer repaidEvery, org.apache.fineract.infrastructure.core.data.EnumOptionData repaidEveryFrequencyEnums, Integer loanTermFrequency, org.apache.fineract.infrastructure.core.data.EnumOptionData loanTermFrequencyTypeEnum, BigDecimal nominalInterestRate, org.apache.fineract.infrastructure.core.data.EnumOptionData amortizationEnumOption, org.apache.fineract.infrastructure.core.data.EnumOptionData interestMethodEnum, org.apache.fineract.infrastructure.core.data.EnumOptionData interestCalculationPeriodEnum, BigDecimal arrearsTolerance, String transactionProcessingStrategyCode, Integer graceOnPrincipalPayment, Integer graceOnInterestPayment, Integer graceOnInterestCharged, LocalDate interestChargedFromDate, LocalDate repaymentsStartingFromDate, Integer rowIndex, org.apache.fineract.infrastructure.core.domain.ExternalId externalId, String linkAccountId, String locale, String dateFormat, Integer fixedLength) static LoanAccountDataimportInstanceIndividual(org.apache.fineract.infrastructure.core.data.EnumOptionData loanTypeEnumOption, Long clientId, Long productId, Long loanOfficerId, LocalDate submittedOnDate, Long fundId, BigDecimal principal, Integer numberOfRepayments, Integer repaymentEvery, org.apache.fineract.infrastructure.core.data.EnumOptionData repaidEveryFrequencyEnums, Integer loanTermFrequency, org.apache.fineract.infrastructure.core.data.EnumOptionData loanTermFrequencyTypeEnum, BigDecimal nominalInterestRate, LocalDate expectedDisbursementDate, org.apache.fineract.infrastructure.core.data.EnumOptionData amortizationEnumOption, org.apache.fineract.infrastructure.core.data.EnumOptionData interestMethodEnum, org.apache.fineract.infrastructure.core.data.EnumOptionData interestCalculationPeriodTypeEnum, BigDecimal inArrearsTolerance, String transactionProcessingStrategyCode, Integer graceOnPrincipalPayment, Integer graceOnInterestPayment, Integer graceOnInterestCharged, LocalDate interestChargedFromDate, LocalDate repaymentsStartingFromDate, Integer rowIndex, org.apache.fineract.infrastructure.core.domain.ExternalId externalId, Long groupId, Collection<org.apache.fineract.portfolio.loanaccount.data.LoanChargeData> charges, String linkAccountId, String locale, String dateFormat, List<org.apache.fineract.portfolio.loanaccount.data.LoanCollateralManagementData> loanCollateralManagementData, Integer fixedLength) booleanisActive()withClientData(org.apache.fineract.portfolio.client.data.ClientData clientData) withExpectedDisbursementDate(LocalDate expectedDisbursementDate) withInterestRecalculationCalendarData(org.apache.fineract.portfolio.calendar.data.CalendarData calendarData, org.apache.fineract.portfolio.calendar.data.CalendarData compoundingCalendarData) withProductData(org.apache.fineract.portfolio.loanproduct.data.LoanProductData product, Integer loanCycleNumber)
-
Field Details
-
LOAN_ACCOUNT_DATA_COMPARATOR_BY_CLIENT_NAME
-
-
Constructor Details
-
LoanAccountData
public LoanAccountData()
-
-
Method Details
-
importInstanceIndividual
public static LoanAccountData importInstanceIndividual(org.apache.fineract.infrastructure.core.data.EnumOptionData loanTypeEnumOption, Long clientId, Long productId, Long loanOfficerId, LocalDate submittedOnDate, Long fundId, BigDecimal principal, Integer numberOfRepayments, Integer repaymentEvery, org.apache.fineract.infrastructure.core.data.EnumOptionData repaidEveryFrequencyEnums, Integer loanTermFrequency, org.apache.fineract.infrastructure.core.data.EnumOptionData loanTermFrequencyTypeEnum, BigDecimal nominalInterestRate, LocalDate expectedDisbursementDate, org.apache.fineract.infrastructure.core.data.EnumOptionData amortizationEnumOption, org.apache.fineract.infrastructure.core.data.EnumOptionData interestMethodEnum, org.apache.fineract.infrastructure.core.data.EnumOptionData interestCalculationPeriodTypeEnum, BigDecimal inArrearsTolerance, String transactionProcessingStrategyCode, Integer graceOnPrincipalPayment, Integer graceOnInterestPayment, Integer graceOnInterestCharged, LocalDate interestChargedFromDate, LocalDate repaymentsStartingFromDate, Integer rowIndex, org.apache.fineract.infrastructure.core.domain.ExternalId externalId, Long groupId, Collection<org.apache.fineract.portfolio.loanaccount.data.LoanChargeData> charges, String linkAccountId, String locale, String dateFormat, List<org.apache.fineract.portfolio.loanaccount.data.LoanCollateralManagementData> loanCollateralManagementData, Integer fixedLength) -
importInstanceGroup
public static LoanAccountData importInstanceGroup(org.apache.fineract.infrastructure.core.data.EnumOptionData loanTypeEnumOption, Long groupIdforGroupLoan, Long productId, Long loanOfficerId, LocalDate submittedOnDate, Long fundId, BigDecimal principal, Integer numberOfRepayments, Integer repaidEvery, org.apache.fineract.infrastructure.core.data.EnumOptionData repaidEveryFrequencyEnums, Integer loanTermFrequency, org.apache.fineract.infrastructure.core.data.EnumOptionData loanTermFrequencyTypeEnum, BigDecimal nominalInterestRate, org.apache.fineract.infrastructure.core.data.EnumOptionData amortizationEnumOption, org.apache.fineract.infrastructure.core.data.EnumOptionData interestMethodEnum, org.apache.fineract.infrastructure.core.data.EnumOptionData interestCalculationPeriodEnum, BigDecimal arrearsTolerance, String transactionProcessingStrategyCode, Integer graceOnPrincipalPayment, Integer graceOnInterestPayment, Integer graceOnInterestCharged, LocalDate interestChargedFromDate, LocalDate repaymentsStartingFromDate, Integer rowIndex, org.apache.fineract.infrastructure.core.domain.ExternalId externalId, String linkAccountId, String locale, String dateFormat, Integer fixedLength) -
withClientData
public LoanAccountData withClientData(org.apache.fineract.portfolio.client.data.ClientData clientData) -
withExpectedDisbursementDate
-
withProductData
public LoanAccountData withProductData(org.apache.fineract.portfolio.loanproduct.data.LoanProductData product, Integer loanCycleNumber) -
basicLoanDetails
public static LoanAccountData basicLoanDetails(Long id, String accountNo, org.apache.fineract.portfolio.loanaccount.data.LoanStatusEnumData status, org.apache.fineract.infrastructure.core.domain.ExternalId externalId, Long clientId, String clientAccountNo, String clientName, Long clientOfficeId, org.apache.fineract.infrastructure.core.domain.ExternalId clientExternalId, org.apache.fineract.portfolio.group.data.GroupGeneralData group, org.apache.fineract.infrastructure.core.data.EnumOptionData loanType, Long loanProductId, String loanProductName, String loanProductDescription, boolean isLoanProductLinkedToFloatingRate, Long fundId, String fundName, Long loanPurposeId, String loanPurposeName, Long loanOfficerId, String loanOfficerName, org.apache.fineract.organisation.monetary.data.CurrencyData currencyData, BigDecimal proposedPrincipal, BigDecimal principal, BigDecimal approvedPrincipal, BigDecimal netDisbursalAmount, BigDecimal totalOverpaid, BigDecimal inArrearsTolerance, Integer termFrequency, org.apache.fineract.infrastructure.core.data.EnumOptionData termPeriodFrequencyType, Integer numberOfRepayments, Integer repaymentEvery, org.apache.fineract.infrastructure.core.data.EnumOptionData repaymentFrequencyType, org.apache.fineract.infrastructure.core.data.EnumOptionData repaymentFrequencyNthDayType, org.apache.fineract.infrastructure.core.data.EnumOptionData repaymentFrequencyDayOfWeekType, String transactionStrategy, String transactionStrategyName, org.apache.fineract.infrastructure.core.data.EnumOptionData amortizationType, BigDecimal interestRatePerPeriod, org.apache.fineract.infrastructure.core.data.EnumOptionData interestRateFrequencyType, BigDecimal annualInterestRate, org.apache.fineract.infrastructure.core.data.EnumOptionData interestType, boolean isFloatingInterestRate, BigDecimal interestRateDifferential, org.apache.fineract.infrastructure.core.data.EnumOptionData interestCalculationPeriodType, Boolean allowPartialPeriodInterestCalcualtion, LocalDate expectedFirstRepaymentOnDate, Integer graceOnPrincipalPayment, Integer recurringMoratoriumOnPrincipalPeriods, Integer graceOnInterestPayment, Integer graceOnInterestCharged, LocalDate interestChargedFromDate, org.apache.fineract.portfolio.loanaccount.data.LoanApplicationTimelineData timeline, org.apache.fineract.portfolio.loanaccount.data.LoanSummaryData loanSummary, BigDecimal feeChargesDueAtDisbursementCharged, Boolean syncDisbursementWithMeeting, Integer loanCounter, Integer loanProductCounter, Boolean multiDisburseLoan, Boolean canDefineInstallmentAmount, BigDecimal fixedEmiAmont, BigDecimal outstandingLoanBalance, Boolean inArrears, Integer graceOnArrearsAgeing, Boolean isNPA, org.apache.fineract.infrastructure.core.data.EnumOptionData daysInMonthType, org.apache.fineract.infrastructure.core.data.EnumOptionData daysInYearType, boolean isInterestRecalculationEnabled, org.apache.fineract.portfolio.loanaccount.data.LoanInterestRecalculationData interestRecalculationData, Boolean createStandingInstructionAtDisbursement, Boolean isVariableInstallmentsAllowed, Integer minimumGap, Integer maximumGap, org.apache.fineract.infrastructure.core.data.EnumOptionData subStatus, boolean canUseForTopup, boolean isTopup, Long closureLoanId, String closureLoanAccountNo, BigDecimal topupAmount, boolean isEqualAmortization, BigDecimal fixedPrincipalPercentagePerInstallment, org.apache.fineract.portfolio.delinquency.data.DelinquencyRangeData delinquencyRange, boolean disallowExpectedDisbursements, boolean fraud, LocalDate lastClosedBusinessDate, LocalDate overpaidOnDate, boolean chargedOff, boolean enableDownPayment, BigDecimal disbursedAmountPercentageForDownPayment, boolean enableAutoRepaymentForDownPayment, boolean enableInstallmentLevelDelinquency, org.apache.fineract.infrastructure.core.data.EnumOptionData loanScheduleType, org.apache.fineract.infrastructure.core.data.EnumOptionData loanScheduleProcessingType, Integer fixedLength, org.apache.fineract.infrastructure.core.data.StringEnumOptionData chargeOffBehaviour, boolean isInterestRecognitionOnDisbursementDate) -
associationsAndTemplate
public LoanAccountData associationsAndTemplate(org.apache.fineract.portfolio.loanaccount.loanschedule.data.LoanScheduleData repaymentSchedule, Collection<org.apache.fineract.portfolio.loanaccount.data.LoanTransactionData> transactions, Collection<org.apache.fineract.portfolio.loanaccount.data.LoanChargeData> charges, Collection<org.apache.fineract.portfolio.loanaccount.data.LoanCollateralManagementData> collateral, Collection<GuarantorData> guarantors, org.apache.fineract.portfolio.calendar.data.CalendarData calendarData, Collection<org.apache.fineract.portfolio.loanproduct.data.LoanProductData> productOptions, Collection<org.apache.fineract.infrastructure.core.data.EnumOptionData> termFrequencyTypeOptions, Collection<org.apache.fineract.infrastructure.core.data.EnumOptionData> repaymentFrequencyTypeOptions, Collection<org.apache.fineract.infrastructure.core.data.EnumOptionData> repaymentFrequencyNthDayTypeOptions, Collection<org.apache.fineract.infrastructure.core.data.EnumOptionData> repaymentFrequencyDayOfWeekTypeOptions, Collection<org.apache.fineract.portfolio.loanproduct.data.TransactionProcessingStrategyData> transactionProcessingStrategyOptions, Collection<org.apache.fineract.infrastructure.core.data.EnumOptionData> interestRateFrequencyTypeOptions, Collection<org.apache.fineract.infrastructure.core.data.EnumOptionData> amortizationTypeOptions, Collection<org.apache.fineract.infrastructure.core.data.EnumOptionData> interestTypeOptions, Collection<org.apache.fineract.infrastructure.core.data.EnumOptionData> interestCalculationPeriodTypeOptions, Collection<org.apache.fineract.portfolio.fund.data.FundData> fundOptions, Collection<org.apache.fineract.portfolio.charge.data.ChargeData> chargeOptions, org.apache.fineract.portfolio.charge.data.ChargeData chargeTemplate, Collection<org.apache.fineract.organisation.staff.data.StaffData> loanOfficerOptions, Collection<org.apache.fineract.infrastructure.codes.data.CodeValueData> loanPurposeOptions, Collection<org.apache.fineract.infrastructure.codes.data.CodeValueData> loanCollateralOptions, Collection<org.apache.fineract.portfolio.calendar.data.CalendarData> calendarOptions, Collection<org.apache.fineract.portfolio.note.data.NoteData> notes, Collection<org.apache.fineract.portfolio.account.data.PortfolioAccountData> accountLinkingOptions, org.apache.fineract.portfolio.account.data.PortfolioAccountData linkedAccount, Collection<org.apache.fineract.portfolio.loanaccount.data.DisbursementData> disbursementDetails, Collection<org.apache.fineract.portfolio.loanaccount.data.LoanTermVariationsData> emiAmountVariations, Collection<org.apache.fineract.portfolio.charge.data.ChargeData> overdueCharges, org.apache.fineract.portfolio.loanaccount.data.PaidInAdvanceData paidInAdvance, Collection<org.apache.fineract.portfolio.floatingrates.data.InterestRatePeriodData> interestRatesPeriods, Collection<org.apache.fineract.portfolio.accountdetails.data.LoanAccountSummaryData> clientActiveLoanOptions, List<org.apache.fineract.portfolio.rate.data.RateData> rates, Boolean isRatesEnabled, org.apache.fineract.portfolio.loanaccount.data.CollectionData delinquent, List<org.apache.fineract.infrastructure.core.data.EnumOptionData> loanScheduleTypeOptions, List<org.apache.fineract.infrastructure.core.data.EnumOptionData> loanScheduleProcessingTypeOptions, List<org.apache.fineract.portfolio.loanaccount.data.LoanTermVariationsData> loanTermVariations) -
associationsAndTemplate
public LoanAccountData associationsAndTemplate(Collection<org.apache.fineract.portfolio.loanproduct.data.LoanProductData> productOptions, Collection<org.apache.fineract.organisation.staff.data.StaffData> allowedLoanOfficers, Collection<org.apache.fineract.portfolio.calendar.data.CalendarData> calendarOptions, Collection<org.apache.fineract.portfolio.account.data.PortfolioAccountData> accountLinkingOptions, Boolean isRatesEnabled) -
associateMemberVariations
-
withInterestRecalculationCalendarData
public LoanAccountData withInterestRecalculationCalendarData(org.apache.fineract.portfolio.calendar.data.CalendarData calendarData, org.apache.fineract.portfolio.calendar.data.CalendarData compoundingCalendarData) -
getInterestRecalculationDetailId
-
isActive
public boolean isActive()
-