Class SavingsAccountChargeDataV1.Builder
java.lang.Object
org.apache.avro.data.RecordBuilderBase<SavingsAccountChargeDataV1>
org.apache.avro.specific.SpecificRecordBuilderBase<SavingsAccountChargeDataV1>
org.apache.fineract.avro.savings.v1.SavingsAccountChargeDataV1.Builder
- All Implemented Interfaces:
org.apache.avro.data.RecordBuilder<SavingsAccountChargeDataV1>
- Enclosing class:
SavingsAccountChargeDataV1
public static class SavingsAccountChargeDataV1.Builder
extends org.apache.avro.specific.SpecificRecordBuilderBase<SavingsAccountChargeDataV1>
implements org.apache.avro.data.RecordBuilder<SavingsAccountChargeDataV1>
RecordBuilder for SavingsAccountChargeDataV1 instances.
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Clears the value of the 'accountId' field.Clears the value of the 'amount' field.Clears the value of the 'amountOrPercentage' field.Clears the value of the 'amountOutstanding' field.Clears the value of the 'amountPaid' field.Clears the value of the 'amountPercentageAppliedTo' field.Clears the value of the 'amountWaived' field.Clears the value of the 'amountWrittenOff' field.Clears the value of the 'chargeCalculationType' field.Clears the value of the 'chargeData' field.Clears the value of the 'chargeId' field.Clears the value of the 'chargeTimeType' field.Clears the value of the 'currency' field.Clears the value of the 'dueDate' field.Clears the value of the 'feeInterval' field.Clears the value of the 'feeOnMonthDay' field.Clears the value of the 'freeWithdrawalChargeFrequency' field.clearId()Clears the value of the 'id' field.Clears the value of the 'inactivationDate' field.Clears the value of the 'isActive' field.Clears the value of the 'isFreeWithdrawal' field.Clears the value of the 'name' field.Clears the value of the 'penalty' field.Clears the value of the 'percentage' field.Clears the value of the 'restartFrequency' field.Clears the value of the 'restartFrequencyEnum' field.Gets the value of the 'accountId' field.Gets the value of the 'amount' field.Gets the value of the 'amountOrPercentage' field.Gets the value of the 'amountOutstanding' field.Gets the value of the 'amountPaid' field.Gets the value of the 'amountPercentageAppliedTo' field.Gets the value of the 'amountWaived' field.Gets the value of the 'amountWrittenOff' field.Gets the value of the 'chargeCalculationType' field.Gets the Builder instance for the 'chargeCalculationType' field and creates one if it doesn't exist yet.Gets the value of the 'chargeData' field.Gets the Builder instance for the 'chargeData' field and creates one if it doesn't exist yet.Gets the value of the 'chargeId' field.Gets the value of the 'chargeTimeType' field.Gets the Builder instance for the 'chargeTimeType' field and creates one if it doesn't exist yet.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 'dueDate' field.Gets the value of the 'feeInterval' field.Gets the value of the 'feeOnMonthDay' field.Gets the value of the 'freeWithdrawalChargeFrequency' field.getId()Gets the value of the 'id' field.Gets the value of the 'inactivationDate' field.Gets the value of the 'isActive' field.Gets the value of the 'isFreeWithdrawal' field.getName()Gets the value of the 'name' field.Gets the value of the 'penalty' field.Gets the value of the 'percentage' field.Gets the value of the 'restartFrequency' field.Gets the value of the 'restartFrequencyEnum' field.booleanChecks whether the 'accountId' field has been set.booleanChecks whether the 'amount' field has been set.booleanChecks whether the 'amountOrPercentage' field has been set.booleanChecks whether the 'amountOutstanding' field has been set.booleanChecks whether the 'amountPaid' field has been set.booleanChecks whether the 'amountPercentageAppliedTo' field has been set.booleanChecks whether the 'amountWaived' field has been set.booleanChecks whether the 'amountWrittenOff' field has been set.booleanChecks whether the 'chargeCalculationType' field has been set.booleanChecks whether the 'chargeCalculationType' field has an active Builder instancebooleanChecks whether the 'chargeData' field has been set.booleanChecks whether the 'chargeData' field has an active Builder instancebooleanChecks whether the 'chargeId' field has been set.booleanChecks whether the 'chargeTimeType' field has been set.booleanChecks whether the 'chargeTimeType' field has an active Builder instancebooleanChecks whether the 'currency' field has been set.booleanChecks whether the 'currency' field has an active Builder instancebooleanChecks whether the 'dueDate' field has been set.booleanChecks whether the 'feeInterval' field has been set.booleanChecks whether the 'feeOnMonthDay' field has been set.booleanChecks whether the 'freeWithdrawalChargeFrequency' field has been set.booleanhasId()Checks whether the 'id' field has been set.booleanChecks whether the 'inactivationDate' field has been set.booleanChecks whether the 'isActive' field has been set.booleanChecks whether the 'isFreeWithdrawal' field has been set.booleanhasName()Checks whether the 'name' field has been set.booleanChecks whether the 'penalty' field has been set.booleanChecks whether the 'percentage' field has been set.booleanChecks whether the 'restartFrequency' field has been set.booleanChecks whether the 'restartFrequencyEnum' field has been set.setAccountId(Long value) Sets the value of the 'accountId' field.setAmount(BigDecimal value) Sets the value of the 'amount' field.setAmountOrPercentage(BigDecimal value) Sets the value of the 'amountOrPercentage' field.setAmountOutstanding(BigDecimal value) Sets the value of the 'amountOutstanding' field.setAmountPaid(BigDecimal value) Sets the value of the 'amountPaid' field.Sets the value of the 'amountPercentageAppliedTo' field.setAmountWaived(BigDecimal value) Sets the value of the 'amountWaived' field.setAmountWrittenOff(BigDecimal value) Sets the value of the 'amountWrittenOff' field.Sets the value of the 'chargeCalculationType' field.Sets the Builder instance for the 'chargeCalculationType' fieldsetChargeData(ChargeDataV1 value) Sets the value of the 'chargeData' field.Sets the Builder instance for the 'chargeData' fieldsetChargeId(Long value) Sets the value of the 'chargeId' field.Sets the value of the 'chargeTimeType' field.Sets the Builder instance for the 'chargeTimeType' fieldsetCurrency(CurrencyDataV1 value) Sets the value of the 'currency' field.Sets the Builder instance for the 'currency' fieldsetDueDate(String value) Sets the value of the 'dueDate' field.setFeeInterval(Integer value) Sets the value of the 'feeInterval' field.setFeeOnMonthDay(String value) Sets the value of the 'feeOnMonthDay' field.Sets the value of the 'freeWithdrawalChargeFrequency' field.Sets the value of the 'id' field.setInactivationDate(String value) Sets the value of the 'inactivationDate' field.setIsActive(Boolean value) Sets the value of the 'isActive' field.setIsFreeWithdrawal(Boolean value) Sets the value of the 'isFreeWithdrawal' field.Sets the value of the 'name' field.setPenalty(Boolean value) Sets the value of the 'penalty' field.setPercentage(BigDecimal value) Sets the value of the 'percentage' field.setRestartFrequency(Integer value) Sets the value of the 'restartFrequency' field.setRestartFrequencyEnum(Integer value) Sets the value of the 'restartFrequencyEnum' field.Methods inherited from class org.apache.avro.data.RecordBuilderBase
data, defaultValue, equals, fields, fieldSetFlags, hashCode, isValidValue, schema, validate
-
Method Details
-
getId
Gets the value of the 'id' field.- Returns:
- The value.
-
setId
Sets the value of the 'id' field.- Parameters:
value- The value of 'id'.- Returns:
- This builder.
-
hasId
public boolean hasId()Checks whether the 'id' field has been set.- Returns:
- True if the 'id' field has been set, false otherwise.
-
clearId
Clears the value of the 'id' field.- Returns:
- This builder.
-
getChargeId
Gets the value of the 'chargeId' field.- Returns:
- The value.
-
setChargeId
Sets the value of the 'chargeId' field.- Parameters:
value- The value of 'chargeId'.- Returns:
- This builder.
-
hasChargeId
public boolean hasChargeId()Checks whether the 'chargeId' field has been set.- Returns:
- True if the 'chargeId' field has been set, false otherwise.
-
clearChargeId
Clears the value of the 'chargeId' field.- Returns:
- This builder.
-
getAccountId
Gets the value of the 'accountId' field.- Returns:
- The value.
-
setAccountId
Sets the value of the 'accountId' field.- Parameters:
value- The value of 'accountId'.- Returns:
- This builder.
-
hasAccountId
public boolean hasAccountId()Checks whether the 'accountId' field has been set.- Returns:
- True if the 'accountId' field has been set, false otherwise.
-
clearAccountId
Clears the value of the 'accountId' field.- Returns:
- This builder.
-
getName
Gets the value of the 'name' field.- Returns:
- The value.
-
setName
Sets the value of the 'name' field.- Parameters:
value- The value of 'name'.- Returns:
- This builder.
-
hasName
public boolean hasName()Checks whether the 'name' field has been set.- Returns:
- True if the 'name' field has been set, false otherwise.
-
clearName
Clears the value of the 'name' field.- Returns:
- This builder.
-
getChargeTimeType
Gets the value of the 'chargeTimeType' field.- Returns:
- The value.
-
setChargeTimeType
Sets the value of the 'chargeTimeType' field.- Parameters:
value- The value of 'chargeTimeType'.- Returns:
- This builder.
-
hasChargeTimeType
public boolean hasChargeTimeType()Checks whether the 'chargeTimeType' field has been set.- Returns:
- True if the 'chargeTimeType' field has been set, false otherwise.
-
getChargeTimeTypeBuilder
Gets the Builder instance for the 'chargeTimeType' field and creates one if it doesn't exist yet.- Returns:
- This builder.
-
setChargeTimeTypeBuilder
Sets the Builder instance for the 'chargeTimeType' field- Parameters:
value- The builder instance that must be set.- Returns:
- This builder.
-
hasChargeTimeTypeBuilder
public boolean hasChargeTimeTypeBuilder()Checks whether the 'chargeTimeType' field has an active Builder instance- Returns:
- True if the 'chargeTimeType' field has an active Builder instance
-
clearChargeTimeType
Clears the value of the 'chargeTimeType' field.- Returns:
- This builder.
-
getDueDate
Gets the value of the 'dueDate' field.- Returns:
- The value.
-
setDueDate
Sets the value of the 'dueDate' field.- Parameters:
value- The value of 'dueDate'.- Returns:
- This builder.
-
hasDueDate
public boolean hasDueDate()Checks whether the 'dueDate' field has been set.- Returns:
- True if the 'dueDate' field has been set, false otherwise.
-
clearDueDate
Clears the value of the 'dueDate' field.- Returns:
- This builder.
-
getFeeOnMonthDay
Gets the value of the 'feeOnMonthDay' field.- Returns:
- The value.
-
setFeeOnMonthDay
Sets the value of the 'feeOnMonthDay' field.- Parameters:
value- The value of 'feeOnMonthDay'.- Returns:
- This builder.
-
hasFeeOnMonthDay
public boolean hasFeeOnMonthDay()Checks whether the 'feeOnMonthDay' field has been set.- Returns:
- True if the 'feeOnMonthDay' field has been set, false otherwise.
-
clearFeeOnMonthDay
Clears the value of the 'feeOnMonthDay' field.- Returns:
- This builder.
-
getFeeInterval
Gets the value of the 'feeInterval' field.- Returns:
- The value.
-
setFeeInterval
Sets the value of the 'feeInterval' field.- Parameters:
value- The value of 'feeInterval'.- Returns:
- This builder.
-
hasFeeInterval
public boolean hasFeeInterval()Checks whether the 'feeInterval' field has been set.- Returns:
- True if the 'feeInterval' field has been set, false otherwise.
-
clearFeeInterval
Clears the value of the 'feeInterval' field.- Returns:
- This builder.
-
getChargeCalculationType
Gets the value of the 'chargeCalculationType' field.- Returns:
- The value.
-
setChargeCalculationType
Sets the value of the 'chargeCalculationType' field.- Parameters:
value- The value of 'chargeCalculationType'.- Returns:
- This builder.
-
hasChargeCalculationType
public boolean hasChargeCalculationType()Checks whether the 'chargeCalculationType' field has been set.- Returns:
- True if the 'chargeCalculationType' field has been set, false otherwise.
-
getChargeCalculationTypeBuilder
Gets the Builder instance for the 'chargeCalculationType' field and creates one if it doesn't exist yet.- Returns:
- This builder.
-
setChargeCalculationTypeBuilder
public SavingsAccountChargeDataV1.Builder setChargeCalculationTypeBuilder(EnumOptionDataV1.Builder value) Sets the Builder instance for the 'chargeCalculationType' field- Parameters:
value- The builder instance that must be set.- Returns:
- This builder.
-
hasChargeCalculationTypeBuilder
public boolean hasChargeCalculationTypeBuilder()Checks whether the 'chargeCalculationType' field has an active Builder instance- Returns:
- True if the 'chargeCalculationType' field has an active Builder instance
-
clearChargeCalculationType
Clears the value of the 'chargeCalculationType' field.- Returns:
- This builder.
-
getPercentage
Gets the value of the 'percentage' field.- Returns:
- The value.
-
setPercentage
Sets the value of the 'percentage' field.- Parameters:
value- The value of 'percentage'.- Returns:
- This builder.
-
hasPercentage
public boolean hasPercentage()Checks whether the 'percentage' field has been set.- Returns:
- True if the 'percentage' field has been set, false otherwise.
-
clearPercentage
Clears the value of the 'percentage' field.- Returns:
- This builder.
-
getAmountPercentageAppliedTo
Gets the value of the 'amountPercentageAppliedTo' field.- Returns:
- The value.
-
setAmountPercentageAppliedTo
Sets the value of the 'amountPercentageAppliedTo' field.- Parameters:
value- The value of 'amountPercentageAppliedTo'.- Returns:
- This builder.
-
hasAmountPercentageAppliedTo
public boolean hasAmountPercentageAppliedTo()Checks whether the 'amountPercentageAppliedTo' field has been set.- Returns:
- True if the 'amountPercentageAppliedTo' field has been set, false otherwise.
-
clearAmountPercentageAppliedTo
Clears the value of the 'amountPercentageAppliedTo' field.- Returns:
- This builder.
-
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.
-
getAmount
Gets the value of the 'amount' field.- Returns:
- The value.
-
setAmount
Sets the value of the 'amount' field.- Parameters:
value- The value of 'amount'.- Returns:
- This builder.
-
hasAmount
public boolean hasAmount()Checks whether the 'amount' field has been set.- Returns:
- True if the 'amount' field has been set, false otherwise.
-
clearAmount
Clears the value of the 'amount' field.- Returns:
- This builder.
-
getAmountPaid
Gets the value of the 'amountPaid' field.- Returns:
- The value.
-
setAmountPaid
Sets the value of the 'amountPaid' field.- Parameters:
value- The value of 'amountPaid'.- Returns:
- This builder.
-
hasAmountPaid
public boolean hasAmountPaid()Checks whether the 'amountPaid' field has been set.- Returns:
- True if the 'amountPaid' field has been set, false otherwise.
-
clearAmountPaid
Clears the value of the 'amountPaid' field.- Returns:
- This builder.
-
getAmountWaived
Gets the value of the 'amountWaived' field.- Returns:
- The value.
-
setAmountWaived
Sets the value of the 'amountWaived' field.- Parameters:
value- The value of 'amountWaived'.- Returns:
- This builder.
-
hasAmountWaived
public boolean hasAmountWaived()Checks whether the 'amountWaived' field has been set.- Returns:
- True if the 'amountWaived' field has been set, false otherwise.
-
clearAmountWaived
Clears the value of the 'amountWaived' field.- Returns:
- This builder.
-
getAmountWrittenOff
Gets the value of the 'amountWrittenOff' field.- Returns:
- The value.
-
setAmountWrittenOff
Sets the value of the 'amountWrittenOff' field.- Parameters:
value- The value of 'amountWrittenOff'.- Returns:
- This builder.
-
hasAmountWrittenOff
public boolean hasAmountWrittenOff()Checks whether the 'amountWrittenOff' field has been set.- Returns:
- True if the 'amountWrittenOff' field has been set, false otherwise.
-
clearAmountWrittenOff
Clears the value of the 'amountWrittenOff' field.- Returns:
- This builder.
-
getAmountOutstanding
Gets the value of the 'amountOutstanding' field.- Returns:
- The value.
-
setAmountOutstanding
Sets the value of the 'amountOutstanding' field.- Parameters:
value- The value of 'amountOutstanding'.- Returns:
- This builder.
-
hasAmountOutstanding
public boolean hasAmountOutstanding()Checks whether the 'amountOutstanding' field has been set.- Returns:
- True if the 'amountOutstanding' field has been set, false otherwise.
-
clearAmountOutstanding
Clears the value of the 'amountOutstanding' field.- Returns:
- This builder.
-
getAmountOrPercentage
Gets the value of the 'amountOrPercentage' field.- Returns:
- The value.
-
setAmountOrPercentage
Sets the value of the 'amountOrPercentage' field.- Parameters:
value- The value of 'amountOrPercentage'.- Returns:
- This builder.
-
hasAmountOrPercentage
public boolean hasAmountOrPercentage()Checks whether the 'amountOrPercentage' field has been set.- Returns:
- True if the 'amountOrPercentage' field has been set, false otherwise.
-
clearAmountOrPercentage
Clears the value of the 'amountOrPercentage' field.- Returns:
- This builder.
-
getPenalty
Gets the value of the 'penalty' field.- Returns:
- The value.
-
setPenalty
Sets the value of the 'penalty' field.- Parameters:
value- The value of 'penalty'.- Returns:
- This builder.
-
hasPenalty
public boolean hasPenalty()Checks whether the 'penalty' field has been set.- Returns:
- True if the 'penalty' field has been set, false otherwise.
-
clearPenalty
Clears the value of the 'penalty' field.- Returns:
- This builder.
-
getIsActive
Gets the value of the 'isActive' field.- Returns:
- The value.
-
setIsActive
Sets the value of the 'isActive' field.- Parameters:
value- The value of 'isActive'.- Returns:
- This builder.
-
hasIsActive
public boolean hasIsActive()Checks whether the 'isActive' field has been set.- Returns:
- True if the 'isActive' field has been set, false otherwise.
-
clearIsActive
Clears the value of the 'isActive' field.- Returns:
- This builder.
-
getIsFreeWithdrawal
Gets the value of the 'isFreeWithdrawal' field.- Returns:
- The value.
-
setIsFreeWithdrawal
Sets the value of the 'isFreeWithdrawal' field.- Parameters:
value- The value of 'isFreeWithdrawal'.- Returns:
- This builder.
-
hasIsFreeWithdrawal
public boolean hasIsFreeWithdrawal()Checks whether the 'isFreeWithdrawal' field has been set.- Returns:
- True if the 'isFreeWithdrawal' field has been set, false otherwise.
-
clearIsFreeWithdrawal
Clears the value of the 'isFreeWithdrawal' field.- Returns:
- This builder.
-
getFreeWithdrawalChargeFrequency
Gets the value of the 'freeWithdrawalChargeFrequency' field.- Returns:
- The value.
-
setFreeWithdrawalChargeFrequency
Sets the value of the 'freeWithdrawalChargeFrequency' field.- Parameters:
value- The value of 'freeWithdrawalChargeFrequency'.- Returns:
- This builder.
-
hasFreeWithdrawalChargeFrequency
public boolean hasFreeWithdrawalChargeFrequency()Checks whether the 'freeWithdrawalChargeFrequency' field has been set.- Returns:
- True if the 'freeWithdrawalChargeFrequency' field has been set, false otherwise.
-
clearFreeWithdrawalChargeFrequency
Clears the value of the 'freeWithdrawalChargeFrequency' field.- Returns:
- This builder.
-
getRestartFrequency
Gets the value of the 'restartFrequency' field.- Returns:
- The value.
-
setRestartFrequency
Sets the value of the 'restartFrequency' field.- Parameters:
value- The value of 'restartFrequency'.- Returns:
- This builder.
-
hasRestartFrequency
public boolean hasRestartFrequency()Checks whether the 'restartFrequency' field has been set.- Returns:
- True if the 'restartFrequency' field has been set, false otherwise.
-
clearRestartFrequency
Clears the value of the 'restartFrequency' field.- Returns:
- This builder.
-
getRestartFrequencyEnum
Gets the value of the 'restartFrequencyEnum' field.- Returns:
- The value.
-
setRestartFrequencyEnum
Sets the value of the 'restartFrequencyEnum' field.- Parameters:
value- The value of 'restartFrequencyEnum'.- Returns:
- This builder.
-
hasRestartFrequencyEnum
public boolean hasRestartFrequencyEnum()Checks whether the 'restartFrequencyEnum' field has been set.- Returns:
- True if the 'restartFrequencyEnum' field has been set, false otherwise.
-
clearRestartFrequencyEnum
Clears the value of the 'restartFrequencyEnum' field.- Returns:
- This builder.
-
getInactivationDate
Gets the value of the 'inactivationDate' field.- Returns:
- The value.
-
setInactivationDate
Sets the value of the 'inactivationDate' field.- Parameters:
value- The value of 'inactivationDate'.- Returns:
- This builder.
-
hasInactivationDate
public boolean hasInactivationDate()Checks whether the 'inactivationDate' field has been set.- Returns:
- True if the 'inactivationDate' field has been set, false otherwise.
-
clearInactivationDate
Clears the value of the 'inactivationDate' field.- Returns:
- This builder.
-
getChargeData
Gets the value of the 'chargeData' field.- Returns:
- The value.
-
setChargeData
Sets the value of the 'chargeData' field.- Parameters:
value- The value of 'chargeData'.- Returns:
- This builder.
-
hasChargeData
public boolean hasChargeData()Checks whether the 'chargeData' field has been set.- Returns:
- True if the 'chargeData' field has been set, false otherwise.
-
getChargeDataBuilder
Gets the Builder instance for the 'chargeData' field and creates one if it doesn't exist yet.- Returns:
- This builder.
-
setChargeDataBuilder
Sets the Builder instance for the 'chargeData' field- Parameters:
value- The builder instance that must be set.- Returns:
- This builder.
-
hasChargeDataBuilder
public boolean hasChargeDataBuilder()Checks whether the 'chargeData' field has an active Builder instance- Returns:
- True if the 'chargeData' field has an active Builder instance
-
clearChargeData
Clears the value of the 'chargeData' field.- Returns:
- This builder.
-
build
- Specified by:
buildin interfaceorg.apache.avro.data.RecordBuilder<SavingsAccountChargeDataV1>
-