Class LoanAmountDataV1.Builder

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

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

    • getTotalAmount

      public BigDecimal getTotalAmount()
      Gets the value of the 'totalAmount' field.
      Returns:
      The value.
    • setTotalAmount

      public LoanAmountDataV1.Builder setTotalAmount(BigDecimal value)
      Sets the value of the 'totalAmount' field.
      Parameters:
      value - The value of 'totalAmount'.
      Returns:
      This builder.
    • hasTotalAmount

      public boolean hasTotalAmount()
      Checks whether the 'totalAmount' field has been set.
      Returns:
      True if the 'totalAmount' field has been set, false otherwise.
    • clearTotalAmount

      public LoanAmountDataV1.Builder clearTotalAmount()
      Clears the value of the 'totalAmount' field.
      Returns:
      This builder.
    • getPrincipalAmount

      public BigDecimal getPrincipalAmount()
      Gets the value of the 'principalAmount' field.
      Returns:
      The value.
    • setPrincipalAmount

      public LoanAmountDataV1.Builder setPrincipalAmount(BigDecimal value)
      Sets the value of the 'principalAmount' field.
      Parameters:
      value - The value of 'principalAmount'.
      Returns:
      This builder.
    • hasPrincipalAmount

      public boolean hasPrincipalAmount()
      Checks whether the 'principalAmount' field has been set.
      Returns:
      True if the 'principalAmount' field has been set, false otherwise.
    • clearPrincipalAmount

      public LoanAmountDataV1.Builder clearPrincipalAmount()
      Clears the value of the 'principalAmount' field.
      Returns:
      This builder.
    • getInterestAmount

      public BigDecimal getInterestAmount()
      Gets the value of the 'interestAmount' field.
      Returns:
      The value.
    • setInterestAmount

      public LoanAmountDataV1.Builder setInterestAmount(BigDecimal value)
      Sets the value of the 'interestAmount' field.
      Parameters:
      value - The value of 'interestAmount'.
      Returns:
      This builder.
    • hasInterestAmount

      public boolean hasInterestAmount()
      Checks whether the 'interestAmount' field has been set.
      Returns:
      True if the 'interestAmount' field has been set, false otherwise.
    • clearInterestAmount

      public LoanAmountDataV1.Builder clearInterestAmount()
      Clears the value of the 'interestAmount' field.
      Returns:
      This builder.
    • getFeeAmount

      public BigDecimal getFeeAmount()
      Gets the value of the 'feeAmount' field.
      Returns:
      The value.
    • setFeeAmount

      public LoanAmountDataV1.Builder setFeeAmount(BigDecimal value)
      Sets the value of the 'feeAmount' field.
      Parameters:
      value - The value of 'feeAmount'.
      Returns:
      This builder.
    • hasFeeAmount

      public boolean hasFeeAmount()
      Checks whether the 'feeAmount' field has been set.
      Returns:
      True if the 'feeAmount' field has been set, false otherwise.
    • clearFeeAmount

      public LoanAmountDataV1.Builder clearFeeAmount()
      Clears the value of the 'feeAmount' field.
      Returns:
      This builder.
    • getPenaltyAmount

      public BigDecimal getPenaltyAmount()
      Gets the value of the 'penaltyAmount' field.
      Returns:
      The value.
    • setPenaltyAmount

      public LoanAmountDataV1.Builder setPenaltyAmount(BigDecimal value)
      Sets the value of the 'penaltyAmount' field.
      Parameters:
      value - The value of 'penaltyAmount'.
      Returns:
      This builder.
    • hasPenaltyAmount

      public boolean hasPenaltyAmount()
      Checks whether the 'penaltyAmount' field has been set.
      Returns:
      True if the 'penaltyAmount' field has been set, false otherwise.
    • clearPenaltyAmount

      public LoanAmountDataV1.Builder clearPenaltyAmount()
      Clears the value of the 'penaltyAmount' field.
      Returns:
      This builder.
    • build

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