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 Details

    • getId

      public Long 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

      public Long getChargeId()
      Gets the value of the 'chargeId' field.
      Returns:
      The value.
    • setChargeId

      public SavingsAccountChargeDataV1.Builder setChargeId(Long value)
      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

      public SavingsAccountChargeDataV1.Builder clearChargeId()
      Clears the value of the 'chargeId' field.
      Returns:
      This builder.
    • getAccountId

      public Long getAccountId()
      Gets the value of the 'accountId' field.
      Returns:
      The value.
    • setAccountId

      public SavingsAccountChargeDataV1.Builder setAccountId(Long value)
      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

      public SavingsAccountChargeDataV1.Builder clearAccountId()
      Clears the value of the 'accountId' field.
      Returns:
      This builder.
    • getName

      public String 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

      public EnumOptionDataV1 getChargeTimeType()
      Gets the value of the 'chargeTimeType' field.
      Returns:
      The value.
    • setChargeTimeType

      public SavingsAccountChargeDataV1.Builder setChargeTimeType(EnumOptionDataV1 value)
      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

      public EnumOptionDataV1.Builder getChargeTimeTypeBuilder()
      Gets the Builder instance for the 'chargeTimeType' field and creates one if it doesn't exist yet.
      Returns:
      This builder.
    • setChargeTimeTypeBuilder

      public SavingsAccountChargeDataV1.Builder setChargeTimeTypeBuilder(EnumOptionDataV1.Builder value)
      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

      public SavingsAccountChargeDataV1.Builder clearChargeTimeType()
      Clears the value of the 'chargeTimeType' field.
      Returns:
      This builder.
    • getDueDate

      public String getDueDate()
      Gets the value of the 'dueDate' field.
      Returns:
      The value.
    • setDueDate

      public SavingsAccountChargeDataV1.Builder setDueDate(String value)
      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

      public SavingsAccountChargeDataV1.Builder clearDueDate()
      Clears the value of the 'dueDate' field.
      Returns:
      This builder.
    • getFeeOnMonthDay

      public String getFeeOnMonthDay()
      Gets the value of the 'feeOnMonthDay' field.
      Returns:
      The value.
    • setFeeOnMonthDay

      public SavingsAccountChargeDataV1.Builder setFeeOnMonthDay(String value)
      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

      public SavingsAccountChargeDataV1.Builder clearFeeOnMonthDay()
      Clears the value of the 'feeOnMonthDay' field.
      Returns:
      This builder.
    • getFeeInterval

      public Integer getFeeInterval()
      Gets the value of the 'feeInterval' field.
      Returns:
      The value.
    • setFeeInterval

      public SavingsAccountChargeDataV1.Builder setFeeInterval(Integer value)
      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

      public SavingsAccountChargeDataV1.Builder clearFeeInterval()
      Clears the value of the 'feeInterval' field.
      Returns:
      This builder.
    • getChargeCalculationType

      public EnumOptionDataV1 getChargeCalculationType()
      Gets the value of the 'chargeCalculationType' field.
      Returns:
      The value.
    • setChargeCalculationType

      public SavingsAccountChargeDataV1.Builder setChargeCalculationType(EnumOptionDataV1 value)
      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

      public EnumOptionDataV1.Builder 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

      public SavingsAccountChargeDataV1.Builder clearChargeCalculationType()
      Clears the value of the 'chargeCalculationType' field.
      Returns:
      This builder.
    • getPercentage

      public BigDecimal getPercentage()
      Gets the value of the 'percentage' field.
      Returns:
      The value.
    • setPercentage

      public SavingsAccountChargeDataV1.Builder setPercentage(BigDecimal value)
      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

      public SavingsAccountChargeDataV1.Builder clearPercentage()
      Clears the value of the 'percentage' field.
      Returns:
      This builder.
    • getAmountPercentageAppliedTo

      public BigDecimal getAmountPercentageAppliedTo()
      Gets the value of the 'amountPercentageAppliedTo' field.
      Returns:
      The value.
    • setAmountPercentageAppliedTo

      public SavingsAccountChargeDataV1.Builder setAmountPercentageAppliedTo(BigDecimal value)
      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

      public SavingsAccountChargeDataV1.Builder clearAmountPercentageAppliedTo()
      Clears the value of the 'amountPercentageAppliedTo' field.
      Returns:
      This builder.
    • getCurrency

      public CurrencyDataV1 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

      public CurrencyDataV1.Builder 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

      public SavingsAccountChargeDataV1.Builder clearCurrency()
      Clears the value of the 'currency' field.
      Returns:
      This builder.
    • getAmount

      public BigDecimal 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

      public SavingsAccountChargeDataV1.Builder clearAmount()
      Clears the value of the 'amount' field.
      Returns:
      This builder.
    • getAmountPaid

      public BigDecimal getAmountPaid()
      Gets the value of the 'amountPaid' field.
      Returns:
      The value.
    • setAmountPaid

      public SavingsAccountChargeDataV1.Builder setAmountPaid(BigDecimal value)
      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

      public SavingsAccountChargeDataV1.Builder clearAmountPaid()
      Clears the value of the 'amountPaid' field.
      Returns:
      This builder.
    • getAmountWaived

      public BigDecimal getAmountWaived()
      Gets the value of the 'amountWaived' field.
      Returns:
      The value.
    • setAmountWaived

      public SavingsAccountChargeDataV1.Builder setAmountWaived(BigDecimal value)
      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

      public SavingsAccountChargeDataV1.Builder clearAmountWaived()
      Clears the value of the 'amountWaived' field.
      Returns:
      This builder.
    • getAmountWrittenOff

      public BigDecimal getAmountWrittenOff()
      Gets the value of the 'amountWrittenOff' field.
      Returns:
      The value.
    • setAmountWrittenOff

      public SavingsAccountChargeDataV1.Builder setAmountWrittenOff(BigDecimal value)
      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

      public SavingsAccountChargeDataV1.Builder clearAmountWrittenOff()
      Clears the value of the 'amountWrittenOff' field.
      Returns:
      This builder.
    • getAmountOutstanding

      public BigDecimal getAmountOutstanding()
      Gets the value of the 'amountOutstanding' field.
      Returns:
      The value.
    • setAmountOutstanding

      public SavingsAccountChargeDataV1.Builder setAmountOutstanding(BigDecimal value)
      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

      public SavingsAccountChargeDataV1.Builder clearAmountOutstanding()
      Clears the value of the 'amountOutstanding' field.
      Returns:
      This builder.
    • getAmountOrPercentage

      public BigDecimal getAmountOrPercentage()
      Gets the value of the 'amountOrPercentage' field.
      Returns:
      The value.
    • setAmountOrPercentage

      public SavingsAccountChargeDataV1.Builder setAmountOrPercentage(BigDecimal value)
      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

      public SavingsAccountChargeDataV1.Builder clearAmountOrPercentage()
      Clears the value of the 'amountOrPercentage' field.
      Returns:
      This builder.
    • getPenalty

      public Boolean getPenalty()
      Gets the value of the 'penalty' field.
      Returns:
      The value.
    • setPenalty

      public SavingsAccountChargeDataV1.Builder setPenalty(Boolean value)
      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

      public SavingsAccountChargeDataV1.Builder clearPenalty()
      Clears the value of the 'penalty' field.
      Returns:
      This builder.
    • getIsActive

      public Boolean getIsActive()
      Gets the value of the 'isActive' field.
      Returns:
      The value.
    • setIsActive

      public SavingsAccountChargeDataV1.Builder setIsActive(Boolean value)
      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

      public SavingsAccountChargeDataV1.Builder clearIsActive()
      Clears the value of the 'isActive' field.
      Returns:
      This builder.
    • getIsFreeWithdrawal

      public Boolean getIsFreeWithdrawal()
      Gets the value of the 'isFreeWithdrawal' field.
      Returns:
      The value.
    • setIsFreeWithdrawal

      public SavingsAccountChargeDataV1.Builder setIsFreeWithdrawal(Boolean value)
      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

      public SavingsAccountChargeDataV1.Builder clearIsFreeWithdrawal()
      Clears the value of the 'isFreeWithdrawal' field.
      Returns:
      This builder.
    • getFreeWithdrawalChargeFrequency

      public Integer getFreeWithdrawalChargeFrequency()
      Gets the value of the 'freeWithdrawalChargeFrequency' field.
      Returns:
      The value.
    • setFreeWithdrawalChargeFrequency

      public SavingsAccountChargeDataV1.Builder setFreeWithdrawalChargeFrequency(Integer value)
      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

      public SavingsAccountChargeDataV1.Builder clearFreeWithdrawalChargeFrequency()
      Clears the value of the 'freeWithdrawalChargeFrequency' field.
      Returns:
      This builder.
    • getRestartFrequency

      public Integer getRestartFrequency()
      Gets the value of the 'restartFrequency' field.
      Returns:
      The value.
    • setRestartFrequency

      public SavingsAccountChargeDataV1.Builder setRestartFrequency(Integer value)
      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

      public SavingsAccountChargeDataV1.Builder clearRestartFrequency()
      Clears the value of the 'restartFrequency' field.
      Returns:
      This builder.
    • getRestartFrequencyEnum

      public Integer getRestartFrequencyEnum()
      Gets the value of the 'restartFrequencyEnum' field.
      Returns:
      The value.
    • setRestartFrequencyEnum

      public SavingsAccountChargeDataV1.Builder setRestartFrequencyEnum(Integer value)
      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

      public SavingsAccountChargeDataV1.Builder clearRestartFrequencyEnum()
      Clears the value of the 'restartFrequencyEnum' field.
      Returns:
      This builder.
    • getInactivationDate

      public String getInactivationDate()
      Gets the value of the 'inactivationDate' field.
      Returns:
      The value.
    • setInactivationDate

      public SavingsAccountChargeDataV1.Builder setInactivationDate(String value)
      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

      public SavingsAccountChargeDataV1.Builder clearInactivationDate()
      Clears the value of the 'inactivationDate' field.
      Returns:
      This builder.
    • getChargeData

      public ChargeDataV1 getChargeData()
      Gets the value of the 'chargeData' field.
      Returns:
      The value.
    • setChargeData

      public SavingsAccountChargeDataV1.Builder setChargeData(ChargeDataV1 value)
      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

      public ChargeDataV1.Builder getChargeDataBuilder()
      Gets the Builder instance for the 'chargeData' field and creates one if it doesn't exist yet.
      Returns:
      This builder.
    • setChargeDataBuilder

      public SavingsAccountChargeDataV1.Builder setChargeDataBuilder(ChargeDataV1.Builder value)
      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

      public SavingsAccountChargeDataV1.Builder clearChargeData()
      Clears the value of the 'chargeData' field.
      Returns:
      This builder.
    • build

      Specified by:
      build in interface org.apache.avro.data.RecordBuilder<SavingsAccountChargeDataV1>