Class CurrencyDataV1.Builder

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

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

    • getCode

      public String getCode()
      Gets the value of the 'code' field.
      Returns:
      The value.
    • setCode

      public CurrencyDataV1.Builder setCode(String value)
      Sets the value of the 'code' field.
      Parameters:
      value - The value of 'code'.
      Returns:
      This builder.
    • hasCode

      public boolean hasCode()
      Checks whether the 'code' field has been set.
      Returns:
      True if the 'code' field has been set, false otherwise.
    • clearCode

      public CurrencyDataV1.Builder clearCode()
      Clears the value of the 'code' field.
      Returns:
      This builder.
    • getName

      public String getName()
      Gets the value of the 'name' field.
      Returns:
      The value.
    • setName

      public CurrencyDataV1.Builder setName(String value)
      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

      public CurrencyDataV1.Builder clearName()
      Clears the value of the 'name' field.
      Returns:
      This builder.
    • getDecimalPlaces

      public Integer getDecimalPlaces()
      Gets the value of the 'decimalPlaces' field.
      Returns:
      The value.
    • setDecimalPlaces

      public CurrencyDataV1.Builder setDecimalPlaces(Integer value)
      Sets the value of the 'decimalPlaces' field.
      Parameters:
      value - The value of 'decimalPlaces'.
      Returns:
      This builder.
    • hasDecimalPlaces

      public boolean hasDecimalPlaces()
      Checks whether the 'decimalPlaces' field has been set.
      Returns:
      True if the 'decimalPlaces' field has been set, false otherwise.
    • clearDecimalPlaces

      public CurrencyDataV1.Builder clearDecimalPlaces()
      Clears the value of the 'decimalPlaces' field.
      Returns:
      This builder.
    • getInMultiplesOf

      public Integer getInMultiplesOf()
      Gets the value of the 'inMultiplesOf' field.
      Returns:
      The value.
    • setInMultiplesOf

      public CurrencyDataV1.Builder setInMultiplesOf(Integer value)
      Sets the value of the 'inMultiplesOf' field.
      Parameters:
      value - The value of 'inMultiplesOf'.
      Returns:
      This builder.
    • hasInMultiplesOf

      public boolean hasInMultiplesOf()
      Checks whether the 'inMultiplesOf' field has been set.
      Returns:
      True if the 'inMultiplesOf' field has been set, false otherwise.
    • clearInMultiplesOf

      public CurrencyDataV1.Builder clearInMultiplesOf()
      Clears the value of the 'inMultiplesOf' field.
      Returns:
      This builder.
    • getDisplaySymbol

      public String getDisplaySymbol()
      Gets the value of the 'displaySymbol' field.
      Returns:
      The value.
    • setDisplaySymbol

      public CurrencyDataV1.Builder setDisplaySymbol(String value)
      Sets the value of the 'displaySymbol' field.
      Parameters:
      value - The value of 'displaySymbol'.
      Returns:
      This builder.
    • hasDisplaySymbol

      public boolean hasDisplaySymbol()
      Checks whether the 'displaySymbol' field has been set.
      Returns:
      True if the 'displaySymbol' field has been set, false otherwise.
    • clearDisplaySymbol

      public CurrencyDataV1.Builder clearDisplaySymbol()
      Clears the value of the 'displaySymbol' field.
      Returns:
      This builder.
    • getNameCode

      public String getNameCode()
      Gets the value of the 'nameCode' field.
      Returns:
      The value.
    • setNameCode

      public CurrencyDataV1.Builder setNameCode(String value)
      Sets the value of the 'nameCode' field.
      Parameters:
      value - The value of 'nameCode'.
      Returns:
      This builder.
    • hasNameCode

      public boolean hasNameCode()
      Checks whether the 'nameCode' field has been set.
      Returns:
      True if the 'nameCode' field has been set, false otherwise.
    • clearNameCode

      public CurrencyDataV1.Builder clearNameCode()
      Clears the value of the 'nameCode' field.
      Returns:
      This builder.
    • getDisplayLabel

      public String getDisplayLabel()
      Gets the value of the 'displayLabel' field.
      Returns:
      The value.
    • setDisplayLabel

      public CurrencyDataV1.Builder setDisplayLabel(String value)
      Sets the value of the 'displayLabel' field.
      Parameters:
      value - The value of 'displayLabel'.
      Returns:
      This builder.
    • hasDisplayLabel

      public boolean hasDisplayLabel()
      Checks whether the 'displayLabel' field has been set.
      Returns:
      True if the 'displayLabel' field has been set, false otherwise.
    • clearDisplayLabel

      public CurrencyDataV1.Builder clearDisplayLabel()
      Clears the value of the 'displayLabel' field.
      Returns:
      This builder.
    • build

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