Skip to content

Commit

Permalink
FINERACT-2148: Add tests for S-11 and S-12
Browse files Browse the repository at this point in the history
  • Loading branch information
mariiaKraievska committed Jan 2, 2025
1 parent a93a6aa commit 9b672ae
Show file tree
Hide file tree
Showing 2 changed files with 196 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1120,8 +1120,13 @@ public void initialize() throws Exception {
.transactionProcessingStrategyCode(ADVANCED_PAYMENT_ALLOCATION.getValue())//
.loanScheduleType("PROGRESSIVE") //
.loanScheduleProcessingType("HORIZONTAL")//
.maxInterestRatePerPeriod(10.0).paymentAllocation(List.of(//
createPaymentAllocation("DEFAULT", "NEXT_INSTALLMENT")))
.interestRateFrequencyType(3)//
.maxInterestRatePerPeriod(10.0)//
.paymentAllocation(List.of(//
createPaymentAllocation("DEFAULT", "NEXT_INSTALLMENT"), //
createPaymentAllocation("GOODWILL_CREDIT", "LAST_INSTALLMENT"), //
createPaymentAllocation("MERCHANT_ISSUED_REFUND", "REAMORTIZATION"), //
createPaymentAllocation("PAYOUT_REFUND", "NEXT_INSTALLMENT")))//
.chargeOffBehaviour("ZERO_INTEREST");//
final Response<PostLoanProductsResponse> responseLoanProductsRequestAdvZeroInterestChargeOffBehaviourProgressiveLoanSchedule = loanProductsApi
.createLoanProduct(loanProductsRequestAdvZeroInterestChargeOffBehaviourProgressiveLoanSchedule).execute();
Expand Down
Loading

0 comments on commit 9b672ae

Please sign in to comment.