Class GuarantorData
java.lang.Object
org.apache.fineract.portfolio.loanaccount.guarantor.data.GuarantorData
- All Implemented Interfaces:
Serializable,org.apache.fineract.portfolio.loanaccount.guarantor.data.IGuarantor
public class GuarantorData
extends Object
implements org.apache.fineract.portfolio.loanaccount.guarantor.data.IGuarantor
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionGuarantorData(Long id, Long loanId, org.apache.fineract.infrastructure.codes.data.CodeValueData clientRelationshipType, Long entityId, org.apache.fineract.infrastructure.core.data.EnumOptionData guarantorType, String firstname, String lastname, LocalDate dob, String addressLine1, String addressLine2, String city, String state, String zip, String country, String mobileNumber, String housePhoneNumber, String comment, String officeName, LocalDate joinedDate, String externalId, boolean status, Collection<GuarantorFundingData> guarantorFundingDetails, List<org.apache.fineract.infrastructure.core.data.EnumOptionData> guarantorTypeOptions, Collection<org.apache.fineract.infrastructure.codes.data.CodeValueData> allowedClientRelationshipTypes, Collection<org.apache.fineract.portfolio.account.data.PortfolioAccountData> accountLinkingOptions) -
Method Summary
Modifier and TypeMethodDescriptionstatic GuarantorDataimportInstance(Integer guarantorTypeId, Integer clientRelationshipTypeId, Long entityId, String firstname, String lastname, String addressLine1, String addressLine2, String city, LocalDate dob, String zip, Integer savingsId, BigDecimal amount, Integer rowIndex, Long accountId, String locale, String dateFormat) booleanbooleanbooleanstatic GuarantorDatamergeClientData(org.apache.fineract.portfolio.client.data.ClientData clientData, GuarantorData guarantorData) static GuarantorDatamergeStaffData(org.apache.fineract.organisation.staff.data.StaffData staffData, GuarantorData guarantorData) static GuarantorDatatemplate(List<org.apache.fineract.infrastructure.core.data.EnumOptionData> guarantorTypeOptions, Collection<org.apache.fineract.infrastructure.codes.data.CodeValueData> allowedClientRelationshipTypes, Collection<org.apache.fineract.portfolio.account.data.PortfolioAccountData> accountLinkingOptions) static GuarantorDatatemplateOnTop(GuarantorData guarantorData, List<org.apache.fineract.infrastructure.core.data.EnumOptionData> guarantorTypeOptions, Collection<org.apache.fineract.infrastructure.codes.data.CodeValueData> allowedClientRelationshipTypes, Collection<org.apache.fineract.portfolio.account.data.PortfolioAccountData> accountLinkingOptions)
-
Constructor Details
-
GuarantorData
public GuarantorData(Long id, Long loanId, org.apache.fineract.infrastructure.codes.data.CodeValueData clientRelationshipType, Long entityId, org.apache.fineract.infrastructure.core.data.EnumOptionData guarantorType, String firstname, String lastname, LocalDate dob, String addressLine1, String addressLine2, String city, String state, String zip, String country, String mobileNumber, String housePhoneNumber, String comment, String officeName, LocalDate joinedDate, String externalId, boolean status, Collection<GuarantorFundingData> guarantorFundingDetails, List<org.apache.fineract.infrastructure.core.data.EnumOptionData> guarantorTypeOptions, Collection<org.apache.fineract.infrastructure.codes.data.CodeValueData> allowedClientRelationshipTypes, Collection<org.apache.fineract.portfolio.account.data.PortfolioAccountData> accountLinkingOptions)
-
-
Method Details
-
importInstance
public static GuarantorData importInstance(Integer guarantorTypeId, Integer clientRelationshipTypeId, Long entityId, String firstname, String lastname, String addressLine1, String addressLine2, String city, LocalDate dob, String zip, Integer savingsId, BigDecimal amount, Integer rowIndex, Long accountId, String locale, String dateFormat) -
template
public static GuarantorData template(List<org.apache.fineract.infrastructure.core.data.EnumOptionData> guarantorTypeOptions, Collection<org.apache.fineract.infrastructure.codes.data.CodeValueData> allowedClientRelationshipTypes, Collection<org.apache.fineract.portfolio.account.data.PortfolioAccountData> accountLinkingOptions) -
templateOnTop
public static GuarantorData templateOnTop(GuarantorData guarantorData, List<org.apache.fineract.infrastructure.core.data.EnumOptionData> guarantorTypeOptions, Collection<org.apache.fineract.infrastructure.codes.data.CodeValueData> allowedClientRelationshipTypes, Collection<org.apache.fineract.portfolio.account.data.PortfolioAccountData> accountLinkingOptions) -
mergeClientData
public static GuarantorData mergeClientData(org.apache.fineract.portfolio.client.data.ClientData clientData, GuarantorData guarantorData) -
mergeStaffData
public static GuarantorData mergeStaffData(org.apache.fineract.organisation.staff.data.StaffData staffData, GuarantorData guarantorData) -
isExternalGuarantor
public boolean isExternalGuarantor() -
isExistingClient
public boolean isExistingClient() -
isStaffMember
public boolean isStaffMember()
-