Class LoanAccountSummaryDataV1.Builder

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

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

    • getId

      public Long getId()
      Gets the value of the 'id' field.
      Returns:
      The value.
    • setId

      public LoanAccountSummaryDataV1.Builder setId(Long value)
      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.
    • getAccountNo

      public String getAccountNo()
      Gets the value of the 'accountNo' field.
      Returns:
      The value.
    • setAccountNo

      public LoanAccountSummaryDataV1.Builder setAccountNo(String value)
      Sets the value of the 'accountNo' field.
      Parameters:
      value - The value of 'accountNo'.
      Returns:
      This builder.
    • hasAccountNo

      public boolean hasAccountNo()
      Checks whether the 'accountNo' field has been set.
      Returns:
      True if the 'accountNo' field has been set, false otherwise.
    • clearAccountNo

      public LoanAccountSummaryDataV1.Builder clearAccountNo()
      Clears the value of the 'accountNo' field.
      Returns:
      This builder.
    • getParentAccountNumber

      public String getParentAccountNumber()
      Gets the value of the 'parentAccountNumber' field.
      Returns:
      The value.
    • setParentAccountNumber

      public LoanAccountSummaryDataV1.Builder setParentAccountNumber(String value)
      Sets the value of the 'parentAccountNumber' field.
      Parameters:
      value - The value of 'parentAccountNumber'.
      Returns:
      This builder.
    • hasParentAccountNumber

      public boolean hasParentAccountNumber()
      Checks whether the 'parentAccountNumber' field has been set.
      Returns:
      True if the 'parentAccountNumber' field has been set, false otherwise.
    • clearParentAccountNumber

      public LoanAccountSummaryDataV1.Builder clearParentAccountNumber()
      Clears the value of the 'parentAccountNumber' field.
      Returns:
      This builder.
    • getExternalId

      public String getExternalId()
      Gets the value of the 'externalId' field.
      Returns:
      The value.
    • setExternalId

      public LoanAccountSummaryDataV1.Builder setExternalId(String value)
      Sets the value of the 'externalId' field.
      Parameters:
      value - The value of 'externalId'.
      Returns:
      This builder.
    • hasExternalId

      public boolean hasExternalId()
      Checks whether the 'externalId' field has been set.
      Returns:
      True if the 'externalId' field has been set, false otherwise.
    • clearExternalId

      public LoanAccountSummaryDataV1.Builder clearExternalId()
      Clears the value of the 'externalId' field.
      Returns:
      This builder.
    • getProductId

      public Long getProductId()
      Gets the value of the 'productId' field.
      Returns:
      The value.
    • setProductId

      public LoanAccountSummaryDataV1.Builder setProductId(Long value)
      Sets the value of the 'productId' field.
      Parameters:
      value - The value of 'productId'.
      Returns:
      This builder.
    • hasProductId

      public boolean hasProductId()
      Checks whether the 'productId' field has been set.
      Returns:
      True if the 'productId' field has been set, false otherwise.
    • clearProductId

      public LoanAccountSummaryDataV1.Builder clearProductId()
      Clears the value of the 'productId' field.
      Returns:
      This builder.
    • getProductName

      public String getProductName()
      Gets the value of the 'productName' field.
      Returns:
      The value.
    • setProductName

      public LoanAccountSummaryDataV1.Builder setProductName(String value)
      Sets the value of the 'productName' field.
      Parameters:
      value - The value of 'productName'.
      Returns:
      This builder.
    • hasProductName

      public boolean hasProductName()
      Checks whether the 'productName' field has been set.
      Returns:
      True if the 'productName' field has been set, false otherwise.
    • clearProductName

      public LoanAccountSummaryDataV1.Builder clearProductName()
      Clears the value of the 'productName' field.
      Returns:
      This builder.
    • getShortProductName

      public String getShortProductName()
      Gets the value of the 'shortProductName' field.
      Returns:
      The value.
    • setShortProductName

      public LoanAccountSummaryDataV1.Builder setShortProductName(String value)
      Sets the value of the 'shortProductName' field.
      Parameters:
      value - The value of 'shortProductName'.
      Returns:
      This builder.
    • hasShortProductName

      public boolean hasShortProductName()
      Checks whether the 'shortProductName' field has been set.
      Returns:
      True if the 'shortProductName' field has been set, false otherwise.
    • clearShortProductName

      public LoanAccountSummaryDataV1.Builder clearShortProductName()
      Clears the value of the 'shortProductName' field.
      Returns:
      This builder.
    • getStatus

      public LoanStatusEnumDataV1 getStatus()
      Gets the value of the 'status' field.
      Returns:
      The value.
    • setStatus

      Sets the value of the 'status' field.
      Parameters:
      value - The value of 'status'.
      Returns:
      This builder.
    • hasStatus

      public boolean hasStatus()
      Checks whether the 'status' field has been set.
      Returns:
      True if the 'status' field has been set, false otherwise.
    • getStatusBuilder

      public LoanStatusEnumDataV1.Builder getStatusBuilder()
      Gets the Builder instance for the 'status' field and creates one if it doesn't exist yet.
      Returns:
      This builder.
    • setStatusBuilder

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

      public boolean hasStatusBuilder()
      Checks whether the 'status' field has an active Builder instance
      Returns:
      True if the 'status' field has an active Builder instance
    • clearStatus

      public LoanAccountSummaryDataV1.Builder clearStatus()
      Clears the value of the 'status' field.
      Returns:
      This builder.
    • getLoanType

      public EnumOptionDataV1 getLoanType()
      Gets the value of the 'loanType' field.
      Returns:
      The value.
    • setLoanType

      Sets the value of the 'loanType' field.
      Parameters:
      value - The value of 'loanType'.
      Returns:
      This builder.
    • hasLoanType

      public boolean hasLoanType()
      Checks whether the 'loanType' field has been set.
      Returns:
      True if the 'loanType' field has been set, false otherwise.
    • getLoanTypeBuilder

      public EnumOptionDataV1.Builder getLoanTypeBuilder()
      Gets the Builder instance for the 'loanType' field and creates one if it doesn't exist yet.
      Returns:
      This builder.
    • setLoanTypeBuilder

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

      public boolean hasLoanTypeBuilder()
      Checks whether the 'loanType' field has an active Builder instance
      Returns:
      True if the 'loanType' field has an active Builder instance
    • clearLoanType

      public LoanAccountSummaryDataV1.Builder clearLoanType()
      Clears the value of the 'loanType' field.
      Returns:
      This builder.
    • getLoanCycle

      public Integer getLoanCycle()
      Gets the value of the 'loanCycle' field.
      Returns:
      The value.
    • setLoanCycle

      public LoanAccountSummaryDataV1.Builder setLoanCycle(Integer value)
      Sets the value of the 'loanCycle' field.
      Parameters:
      value - The value of 'loanCycle'.
      Returns:
      This builder.
    • hasLoanCycle

      public boolean hasLoanCycle()
      Checks whether the 'loanCycle' field has been set.
      Returns:
      True if the 'loanCycle' field has been set, false otherwise.
    • clearLoanCycle

      public LoanAccountSummaryDataV1.Builder clearLoanCycle()
      Clears the value of the 'loanCycle' field.
      Returns:
      This builder.
    • getTimeline

      public LoanApplicationTimelineDataV1 getTimeline()
      Gets the value of the 'timeline' field.
      Returns:
      The value.
    • setTimeline

      Sets the value of the 'timeline' field.
      Parameters:
      value - The value of 'timeline'.
      Returns:
      This builder.
    • hasTimeline

      public boolean hasTimeline()
      Checks whether the 'timeline' field has been set.
      Returns:
      True if the 'timeline' field has been set, false otherwise.
    • getTimelineBuilder

      public LoanApplicationTimelineDataV1.Builder getTimelineBuilder()
      Gets the Builder instance for the 'timeline' field and creates one if it doesn't exist yet.
      Returns:
      This builder.
    • setTimelineBuilder

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

      public boolean hasTimelineBuilder()
      Checks whether the 'timeline' field has an active Builder instance
      Returns:
      True if the 'timeline' field has an active Builder instance
    • clearTimeline

      public LoanAccountSummaryDataV1.Builder clearTimeline()
      Clears the value of the 'timeline' field.
      Returns:
      This builder.
    • getInArrears

      public Boolean getInArrears()
      Gets the value of the 'inArrears' field.
      Returns:
      The value.
    • setInArrears

      public LoanAccountSummaryDataV1.Builder setInArrears(Boolean value)
      Sets the value of the 'inArrears' field.
      Parameters:
      value - The value of 'inArrears'.
      Returns:
      This builder.
    • hasInArrears

      public boolean hasInArrears()
      Checks whether the 'inArrears' field has been set.
      Returns:
      True if the 'inArrears' field has been set, false otherwise.
    • clearInArrears

      public LoanAccountSummaryDataV1.Builder clearInArrears()
      Clears the value of the 'inArrears' field.
      Returns:
      This builder.
    • getOriginalLoan

      public BigDecimal getOriginalLoan()
      Gets the value of the 'originalLoan' field.
      Returns:
      The value.
    • setOriginalLoan

      public LoanAccountSummaryDataV1.Builder setOriginalLoan(BigDecimal value)
      Sets the value of the 'originalLoan' field.
      Parameters:
      value - The value of 'originalLoan'.
      Returns:
      This builder.
    • hasOriginalLoan

      public boolean hasOriginalLoan()
      Checks whether the 'originalLoan' field has been set.
      Returns:
      True if the 'originalLoan' field has been set, false otherwise.
    • clearOriginalLoan

      public LoanAccountSummaryDataV1.Builder clearOriginalLoan()
      Clears the value of the 'originalLoan' field.
      Returns:
      This builder.
    • getLoanBalance

      public BigDecimal getLoanBalance()
      Gets the value of the 'loanBalance' field.
      Returns:
      The value.
    • setLoanBalance

      public LoanAccountSummaryDataV1.Builder setLoanBalance(BigDecimal value)
      Sets the value of the 'loanBalance' field.
      Parameters:
      value - The value of 'loanBalance'.
      Returns:
      This builder.
    • hasLoanBalance

      public boolean hasLoanBalance()
      Checks whether the 'loanBalance' field has been set.
      Returns:
      True if the 'loanBalance' field has been set, false otherwise.
    • clearLoanBalance

      public LoanAccountSummaryDataV1.Builder clearLoanBalance()
      Clears the value of the 'loanBalance' field.
      Returns:
      This builder.
    • getAmountPaid

      public BigDecimal getAmountPaid()
      Gets the value of the 'amountPaid' field.
      Returns:
      The value.
    • setAmountPaid

      public LoanAccountSummaryDataV1.Builder setAmountPaid(BigDecimal value)
      Sets the value of the 'amountPaid' field.
      Parameters:
      value - The value of 'amountPaid'.
      Returns:
      This builder.
    • hasAmountPaid

      public boolean hasAmountPaid()
      Checks whether the 'amountPaid' field has been set.
      Returns:
      True if the 'amountPaid' field has been set, false otherwise.
    • clearAmountPaid

      public LoanAccountSummaryDataV1.Builder clearAmountPaid()
      Clears the value of the 'amountPaid' field.
      Returns:
      This builder.
    • build

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