FINERACT-2498: Add GROUP as a Guarantor Type to Support Group Savings Accounts as Loan Collateral
This commit is contained in:
+6
-1
@@ -25,7 +25,8 @@ public enum GuarantorType {
|
||||
|
||||
CUSTOMER(1, "guarantor.existing.customer"), //
|
||||
STAFF(2, "guarantor.staff"), //
|
||||
EXTERNAL(3, "guarantor.external"); //
|
||||
EXTERNAL(3, "guarantor.external"), //
|
||||
GROUP(4, "guarantor.existing.group"); //
|
||||
|
||||
private final Integer value;
|
||||
private final String code;
|
||||
@@ -90,4 +91,8 @@ public enum GuarantorType {
|
||||
return this.value.equals(GuarantorType.STAFF.getValue());
|
||||
}
|
||||
|
||||
public boolean isGroup() {
|
||||
return this.value.equals(GuarantorType.GROUP.getValue());
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user