@@ -2220,6 +2220,79 @@ public void initialize() throws Exception {
22202220                TestContextKey .DEFAULT_LOAN_PRODUCT_CREATE_RESPONSE_LP2_ADV_PYMNT_INTEREST_DAILY_EMI_360_30_INTEREST_RECALC_DAILY_MULTIDISBURSE ,
22212221                responseLoanProductsRequestLP2AdvancedpaymentInterestEmi36030InterestRecalcDailyMultiDisburseDisbursementCharge );
22222222
2223+         // LP2 with progressive loan schedule + horizontal + interest recalculation daily EMI + 360/30 + 
2224+         // multidisbursement 
2225+         // Frequency for recalculate Outstanding Principal: Daily, Frequency Interval for recalculation: 1 
2226+         // chargeback - interest, fee, principal, penalty 
2227+         String  name150  = DefaultLoanProduct .LP2_ADV_PYMNT_INTEREST_DAILY_EMI_360_30_INTEREST_RECALC_DAILY_MULTIDISBURSE_EXPECT_TRANCHE_CHARGEBACK 
2228+                 .getName ();
2229+         PostLoanProductsRequest  loanProductsRequestLP2AdvancedpaymentInterestEmi36030InterestRecalcDailyMultiDisburseExpectTrancheChargeback  = loanProductsRequestFactory 
2230+                 .defaultLoanProductsRequestLP2Emi ()// 
2231+                 .name (name150 )// 
2232+                 .daysInYearType (DaysInYearType .DAYS360 .value )// 
2233+                 .daysInMonthType (DaysInMonthType .DAYS30 .value )// 
2234+                 .isInterestRecalculationEnabled (true )// 
2235+                 .preClosureInterestCalculationStrategy (1 )// 
2236+                 .rescheduleStrategyMethod (4 )// 
2237+                 .interestRecalculationCompoundingMethod (0 )// 
2238+                 .recalculationRestFrequencyType (2 )// 
2239+                 .recalculationRestFrequencyInterval (1 )// 
2240+                 .creditAllocation (List .of (// 
2241+                         createCreditAllocation ("CHARGEBACK" , List .of ("INTEREST" , "FEE" , "PRINCIPAL" , "PENALTY" ))// 
2242+                 ))// 
2243+                 .paymentAllocation (List .of (// 
2244+                         createPaymentAllocation ("DEFAULT" , "NEXT_INSTALLMENT" ), // 
2245+                         createPaymentAllocation ("GOODWILL_CREDIT" , "LAST_INSTALLMENT" ), // 
2246+                         createPaymentAllocation ("MERCHANT_ISSUED_REFUND" , "REAMORTIZATION" ), // 
2247+                         createPaymentAllocation ("PAYOUT_REFUND" , "NEXT_INSTALLMENT" )))// 
2248+                 .multiDisburseLoan (true )// 
2249+                 .disallowExpectedDisbursements (false )// 
2250+                 .maxTrancheCount (10 )// 
2251+                 .outstandingLoanBalance (10000.0 );// 
2252+         Response <PostLoanProductsResponse > responseLoanProductsRequestLP2AdvancedpaymentInterestEmi36030InterestRecalcDailyMultiDisburseExpectTrancheChargeback  = loanProductsApi 
2253+                 .createLoanProduct (
2254+                         loanProductsRequestLP2AdvancedpaymentInterestEmi36030InterestRecalcDailyMultiDisburseExpectTrancheChargeback )
2255+                 .execute ();
2256+         TestContext .INSTANCE .set (
2257+                 TestContextKey .DEFAULT_LOAN_PRODUCT_CREATE_RESPONSE_LP2_ADV_PYMNT_INTEREST_DAILY_EMI_360_30_INTEREST_RECALC_DAILY_MULTIDISBURSE_EXPECT_TRANCHE_CHARGEBACK ,
2258+                 responseLoanProductsRequestLP2AdvancedpaymentInterestEmi36030InterestRecalcDailyMultiDisburseExpectTrancheChargeback );
2259+ 
2260+         // LP2 with progressive loan schedule + horizontal + interest recalculation daily EMI + 360/30 + 
2261+         // multidisbursement 
2262+         // Frequency for recalculate Outstanding Principal: Daily, Frequency Interval for recalculation: 1 
2263+         // chargeback - interest, fee, principal, penalty 
2264+         String  name151  = DefaultLoanProduct .LP2_ADV_PYMNT_INTEREST_DAILY_EMI_360_30_INTEREST_RECALC_DAILY_MULTIDISBURSE_CHARGEBACK 
2265+                 .getName ();
2266+         PostLoanProductsRequest  loanProductsRequestLP2AdvancedpaymentInterestEmi36030InterestRecalcDailyMultiDisburseChargeback  = loanProductsRequestFactory 
2267+                 .defaultLoanProductsRequestLP2Emi ()// 
2268+                 .name (name151 )// 
2269+                 .daysInYearType (DaysInYearType .DAYS360 .value )// 
2270+                 .daysInMonthType (DaysInMonthType .DAYS30 .value )// 
2271+                 .isInterestRecalculationEnabled (true )// 
2272+                 .preClosureInterestCalculationStrategy (1 )// 
2273+                 .rescheduleStrategyMethod (4 )// 
2274+                 .interestRecalculationCompoundingMethod (0 )// 
2275+                 .recalculationRestFrequencyType (2 )// 
2276+                 .recalculationRestFrequencyInterval (1 )// 
2277+                 .creditAllocation (List .of (// 
2278+                         createCreditAllocation ("CHARGEBACK" , List .of ("INTEREST" , "FEE" , "PRINCIPAL" , "PENALTY" ))// 
2279+                 ))// 
2280+                 .paymentAllocation (List .of (// 
2281+                         createPaymentAllocation ("DEFAULT" , "NEXT_INSTALLMENT" ), // 
2282+                         createPaymentAllocation ("GOODWILL_CREDIT" , "LAST_INSTALLMENT" ), // 
2283+                         createPaymentAllocation ("MERCHANT_ISSUED_REFUND" , "REAMORTIZATION" ), // 
2284+                         createPaymentAllocation ("PAYOUT_REFUND" , "NEXT_INSTALLMENT" )))// 
2285+                 .multiDisburseLoan (true )// 
2286+                 .disallowExpectedDisbursements (true )// 
2287+                 .maxTrancheCount (10 )// 
2288+                 .outstandingLoanBalance (10000.0 );// 
2289+         Response <PostLoanProductsResponse > responseLoanProductsRequestLP2AdvancedpaymentInterestEmi36030InterestRecalcDailyMultiDisburseChargeback  = loanProductsApi 
2290+                 .createLoanProduct (loanProductsRequestLP2AdvancedpaymentInterestEmi36030InterestRecalcDailyMultiDisburseChargeback )
2291+                 .execute ();
2292+         TestContext .INSTANCE .set (
2293+                 TestContextKey .DEFAULT_LOAN_PRODUCT_CREATE_RESPONSE_LP2_ADV_PYMNT_INTEREST_DAILY_EMI_360_30_INTEREST_RECALC_DAILY_MULTIDISBURSE_CHARGEBACK ,
2294+                 responseLoanProductsRequestLP2AdvancedpaymentInterestEmi36030InterestRecalcDailyMultiDisburseDisbursementCharge );
2295+ 
22232296        // LP2 with progressive loan schedule + horizontal + interest recalculation daily EMI + 360/30 + cash based 
22242297        // accounting 
22252298        // Frequency for recalculate Outstanding Principal: Daily, Frequency Interval for recalculation: 1 
0 commit comments