Class LoanProductGuaranteeDataV1.Builder

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

public static class LoanProductGuaranteeDataV1.Builder extends org.apache.avro.specific.SpecificRecordBuilderBase<LoanProductGuaranteeDataV1> implements org.apache.avro.data.RecordBuilder<LoanProductGuaranteeDataV1>
RecordBuilder for LoanProductGuaranteeDataV1 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.
    • getProductId

      public Long getProductId()
      Gets the value of the 'productId' field.
      Returns:
      The value.
    • setProductId

      public LoanProductGuaranteeDataV1.Builder setProductId(Long value)
      Sets the value of the 'productId' field.
      Parameters:
      value - The value of 'productId'.
      Returns:
      This builder.
    • hasProductId

      public boolean hasProductId()
      Checks whether the 'productId' field has been set.
      Returns:
      True if the 'productId' field has been set, false otherwise.
    • clearProductId

      public LoanProductGuaranteeDataV1.Builder clearProductId()
      Clears the value of the 'productId' field.
      Returns:
      This builder.
    • getMandatoryGuarantee

      public BigDecimal getMandatoryGuarantee()
      Gets the value of the 'mandatoryGuarantee' field.
      Returns:
      The value.
    • setMandatoryGuarantee

      public LoanProductGuaranteeDataV1.Builder setMandatoryGuarantee(BigDecimal value)
      Sets the value of the 'mandatoryGuarantee' field.
      Parameters:
      value - The value of 'mandatoryGuarantee'.
      Returns:
      This builder.
    • hasMandatoryGuarantee

      public boolean hasMandatoryGuarantee()
      Checks whether the 'mandatoryGuarantee' field has been set.
      Returns:
      True if the 'mandatoryGuarantee' field has been set, false otherwise.
    • clearMandatoryGuarantee

      public LoanProductGuaranteeDataV1.Builder clearMandatoryGuarantee()
      Clears the value of the 'mandatoryGuarantee' field.
      Returns:
      This builder.
    • getMinimumGuaranteeFromOwnFunds

      public BigDecimal getMinimumGuaranteeFromOwnFunds()
      Gets the value of the 'minimumGuaranteeFromOwnFunds' field.
      Returns:
      The value.
    • setMinimumGuaranteeFromOwnFunds

      public LoanProductGuaranteeDataV1.Builder setMinimumGuaranteeFromOwnFunds(BigDecimal value)
      Sets the value of the 'minimumGuaranteeFromOwnFunds' field.
      Parameters:
      value - The value of 'minimumGuaranteeFromOwnFunds'.
      Returns:
      This builder.
    • hasMinimumGuaranteeFromOwnFunds

      public boolean hasMinimumGuaranteeFromOwnFunds()
      Checks whether the 'minimumGuaranteeFromOwnFunds' field has been set.
      Returns:
      True if the 'minimumGuaranteeFromOwnFunds' field has been set, false otherwise.
    • clearMinimumGuaranteeFromOwnFunds

      public LoanProductGuaranteeDataV1.Builder clearMinimumGuaranteeFromOwnFunds()
      Clears the value of the 'minimumGuaranteeFromOwnFunds' field.
      Returns:
      This builder.
    • getMinimumGuaranteeFromGuarantor

      public BigDecimal getMinimumGuaranteeFromGuarantor()
      Gets the value of the 'minimumGuaranteeFromGuarantor' field.
      Returns:
      The value.
    • setMinimumGuaranteeFromGuarantor

      public LoanProductGuaranteeDataV1.Builder setMinimumGuaranteeFromGuarantor(BigDecimal value)
      Sets the value of the 'minimumGuaranteeFromGuarantor' field.
      Parameters:
      value - The value of 'minimumGuaranteeFromGuarantor'.
      Returns:
      This builder.
    • hasMinimumGuaranteeFromGuarantor

      public boolean hasMinimumGuaranteeFromGuarantor()
      Checks whether the 'minimumGuaranteeFromGuarantor' field has been set.
      Returns:
      True if the 'minimumGuaranteeFromGuarantor' field has been set, false otherwise.
    • clearMinimumGuaranteeFromGuarantor

      public LoanProductGuaranteeDataV1.Builder clearMinimumGuaranteeFromGuarantor()
      Clears the value of the 'minimumGuaranteeFromGuarantor' field.
      Returns:
      This builder.
    • build

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