Class ChargeDataV1.Builder
java.lang.Object
org.apache.avro.data.RecordBuilderBase<ChargeDataV1>
org.apache.avro.specific.SpecificRecordBuilderBase<ChargeDataV1>
org.apache.fineract.avro.portfolio.v1.ChargeDataV1.Builder
- All Implemented Interfaces:
org.apache.avro.data.RecordBuilder<ChargeDataV1>
- Enclosing class:
ChargeDataV1
public static class ChargeDataV1.Builder
extends org.apache.avro.specific.SpecificRecordBuilderBase<ChargeDataV1>
implements org.apache.avro.data.RecordBuilder<ChargeDataV1>
RecordBuilder for ChargeDataV1 instances.
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Clears the value of the 'active' field.Clears the value of the 'amount' field.Clears the value of the 'chargeAppliesTo' field.Clears the value of the 'chargeCalculationType' field.Clears the value of the 'chargePaymentMode' field.Clears the value of the 'chargeTimeType' field.Clears the value of the 'currency' field.Clears the value of the 'feeFrequency' field.Clears the value of the 'feeInterval' field.Clears the value of the 'feeOnMonthDay' field.Clears the value of the 'freeWithdrawal' field.Clears the value of the 'freeWithdrawalChargeFrequency' field.clearId()Clears the value of the 'id' field.Clears the value of the 'incomeOrLiabilityAccount' field.Clears the value of the 'isPaymentType' field.Clears the value of the 'maxCap' field.Clears the value of the 'minCap' field.Clears the value of the 'name' field.Clears the value of the 'paymentTypeOptions' field.Clears the value of the 'penalty' field.Clears the value of the 'restartFrequency' field.Clears the value of the 'restartFrequencyEnum' field.Gets the value of the 'active' field.Gets the value of the 'amount' field.Gets the value of the 'chargeAppliesTo' field.Gets the Builder instance for the 'chargeAppliesTo' field and creates one if it doesn't exist yet.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 'chargePaymentMode' field.Gets the Builder instance for the 'chargePaymentMode' field and creates one if it doesn't exist yet.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 'feeFrequency' field.Gets the Builder instance for the 'feeFrequency' field and creates one if it doesn't exist yet.Gets the value of the 'feeInterval' field.Gets the value of the 'feeOnMonthDay' field.Gets the value of the 'freeWithdrawal' field.Gets the value of the 'freeWithdrawalChargeFrequency' field.getId()Gets the value of the 'id' field.Gets the value of the 'incomeOrLiabilityAccount' field.Gets the Builder instance for the 'incomeOrLiabilityAccount' field and creates one if it doesn't exist yet.Gets the value of the 'isPaymentType' field.Gets the value of the 'maxCap' field.Gets the value of the 'minCap' field.getName()Gets the value of the 'name' field.Gets the value of the 'paymentTypeOptions' field.Gets the Builder instance for the 'paymentTypeOptions' field and creates one if it doesn't exist yet.Gets the value of the 'penalty' field.Gets the value of the 'restartFrequency' field.Gets the value of the 'restartFrequencyEnum' field.booleanChecks whether the 'active' field has been set.booleanChecks whether the 'amount' field has been set.booleanChecks whether the 'chargeAppliesTo' field has been set.booleanChecks whether the 'chargeAppliesTo' field has an active Builder instancebooleanChecks whether the 'chargeCalculationType' field has been set.booleanChecks whether the 'chargeCalculationType' field has an active Builder instancebooleanChecks whether the 'chargePaymentMode' field has been set.booleanChecks whether the 'chargePaymentMode' field has an active Builder instancebooleanChecks 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 'feeFrequency' field has been set.booleanChecks whether the 'feeFrequency' field has an active Builder instancebooleanChecks whether the 'feeInterval' field has been set.booleanChecks whether the 'feeOnMonthDay' field has been set.booleanChecks whether the 'freeWithdrawal' field has been set.booleanChecks whether the 'freeWithdrawalChargeFrequency' field has been set.booleanhasId()Checks whether the 'id' field has been set.booleanChecks whether the 'incomeOrLiabilityAccount' field has been set.booleanChecks whether the 'incomeOrLiabilityAccount' field has an active Builder instancebooleanChecks whether the 'isPaymentType' field has been set.booleanChecks whether the 'maxCap' field has been set.booleanChecks whether the 'minCap' field has been set.booleanhasName()Checks whether the 'name' field has been set.booleanChecks whether the 'paymentTypeOptions' field has been set.booleanChecks whether the 'paymentTypeOptions' field has an active Builder instancebooleanChecks whether the 'penalty' field has been set.booleanChecks whether the 'restartFrequency' field has been set.booleanChecks whether the 'restartFrequencyEnum' field has been set.Sets the value of the 'active' field.setAmount(BigDecimal value) Sets the value of the 'amount' field.Sets the value of the 'chargeAppliesTo' field.Sets the Builder instance for the 'chargeAppliesTo' fieldSets the value of the 'chargeCalculationType' field.Sets the Builder instance for the 'chargeCalculationType' fieldSets the value of the 'chargePaymentMode' field.Sets the Builder instance for the 'chargePaymentMode' fieldSets 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' fieldsetFeeFrequency(EnumOptionDataV1 value) Sets the value of the 'feeFrequency' field.Sets the Builder instance for the 'feeFrequency' fieldsetFeeInterval(Integer value) Sets the value of the 'feeInterval' field.setFeeOnMonthDay(String value) Sets the value of the 'feeOnMonthDay' field.setFreeWithdrawal(Boolean value) Sets the value of the 'freeWithdrawal' field.Sets the value of the 'freeWithdrawalChargeFrequency' field.Sets the value of the 'id' field.Sets the value of the 'incomeOrLiabilityAccount' field.Sets the Builder instance for the 'incomeOrLiabilityAccount' fieldsetIsPaymentType(Boolean value) Sets the value of the 'isPaymentType' field.setMaxCap(BigDecimal value) Sets the value of the 'maxCap' field.setMinCap(BigDecimal value) Sets the value of the 'minCap' field.Sets the value of the 'name' field.Sets the value of the 'paymentTypeOptions' field.Sets the Builder instance for the 'paymentTypeOptions' fieldsetPenalty(Boolean value) Sets the value of the 'penalty' 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.
-
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.
-
getActive
Gets the value of the 'active' field.- Returns:
- The value.
-
setActive
Sets the value of the 'active' field.- Parameters:
value- The value of 'active'.- Returns:
- This builder.
-
hasActive
public boolean hasActive()Checks whether the 'active' field has been set.- Returns:
- True if the 'active' field has been set, false otherwise.
-
clearActive
Clears the value of the 'active' 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.
-
getFreeWithdrawal
Gets the value of the 'freeWithdrawal' field.- Returns:
- The value.
-
setFreeWithdrawal
Sets the value of the 'freeWithdrawal' field.- Parameters:
value- The value of 'freeWithdrawal'.- Returns:
- This builder.
-
hasFreeWithdrawal
public boolean hasFreeWithdrawal()Checks whether the 'freeWithdrawal' field has been set.- Returns:
- True if the 'freeWithdrawal' field has been set, false otherwise.
-
clearFreeWithdrawal
Clears the value of the 'freeWithdrawal' 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.
-
getIsPaymentType
Gets the value of the 'isPaymentType' field.- Returns:
- The value.
-
setIsPaymentType
Sets the value of the 'isPaymentType' field.- Parameters:
value- The value of 'isPaymentType'.- Returns:
- This builder.
-
hasIsPaymentType
public boolean hasIsPaymentType()Checks whether the 'isPaymentType' field has been set.- Returns:
- True if the 'isPaymentType' field has been set, false otherwise.
-
clearIsPaymentType
Clears the value of the 'isPaymentType' field.- Returns:
- This builder.
-
getPaymentTypeOptions
Gets the value of the 'paymentTypeOptions' field.- Returns:
- The value.
-
setPaymentTypeOptions
Sets the value of the 'paymentTypeOptions' field.- Parameters:
value- The value of 'paymentTypeOptions'.- Returns:
- This builder.
-
hasPaymentTypeOptions
public boolean hasPaymentTypeOptions()Checks whether the 'paymentTypeOptions' field has been set.- Returns:
- True if the 'paymentTypeOptions' field has been set, false otherwise.
-
getPaymentTypeOptionsBuilder
Gets the Builder instance for the 'paymentTypeOptions' field and creates one if it doesn't exist yet.- Returns:
- This builder.
-
setPaymentTypeOptionsBuilder
Sets the Builder instance for the 'paymentTypeOptions' field- Parameters:
value- The builder instance that must be set.- Returns:
- This builder.
-
hasPaymentTypeOptionsBuilder
public boolean hasPaymentTypeOptionsBuilder()Checks whether the 'paymentTypeOptions' field has an active Builder instance- Returns:
- True if the 'paymentTypeOptions' field has an active Builder instance
-
clearPaymentTypeOptions
Clears the value of the 'paymentTypeOptions' 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.
-
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.
-
getChargeAppliesTo
Gets the value of the 'chargeAppliesTo' field.- Returns:
- The value.
-
setChargeAppliesTo
Sets the value of the 'chargeAppliesTo' field.- Parameters:
value- The value of 'chargeAppliesTo'.- Returns:
- This builder.
-
hasChargeAppliesTo
public boolean hasChargeAppliesTo()Checks whether the 'chargeAppliesTo' field has been set.- Returns:
- True if the 'chargeAppliesTo' field has been set, false otherwise.
-
getChargeAppliesToBuilder
Gets the Builder instance for the 'chargeAppliesTo' field and creates one if it doesn't exist yet.- Returns:
- This builder.
-
setChargeAppliesToBuilder
Sets the Builder instance for the 'chargeAppliesTo' field- Parameters:
value- The builder instance that must be set.- Returns:
- This builder.
-
hasChargeAppliesToBuilder
public boolean hasChargeAppliesToBuilder()Checks whether the 'chargeAppliesTo' field has an active Builder instance- Returns:
- True if the 'chargeAppliesTo' field has an active Builder instance
-
clearChargeAppliesTo
Clears the value of the 'chargeAppliesTo' 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
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.
-
getChargePaymentMode
Gets the value of the 'chargePaymentMode' field.- Returns:
- The value.
-
setChargePaymentMode
Sets the value of the 'chargePaymentMode' field.- Parameters:
value- The value of 'chargePaymentMode'.- Returns:
- This builder.
-
hasChargePaymentMode
public boolean hasChargePaymentMode()Checks whether the 'chargePaymentMode' field has been set.- Returns:
- True if the 'chargePaymentMode' field has been set, false otherwise.
-
getChargePaymentModeBuilder
Gets the Builder instance for the 'chargePaymentMode' field and creates one if it doesn't exist yet.- Returns:
- This builder.
-
setChargePaymentModeBuilder
Sets the Builder instance for the 'chargePaymentMode' field- Parameters:
value- The builder instance that must be set.- Returns:
- This builder.
-
hasChargePaymentModeBuilder
public boolean hasChargePaymentModeBuilder()Checks whether the 'chargePaymentMode' field has an active Builder instance- Returns:
- True if the 'chargePaymentMode' field has an active Builder instance
-
clearChargePaymentMode
Clears the value of the 'chargePaymentMode' 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.
-
getMinCap
Gets the value of the 'minCap' field.- Returns:
- The value.
-
setMinCap
Sets the value of the 'minCap' field.- Parameters:
value- The value of 'minCap'.- Returns:
- This builder.
-
hasMinCap
public boolean hasMinCap()Checks whether the 'minCap' field has been set.- Returns:
- True if the 'minCap' field has been set, false otherwise.
-
clearMinCap
Clears the value of the 'minCap' field.- Returns:
- This builder.
-
getMaxCap
Gets the value of the 'maxCap' field.- Returns:
- The value.
-
setMaxCap
Sets the value of the 'maxCap' field.- Parameters:
value- The value of 'maxCap'.- Returns:
- This builder.
-
hasMaxCap
public boolean hasMaxCap()Checks whether the 'maxCap' field has been set.- Returns:
- True if the 'maxCap' field has been set, false otherwise.
-
clearMaxCap
Clears the value of the 'maxCap' field.- Returns:
- This builder.
-
getFeeFrequency
Gets the value of the 'feeFrequency' field.- Returns:
- The value.
-
setFeeFrequency
Sets the value of the 'feeFrequency' field.- Parameters:
value- The value of 'feeFrequency'.- Returns:
- This builder.
-
hasFeeFrequency
public boolean hasFeeFrequency()Checks whether the 'feeFrequency' field has been set.- Returns:
- True if the 'feeFrequency' field has been set, false otherwise.
-
getFeeFrequencyBuilder
Gets the Builder instance for the 'feeFrequency' field and creates one if it doesn't exist yet.- Returns:
- This builder.
-
setFeeFrequencyBuilder
Sets the Builder instance for the 'feeFrequency' field- Parameters:
value- The builder instance that must be set.- Returns:
- This builder.
-
hasFeeFrequencyBuilder
public boolean hasFeeFrequencyBuilder()Checks whether the 'feeFrequency' field has an active Builder instance- Returns:
- True if the 'feeFrequency' field has an active Builder instance
-
clearFeeFrequency
Clears the value of the 'feeFrequency' field.- Returns:
- This builder.
-
getIncomeOrLiabilityAccount
Gets the value of the 'incomeOrLiabilityAccount' field.- Returns:
- The value.
-
setIncomeOrLiabilityAccount
Sets the value of the 'incomeOrLiabilityAccount' field.- Parameters:
value- The value of 'incomeOrLiabilityAccount'.- Returns:
- This builder.
-
hasIncomeOrLiabilityAccount
public boolean hasIncomeOrLiabilityAccount()Checks whether the 'incomeOrLiabilityAccount' field has been set.- Returns:
- True if the 'incomeOrLiabilityAccount' field has been set, false otherwise.
-
getIncomeOrLiabilityAccountBuilder
Gets the Builder instance for the 'incomeOrLiabilityAccount' field and creates one if it doesn't exist yet.- Returns:
- This builder.
-
setIncomeOrLiabilityAccountBuilder
Sets the Builder instance for the 'incomeOrLiabilityAccount' field- Parameters:
value- The builder instance that must be set.- Returns:
- This builder.
-
hasIncomeOrLiabilityAccountBuilder
public boolean hasIncomeOrLiabilityAccountBuilder()Checks whether the 'incomeOrLiabilityAccount' field has an active Builder instance- Returns:
- True if the 'incomeOrLiabilityAccount' field has an active Builder instance
-
clearIncomeOrLiabilityAccount
Clears the value of the 'incomeOrLiabilityAccount' field.- Returns:
- This builder.
-
build
- Specified by:
buildin interfaceorg.apache.avro.data.RecordBuilder<ChargeDataV1>
-