Class LoanInstallmentDelinquencyBucketDataV1.Builder

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

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

    • getDelinquencyRange

      public DelinquencyRangeDataV1 getDelinquencyRange()
      Gets the value of the 'delinquencyRange' field.
      Returns:
      The value.
    • setDelinquencyRange

      Sets the value of the 'delinquencyRange' field.
      Parameters:
      value - The value of 'delinquencyRange'.
      Returns:
      This builder.
    • hasDelinquencyRange

      public boolean hasDelinquencyRange()
      Checks whether the 'delinquencyRange' field has been set.
      Returns:
      True if the 'delinquencyRange' field has been set, false otherwise.
    • getDelinquencyRangeBuilder

      public DelinquencyRangeDataV1.Builder getDelinquencyRangeBuilder()
      Gets the Builder instance for the 'delinquencyRange' field and creates one if it doesn't exist yet.
      Returns:
      This builder.
    • setDelinquencyRangeBuilder

      Sets the Builder instance for the 'delinquencyRange' field
      Parameters:
      value - The builder instance that must be set.
      Returns:
      This builder.
    • hasDelinquencyRangeBuilder

      public boolean hasDelinquencyRangeBuilder()
      Checks whether the 'delinquencyRange' field has an active Builder instance
      Returns:
      True if the 'delinquencyRange' field has an active Builder instance
    • clearDelinquencyRange

      public LoanInstallmentDelinquencyBucketDataV1.Builder clearDelinquencyRange()
      Clears the value of the 'delinquencyRange' field.
      Returns:
      This builder.
    • getAmount

      public LoanAmountDataV1 getAmount()
      Gets the value of the 'amount' field. Contains installments total, fee, interest, principal and penalty amount summaries
      Returns:
      The value.
    • setAmount

      Sets the value of the 'amount' field. Contains installments total, fee, interest, principal and penalty amount summaries
      Parameters:
      value - The value of 'amount'.
      Returns:
      This builder.
    • hasAmount

      public boolean hasAmount()
      Checks whether the 'amount' field has been set. Contains installments total, fee, interest, principal and penalty amount summaries
      Returns:
      True if the 'amount' field has been set, false otherwise.
    • getAmountBuilder

      public LoanAmountDataV1.Builder getAmountBuilder()
      Gets the Builder instance for the 'amount' field and creates one if it doesn't exist yet. Contains installments total, fee, interest, principal and penalty amount summaries
      Returns:
      This builder.
    • setAmountBuilder

      Sets the Builder instance for the 'amount' field Contains installments total, fee, interest, principal and penalty amount summaries
      Parameters:
      value - The builder instance that must be set.
      Returns:
      This builder.
    • hasAmountBuilder

      public boolean hasAmountBuilder()
      Checks whether the 'amount' field has an active Builder instance Contains installments total, fee, interest, principal and penalty amount summaries
      Returns:
      True if the 'amount' field has an active Builder instance
    • clearAmount

      Clears the value of the 'amount' field. Contains installments total, fee, interest, principal and penalty amount summaries
      Returns:
      This builder.
    • getCharges

      public List<LoanChargeDataRangeViewV1> getCharges()
      Gets the value of the 'charges' field.
      Returns:
      The value.
    • setCharges

      Sets the value of the 'charges' field.
      Parameters:
      value - The value of 'charges'.
      Returns:
      This builder.
    • hasCharges

      public boolean hasCharges()
      Checks whether the 'charges' field has been set.
      Returns:
      True if the 'charges' field has been set, false otherwise.
    • clearCharges

      Clears the value of the 'charges' field.
      Returns:
      This builder.
    • getCurrency

      public CurrencyDataV1 getCurrency()
      Gets the value of the 'currency' field.
      Returns:
      The value.
    • setCurrency

      Sets the value of the 'currency' field.
      Parameters:
      value - The value of 'currency'.
      Returns:
      This builder.
    • hasCurrency

      public boolean hasCurrency()
      Checks whether the 'currency' field has been set.
      Returns:
      True if the 'currency' field has been set, false otherwise.
    • getCurrencyBuilder

      public CurrencyDataV1.Builder getCurrencyBuilder()
      Gets the Builder instance for the 'currency' field and creates one if it doesn't exist yet.
      Returns:
      This builder.
    • setCurrencyBuilder

      Sets the Builder instance for the 'currency' field
      Parameters:
      value - The builder instance that must be set.
      Returns:
      This builder.
    • hasCurrencyBuilder

      public boolean hasCurrencyBuilder()
      Checks whether the 'currency' field has an active Builder instance
      Returns:
      True if the 'currency' field has an active Builder instance
    • clearCurrency

      Clears the value of the 'currency' field.
      Returns:
      This builder.
    • build

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