FINERACT-1724: Swagger fixes for updating a loan application
This commit is contained in:
committed by
Arnold Gálovics
parent
c761b40279
commit
0f4d232897
+85
@@ -1117,6 +1117,8 @@ final class LoansApiResourceSwagger {
|
||||
public String locale;
|
||||
@Schema(example = "dd MMMM yyyy")
|
||||
public String dateFormat;
|
||||
@Schema
|
||||
public String submittedOnDate;
|
||||
@Schema(example = "1")
|
||||
public Integer productId;
|
||||
@Schema(example = "5000")
|
||||
@@ -1145,6 +1147,89 @@ final class LoansApiResourceSwagger {
|
||||
public String expectedDisbursementDate;
|
||||
@Schema(example = "1")
|
||||
public Integer transactionProcessingStrategyId;
|
||||
@Schema(example = "1")
|
||||
public Long linkAccountId;
|
||||
@Schema(example = "true")
|
||||
public Boolean createStandingInstructionAtDisbursement;
|
||||
@Schema(example = "1")
|
||||
public Integer repaymentFrequencyNthDayType;
|
||||
@Schema(example = "1")
|
||||
public Integer repaymentFrequencyDayOfWeekType;
|
||||
@Schema
|
||||
public String repaymentsStartingFromDate;
|
||||
@Schema
|
||||
public String interestChargedFromDate;
|
||||
@Schema(example = "true")
|
||||
public Boolean isEqualAmortization;
|
||||
@Schema(example = "1")
|
||||
public Integer graceOnArrearsAgeing;
|
||||
@Schema(example = "1")
|
||||
public Long loanIdToClose;
|
||||
@Schema(example = "true")
|
||||
public Boolean isTopup;
|
||||
@Schema(example = "1")
|
||||
public Long maxOutstandingLoanBalance;
|
||||
@Schema(example = "1")
|
||||
public Long clientId;
|
||||
@Schema(example = "individual")
|
||||
public String loanType;
|
||||
public List<PutLoansLoanIdChanges> charges;
|
||||
public List<PutLoansLoanIdCollateral> collateral;
|
||||
public List<PutLoansLoanIdDisbursementData> disbursementData;
|
||||
|
||||
static final class PutLoansLoanIdChanges {
|
||||
|
||||
private PutLoansLoanIdChanges() {}
|
||||
|
||||
@Schema(example = "dd MMMM yyyy")
|
||||
public String dateFormat;
|
||||
@Schema(example = "en")
|
||||
public String locale;
|
||||
@Schema(example = "1")
|
||||
public Long id;
|
||||
@Schema(example = "1")
|
||||
public Long chargeId;
|
||||
@Schema(example = "1")
|
||||
public BigDecimal amount;
|
||||
@Schema
|
||||
public String dueDate;
|
||||
@Schema(example = "1")
|
||||
public Integer chargeTimeType;
|
||||
@Schema(example = "1")
|
||||
public Integer chargeCalculationType;
|
||||
@Schema(example = "1")
|
||||
public Integer chargePaymentMode;
|
||||
}
|
||||
|
||||
static final class PutLoansLoanIdCollateral {
|
||||
|
||||
private PutLoansLoanIdCollateral() {}
|
||||
|
||||
@Schema(example = "1")
|
||||
public Long clientCollateralId;
|
||||
@Schema(example = "1")
|
||||
public BigDecimal quantity;
|
||||
}
|
||||
|
||||
static final class PutLoansLoanIdDisbursementData {
|
||||
|
||||
private PutLoansLoanIdDisbursementData() {}
|
||||
|
||||
@Schema(example = "dd MMMM yyyy")
|
||||
public String dateFormat;
|
||||
@Schema(example = "en")
|
||||
public String locale;
|
||||
@Schema
|
||||
public String expectedDisbursementDate;
|
||||
@Schema(example = "true")
|
||||
public Boolean isEqualAmortization;
|
||||
@Schema(example = "1")
|
||||
public BigDecimal principal;
|
||||
@Schema(example = "1")
|
||||
public BigDecimal netDisbursalAmount;
|
||||
@Schema(example = "1")
|
||||
public Integer interestType;
|
||||
}
|
||||
}
|
||||
|
||||
@Schema(description = "PutLoansLoanIdResponse")
|
||||
|
||||
Reference in New Issue
Block a user