Fix Loan Product swagger
This commit is contained in:
committed by
Arnold Gálovics
parent
0b7517a1ea
commit
6f86982346
+242
-232
@@ -21,7 +21,6 @@ package org.apache.fineract.portfolio.loanproduct.api;
|
|||||||
import io.swagger.v3.oas.annotations.media.Schema;
|
import io.swagger.v3.oas.annotations.media.Schema;
|
||||||
import java.math.BigDecimal;
|
import java.math.BigDecimal;
|
||||||
import java.time.LocalDate;
|
import java.time.LocalDate;
|
||||||
import java.util.Collection;
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.Set;
|
import java.util.Set;
|
||||||
import org.apache.fineract.accounting.producttoaccountmapping.data.ChargeToGLAccountMapper;
|
import org.apache.fineract.accounting.producttoaccountmapping.data.ChargeToGLAccountMapper;
|
||||||
@@ -40,6 +39,183 @@ final class LoanProductsApiResourceSwagger {
|
|||||||
|
|
||||||
private PostLoanProductsRequest() {}
|
private PostLoanProductsRequest() {}
|
||||||
|
|
||||||
|
@Schema(example = "LP Accrual Accounting")
|
||||||
|
public String name;
|
||||||
|
@Schema(example = "LPAA")
|
||||||
|
public String shortName;
|
||||||
|
@Schema(example = "non-interest bearing product")
|
||||||
|
public String description;
|
||||||
|
@Schema(example = "10 July 2022")
|
||||||
|
public String startDate;
|
||||||
|
@Schema(example = "10 July 2022")
|
||||||
|
public String closeDate;
|
||||||
|
@Schema(example = "3")
|
||||||
|
public Long fundId;
|
||||||
|
|
||||||
|
@Schema(example = "USD")
|
||||||
|
public String currencyCode;
|
||||||
|
@Schema(example = "2")
|
||||||
|
public Integer digitsAfterDecimal;
|
||||||
|
@Schema(example = "1")
|
||||||
|
public Integer installmentAmountInMultiplesOf;
|
||||||
|
@Schema(example = "1")
|
||||||
|
public Integer inMultiplesOf;
|
||||||
|
|
||||||
|
// Terms
|
||||||
|
@Schema(example = "5000.00")
|
||||||
|
public Double minPrincipal;
|
||||||
|
@Schema(example = "10000.00")
|
||||||
|
public Double principal;
|
||||||
|
@Schema(example = "15000.00")
|
||||||
|
public Double maxPrincipal;
|
||||||
|
|
||||||
|
@Schema(example = "1")
|
||||||
|
public Integer minNumberOfRepayments;
|
||||||
|
@Schema(example = "1")
|
||||||
|
public Integer maxNumberOfRepayments;
|
||||||
|
@Schema(example = "12")
|
||||||
|
public Integer numberOfRepayments;
|
||||||
|
@Schema(example = "[]")
|
||||||
|
public List<Integer> principalVariationsForBorrowerCycle;
|
||||||
|
@Schema(example = "[]")
|
||||||
|
public List<Integer> interestRateVariationsForBorrowerCycle;
|
||||||
|
@Schema(example = "[]")
|
||||||
|
public List<Integer> numberOfRepaymentVariationsForBorrowerCycle;
|
||||||
|
@Schema(example = "0")
|
||||||
|
public Double minInterestRatePerPeriod;
|
||||||
|
@Schema(example = "1.75")
|
||||||
|
public Double interestRatePerPeriod;
|
||||||
|
@Schema(example = "23.4")
|
||||||
|
public Double maxInterestRatePerPeriod;
|
||||||
|
@Schema(example = "1")
|
||||||
|
public Integer repaymentEvery;
|
||||||
|
@Schema(example = "5.5")
|
||||||
|
public BigDecimal fixedPrincipalPercentagePerInstallment;
|
||||||
|
@Schema(example = "true")
|
||||||
|
public Boolean canDefineInstallmentAmount;
|
||||||
|
|
||||||
|
// Settings
|
||||||
|
@Schema(example = "false")
|
||||||
|
public Boolean includeInBorrowerCycle;
|
||||||
|
@Schema(example = "false")
|
||||||
|
public Boolean useBorrowerCycle;
|
||||||
|
@Schema(example = "2")
|
||||||
|
public Integer repaymentFrequencyType;
|
||||||
|
@Schema(example = "2")
|
||||||
|
public Integer interestRateFrequencyType;
|
||||||
|
@Schema(example = "1")
|
||||||
|
public Integer amortizationType;
|
||||||
|
@Schema(example = "0")
|
||||||
|
public Integer interestType;
|
||||||
|
@Schema(example = "1")
|
||||||
|
public Integer interestCalculationPeriodType;
|
||||||
|
@Schema(example = "1")
|
||||||
|
public Long transactionProcessingStrategyId;
|
||||||
|
@Schema(example = "false")
|
||||||
|
public Boolean isLinkedToFloatingInterestRates;
|
||||||
|
@Schema(example = "false")
|
||||||
|
public Boolean allowVariableInstallments;
|
||||||
|
@Schema(example = "30")
|
||||||
|
public Integer minimumDaysBetweenDisbursalAndFirstRepayment;
|
||||||
|
@Schema(example = "true")
|
||||||
|
public Boolean allowApprovedDisbursedAmountsOverApplied;
|
||||||
|
@Schema(example = "percentage")
|
||||||
|
public String overAppliedCalculationType;
|
||||||
|
@Schema(example = "50")
|
||||||
|
public Integer overAppliedNumber;
|
||||||
|
@Schema(example = "1")
|
||||||
|
public Integer daysInMonthType;
|
||||||
|
@Schema(example = "1")
|
||||||
|
public Integer daysInYearType;
|
||||||
|
@Schema(example = "true")
|
||||||
|
public Boolean allowPartialPeriodInterestCalcualtion;
|
||||||
|
@Schema(example = "179")
|
||||||
|
public Integer overdueDaysForNPA;
|
||||||
|
@Schema(example = "3")
|
||||||
|
public Integer graceOnPrincipalPayment;
|
||||||
|
@Schema(example = "3")
|
||||||
|
public Integer graceOnInterestPayment;
|
||||||
|
@Schema(example = "90")
|
||||||
|
public Integer inArrearsTolerance;
|
||||||
|
@Schema(example = "3")
|
||||||
|
public Integer graceOnArrearsAgeing;
|
||||||
|
@Schema(example = "false")
|
||||||
|
public Boolean accountMovesOutOfNPAOnlyOnArrearsCompletion;
|
||||||
|
@Schema(example = "false")
|
||||||
|
public Boolean isEqualAmortization;
|
||||||
|
@Schema(example = "false")
|
||||||
|
public Boolean canUseForTopup;
|
||||||
|
@Schema(example = "false")
|
||||||
|
public Boolean holdGuaranteeFunds;
|
||||||
|
|
||||||
|
// Interest Recalculation
|
||||||
|
@Schema(example = "false")
|
||||||
|
public Boolean isInterestRecalculationEnabled;
|
||||||
|
@Schema(example = "1")
|
||||||
|
public Integer interestRecalculationCompoundingMethod;
|
||||||
|
@Schema(example = "2")
|
||||||
|
public Integer rescheduleStrategyMethod;
|
||||||
|
@Schema(example = "1")
|
||||||
|
public Integer preClosureInterestCalculationStrategy;
|
||||||
|
@Schema(example = "1")
|
||||||
|
public Integer recalculationCompoundingFrequencyType;
|
||||||
|
@Schema(example = "50")
|
||||||
|
public Integer recalculationRestFrequencyType;
|
||||||
|
|
||||||
|
// Accounting
|
||||||
|
@Schema(example = "3")
|
||||||
|
public Integer accountingRule;
|
||||||
|
@Schema(example = "4")
|
||||||
|
public Long fundSourceAccountId;
|
||||||
|
@Schema(example = "8")
|
||||||
|
public Long loanPortfolioAccountId;
|
||||||
|
@Schema(example = "9")
|
||||||
|
public Long receivableInterestAccountId;
|
||||||
|
@Schema(example = "11")
|
||||||
|
public Long receivableFeeAccountId;
|
||||||
|
@Schema(example = "10")
|
||||||
|
public Long receivablePenaltyAccountId;
|
||||||
|
@Schema(example = "34")
|
||||||
|
public Long interestOnLoanAccountId;
|
||||||
|
@Schema(example = "37")
|
||||||
|
public Long incomeFromFeeAccountId;
|
||||||
|
@Schema(example = "35")
|
||||||
|
public Long incomeFromPenaltyAccountId;
|
||||||
|
@Schema(example = "2")
|
||||||
|
public Long overpaymentLiabilityAccountId;
|
||||||
|
@Schema(example = "41")
|
||||||
|
public Long writeOffAccountId;
|
||||||
|
@Schema(example = "5")
|
||||||
|
public Long transfersInSuspenseAccountId;
|
||||||
|
@Schema(example = "15")
|
||||||
|
public Long incomeFromRecoveryAccountId;
|
||||||
|
@Schema(example = "48")
|
||||||
|
public Long goodwillCreditAccountId;
|
||||||
|
public List<GetLoanProductsProductIdResponse.GetLoanPaymentChannelToFundSourceMappings> paymentChannelToFundSourceMappings;
|
||||||
|
public List<GetLoanProductsProductIdResponse.GetLoanFeeToIncomeAccountMappings> feeToIncomeAccountMappings;
|
||||||
|
public List<ChargeToGLAccountMapper> penaltyToIncomeAccountMappings;
|
||||||
|
|
||||||
|
// Multi Disburse
|
||||||
|
@Schema(example = "true")
|
||||||
|
public Boolean multiDisburseLoan;
|
||||||
|
@Schema(example = "50")
|
||||||
|
public Integer principalThresholdForLastInstallment;
|
||||||
|
@Schema(example = "true")
|
||||||
|
public Boolean disallowExpectedDisbursements;
|
||||||
|
@Schema(example = "3")
|
||||||
|
public Integer maxTrancheCount;
|
||||||
|
@Schema(example = "36000.00")
|
||||||
|
public Double outstandingLoanBalance;
|
||||||
|
|
||||||
|
public List<ChargeData> charges;
|
||||||
|
@Schema(example = "en_GB")
|
||||||
|
public String locale;
|
||||||
|
@Schema(example = "dd MMMM yyyy")
|
||||||
|
public String dateFormat;
|
||||||
|
|
||||||
|
public AllowAttributeOverrides allowAttributeOverrides;
|
||||||
|
public List<RateData> rates;
|
||||||
|
|
||||||
static final class AllowAttributeOverrides {
|
static final class AllowAttributeOverrides {
|
||||||
|
|
||||||
private AllowAttributeOverrides() {}
|
private AllowAttributeOverrides() {}
|
||||||
@@ -62,12 +238,12 @@ final class LoanProductsApiResourceSwagger {
|
|||||||
public boolean graceOnArrearsAgeing;
|
public boolean graceOnArrearsAgeing;
|
||||||
}
|
}
|
||||||
|
|
||||||
static final class ChargeId {
|
static final class ChargeData {
|
||||||
|
|
||||||
private ChargeId() {}
|
private ChargeData() {}
|
||||||
|
|
||||||
@Schema(example = "1")
|
@Schema(example = "1")
|
||||||
public Integer id;
|
public Long id;
|
||||||
}
|
}
|
||||||
|
|
||||||
static final class RateData {
|
static final class RateData {
|
||||||
@@ -76,174 +252,16 @@ final class LoanProductsApiResourceSwagger {
|
|||||||
|
|
||||||
@Schema(example = "1")
|
@Schema(example = "1")
|
||||||
public Long id;
|
public Long id;
|
||||||
|
|
||||||
@Schema(example = "some name")
|
@Schema(example = "some name")
|
||||||
public String name;
|
public String name;
|
||||||
|
|
||||||
@Schema(example = "20")
|
@Schema(example = "20")
|
||||||
public BigDecimal percentage;
|
public BigDecimal percentage;
|
||||||
|
|
||||||
@Schema(description = "Apply specific product using its id, code, and value.")
|
@Schema(description = "Apply specific product using its id, code, and value.")
|
||||||
public EnumOptionData productApply;
|
public EnumOptionData productApply;
|
||||||
|
|
||||||
@Schema(example = "false")
|
@Schema(example = "false")
|
||||||
public boolean active;
|
public boolean active;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Schema(example = "LP Accrual Accounting")
|
|
||||||
public String name;
|
|
||||||
@Schema(example = "LPAA")
|
|
||||||
public String shortName;
|
|
||||||
@Schema(example = "USD")
|
|
||||||
public String currencyCode;
|
|
||||||
@Schema(example = "en_GB")
|
|
||||||
public String locale;
|
|
||||||
@Schema(example = "2")
|
|
||||||
public Integer digitsAfterDecimal;
|
|
||||||
@Schema(example = "0")
|
|
||||||
public Integer inMultiplesOf;
|
|
||||||
@Schema(example = "100,000.00")
|
|
||||||
public Double principal;
|
|
||||||
@Schema(example = "12")
|
|
||||||
public Integer numberOfRepayments;
|
|
||||||
@Schema(example = "1")
|
|
||||||
public Integer repaymentEvery;
|
|
||||||
@Schema(example = "2")
|
|
||||||
public Integer repaymentFrequencyType;
|
|
||||||
@Schema(example = "1")
|
|
||||||
public Integer transactionProcessingStrategyId;
|
|
||||||
@Schema(example = "1.75")
|
|
||||||
public Double interestRatePerPeriod;
|
|
||||||
@Schema(example = "2")
|
|
||||||
public Integer interestRateFrequencyType;
|
|
||||||
@Schema(example = "1")
|
|
||||||
public Integer amortizationType;
|
|
||||||
@Schema(example = "5.5")
|
|
||||||
public BigDecimal fixedPrincipalPercentagePerInstallment;
|
|
||||||
@Schema(example = "0")
|
|
||||||
public Integer interestType;
|
|
||||||
@Schema(example = "1")
|
|
||||||
public Integer interestCalculationPeriodType;
|
|
||||||
@Schema(example = "1")
|
|
||||||
public Integer daysInMonthType;
|
|
||||||
@Schema(example = "1")
|
|
||||||
public Integer daysInYearType;
|
|
||||||
@Schema(example = "false")
|
|
||||||
public Boolean isInterestRecalculationEnabled;
|
|
||||||
@Schema(example = "3")
|
|
||||||
public Integer accountingRule;
|
|
||||||
@Schema(example = "4")
|
|
||||||
public Integer fundSourceAccountId;
|
|
||||||
@Schema(example = "8")
|
|
||||||
public Integer loanPortfolioAccountId;
|
|
||||||
@Schema(example = "9")
|
|
||||||
public Integer receivableInterestAccountId;
|
|
||||||
@Schema(example = "11")
|
|
||||||
public Integer receivableFeeAccountId;
|
|
||||||
@Schema(example = "10")
|
|
||||||
public Integer receivablePenaltyAccountId;
|
|
||||||
@Schema(example = "34")
|
|
||||||
public Integer interestOnLoanAccountId;
|
|
||||||
@Schema(example = "37")
|
|
||||||
public Integer incomeFromFeeAccountId;
|
|
||||||
@Schema(example = "35")
|
|
||||||
public Integer incomeFromPenaltyAccountId;
|
|
||||||
@Schema(example = "2")
|
|
||||||
public Integer overpaymentLiabilityAccountId;
|
|
||||||
@Schema(example = "41")
|
|
||||||
public Integer writeOffAccountId;
|
|
||||||
@Schema(example = "48")
|
|
||||||
public Integer goodwillCreditAccountId;
|
|
||||||
@Schema(example = "false")
|
|
||||||
public Boolean includeInBorrowerCycle;
|
|
||||||
@Schema(example = "false")
|
|
||||||
public Boolean useBorrowerCycle;
|
|
||||||
@Schema(example = "[]")
|
|
||||||
public List<Integer> principalVariationsForBorrowerCycle;
|
|
||||||
@Schema(example = "[]")
|
|
||||||
public List<Integer> interestRateVariationsForBorrowerCycle;
|
|
||||||
@Schema(example = "[]")
|
|
||||||
public List<Integer> numberOfRepaymentVariationsForBorrowerCycle;
|
|
||||||
@Schema(example = "true")
|
|
||||||
public Boolean multiDisburseLoan;
|
|
||||||
@Schema(example = "0")
|
|
||||||
public Integer interestRecalculationCompoundingMethod;
|
|
||||||
@Schema(example = "2")
|
|
||||||
public Integer rescheduleStrategyMethod;
|
|
||||||
@Schema(example = "1")
|
|
||||||
public Integer preClosureInterestCalculationStrategy;
|
|
||||||
@Schema(example = "false")
|
|
||||||
public Boolean isLinkedToFloatingInterestRates;
|
|
||||||
@Schema(example = "false")
|
|
||||||
public Boolean allowVariableInstallments;
|
|
||||||
@Schema(example = "non-interest bearing product")
|
|
||||||
public String description;
|
|
||||||
@Schema(example = "1")
|
|
||||||
public Integer installmentAmountInMultiplesOf;
|
|
||||||
@Schema(example = "5000.000000")
|
|
||||||
public Double minPrincipal;
|
|
||||||
@Schema(example = "15000.000000")
|
|
||||||
public Double maxPrincipal;
|
|
||||||
@Schema(example = "30")
|
|
||||||
public Integer minimumDaysBetweenDisbursalAndFirstRepayment;
|
|
||||||
@Schema(example = "true")
|
|
||||||
public Boolean allowPartialPeriodInterestCalcualtion;
|
|
||||||
@Schema(example = "true")
|
|
||||||
public Boolean disallowExpectedDisbursements;
|
|
||||||
@Schema(example = "true")
|
|
||||||
public Boolean allowApprovedDisbursedAmountsOverApplied;
|
|
||||||
@Schema(example = "percentage")
|
|
||||||
public String overAppliedCalculationType;
|
|
||||||
@Schema(example = "50")
|
|
||||||
public Integer overAppliedNumber;
|
|
||||||
@Schema(example = "true")
|
|
||||||
public Boolean canDefineInstallmentAmount;
|
|
||||||
@Schema(example = "50")
|
|
||||||
public Integer principalThresholdForLastInstallment;
|
|
||||||
@Schema(example = "50")
|
|
||||||
public Integer recalculationRestFrequencyType;
|
|
||||||
@Schema(example = "3")
|
|
||||||
public Integer maxTrancheCount;
|
|
||||||
@Schema(example = "36000.000000")
|
|
||||||
public Double outstandingLoanBalance;
|
|
||||||
@Schema(example = "dd MMMM yyyy")
|
|
||||||
public String dateFormat;
|
|
||||||
public Set<GetLoanProductsProductIdResponse.GetLoanPaymentChannelToFundSourceMappings> paymentChannelToFundSourceMappings;
|
|
||||||
public Set<GetLoanProductsProductIdResponse.GetLoanFeeToIncomeAccountMappings> feeToIncomeAccountMappings;
|
|
||||||
public Collection<ChargeToGLAccountMapper> penaltyToIncomeAccountMappings;
|
|
||||||
public AllowAttributeOverrides allowAttributeOverrides;
|
|
||||||
public List<ChargeId> charges;
|
|
||||||
public List<RateData> rates;
|
|
||||||
@Schema(example = "3")
|
|
||||||
public Long fundId;
|
|
||||||
@Schema(example = "10 July 2022")
|
|
||||||
public String startDate;
|
|
||||||
@Schema(example = "10 July 2022")
|
|
||||||
public String closeDate;
|
|
||||||
@Schema(example = "1")
|
|
||||||
public Integer minNumberOfRepayments;
|
|
||||||
@Schema(example = "1")
|
|
||||||
public Integer maxNumberOfRepayments;
|
|
||||||
@Schema(example = "0")
|
|
||||||
public Double minInterestRatePerPeriod;
|
|
||||||
@Schema(example = "0")
|
|
||||||
public Double maxInterestRatePerPeriod;
|
|
||||||
@Schema(example = "false")
|
|
||||||
public Boolean isEqualAmortization;
|
|
||||||
@Schema(example = "3")
|
|
||||||
public Integer graceOnArrearsAgeing;
|
|
||||||
@Schema(example = "179")
|
|
||||||
public Integer overdueDaysForNPA;
|
|
||||||
@Schema(example = "false")
|
|
||||||
public Boolean accountMovesOutOfNPAOnlyOnArrearsCompletion;
|
|
||||||
@Schema(example = "false")
|
|
||||||
public Boolean canUseForTopup;
|
|
||||||
@Schema(example = "false")
|
|
||||||
public Boolean holdGuaranteeFunds;
|
|
||||||
@Schema(example = "5")
|
|
||||||
public Long transfersInSuspenseAccountId;
|
|
||||||
@Schema(example = "15")
|
|
||||||
public Long incomeFromRecoveryAccountId;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Schema(description = "PostLoanProductsResponse")
|
@Schema(description = "PostLoanProductsResponse")
|
||||||
@@ -252,7 +270,7 @@ final class LoanProductsApiResourceSwagger {
|
|||||||
private PostLoanProductsResponse() {}
|
private PostLoanProductsResponse() {}
|
||||||
|
|
||||||
@Schema(example = "3")
|
@Schema(example = "3")
|
||||||
public Integer resourceId;
|
public Long resourceId;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Schema(description = "GetLoanProductsResponse")
|
@Schema(description = "GetLoanProductsResponse")
|
||||||
@@ -285,7 +303,7 @@ final class LoanProductsApiResourceSwagger {
|
|||||||
private GetLoanProductsRepaymentFrequencyType() {}
|
private GetLoanProductsRepaymentFrequencyType() {}
|
||||||
|
|
||||||
@Schema(example = "0")
|
@Schema(example = "0")
|
||||||
public Integer id;
|
public Long id;
|
||||||
@Schema(example = "repaymentFrequency.periodFrequencyType.days")
|
@Schema(example = "repaymentFrequency.periodFrequencyType.days")
|
||||||
public String code;
|
public String code;
|
||||||
@Schema(example = "Days")
|
@Schema(example = "Days")
|
||||||
@@ -297,7 +315,7 @@ final class LoanProductsApiResourceSwagger {
|
|||||||
private GetLoanProductsInterestRateFrequencyType() {}
|
private GetLoanProductsInterestRateFrequencyType() {}
|
||||||
|
|
||||||
@Schema(example = "3")
|
@Schema(example = "3")
|
||||||
public Integer id;
|
public Long id;
|
||||||
@Schema(example = "interestRateFrequency.periodFrequencyType.years")
|
@Schema(example = "interestRateFrequency.periodFrequencyType.years")
|
||||||
public String code;
|
public String code;
|
||||||
@Schema(example = "Per year")
|
@Schema(example = "Per year")
|
||||||
@@ -309,7 +327,7 @@ final class LoanProductsApiResourceSwagger {
|
|||||||
private GetLoanProductsAmortizationType() {}
|
private GetLoanProductsAmortizationType() {}
|
||||||
|
|
||||||
@Schema(example = "1")
|
@Schema(example = "1")
|
||||||
public Integer id;
|
public Long id;
|
||||||
@Schema(example = "amortizationType.equal.installments")
|
@Schema(example = "amortizationType.equal.installments")
|
||||||
public String code;
|
public String code;
|
||||||
@Schema(example = "Equal installments")
|
@Schema(example = "Equal installments")
|
||||||
@@ -321,7 +339,7 @@ final class LoanProductsApiResourceSwagger {
|
|||||||
private GetLoanProductsInterestType() {}
|
private GetLoanProductsInterestType() {}
|
||||||
|
|
||||||
@Schema(example = "1")
|
@Schema(example = "1")
|
||||||
public Integer id;
|
public Long id;
|
||||||
@Schema(example = "interestType.flat")
|
@Schema(example = "interestType.flat")
|
||||||
public String code;
|
public String code;
|
||||||
@Schema(example = "Flat")
|
@Schema(example = "Flat")
|
||||||
@@ -333,7 +351,7 @@ final class LoanProductsApiResourceSwagger {
|
|||||||
private GetLoansProductsInterestCalculationPeriodType() {}
|
private GetLoansProductsInterestCalculationPeriodType() {}
|
||||||
|
|
||||||
@Schema(example = "1")
|
@Schema(example = "1")
|
||||||
public Integer id;
|
public Long id;
|
||||||
@Schema(example = "interestCalculationPeriodType.same.as.repayment.period")
|
@Schema(example = "interestCalculationPeriodType.same.as.repayment.period")
|
||||||
public String code;
|
public String code;
|
||||||
@Schema(example = "Same as repayment period")
|
@Schema(example = "Same as repayment period")
|
||||||
@@ -345,7 +363,7 @@ final class LoanProductsApiResourceSwagger {
|
|||||||
private GetLoansProductsDaysInMonthType() {}
|
private GetLoansProductsDaysInMonthType() {}
|
||||||
|
|
||||||
@Schema(example = "30")
|
@Schema(example = "30")
|
||||||
public Integer id;
|
public Long id;
|
||||||
@Schema(example = "DaysInMonthType.days360")
|
@Schema(example = "DaysInMonthType.days360")
|
||||||
public String code;
|
public String code;
|
||||||
@Schema(example = "30 Days")
|
@Schema(example = "30 Days")
|
||||||
@@ -357,7 +375,7 @@ final class LoanProductsApiResourceSwagger {
|
|||||||
private GetLoansProductsDaysInYearType() {}
|
private GetLoansProductsDaysInYearType() {}
|
||||||
|
|
||||||
@Schema(example = "360")
|
@Schema(example = "360")
|
||||||
public Integer id;
|
public Long id;
|
||||||
@Schema(example = "DaysInYearType.days360")
|
@Schema(example = "DaysInYearType.days360")
|
||||||
public String code;
|
public String code;
|
||||||
@Schema(example = "360 Days")
|
@Schema(example = "360 Days")
|
||||||
@@ -373,7 +391,7 @@ final class LoanProductsApiResourceSwagger {
|
|||||||
private GetLoanProductsInterestRecalculationCompoundingType() {}
|
private GetLoanProductsInterestRecalculationCompoundingType() {}
|
||||||
|
|
||||||
@Schema(example = "2")
|
@Schema(example = "2")
|
||||||
public Integer id;
|
public Long id;
|
||||||
@Schema(example = "interestRecalculationCompoundingMethod.fee")
|
@Schema(example = "interestRecalculationCompoundingMethod.fee")
|
||||||
public String code;
|
public String code;
|
||||||
@Schema(example = "Fee")
|
@Schema(example = "Fee")
|
||||||
@@ -385,7 +403,7 @@ final class LoanProductsApiResourceSwagger {
|
|||||||
private GetLoanProductsInterestRecalculationCompoundingFrequencyType() {}
|
private GetLoanProductsInterestRecalculationCompoundingFrequencyType() {}
|
||||||
|
|
||||||
@Schema(example = "1")
|
@Schema(example = "1")
|
||||||
public Integer id;
|
public Long id;
|
||||||
@Schema(example = "interestRecalculationFrequencyType.same.as.repayment.period")
|
@Schema(example = "interestRecalculationFrequencyType.same.as.repayment.period")
|
||||||
public String code;
|
public String code;
|
||||||
@Schema(example = "Same as repayment period")
|
@Schema(example = "Same as repayment period")
|
||||||
@@ -397,7 +415,7 @@ final class LoanProductsApiResourceSwagger {
|
|||||||
private GetLoanProductsRescheduleStrategyType() {}
|
private GetLoanProductsRescheduleStrategyType() {}
|
||||||
|
|
||||||
@Schema(example = "2")
|
@Schema(example = "2")
|
||||||
public Integer id;
|
public Long id;
|
||||||
@Schema(example = "loanRescheduleStrategyMethod.reduce.number.of.installments")
|
@Schema(example = "loanRescheduleStrategyMethod.reduce.number.of.installments")
|
||||||
public String code;
|
public String code;
|
||||||
@Schema(example = "Reduce number of installments")
|
@Schema(example = "Reduce number of installments")
|
||||||
@@ -409,7 +427,7 @@ final class LoanProductsApiResourceSwagger {
|
|||||||
private GetLoanProductsPreClosureInterestCalculationStrategy() {}
|
private GetLoanProductsPreClosureInterestCalculationStrategy() {}
|
||||||
|
|
||||||
@Schema(example = "1")
|
@Schema(example = "1")
|
||||||
public Integer id;
|
public Long id;
|
||||||
@Schema(example = "loanPreClosureInterestCalculationStrategy.tillPreClosureDate")
|
@Schema(example = "loanPreClosureInterestCalculationStrategy.tillPreClosureDate")
|
||||||
public String code;
|
public String code;
|
||||||
@Schema(example = "Till preclose Date")
|
@Schema(example = "Till preclose Date")
|
||||||
@@ -417,9 +435,9 @@ final class LoanProductsApiResourceSwagger {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Schema(example = "3")
|
@Schema(example = "3")
|
||||||
public Integer id;
|
public Long id;
|
||||||
@Schema(example = "1")
|
@Schema(example = "1")
|
||||||
public Integer productId;
|
public Long productId;
|
||||||
public GetLoanProductsInterestRecalculationData.GetLoanProductsInterestRecalculationCompoundingType interestRecalculationCompoundingType;
|
public GetLoanProductsInterestRecalculationData.GetLoanProductsInterestRecalculationCompoundingType interestRecalculationCompoundingType;
|
||||||
public GetLoanProductsInterestRecalculationCompoundingFrequencyType interestRecalculationCompoundingFrequencyType;
|
public GetLoanProductsInterestRecalculationCompoundingFrequencyType interestRecalculationCompoundingFrequencyType;
|
||||||
public GetLoanProductsInterestRecalculationData.GetLoanProductsRescheduleStrategyType rescheduleStrategyType;
|
public GetLoanProductsInterestRecalculationData.GetLoanProductsRescheduleStrategyType rescheduleStrategyType;
|
||||||
@@ -434,7 +452,7 @@ final class LoanProductsApiResourceSwagger {
|
|||||||
private GetLoanProductsAccountingRule() {}
|
private GetLoanProductsAccountingRule() {}
|
||||||
|
|
||||||
@Schema(example = "2")
|
@Schema(example = "2")
|
||||||
public Integer id;
|
public Long id;
|
||||||
@Schema(example = "accountingRuleType.cash")
|
@Schema(example = "accountingRuleType.cash")
|
||||||
public String code;
|
public String code;
|
||||||
@Schema(example = "CASH BASED")
|
@Schema(example = "CASH BASED")
|
||||||
@@ -442,7 +460,7 @@ final class LoanProductsApiResourceSwagger {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Schema(example = "1")
|
@Schema(example = "1")
|
||||||
public Integer id;
|
public Long id;
|
||||||
@Schema(example = "personal loan product")
|
@Schema(example = "personal loan product")
|
||||||
public String name;
|
public String name;
|
||||||
@Schema(example = "pe1")
|
@Schema(example = "pe1")
|
||||||
@@ -484,7 +502,7 @@ final class LoanProductsApiResourceSwagger {
|
|||||||
public GetLoanProductsInterestType interestType;
|
public GetLoanProductsInterestType interestType;
|
||||||
public GetLoansProductsInterestCalculationPeriodType interestCalculationPeriodType;
|
public GetLoansProductsInterestCalculationPeriodType interestCalculationPeriodType;
|
||||||
@Schema(example = "1")
|
@Schema(example = "1")
|
||||||
public Integer transactionProcessingStrategyId;
|
public Long transactionProcessingStrategyId;
|
||||||
@Schema(example = "Mifos style")
|
@Schema(example = "Mifos style")
|
||||||
public String transactionProcessingStrategyName;
|
public String transactionProcessingStrategyName;
|
||||||
@Schema(example = "[]")
|
@Schema(example = "[]")
|
||||||
@@ -533,7 +551,7 @@ final class LoanProductsApiResourceSwagger {
|
|||||||
private GetLoanProductsRepaymentTemplateFrequencyType() {}
|
private GetLoanProductsRepaymentTemplateFrequencyType() {}
|
||||||
|
|
||||||
@Schema(example = "2")
|
@Schema(example = "2")
|
||||||
public Integer id;
|
public Long id;
|
||||||
@Schema(example = "repaymentFrequency.periodFrequencyType.months")
|
@Schema(example = "repaymentFrequency.periodFrequencyType.months")
|
||||||
public String code;
|
public String code;
|
||||||
@Schema(example = "Months")
|
@Schema(example = "Months")
|
||||||
@@ -545,7 +563,7 @@ final class LoanProductsApiResourceSwagger {
|
|||||||
private GetLoanProductsInterestRateTemplateFrequencyType() {}
|
private GetLoanProductsInterestRateTemplateFrequencyType() {}
|
||||||
|
|
||||||
@Schema(example = "2")
|
@Schema(example = "2")
|
||||||
public Integer id;
|
public Long id;
|
||||||
@Schema(example = "interestRateFrequency.periodFrequencyType.months")
|
@Schema(example = "interestRateFrequency.periodFrequencyType.months")
|
||||||
public String code;
|
public String code;
|
||||||
@Schema(example = "Per month")
|
@Schema(example = "Per month")
|
||||||
@@ -557,7 +575,7 @@ final class LoanProductsApiResourceSwagger {
|
|||||||
private GetLoanProductsInterestTemplateType() {}
|
private GetLoanProductsInterestTemplateType() {}
|
||||||
|
|
||||||
@Schema(example = "0")
|
@Schema(example = "0")
|
||||||
public Integer id;
|
public Long id;
|
||||||
@Schema(example = "interestType.declining.balance")
|
@Schema(example = "interestType.declining.balance")
|
||||||
public String code;
|
public String code;
|
||||||
@Schema(example = "Declining Balance")
|
@Schema(example = "Declining Balance")
|
||||||
@@ -569,7 +587,7 @@ final class LoanProductsApiResourceSwagger {
|
|||||||
private GetLoanProductsAccountingRule() {}
|
private GetLoanProductsAccountingRule() {}
|
||||||
|
|
||||||
@Schema(example = "1")
|
@Schema(example = "1")
|
||||||
public Integer id;
|
public Long id;
|
||||||
@Schema(example = "accountingRuleType.none")
|
@Schema(example = "accountingRuleType.none")
|
||||||
public String code;
|
public String code;
|
||||||
@Schema(example = "NONE")
|
@Schema(example = "NONE")
|
||||||
@@ -581,7 +599,7 @@ final class LoanProductsApiResourceSwagger {
|
|||||||
private GetLoansProductsDaysInMonthTemplateType() {}
|
private GetLoansProductsDaysInMonthTemplateType() {}
|
||||||
|
|
||||||
@Schema(example = "1")
|
@Schema(example = "1")
|
||||||
public Integer id;
|
public Long id;
|
||||||
@Schema(example = "DaysInMonthType.actual")
|
@Schema(example = "DaysInMonthType.actual")
|
||||||
public String code;
|
public String code;
|
||||||
@Schema(example = "Actual")
|
@Schema(example = "Actual")
|
||||||
@@ -593,7 +611,7 @@ final class LoanProductsApiResourceSwagger {
|
|||||||
private GetLoanProductsDaysInYearTemplateType() {}
|
private GetLoanProductsDaysInYearTemplateType() {}
|
||||||
|
|
||||||
@Schema(example = "1")
|
@Schema(example = "1")
|
||||||
public Integer id;
|
public Long id;
|
||||||
@Schema(example = "DaysInYearType.actual")
|
@Schema(example = "DaysInYearType.actual")
|
||||||
public String code;
|
public String code;
|
||||||
@Schema(example = "Actual")
|
@Schema(example = "Actual")
|
||||||
@@ -609,7 +627,7 @@ final class LoanProductsApiResourceSwagger {
|
|||||||
private GetLoanProductsInterestRecalculationCompoundingType() {}
|
private GetLoanProductsInterestRecalculationCompoundingType() {}
|
||||||
|
|
||||||
@Schema(example = "0")
|
@Schema(example = "0")
|
||||||
public Integer id;
|
public Long id;
|
||||||
@Schema(example = "interestRecalculationCompoundingMethod.none")
|
@Schema(example = "interestRecalculationCompoundingMethod.none")
|
||||||
public String code;
|
public String code;
|
||||||
@Schema(example = "None")
|
@Schema(example = "None")
|
||||||
@@ -621,7 +639,7 @@ final class LoanProductsApiResourceSwagger {
|
|||||||
private GetLoanProductsRescheduleStrategyType() {}
|
private GetLoanProductsRescheduleStrategyType() {}
|
||||||
|
|
||||||
@Schema(example = "3")
|
@Schema(example = "3")
|
||||||
public Integer id;
|
public Long id;
|
||||||
@Schema(example = "loanRescheduleStrategyMethod.reduce.emi.amount")
|
@Schema(example = "loanRescheduleStrategyMethod.reduce.emi.amount")
|
||||||
public String code;
|
public String code;
|
||||||
@Schema(example = "Reduce EMI amount")
|
@Schema(example = "Reduce EMI amount")
|
||||||
@@ -638,7 +656,7 @@ final class LoanProductsApiResourceSwagger {
|
|||||||
private GetLoanProductsPaymentTypeOptions() {}
|
private GetLoanProductsPaymentTypeOptions() {}
|
||||||
|
|
||||||
@Schema(example = "10")
|
@Schema(example = "10")
|
||||||
public Integer id;
|
public Long id;
|
||||||
@Schema(example = "check")
|
@Schema(example = "check")
|
||||||
public String name;
|
public String name;
|
||||||
@Schema(example = "1")
|
@Schema(example = "1")
|
||||||
@@ -668,7 +686,7 @@ final class LoanProductsApiResourceSwagger {
|
|||||||
private GetLoanProductsTransactionProcessingStrategyOptions() {}
|
private GetLoanProductsTransactionProcessingStrategyOptions() {}
|
||||||
|
|
||||||
@Schema(example = "1")
|
@Schema(example = "1")
|
||||||
public Integer id;
|
public Long id;
|
||||||
@Schema(example = "mifos-standard-strategy")
|
@Schema(example = "mifos-standard-strategy")
|
||||||
public String code;
|
public String code;
|
||||||
@Schema(example = "Penalties, Fees, Interest, Principal order")
|
@Schema(example = "Penalties, Fees, Interest, Principal order")
|
||||||
@@ -684,7 +702,7 @@ final class LoanProductsApiResourceSwagger {
|
|||||||
private GetLoanChargeTimeType() {}
|
private GetLoanChargeTimeType() {}
|
||||||
|
|
||||||
@Schema(example = "1")
|
@Schema(example = "1")
|
||||||
public Integer id;
|
public Long id;
|
||||||
@Schema(example = "chargeTimeType.disbursement")
|
@Schema(example = "chargeTimeType.disbursement")
|
||||||
public String code;
|
public String code;
|
||||||
@Schema(example = "Disbursement")
|
@Schema(example = "Disbursement")
|
||||||
@@ -696,7 +714,7 @@ final class LoanProductsApiResourceSwagger {
|
|||||||
private GetLoanProductsChargeAppliesTo() {}
|
private GetLoanProductsChargeAppliesTo() {}
|
||||||
|
|
||||||
@Schema(example = "1 ")
|
@Schema(example = "1 ")
|
||||||
public Integer id;
|
public Long id;
|
||||||
@Schema(example = "chargeAppliesTo.loan")
|
@Schema(example = "chargeAppliesTo.loan")
|
||||||
public String code;
|
public String code;
|
||||||
@Schema(example = "Loan")
|
@Schema(example = "Loan")
|
||||||
@@ -708,7 +726,7 @@ final class LoanProductsApiResourceSwagger {
|
|||||||
private GetLoanChargeCalculationType() {}
|
private GetLoanChargeCalculationType() {}
|
||||||
|
|
||||||
@Schema(example = "1")
|
@Schema(example = "1")
|
||||||
public Integer id;
|
public Long id;
|
||||||
@Schema(example = "chargeCalculationType.flat")
|
@Schema(example = "chargeCalculationType.flat")
|
||||||
public String code;
|
public String code;
|
||||||
@Schema(example = "Flat")
|
@Schema(example = "Flat")
|
||||||
@@ -720,7 +738,7 @@ final class LoanProductsApiResourceSwagger {
|
|||||||
private GetLoansChargePaymentMode() {}
|
private GetLoansChargePaymentMode() {}
|
||||||
|
|
||||||
@Schema(example = "0")
|
@Schema(example = "0")
|
||||||
public Integer id;
|
public Long id;
|
||||||
@Schema(example = "chargepaymentmode.regular")
|
@Schema(example = "chargepaymentmode.regular")
|
||||||
public String code;
|
public String code;
|
||||||
@Schema(example = "Regular")
|
@Schema(example = "Regular")
|
||||||
@@ -728,7 +746,7 @@ final class LoanProductsApiResourceSwagger {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Schema(example = "5")
|
@Schema(example = "5")
|
||||||
public Integer id;
|
public Long id;
|
||||||
@Schema(example = "des charges")
|
@Schema(example = "des charges")
|
||||||
public String name;
|
public String name;
|
||||||
@Schema(example = "true")
|
@Schema(example = "true")
|
||||||
@@ -757,7 +775,7 @@ final class LoanProductsApiResourceSwagger {
|
|||||||
private GetLoanProductsLiabilityType() {}
|
private GetLoanProductsLiabilityType() {}
|
||||||
|
|
||||||
@Schema(example = "2")
|
@Schema(example = "2")
|
||||||
public Integer id;
|
public Long id;
|
||||||
@Schema(example = "accountType.liability")
|
@Schema(example = "accountType.liability")
|
||||||
public String code;
|
public String code;
|
||||||
@Schema(example = "LIABILITY")
|
@Schema(example = "LIABILITY")
|
||||||
@@ -769,7 +787,7 @@ final class LoanProductsApiResourceSwagger {
|
|||||||
private GetLoanProductsLiabilityUsage() {}
|
private GetLoanProductsLiabilityUsage() {}
|
||||||
|
|
||||||
@Schema(example = "1")
|
@Schema(example = "1")
|
||||||
public Integer id;
|
public Long id;
|
||||||
@Schema(example = "accountUsage.detail")
|
@Schema(example = "accountUsage.detail")
|
||||||
public String code;
|
public String code;
|
||||||
@Schema(example = "DETAIL")
|
@Schema(example = "DETAIL")
|
||||||
@@ -781,11 +799,11 @@ final class LoanProductsApiResourceSwagger {
|
|||||||
private GetLoanProductsLiabilityTagId() {}
|
private GetLoanProductsLiabilityTagId() {}
|
||||||
|
|
||||||
@Schema(example = "0")
|
@Schema(example = "0")
|
||||||
public Integer id;
|
public Long id;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Schema(example = "11")
|
@Schema(example = "11")
|
||||||
public Integer id;
|
public Long id;
|
||||||
@Schema(example = "over payment")
|
@Schema(example = "over payment")
|
||||||
public String name;
|
public String name;
|
||||||
@Schema(example = "13")
|
@Schema(example = "13")
|
||||||
@@ -808,7 +826,7 @@ final class LoanProductsApiResourceSwagger {
|
|||||||
private GetLoanProductsAssetAccountOptions() {}
|
private GetLoanProductsAssetAccountOptions() {}
|
||||||
|
|
||||||
@Schema(example = "2")
|
@Schema(example = "2")
|
||||||
public Integer id;
|
public Long id;
|
||||||
@Schema(example = "Loan portfolio")
|
@Schema(example = "Loan portfolio")
|
||||||
public String name;
|
public String name;
|
||||||
@Schema(example = "02")
|
@Schema(example = "02")
|
||||||
@@ -835,7 +853,7 @@ final class LoanProductsApiResourceSwagger {
|
|||||||
private GetLoanProductsExpenseType() {}
|
private GetLoanProductsExpenseType() {}
|
||||||
|
|
||||||
@Schema(example = "5")
|
@Schema(example = "5")
|
||||||
public Integer id;
|
public Long id;
|
||||||
@Schema(example = "accountType.expense")
|
@Schema(example = "accountType.expense")
|
||||||
public String code;
|
public String code;
|
||||||
@Schema(example = "EXPENSE")
|
@Schema(example = "EXPENSE")
|
||||||
@@ -843,7 +861,7 @@ final class LoanProductsApiResourceSwagger {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Schema(example = "10")
|
@Schema(example = "10")
|
||||||
public Integer id;
|
public Long id;
|
||||||
@Schema(example = "loans written off 2")
|
@Schema(example = "loans written off 2")
|
||||||
public String name;
|
public String name;
|
||||||
@Schema(example = "12")
|
@Schema(example = "12")
|
||||||
@@ -870,7 +888,7 @@ final class LoanProductsApiResourceSwagger {
|
|||||||
private GetLoanProductsIncomeType() {}
|
private GetLoanProductsIncomeType() {}
|
||||||
|
|
||||||
@Schema(example = "4")
|
@Schema(example = "4")
|
||||||
public Integer id;
|
public Long id;
|
||||||
@Schema(example = "accountType.income")
|
@Schema(example = "accountType.income")
|
||||||
public String code;
|
public String code;
|
||||||
@Schema(example = "INCOME")
|
@Schema(example = "INCOME")
|
||||||
@@ -878,7 +896,7 @@ final class LoanProductsApiResourceSwagger {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Schema(example = "4")
|
@Schema(example = "4")
|
||||||
public Integer id;
|
public Long id;
|
||||||
@Schema(example = "income from interest")
|
@Schema(example = "income from interest")
|
||||||
public String name;
|
public String name;
|
||||||
@Schema(example = "04")
|
@Schema(example = "04")
|
||||||
@@ -907,7 +925,7 @@ final class LoanProductsApiResourceSwagger {
|
|||||||
private GetLoanProductsValueConditionTypeOptions() {}
|
private GetLoanProductsValueConditionTypeOptions() {}
|
||||||
|
|
||||||
@Schema(example = "2")
|
@Schema(example = "2")
|
||||||
public Integer id;
|
public Long id;
|
||||||
@Schema(example = "mifos-standard-strategyLoanProductValueConditionType.equal")
|
@Schema(example = "mifos-standard-strategyLoanProductValueConditionType.equal")
|
||||||
public String code;
|
public String code;
|
||||||
@Schema(example = "equals")
|
@Schema(example = "equals")
|
||||||
@@ -966,7 +984,7 @@ final class LoanProductsApiResourceSwagger {
|
|||||||
private GetLoanProductsInterestRateFrequencyType() {}
|
private GetLoanProductsInterestRateFrequencyType() {}
|
||||||
|
|
||||||
@Schema(example = "2")
|
@Schema(example = "2")
|
||||||
public Integer id;
|
public Long id;
|
||||||
@Schema(example = "interestRateFrequency.periodFrequencyType.months")
|
@Schema(example = "interestRateFrequency.periodFrequencyType.months")
|
||||||
public String code;
|
public String code;
|
||||||
@Schema(example = "Per month")
|
@Schema(example = "Per month")
|
||||||
@@ -982,7 +1000,7 @@ final class LoanProductsApiResourceSwagger {
|
|||||||
private GetLoanProductsParamType() {}
|
private GetLoanProductsParamType() {}
|
||||||
|
|
||||||
@Schema(example = "1")
|
@Schema(example = "1")
|
||||||
public Integer id;
|
public Long id;
|
||||||
@Schema(example = "LoanProductParamType.principal")
|
@Schema(example = "LoanProductParamType.principal")
|
||||||
public String code;
|
public String code;
|
||||||
@Schema(example = "principal")
|
@Schema(example = "principal")
|
||||||
@@ -994,7 +1012,7 @@ final class LoanProductsApiResourceSwagger {
|
|||||||
private GetLoanProductsValueConditionType() {}
|
private GetLoanProductsValueConditionType() {}
|
||||||
|
|
||||||
@Schema(example = "2")
|
@Schema(example = "2")
|
||||||
public Integer id;
|
public Long id;
|
||||||
@Schema(example = "LoanProductValueConditionType.equal")
|
@Schema(example = "LoanProductValueConditionType.equal")
|
||||||
public String code;
|
public String code;
|
||||||
@Schema(example = "equals")
|
@Schema(example = "equals")
|
||||||
@@ -1002,7 +1020,7 @@ final class LoanProductsApiResourceSwagger {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Schema(example = "21")
|
@Schema(example = "21")
|
||||||
public Integer id;
|
public Long id;
|
||||||
@Schema(example = "1")
|
@Schema(example = "1")
|
||||||
public Integer borrowerCycleNumber;
|
public Integer borrowerCycleNumber;
|
||||||
public GetLoanProductsParamType paramType;
|
public GetLoanProductsParamType paramType;
|
||||||
@@ -1024,7 +1042,7 @@ final class LoanProductsApiResourceSwagger {
|
|||||||
private GetLoanFundSourceAccount() {}
|
private GetLoanFundSourceAccount() {}
|
||||||
|
|
||||||
@Schema(example = "1")
|
@Schema(example = "1")
|
||||||
public Integer id;
|
public Long id;
|
||||||
@Schema(example = "fund source")
|
@Schema(example = "fund source")
|
||||||
public String name;
|
public String name;
|
||||||
@Schema(example = "01")
|
@Schema(example = "01")
|
||||||
@@ -1036,7 +1054,7 @@ final class LoanProductsApiResourceSwagger {
|
|||||||
private GetLoanPortfolioAccount() {}
|
private GetLoanPortfolioAccount() {}
|
||||||
|
|
||||||
@Schema(example = "2")
|
@Schema(example = "2")
|
||||||
public Integer id;
|
public Long id;
|
||||||
@Schema(example = "Loan portfolio")
|
@Schema(example = "Loan portfolio")
|
||||||
public String name;
|
public String name;
|
||||||
@Schema(example = "02")
|
@Schema(example = "02")
|
||||||
@@ -1048,7 +1066,7 @@ final class LoanProductsApiResourceSwagger {
|
|||||||
private GetLoanTransfersInSuspenseAccount() {}
|
private GetLoanTransfersInSuspenseAccount() {}
|
||||||
|
|
||||||
@Schema(example = "3")
|
@Schema(example = "3")
|
||||||
public Integer id;
|
public Long id;
|
||||||
@Schema(example = "transfers")
|
@Schema(example = "transfers")
|
||||||
public String name;
|
public String name;
|
||||||
@Schema(example = "03")
|
@Schema(example = "03")
|
||||||
@@ -1060,7 +1078,7 @@ final class LoanProductsApiResourceSwagger {
|
|||||||
private GetLoanInterestOnLoanAccount() {}
|
private GetLoanInterestOnLoanAccount() {}
|
||||||
|
|
||||||
@Schema(example = "4")
|
@Schema(example = "4")
|
||||||
public Integer id;
|
public Long id;
|
||||||
@Schema(example = "income from interest")
|
@Schema(example = "income from interest")
|
||||||
public String name;
|
public String name;
|
||||||
@Schema(example = "04")
|
@Schema(example = "04")
|
||||||
@@ -1072,7 +1090,7 @@ final class LoanProductsApiResourceSwagger {
|
|||||||
private GetLoanIncomeFromFeeAccount() {}
|
private GetLoanIncomeFromFeeAccount() {}
|
||||||
|
|
||||||
@Schema(example = "8")
|
@Schema(example = "8")
|
||||||
public Integer id;
|
public Long id;
|
||||||
@Schema(example = "income from fees 2")
|
@Schema(example = "income from fees 2")
|
||||||
public String name;
|
public String name;
|
||||||
@Schema(example = "10")
|
@Schema(example = "10")
|
||||||
@@ -1084,7 +1102,7 @@ final class LoanProductsApiResourceSwagger {
|
|||||||
private GetLoanIncomeFromPenaltyAccount() {}
|
private GetLoanIncomeFromPenaltyAccount() {}
|
||||||
|
|
||||||
@Schema(example = "9")
|
@Schema(example = "9")
|
||||||
public Integer id;
|
public Long id;
|
||||||
@Schema(example = "income from penalities 2")
|
@Schema(example = "income from penalities 2")
|
||||||
public String name;
|
public String name;
|
||||||
@Schema(example = "11")
|
@Schema(example = "11")
|
||||||
@@ -1096,7 +1114,7 @@ final class LoanProductsApiResourceSwagger {
|
|||||||
private GetLoanWriteOffAccount() {}
|
private GetLoanWriteOffAccount() {}
|
||||||
|
|
||||||
@Schema(example = "10")
|
@Schema(example = "10")
|
||||||
public Integer id;
|
public Long id;
|
||||||
@Schema(example = "loans written off 2")
|
@Schema(example = "loans written off 2")
|
||||||
public String name;
|
public String name;
|
||||||
@Schema(example = "12")
|
@Schema(example = "12")
|
||||||
@@ -1108,7 +1126,7 @@ final class LoanProductsApiResourceSwagger {
|
|||||||
private GetLoanOverpaymentLiabilityAccount() {}
|
private GetLoanOverpaymentLiabilityAccount() {}
|
||||||
|
|
||||||
@Schema(example = "11")
|
@Schema(example = "11")
|
||||||
public Integer id;
|
public Long id;
|
||||||
@Schema(example = "over payment")
|
@Schema(example = "over payment")
|
||||||
public String name;
|
public String name;
|
||||||
@Schema(example = "13")
|
@Schema(example = "13")
|
||||||
@@ -1129,18 +1147,10 @@ final class LoanProductsApiResourceSwagger {
|
|||||||
|
|
||||||
private GetLoanPaymentChannelToFundSourceMappings() {}
|
private GetLoanPaymentChannelToFundSourceMappings() {}
|
||||||
|
|
||||||
static final class GetLoanPaymentType {
|
@Schema(example = "10")
|
||||||
|
public Long paymentTypeId;
|
||||||
private GetLoanPaymentType() {}
|
@Schema(example = "39")
|
||||||
|
public Long fundSourceAccountId;
|
||||||
@Schema(example = "10")
|
|
||||||
public Integer id;
|
|
||||||
@Schema(example = "check")
|
|
||||||
public String name;
|
|
||||||
}
|
|
||||||
|
|
||||||
public GetLoanPaymentType paymentType;
|
|
||||||
public GetLoanAccountingMappings.GetLoanFundSourceAccount fundSourceAccount;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static final class GetLoanFeeToIncomeAccountMappings {
|
static final class GetLoanFeeToIncomeAccountMappings {
|
||||||
@@ -1152,7 +1162,7 @@ final class LoanProductsApiResourceSwagger {
|
|||||||
private GetLoanCharge() {}
|
private GetLoanCharge() {}
|
||||||
|
|
||||||
@Schema(example = "1")
|
@Schema(example = "1")
|
||||||
public Integer id;
|
public Long id;
|
||||||
@Schema(example = "flat install")
|
@Schema(example = "flat install")
|
||||||
public String name;
|
public String name;
|
||||||
@Schema(example = "false")
|
@Schema(example = "false")
|
||||||
@@ -1166,7 +1176,7 @@ final class LoanProductsApiResourceSwagger {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Schema(example = "11")
|
@Schema(example = "11")
|
||||||
public Integer id;
|
public Long id;
|
||||||
@Schema(example = "advanced accounting")
|
@Schema(example = "advanced accounting")
|
||||||
public String name;
|
public String name;
|
||||||
@Schema(example = "ad11")
|
@Schema(example = "ad11")
|
||||||
@@ -1200,7 +1210,7 @@ final class LoanProductsApiResourceSwagger {
|
|||||||
public GetLoanProductsTemplateResponse.GetLoanProductsInterestTemplateType interestType;
|
public GetLoanProductsTemplateResponse.GetLoanProductsInterestTemplateType interestType;
|
||||||
public GetLoanProductsResponse.GetLoansProductsInterestCalculationPeriodType interestCalculationPeriodType;
|
public GetLoanProductsResponse.GetLoansProductsInterestCalculationPeriodType interestCalculationPeriodType;
|
||||||
@Schema(example = "1")
|
@Schema(example = "1")
|
||||||
public Integer transactionProcessingStrategyId;
|
public Long transactionProcessingStrategyId;
|
||||||
@Schema(example = "Mifos style")
|
@Schema(example = "Mifos style")
|
||||||
public String transactionProcessingStrategyName;
|
public String transactionProcessingStrategyName;
|
||||||
@Schema(example = "[]")
|
@Schema(example = "[]")
|
||||||
@@ -1254,7 +1264,7 @@ final class LoanProductsApiResourceSwagger {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Schema(example = "1")
|
@Schema(example = "1")
|
||||||
public Integer resourceId;
|
public Long resourceId;
|
||||||
public PutLoanChanges changes;
|
public PutLoanChanges changes;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user