Class RepaymentDueDataV1.Builder

java.lang.Object
org.apache.avro.data.RecordBuilderBase<RepaymentDueDataV1>
org.apache.avro.specific.SpecificRecordBuilderBase<RepaymentDueDataV1>
org.apache.fineract.avro.loan.v1.RepaymentDueDataV1.Builder
All Implemented Interfaces:
org.apache.avro.data.RecordBuilder<RepaymentDueDataV1>
Enclosing class:
RepaymentDueDataV1

public static class RepaymentDueDataV1.Builder extends org.apache.avro.specific.SpecificRecordBuilderBase<RepaymentDueDataV1> implements org.apache.avro.data.RecordBuilder<RepaymentDueDataV1>
RecordBuilder for RepaymentDueDataV1 instances.
  • Method Details

    • getInstallmentNumber

      public Integer getInstallmentNumber()
      Gets the value of the 'installmentNumber' field.
      Returns:
      The value.
    • setInstallmentNumber

      public RepaymentDueDataV1.Builder setInstallmentNumber(Integer value)
      Sets the value of the 'installmentNumber' field.
      Parameters:
      value - The value of 'installmentNumber'.
      Returns:
      This builder.
    • hasInstallmentNumber

      public boolean hasInstallmentNumber()
      Checks whether the 'installmentNumber' field has been set.
      Returns:
      True if the 'installmentNumber' field has been set, false otherwise.
    • clearInstallmentNumber

      public RepaymentDueDataV1.Builder clearInstallmentNumber()
      Clears the value of the 'installmentNumber' field.
      Returns:
      This builder.
    • getInstallmentDueDate

      public String getInstallmentDueDate()
      Gets the value of the 'installmentDueDate' field.
      Returns:
      The value.
    • setInstallmentDueDate

      public RepaymentDueDataV1.Builder setInstallmentDueDate(String value)
      Sets the value of the 'installmentDueDate' field.
      Parameters:
      value - The value of 'installmentDueDate'.
      Returns:
      This builder.
    • hasInstallmentDueDate

      public boolean hasInstallmentDueDate()
      Checks whether the 'installmentDueDate' field has been set.
      Returns:
      True if the 'installmentDueDate' field has been set, false otherwise.
    • clearInstallmentDueDate

      public RepaymentDueDataV1.Builder clearInstallmentDueDate()
      Clears the value of the 'installmentDueDate' field.
      Returns:
      This builder.
    • getPrincipalAmountDue

      public BigDecimal getPrincipalAmountDue()
      Gets the value of the 'principalAmountDue' field.
      Returns:
      The value.
    • setPrincipalAmountDue

      public RepaymentDueDataV1.Builder setPrincipalAmountDue(BigDecimal value)
      Sets the value of the 'principalAmountDue' field.
      Parameters:
      value - The value of 'principalAmountDue'.
      Returns:
      This builder.
    • hasPrincipalAmountDue

      public boolean hasPrincipalAmountDue()
      Checks whether the 'principalAmountDue' field has been set.
      Returns:
      True if the 'principalAmountDue' field has been set, false otherwise.
    • clearPrincipalAmountDue

      public RepaymentDueDataV1.Builder clearPrincipalAmountDue()
      Clears the value of the 'principalAmountDue' field.
      Returns:
      This builder.
    • getInterestAmountDue

      public BigDecimal getInterestAmountDue()
      Gets the value of the 'interestAmountDue' field.
      Returns:
      The value.
    • setInterestAmountDue

      public RepaymentDueDataV1.Builder setInterestAmountDue(BigDecimal value)
      Sets the value of the 'interestAmountDue' field.
      Parameters:
      value - The value of 'interestAmountDue'.
      Returns:
      This builder.
    • hasInterestAmountDue

      public boolean hasInterestAmountDue()
      Checks whether the 'interestAmountDue' field has been set.
      Returns:
      True if the 'interestAmountDue' field has been set, false otherwise.
    • clearInterestAmountDue

      public RepaymentDueDataV1.Builder clearInterestAmountDue()
      Clears the value of the 'interestAmountDue' field.
      Returns:
      This builder.
    • getFeeChargeAmountDue

      public BigDecimal getFeeChargeAmountDue()
      Gets the value of the 'feeChargeAmountDue' field.
      Returns:
      The value.
    • setFeeChargeAmountDue

      public RepaymentDueDataV1.Builder setFeeChargeAmountDue(BigDecimal value)
      Sets the value of the 'feeChargeAmountDue' field.
      Parameters:
      value - The value of 'feeChargeAmountDue'.
      Returns:
      This builder.
    • hasFeeChargeAmountDue

      public boolean hasFeeChargeAmountDue()
      Checks whether the 'feeChargeAmountDue' field has been set.
      Returns:
      True if the 'feeChargeAmountDue' field has been set, false otherwise.
    • clearFeeChargeAmountDue

      public RepaymentDueDataV1.Builder clearFeeChargeAmountDue()
      Clears the value of the 'feeChargeAmountDue' field.
      Returns:
      This builder.
    • getPenaltyChargeAmountDue

      public BigDecimal getPenaltyChargeAmountDue()
      Gets the value of the 'penaltyChargeAmountDue' field.
      Returns:
      The value.
    • setPenaltyChargeAmountDue

      public RepaymentDueDataV1.Builder setPenaltyChargeAmountDue(BigDecimal value)
      Sets the value of the 'penaltyChargeAmountDue' field.
      Parameters:
      value - The value of 'penaltyChargeAmountDue'.
      Returns:
      This builder.
    • hasPenaltyChargeAmountDue

      public boolean hasPenaltyChargeAmountDue()
      Checks whether the 'penaltyChargeAmountDue' field has been set.
      Returns:
      True if the 'penaltyChargeAmountDue' field has been set, false otherwise.
    • clearPenaltyChargeAmountDue

      public RepaymentDueDataV1.Builder clearPenaltyChargeAmountDue()
      Clears the value of the 'penaltyChargeAmountDue' field.
      Returns:
      This builder.
    • getTotalAmountDue

      public BigDecimal getTotalAmountDue()
      Gets the value of the 'totalAmountDue' field.
      Returns:
      The value.
    • setTotalAmountDue

      public RepaymentDueDataV1.Builder setTotalAmountDue(BigDecimal value)
      Sets the value of the 'totalAmountDue' field.
      Parameters:
      value - The value of 'totalAmountDue'.
      Returns:
      This builder.
    • hasTotalAmountDue

      public boolean hasTotalAmountDue()
      Checks whether the 'totalAmountDue' field has been set.
      Returns:
      True if the 'totalAmountDue' field has been set, false otherwise.
    • clearTotalAmountDue

      public RepaymentDueDataV1.Builder clearTotalAmountDue()
      Clears the value of the 'totalAmountDue' field.
      Returns:
      This builder.
    • build

      public RepaymentDueDataV1 build()
      Specified by:
      build in interface org.apache.avro.data.RecordBuilder<RepaymentDueDataV1>