Class SavingsAccountSummaryDataV1.Builder
java.lang.Object
org.apache.avro.data.RecordBuilderBase<SavingsAccountSummaryDataV1>
org.apache.avro.specific.SpecificRecordBuilderBase<SavingsAccountSummaryDataV1>
org.apache.fineract.avro.savings.v1.SavingsAccountSummaryDataV1.Builder
- All Implemented Interfaces:
org.apache.avro.data.RecordBuilder<SavingsAccountSummaryDataV1>
- Enclosing class:
SavingsAccountSummaryDataV1
public static class SavingsAccountSummaryDataV1.Builder
extends org.apache.avro.specific.SpecificRecordBuilderBase<SavingsAccountSummaryDataV1>
implements org.apache.avro.data.RecordBuilder<SavingsAccountSummaryDataV1>
RecordBuilder for SavingsAccountSummaryDataV1 instances.
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Clears the value of the 'accountBalance' field.Clears the value of the 'availableBalance' field.Clears the value of the 'currency' field.Clears the value of the 'interestNotPosted' field.Clears the value of the 'interestPostedTillDate' field.Clears the value of the 'lastInterestCalculationDate' field.Clears the value of the 'prevInterestPostedTillDate' field.Clears the value of the 'totalAnnualFees' field.Clears the value of the 'totalDeposits' field.Clears the value of the 'totalFeeCharge' field.Clears the value of the 'totalInterestEarned' field.Clears the value of the 'totalInterestPosted' field.Clears the value of the 'totalOverdraftInterestDerived' field.Clears the value of the 'totalPenaltyCharge' field.Clears the value of the 'totalWithdrawalFees' field.Clears the value of the 'totalWithdrawals' field.Clears the value of the 'totalWithholdTax' field.Gets the value of the 'accountBalance' field.Gets the value of the 'availableBalance' field.Gets the value of the 'currency' field.Gets the Builder instance for the 'currency' field and creates one if it doesn't exist yet.Gets the value of the 'interestNotPosted' field.Gets the value of the 'interestPostedTillDate' field.Gets the value of the 'lastInterestCalculationDate' field.Gets the value of the 'prevInterestPostedTillDate' field.Gets the value of the 'totalAnnualFees' field.Gets the value of the 'totalDeposits' field.Gets the value of the 'totalFeeCharge' field.Gets the value of the 'totalInterestEarned' field.Gets the value of the 'totalInterestPosted' field.Gets the value of the 'totalOverdraftInterestDerived' field.Gets the value of the 'totalPenaltyCharge' field.Gets the value of the 'totalWithdrawalFees' field.Gets the value of the 'totalWithdrawals' field.Gets the value of the 'totalWithholdTax' field.booleanChecks whether the 'accountBalance' field has been set.booleanChecks whether the 'availableBalance' field has been set.booleanChecks whether the 'currency' field has been set.booleanChecks whether the 'currency' field has an active Builder instancebooleanChecks whether the 'interestNotPosted' field has been set.booleanChecks whether the 'interestPostedTillDate' field has been set.booleanChecks whether the 'lastInterestCalculationDate' field has been set.booleanChecks whether the 'prevInterestPostedTillDate' field has been set.booleanChecks whether the 'totalAnnualFees' field has been set.booleanChecks whether the 'totalDeposits' field has been set.booleanChecks whether the 'totalFeeCharge' field has been set.booleanChecks whether the 'totalInterestEarned' field has been set.booleanChecks whether the 'totalInterestPosted' field has been set.booleanChecks whether the 'totalOverdraftInterestDerived' field has been set.booleanChecks whether the 'totalPenaltyCharge' field has been set.booleanChecks whether the 'totalWithdrawalFees' field has been set.booleanChecks whether the 'totalWithdrawals' field has been set.booleanChecks whether the 'totalWithholdTax' field has been set.setAccountBalance(BigDecimal value) Sets the value of the 'accountBalance' field.setAvailableBalance(BigDecimal value) Sets the value of the 'availableBalance' field.setCurrency(CurrencyDataV1 value) Sets the value of the 'currency' field.Sets the Builder instance for the 'currency' fieldsetInterestNotPosted(BigDecimal value) Sets the value of the 'interestNotPosted' field.setInterestPostedTillDate(String value) Sets the value of the 'interestPostedTillDate' field.Sets the value of the 'lastInterestCalculationDate' field.Sets the value of the 'prevInterestPostedTillDate' field.setTotalAnnualFees(BigDecimal value) Sets the value of the 'totalAnnualFees' field.setTotalDeposits(BigDecimal value) Sets the value of the 'totalDeposits' field.setTotalFeeCharge(BigDecimal value) Sets the value of the 'totalFeeCharge' field.setTotalInterestEarned(BigDecimal value) Sets the value of the 'totalInterestEarned' field.setTotalInterestPosted(BigDecimal value) Sets the value of the 'totalInterestPosted' field.Sets the value of the 'totalOverdraftInterestDerived' field.setTotalPenaltyCharge(BigDecimal value) Sets the value of the 'totalPenaltyCharge' field.setTotalWithdrawalFees(BigDecimal value) Sets the value of the 'totalWithdrawalFees' field.setTotalWithdrawals(BigDecimal value) Sets the value of the 'totalWithdrawals' field.setTotalWithholdTax(BigDecimal value) Sets the value of the 'totalWithholdTax' field.Methods inherited from class org.apache.avro.data.RecordBuilderBase
data, defaultValue, equals, fields, fieldSetFlags, hashCode, isValidValue, schema, validate
-
Method Details
-
getCurrency
Gets the value of the 'currency' field.- Returns:
- The value.
-
setCurrency
Sets the value of the 'currency' field.- Parameters:
value- The value of 'currency'.- Returns:
- This builder.
-
hasCurrency
public boolean hasCurrency()Checks whether the 'currency' field has been set.- Returns:
- True if the 'currency' field has been set, false otherwise.
-
getCurrencyBuilder
Gets the Builder instance for the 'currency' field and creates one if it doesn't exist yet.- Returns:
- This builder.
-
setCurrencyBuilder
Sets the Builder instance for the 'currency' field- Parameters:
value- The builder instance that must be set.- Returns:
- This builder.
-
hasCurrencyBuilder
public boolean hasCurrencyBuilder()Checks whether the 'currency' field has an active Builder instance- Returns:
- True if the 'currency' field has an active Builder instance
-
clearCurrency
Clears the value of the 'currency' field.- Returns:
- This builder.
-
getTotalDeposits
Gets the value of the 'totalDeposits' field.- Returns:
- The value.
-
setTotalDeposits
Sets the value of the 'totalDeposits' field.- Parameters:
value- The value of 'totalDeposits'.- Returns:
- This builder.
-
hasTotalDeposits
public boolean hasTotalDeposits()Checks whether the 'totalDeposits' field has been set.- Returns:
- True if the 'totalDeposits' field has been set, false otherwise.
-
clearTotalDeposits
Clears the value of the 'totalDeposits' field.- Returns:
- This builder.
-
getTotalWithdrawals
Gets the value of the 'totalWithdrawals' field.- Returns:
- The value.
-
setTotalWithdrawals
Sets the value of the 'totalWithdrawals' field.- Parameters:
value- The value of 'totalWithdrawals'.- Returns:
- This builder.
-
hasTotalWithdrawals
public boolean hasTotalWithdrawals()Checks whether the 'totalWithdrawals' field has been set.- Returns:
- True if the 'totalWithdrawals' field has been set, false otherwise.
-
clearTotalWithdrawals
Clears the value of the 'totalWithdrawals' field.- Returns:
- This builder.
-
getTotalWithdrawalFees
Gets the value of the 'totalWithdrawalFees' field.- Returns:
- The value.
-
setTotalWithdrawalFees
Sets the value of the 'totalWithdrawalFees' field.- Parameters:
value- The value of 'totalWithdrawalFees'.- Returns:
- This builder.
-
hasTotalWithdrawalFees
public boolean hasTotalWithdrawalFees()Checks whether the 'totalWithdrawalFees' field has been set.- Returns:
- True if the 'totalWithdrawalFees' field has been set, false otherwise.
-
clearTotalWithdrawalFees
Clears the value of the 'totalWithdrawalFees' field.- Returns:
- This builder.
-
getTotalAnnualFees
Gets the value of the 'totalAnnualFees' field.- Returns:
- The value.
-
setTotalAnnualFees
Sets the value of the 'totalAnnualFees' field.- Parameters:
value- The value of 'totalAnnualFees'.- Returns:
- This builder.
-
hasTotalAnnualFees
public boolean hasTotalAnnualFees()Checks whether the 'totalAnnualFees' field has been set.- Returns:
- True if the 'totalAnnualFees' field has been set, false otherwise.
-
clearTotalAnnualFees
Clears the value of the 'totalAnnualFees' field.- Returns:
- This builder.
-
getTotalInterestEarned
Gets the value of the 'totalInterestEarned' field.- Returns:
- The value.
-
setTotalInterestEarned
Sets the value of the 'totalInterestEarned' field.- Parameters:
value- The value of 'totalInterestEarned'.- Returns:
- This builder.
-
hasTotalInterestEarned
public boolean hasTotalInterestEarned()Checks whether the 'totalInterestEarned' field has been set.- Returns:
- True if the 'totalInterestEarned' field has been set, false otherwise.
-
clearTotalInterestEarned
Clears the value of the 'totalInterestEarned' field.- Returns:
- This builder.
-
getTotalInterestPosted
Gets the value of the 'totalInterestPosted' field.- Returns:
- The value.
-
setTotalInterestPosted
Sets the value of the 'totalInterestPosted' field.- Parameters:
value- The value of 'totalInterestPosted'.- Returns:
- This builder.
-
hasTotalInterestPosted
public boolean hasTotalInterestPosted()Checks whether the 'totalInterestPosted' field has been set.- Returns:
- True if the 'totalInterestPosted' field has been set, false otherwise.
-
clearTotalInterestPosted
Clears the value of the 'totalInterestPosted' field.- Returns:
- This builder.
-
getAccountBalance
Gets the value of the 'accountBalance' field.- Returns:
- The value.
-
setAccountBalance
Sets the value of the 'accountBalance' field.- Parameters:
value- The value of 'accountBalance'.- Returns:
- This builder.
-
hasAccountBalance
public boolean hasAccountBalance()Checks whether the 'accountBalance' field has been set.- Returns:
- True if the 'accountBalance' field has been set, false otherwise.
-
clearAccountBalance
Clears the value of the 'accountBalance' field.- Returns:
- This builder.
-
getTotalFeeCharge
Gets the value of the 'totalFeeCharge' field.- Returns:
- The value.
-
setTotalFeeCharge
Sets the value of the 'totalFeeCharge' field.- Parameters:
value- The value of 'totalFeeCharge'.- Returns:
- This builder.
-
hasTotalFeeCharge
public boolean hasTotalFeeCharge()Checks whether the 'totalFeeCharge' field has been set.- Returns:
- True if the 'totalFeeCharge' field has been set, false otherwise.
-
clearTotalFeeCharge
Clears the value of the 'totalFeeCharge' field.- Returns:
- This builder.
-
getTotalPenaltyCharge
Gets the value of the 'totalPenaltyCharge' field.- Returns:
- The value.
-
setTotalPenaltyCharge
Sets the value of the 'totalPenaltyCharge' field.- Parameters:
value- The value of 'totalPenaltyCharge'.- Returns:
- This builder.
-
hasTotalPenaltyCharge
public boolean hasTotalPenaltyCharge()Checks whether the 'totalPenaltyCharge' field has been set.- Returns:
- True if the 'totalPenaltyCharge' field has been set, false otherwise.
-
clearTotalPenaltyCharge
Clears the value of the 'totalPenaltyCharge' field.- Returns:
- This builder.
-
getTotalOverdraftInterestDerived
Gets the value of the 'totalOverdraftInterestDerived' field.- Returns:
- The value.
-
setTotalOverdraftInterestDerived
Sets the value of the 'totalOverdraftInterestDerived' field.- Parameters:
value- The value of 'totalOverdraftInterestDerived'.- Returns:
- This builder.
-
hasTotalOverdraftInterestDerived
public boolean hasTotalOverdraftInterestDerived()Checks whether the 'totalOverdraftInterestDerived' field has been set.- Returns:
- True if the 'totalOverdraftInterestDerived' field has been set, false otherwise.
-
clearTotalOverdraftInterestDerived
Clears the value of the 'totalOverdraftInterestDerived' field.- Returns:
- This builder.
-
getTotalWithholdTax
Gets the value of the 'totalWithholdTax' field.- Returns:
- The value.
-
setTotalWithholdTax
Sets the value of the 'totalWithholdTax' field.- Parameters:
value- The value of 'totalWithholdTax'.- Returns:
- This builder.
-
hasTotalWithholdTax
public boolean hasTotalWithholdTax()Checks whether the 'totalWithholdTax' field has been set.- Returns:
- True if the 'totalWithholdTax' field has been set, false otherwise.
-
clearTotalWithholdTax
Clears the value of the 'totalWithholdTax' field.- Returns:
- This builder.
-
getInterestNotPosted
Gets the value of the 'interestNotPosted' field.- Returns:
- The value.
-
setInterestNotPosted
Sets the value of the 'interestNotPosted' field.- Parameters:
value- The value of 'interestNotPosted'.- Returns:
- This builder.
-
hasInterestNotPosted
public boolean hasInterestNotPosted()Checks whether the 'interestNotPosted' field has been set.- Returns:
- True if the 'interestNotPosted' field has been set, false otherwise.
-
clearInterestNotPosted
Clears the value of the 'interestNotPosted' field.- Returns:
- This builder.
-
getLastInterestCalculationDate
Gets the value of the 'lastInterestCalculationDate' field.- Returns:
- The value.
-
setLastInterestCalculationDate
Sets the value of the 'lastInterestCalculationDate' field.- Parameters:
value- The value of 'lastInterestCalculationDate'.- Returns:
- This builder.
-
hasLastInterestCalculationDate
public boolean hasLastInterestCalculationDate()Checks whether the 'lastInterestCalculationDate' field has been set.- Returns:
- True if the 'lastInterestCalculationDate' field has been set, false otherwise.
-
clearLastInterestCalculationDate
Clears the value of the 'lastInterestCalculationDate' field.- Returns:
- This builder.
-
getAvailableBalance
Gets the value of the 'availableBalance' field.- Returns:
- The value.
-
setAvailableBalance
Sets the value of the 'availableBalance' field.- Parameters:
value- The value of 'availableBalance'.- Returns:
- This builder.
-
hasAvailableBalance
public boolean hasAvailableBalance()Checks whether the 'availableBalance' field has been set.- Returns:
- True if the 'availableBalance' field has been set, false otherwise.
-
clearAvailableBalance
Clears the value of the 'availableBalance' field.- Returns:
- This builder.
-
getInterestPostedTillDate
Gets the value of the 'interestPostedTillDate' field.- Returns:
- The value.
-
setInterestPostedTillDate
Sets the value of the 'interestPostedTillDate' field.- Parameters:
value- The value of 'interestPostedTillDate'.- Returns:
- This builder.
-
hasInterestPostedTillDate
public boolean hasInterestPostedTillDate()Checks whether the 'interestPostedTillDate' field has been set.- Returns:
- True if the 'interestPostedTillDate' field has been set, false otherwise.
-
clearInterestPostedTillDate
Clears the value of the 'interestPostedTillDate' field.- Returns:
- This builder.
-
getPrevInterestPostedTillDate
Gets the value of the 'prevInterestPostedTillDate' field.- Returns:
- The value.
-
setPrevInterestPostedTillDate
Sets the value of the 'prevInterestPostedTillDate' field.- Parameters:
value- The value of 'prevInterestPostedTillDate'.- Returns:
- This builder.
-
hasPrevInterestPostedTillDate
public boolean hasPrevInterestPostedTillDate()Checks whether the 'prevInterestPostedTillDate' field has been set.- Returns:
- True if the 'prevInterestPostedTillDate' field has been set, false otherwise.
-
clearPrevInterestPostedTillDate
Clears the value of the 'prevInterestPostedTillDate' field.- Returns:
- This builder.
-
build
- Specified by:
buildin interfaceorg.apache.avro.data.RecordBuilder<SavingsAccountSummaryDataV1>
-