Class DisbursementDataV1.Builder

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

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

    • getId

      public Integer getId()
      Gets the value of the 'id' field.
      Returns:
      The value.
    • setId

      public DisbursementDataV1.Builder setId(Integer value)
      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

      public DisbursementDataV1.Builder clearId()
      Clears the value of the 'id' field.
      Returns:
      This builder.
    • getExpectedDisbursementDate

      public String getExpectedDisbursementDate()
      Gets the value of the 'expectedDisbursementDate' field.
      Returns:
      The value.
    • setExpectedDisbursementDate

      public DisbursementDataV1.Builder setExpectedDisbursementDate(String value)
      Sets the value of the 'expectedDisbursementDate' field.
      Parameters:
      value - The value of 'expectedDisbursementDate'.
      Returns:
      This builder.
    • hasExpectedDisbursementDate

      public boolean hasExpectedDisbursementDate()
      Checks whether the 'expectedDisbursementDate' field has been set.
      Returns:
      True if the 'expectedDisbursementDate' field has been set, false otherwise.
    • clearExpectedDisbursementDate

      public DisbursementDataV1.Builder clearExpectedDisbursementDate()
      Clears the value of the 'expectedDisbursementDate' field.
      Returns:
      This builder.
    • getActualDisbursementDate

      public String getActualDisbursementDate()
      Gets the value of the 'actualDisbursementDate' field.
      Returns:
      The value.
    • setActualDisbursementDate

      public DisbursementDataV1.Builder setActualDisbursementDate(String value)
      Sets the value of the 'actualDisbursementDate' field.
      Parameters:
      value - The value of 'actualDisbursementDate'.
      Returns:
      This builder.
    • hasActualDisbursementDate

      public boolean hasActualDisbursementDate()
      Checks whether the 'actualDisbursementDate' field has been set.
      Returns:
      True if the 'actualDisbursementDate' field has been set, false otherwise.
    • clearActualDisbursementDate

      public DisbursementDataV1.Builder clearActualDisbursementDate()
      Clears the value of the 'actualDisbursementDate' field.
      Returns:
      This builder.
    • getPrincipal

      public BigDecimal getPrincipal()
      Gets the value of the 'principal' field.
      Returns:
      The value.
    • setPrincipal

      public DisbursementDataV1.Builder setPrincipal(BigDecimal value)
      Sets the value of the 'principal' field.
      Parameters:
      value - The value of 'principal'.
      Returns:
      This builder.
    • hasPrincipal

      public boolean hasPrincipal()
      Checks whether the 'principal' field has been set.
      Returns:
      True if the 'principal' field has been set, false otherwise.
    • clearPrincipal

      public DisbursementDataV1.Builder clearPrincipal()
      Clears the value of the 'principal' field.
      Returns:
      This builder.
    • getNetDisbursalAmount

      public BigDecimal getNetDisbursalAmount()
      Gets the value of the 'netDisbursalAmount' field.
      Returns:
      The value.
    • setNetDisbursalAmount

      public DisbursementDataV1.Builder setNetDisbursalAmount(BigDecimal value)
      Sets the value of the 'netDisbursalAmount' field.
      Parameters:
      value - The value of 'netDisbursalAmount'.
      Returns:
      This builder.
    • hasNetDisbursalAmount

      public boolean hasNetDisbursalAmount()
      Checks whether the 'netDisbursalAmount' field has been set.
      Returns:
      True if the 'netDisbursalAmount' field has been set, false otherwise.
    • clearNetDisbursalAmount

      public DisbursementDataV1.Builder clearNetDisbursalAmount()
      Clears the value of the 'netDisbursalAmount' field.
      Returns:
      This builder.
    • getLoanChargeId

      public String getLoanChargeId()
      Gets the value of the 'loanChargeId' field.
      Returns:
      The value.
    • setLoanChargeId

      public DisbursementDataV1.Builder setLoanChargeId(String value)
      Sets the value of the 'loanChargeId' field.
      Parameters:
      value - The value of 'loanChargeId'.
      Returns:
      This builder.
    • hasLoanChargeId

      public boolean hasLoanChargeId()
      Checks whether the 'loanChargeId' field has been set.
      Returns:
      True if the 'loanChargeId' field has been set, false otherwise.
    • clearLoanChargeId

      public DisbursementDataV1.Builder clearLoanChargeId()
      Clears the value of the 'loanChargeId' field.
      Returns:
      This builder.
    • getChargeAmount

      public BigDecimal getChargeAmount()
      Gets the value of the 'chargeAmount' field.
      Returns:
      The value.
    • setChargeAmount

      public DisbursementDataV1.Builder setChargeAmount(BigDecimal value)
      Sets the value of the 'chargeAmount' field.
      Parameters:
      value - The value of 'chargeAmount'.
      Returns:
      This builder.
    • hasChargeAmount

      public boolean hasChargeAmount()
      Checks whether the 'chargeAmount' field has been set.
      Returns:
      True if the 'chargeAmount' field has been set, false otherwise.
    • clearChargeAmount

      public DisbursementDataV1.Builder clearChargeAmount()
      Clears the value of the 'chargeAmount' field.
      Returns:
      This builder.
    • getWaivedChargeAmount

      public BigDecimal getWaivedChargeAmount()
      Gets the value of the 'waivedChargeAmount' field.
      Returns:
      The value.
    • setWaivedChargeAmount

      public DisbursementDataV1.Builder setWaivedChargeAmount(BigDecimal value)
      Sets the value of the 'waivedChargeAmount' field.
      Parameters:
      value - The value of 'waivedChargeAmount'.
      Returns:
      This builder.
    • hasWaivedChargeAmount

      public boolean hasWaivedChargeAmount()
      Checks whether the 'waivedChargeAmount' field has been set.
      Returns:
      True if the 'waivedChargeAmount' field has been set, false otherwise.
    • clearWaivedChargeAmount

      public DisbursementDataV1.Builder clearWaivedChargeAmount()
      Clears the value of the 'waivedChargeAmount' field.
      Returns:
      This builder.
    • build

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