Class ShareAccountData
java.lang.Object
org.apache.fineract.portfolio.shareaccounts.data.ShareAccountData
- All Implemented Interfaces:
Serializable,AccountData
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionShareAccountData(Long id, String accountNo, String externalId, Long savingsAccountId, String savingsAccountNumber, Long clientId, String clientName, Long productId, String productName, ShareAccountStatusEnumData status, ShareAccountApplicationTimelineData timeline, org.apache.fineract.organisation.monetary.data.CurrencyData currency, ShareAccountSummaryData summaryData, Collection<ShareAccountChargeData> charges, Collection<ShareAccountTransactionData> purchasedSharesData, Integer lockinPeriod, org.apache.fineract.infrastructure.core.data.EnumOptionData lockPeriodTypeEnum, Integer minimumActivePeriod, org.apache.fineract.infrastructure.core.data.EnumOptionData minimumActivePeriodTypeEnum, Boolean allowdividendsforinactiveclients) ShareAccountData(Long clientId, String clientName, Collection<ProductData> productOptions, Collection<org.apache.fineract.portfolio.charge.data.ChargeData> chargeOptions) ShareAccountData(Long clientId, String clientName, org.apache.fineract.organisation.monetary.data.CurrencyData currency, Collection<ShareAccountChargeData> charges, BigDecimal currentMarketPrice, Collection<org.apache.fineract.infrastructure.core.data.EnumOptionData> minimumActivePeriodFrequencyTypeOptions, Collection<org.apache.fineract.infrastructure.core.data.EnumOptionData> lockinPeriodFrequencyTypeOptions, Collection<org.apache.fineract.portfolio.savings.data.SavingsAccountData> clientSavingsAccounts, Long defaultShares) -
Method Summary
Modifier and TypeMethodDescriptionstatic ShareAccountDataimportInstance(Long clientId, Long productId, Integer requestedShares, String externalId, LocalDate submittedOnDate, Integer minimumActivePeriodDays, Integer minimumActivePeriodFrequencyType, Integer lockinPeriodFrequency, Integer lockinPeriodFrequencyType, LocalDate applicationDate, Boolean allowDividendCalculationForInactiveClients, Collection<ShareAccountChargeData> charges, Long defaultSavingsAccountId, Integer rowIndex, String locale, String dateFormat) static ShareAccountDatavoidsetCurrentMarketPrice(BigDecimal currentMarketPrice) voidsetDividends(Collection<ShareAccountDividendData> dividends) static ShareAccountDatatemplate(ShareAccountData data, Collection<ProductData> productOptions, Collection<org.apache.fineract.portfolio.charge.data.ChargeData> chargeOptions, Collection<org.apache.fineract.portfolio.savings.data.SavingsAccountData> clientSavingsAccounts, Collection<org.apache.fineract.infrastructure.core.data.EnumOptionData> lockinPeriodFrequencyTypeOptions, Collection<org.apache.fineract.infrastructure.core.data.EnumOptionData> minimumActivePeriodFrequencyTypeOptions)
-
Constructor Details
-
ShareAccountData
public ShareAccountData(Long clientId, String clientName, Collection<ProductData> productOptions, Collection<org.apache.fineract.portfolio.charge.data.ChargeData> chargeOptions) -
ShareAccountData
public ShareAccountData(Long clientId, String clientName, org.apache.fineract.organisation.monetary.data.CurrencyData currency, Collection<ShareAccountChargeData> charges, BigDecimal currentMarketPrice, Collection<org.apache.fineract.infrastructure.core.data.EnumOptionData> minimumActivePeriodFrequencyTypeOptions, Collection<org.apache.fineract.infrastructure.core.data.EnumOptionData> lockinPeriodFrequencyTypeOptions, Collection<org.apache.fineract.portfolio.savings.data.SavingsAccountData> clientSavingsAccounts, Long defaultShares)
-
Method Details
-
importInstance
public static ShareAccountData importInstance(Long clientId, Long productId, Integer requestedShares, String externalId, LocalDate submittedOnDate, Integer minimumActivePeriodDays, Integer minimumActivePeriodFrequencyType, Integer lockinPeriodFrequency, Integer lockinPeriodFrequencyType, LocalDate applicationDate, Boolean allowDividendCalculationForInactiveClients, Collection<ShareAccountChargeData> charges, Long defaultSavingsAccountId, Integer rowIndex, String locale, String dateFormat) -
lookup
-
setCurrentMarketPrice
-
setDividends
-