Class LoanAccountDelinquencyRangeDataV1.Builder

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

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

    • getLoanId

      public long getLoanId()
      Gets the value of the 'loanId' field.
      Returns:
      The value.
    • setLoanId

      public LoanAccountDelinquencyRangeDataV1.Builder setLoanId(long value)
      Sets the value of the 'loanId' field.
      Parameters:
      value - The value of 'loanId'.
      Returns:
      This builder.
    • hasLoanId

      public boolean hasLoanId()
      Checks whether the 'loanId' field has been set.
      Returns:
      True if the 'loanId' field has been set, false otherwise.
    • clearLoanId

      Clears the value of the 'loanId' field.
      Returns:
      This builder.
    • getLoanAccountNo

      public String getLoanAccountNo()
      Gets the value of the 'loanAccountNo' field.
      Returns:
      The value.
    • setLoanAccountNo

      public LoanAccountDelinquencyRangeDataV1.Builder setLoanAccountNo(String value)
      Sets the value of the 'loanAccountNo' field.
      Parameters:
      value - The value of 'loanAccountNo'.
      Returns:
      This builder.
    • hasLoanAccountNo

      public boolean hasLoanAccountNo()
      Checks whether the 'loanAccountNo' field has been set.
      Returns:
      True if the 'loanAccountNo' field has been set, false otherwise.
    • clearLoanAccountNo

      public LoanAccountDelinquencyRangeDataV1.Builder clearLoanAccountNo()
      Clears the value of the 'loanAccountNo' field.
      Returns:
      This builder.
    • getLoanExternalId

      public String getLoanExternalId()
      Gets the value of the 'loanExternalId' field.
      Returns:
      The value.
    • setLoanExternalId

      public LoanAccountDelinquencyRangeDataV1.Builder setLoanExternalId(String value)
      Sets the value of the 'loanExternalId' field.
      Parameters:
      value - The value of 'loanExternalId'.
      Returns:
      This builder.
    • hasLoanExternalId

      public boolean hasLoanExternalId()
      Checks whether the 'loanExternalId' field has been set.
      Returns:
      True if the 'loanExternalId' field has been set, false otherwise.
    • clearLoanExternalId

      public LoanAccountDelinquencyRangeDataV1.Builder clearLoanExternalId()
      Clears the value of the 'loanExternalId' field.
      Returns:
      This builder.
    • 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 LoanAccountDelinquencyRangeDataV1.Builder clearDelinquencyRange()
      Clears the value of the 'delinquencyRange' field.
      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.
    • 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.
    • getDelinquentDate

      public String getDelinquentDate()
      Gets the value of the 'delinquentDate' field.
      Returns:
      The value.
    • setDelinquentDate

      public LoanAccountDelinquencyRangeDataV1.Builder setDelinquentDate(String value)
      Sets the value of the 'delinquentDate' field.
      Parameters:
      value - The value of 'delinquentDate'.
      Returns:
      This builder.
    • hasDelinquentDate

      public boolean hasDelinquentDate()
      Checks whether the 'delinquentDate' field has been set.
      Returns:
      True if the 'delinquentDate' field has been set, false otherwise.
    • clearDelinquentDate

      public LoanAccountDelinquencyRangeDataV1.Builder clearDelinquentDate()
      Clears the value of the 'delinquentDate' field.
      Returns:
      This builder.
    • getInstallmentDelinquencyBuckets

      public List<LoanInstallmentDelinquencyBucketDataV1> getInstallmentDelinquencyBuckets()
      Gets the value of the 'installmentDelinquencyBuckets' field.
      Returns:
      The value.
    • setInstallmentDelinquencyBuckets

      Sets the value of the 'installmentDelinquencyBuckets' field.
      Parameters:
      value - The value of 'installmentDelinquencyBuckets'.
      Returns:
      This builder.
    • hasInstallmentDelinquencyBuckets

      public boolean hasInstallmentDelinquencyBuckets()
      Checks whether the 'installmentDelinquencyBuckets' field has been set.
      Returns:
      True if the 'installmentDelinquencyBuckets' field has been set, false otherwise.
    • clearInstallmentDelinquencyBuckets

      public LoanAccountDelinquencyRangeDataV1.Builder clearInstallmentDelinquencyBuckets()
      Clears the value of the 'installmentDelinquencyBuckets' field.
      Returns:
      This builder.
    • getCustomData

      public Map<String,ByteBuffer> getCustomData()
      Gets the value of the 'customData' field.
      Returns:
      The value.
    • setCustomData

      Sets the value of the 'customData' field.
      Parameters:
      value - The value of 'customData'.
      Returns:
      This builder.
    • hasCustomData

      public boolean hasCustomData()
      Checks whether the 'customData' field has been set.
      Returns:
      True if the 'customData' field has been set, false otherwise.
    • clearCustomData

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

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