Class LoanRepaymentDueDataV1.Builder

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

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

    • getLoanId

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

      public LoanRepaymentDueDataV1.Builder setLoanId(Object 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

      public LoanRepaymentDueDataV1.Builder clearLoanId()
      Clears the value of the 'loanId' field.
      Returns:
      This builder.
    • getLoanAccountNo

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

      public LoanRepaymentDueDataV1.Builder setLoanAccountNo(Object 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 LoanRepaymentDueDataV1.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 LoanRepaymentDueDataV1.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 LoanRepaymentDueDataV1.Builder clearLoanExternalId()
      Clears the value of the 'loanExternalId' field.
      Returns:
      This builder.
    • getCurrency

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

      public LoanRepaymentDueDataV1.Builder setCurrency(CurrencyDataV1 value)
      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

      public LoanRepaymentDueDataV1.Builder setCurrencyBuilder(CurrencyDataV1.Builder value)
      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

      public LoanRepaymentDueDataV1.Builder clearCurrency()
      Clears the value of the 'currency' field.
      Returns:
      This builder.
    • getInstallment

      public Object getInstallment()
      Gets the value of the 'installment' field.
      Returns:
      The value.
    • setInstallment

      public LoanRepaymentDueDataV1.Builder setInstallment(Object value)
      Sets the value of the 'installment' field.
      Parameters:
      value - The value of 'installment'.
      Returns:
      This builder.
    • hasInstallment

      public boolean hasInstallment()
      Checks whether the 'installment' field has been set.
      Returns:
      True if the 'installment' field has been set, false otherwise.
    • clearInstallment

      public LoanRepaymentDueDataV1.Builder clearInstallment()
      Clears the value of the 'installment' field.
      Returns:
      This builder.
    • getPastDueAmount

      public RepaymentPastDueDataV1 getPastDueAmount()
      Gets the value of the 'pastDueAmount' field.
      Returns:
      The value.
    • setPastDueAmount

      public LoanRepaymentDueDataV1.Builder setPastDueAmount(RepaymentPastDueDataV1 value)
      Sets the value of the 'pastDueAmount' field.
      Parameters:
      value - The value of 'pastDueAmount'.
      Returns:
      This builder.
    • hasPastDueAmount

      public boolean hasPastDueAmount()
      Checks whether the 'pastDueAmount' field has been set.
      Returns:
      True if the 'pastDueAmount' field has been set, false otherwise.
    • getPastDueAmountBuilder

      public RepaymentPastDueDataV1.Builder getPastDueAmountBuilder()
      Gets the Builder instance for the 'pastDueAmount' field and creates one if it doesn't exist yet.
      Returns:
      This builder.
    • setPastDueAmountBuilder

      public LoanRepaymentDueDataV1.Builder setPastDueAmountBuilder(RepaymentPastDueDataV1.Builder value)
      Sets the Builder instance for the 'pastDueAmount' field
      Parameters:
      value - The builder instance that must be set.
      Returns:
      This builder.
    • hasPastDueAmountBuilder

      public boolean hasPastDueAmountBuilder()
      Checks whether the 'pastDueAmount' field has an active Builder instance
      Returns:
      True if the 'pastDueAmount' field has an active Builder instance
    • clearPastDueAmount

      public LoanRepaymentDueDataV1.Builder clearPastDueAmount()
      Clears the value of the 'pastDueAmount' field.
      Returns:
      This builder.
    • getCustomData

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

      public LoanRepaymentDueDataV1.Builder setCustomData(Map<String,ByteBuffer> value)
      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

      public LoanRepaymentDueDataV1.Builder clearCustomData()
      Clears the value of the 'customData' field.
      Returns:
      This builder.
    • build

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