Class ClientCollateralManagementDataV1.Builder

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

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

    • getQuantity

      public BigDecimal getQuantity()
      Gets the value of the 'quantity' field.
      Returns:
      The value.
    • setQuantity

      Sets the value of the 'quantity' field.
      Parameters:
      value - The value of 'quantity'.
      Returns:
      This builder.
    • hasQuantity

      public boolean hasQuantity()
      Checks whether the 'quantity' field has been set.
      Returns:
      True if the 'quantity' field has been set, false otherwise.
    • clearQuantity

      Clears the value of the 'quantity' field.
      Returns:
      This builder.
    • 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.
    • getPctToBase

      public BigDecimal getPctToBase()
      Gets the value of the 'pctToBase' field.
      Returns:
      The value.
    • setPctToBase

      Sets the value of the 'pctToBase' field.
      Parameters:
      value - The value of 'pctToBase'.
      Returns:
      This builder.
    • hasPctToBase

      public boolean hasPctToBase()
      Checks whether the 'pctToBase' field has been set.
      Returns:
      True if the 'pctToBase' field has been set, false otherwise.
    • clearPctToBase

      Clears the value of the 'pctToBase' field.
      Returns:
      This builder.
    • getUnitPrice

      public BigDecimal getUnitPrice()
      Gets the value of the 'unitPrice' field.
      Returns:
      The value.
    • setUnitPrice

      Sets the value of the 'unitPrice' field.
      Parameters:
      value - The value of 'unitPrice'.
      Returns:
      This builder.
    • hasUnitPrice

      public boolean hasUnitPrice()
      Checks whether the 'unitPrice' field has been set.
      Returns:
      True if the 'unitPrice' field has been set, false otherwise.
    • clearUnitPrice

      Clears the value of the 'unitPrice' field.
      Returns:
      This builder.
    • getTotal

      public BigDecimal getTotal()
      Gets the value of the 'total' field.
      Returns:
      The value.
    • setTotal

      Sets the value of the 'total' field.
      Parameters:
      value - The value of 'total'.
      Returns:
      This builder.
    • hasTotal

      public boolean hasTotal()
      Checks whether the 'total' field has been set.
      Returns:
      True if the 'total' field has been set, false otherwise.
    • clearTotal

      Clears the value of the 'total' field.
      Returns:
      This builder.
    • getTotalCollateral

      public BigDecimal getTotalCollateral()
      Gets the value of the 'totalCollateral' field.
      Returns:
      The value.
    • setTotalCollateral

      public ClientCollateralManagementDataV1.Builder setTotalCollateral(BigDecimal value)
      Sets the value of the 'totalCollateral' field.
      Parameters:
      value - The value of 'totalCollateral'.
      Returns:
      This builder.
    • hasTotalCollateral

      public boolean hasTotalCollateral()
      Checks whether the 'totalCollateral' field has been set.
      Returns:
      True if the 'totalCollateral' field has been set, false otherwise.
    • clearTotalCollateral

      public ClientCollateralManagementDataV1.Builder clearTotalCollateral()
      Clears the value of the 'totalCollateral' 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.
    • build

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