if (paymentPlanBean.isForPartialRegime()) {
if (paymentPlanBean.isForSecondCurricularYear()) {
return new GratuityForStudentsInSecondCurricularYearForPartialRegime(paymentPlanBean.getExecutionYear(),
degreeCurricularPlan.getServiceAgreementTemplate(), paymentPlanBean.isMain());
} else if (paymentPlanBean.isForStudentEnroledOnSecondSemesterOnly()) {
return new GratuityPaymentPlanForPartialRegimeEnroledOnlyInSecondSemester(paymentPlanBean.getExecutionYear(),