Class CollectionDataV1.Builder

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

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

    • getAvailableDisbursementAmount

      public BigDecimal getAvailableDisbursementAmount()
      Gets the value of the 'availableDisbursementAmount' field.
      Returns:
      The value.
    • setAvailableDisbursementAmount

      public CollectionDataV1.Builder setAvailableDisbursementAmount(BigDecimal value)
      Sets the value of the 'availableDisbursementAmount' field.
      Parameters:
      value - The value of 'availableDisbursementAmount'.
      Returns:
      This builder.
    • hasAvailableDisbursementAmount

      public boolean hasAvailableDisbursementAmount()
      Checks whether the 'availableDisbursementAmount' field has been set.
      Returns:
      True if the 'availableDisbursementAmount' field has been set, false otherwise.
    • clearAvailableDisbursementAmount

      public CollectionDataV1.Builder clearAvailableDisbursementAmount()
      Clears the value of the 'availableDisbursementAmount' field.
      Returns:
      This builder.
    • getAvailableDisbursementAmountWithOverApplied

      public BigDecimal getAvailableDisbursementAmountWithOverApplied()
      Gets the value of the 'availableDisbursementAmountWithOverApplied' field.
      Returns:
      The value.
    • setAvailableDisbursementAmountWithOverApplied

      public CollectionDataV1.Builder setAvailableDisbursementAmountWithOverApplied(BigDecimal value)
      Sets the value of the 'availableDisbursementAmountWithOverApplied' field.
      Parameters:
      value - The value of 'availableDisbursementAmountWithOverApplied'.
      Returns:
      This builder.
    • hasAvailableDisbursementAmountWithOverApplied

      public boolean hasAvailableDisbursementAmountWithOverApplied()
      Checks whether the 'availableDisbursementAmountWithOverApplied' field has been set.
      Returns:
      True if the 'availableDisbursementAmountWithOverApplied' field has been set, false otherwise.
    • clearAvailableDisbursementAmountWithOverApplied

      public CollectionDataV1.Builder clearAvailableDisbursementAmountWithOverApplied()
      Clears the value of the 'availableDisbursementAmountWithOverApplied' field.
      Returns:
      This builder.
    • getPastDueDays

      public Integer getPastDueDays()
      Gets the value of the 'pastDueDays' field.
      Returns:
      The value.
    • setPastDueDays

      public CollectionDataV1.Builder setPastDueDays(Integer value)
      Sets the value of the 'pastDueDays' field.
      Parameters:
      value - The value of 'pastDueDays'.
      Returns:
      This builder.
    • hasPastDueDays

      public boolean hasPastDueDays()
      Checks whether the 'pastDueDays' field has been set.
      Returns:
      True if the 'pastDueDays' field has been set, false otherwise.
    • clearPastDueDays

      public CollectionDataV1.Builder clearPastDueDays()
      Clears the value of the 'pastDueDays' field.
      Returns:
      This builder.
    • getNextPaymentDueDate

      public String getNextPaymentDueDate()
      Gets the value of the 'nextPaymentDueDate' field.
      Returns:
      The value.
    • setNextPaymentDueDate

      public CollectionDataV1.Builder setNextPaymentDueDate(String value)
      Sets the value of the 'nextPaymentDueDate' field.
      Parameters:
      value - The value of 'nextPaymentDueDate'.
      Returns:
      This builder.
    • hasNextPaymentDueDate

      public boolean hasNextPaymentDueDate()
      Checks whether the 'nextPaymentDueDate' field has been set.
      Returns:
      True if the 'nextPaymentDueDate' field has been set, false otherwise.
    • clearNextPaymentDueDate

      public CollectionDataV1.Builder clearNextPaymentDueDate()
      Clears the value of the 'nextPaymentDueDate' field.
      Returns:
      This builder.
    • getNextPaymentAmount

      public BigDecimal getNextPaymentAmount()
      Gets the value of the 'nextPaymentAmount' field.
      Returns:
      The value.
    • setNextPaymentAmount

      public CollectionDataV1.Builder setNextPaymentAmount(BigDecimal value)
      Sets the value of the 'nextPaymentAmount' field.
      Parameters:
      value - The value of 'nextPaymentAmount'.
      Returns:
      This builder.
    • hasNextPaymentAmount

      public boolean hasNextPaymentAmount()
      Checks whether the 'nextPaymentAmount' field has been set.
      Returns:
      True if the 'nextPaymentAmount' field has been set, false otherwise.
    • clearNextPaymentAmount

      public CollectionDataV1.Builder clearNextPaymentAmount()
      Clears the value of the 'nextPaymentAmount' field.
      Returns:
      This builder.
    • getDelinquentDays

      public Integer getDelinquentDays()
      Gets the value of the 'delinquentDays' field.
      Returns:
      The value.
    • setDelinquentDays

      public CollectionDataV1.Builder setDelinquentDays(Integer value)
      Sets the value of the 'delinquentDays' field.
      Parameters:
      value - The value of 'delinquentDays'.
      Returns:
      This builder.
    • hasDelinquentDays

      public boolean hasDelinquentDays()
      Checks whether the 'delinquentDays' field has been set.
      Returns:
      True if the 'delinquentDays' field has been set, false otherwise.
    • clearDelinquentDays

      public CollectionDataV1.Builder clearDelinquentDays()
      Clears the value of the 'delinquentDays' field.
      Returns:
      This builder.
    • getDelinquentDate

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

      public CollectionDataV1.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 CollectionDataV1.Builder clearDelinquentDate()
      Clears the value of the 'delinquentDate' field.
      Returns:
      This builder.
    • getDelinquentAmount

      public BigDecimal getDelinquentAmount()
      Gets the value of the 'delinquentAmount' field.
      Returns:
      The value.
    • setDelinquentAmount

      public CollectionDataV1.Builder setDelinquentAmount(BigDecimal value)
      Sets the value of the 'delinquentAmount' field.
      Parameters:
      value - The value of 'delinquentAmount'.
      Returns:
      This builder.
    • hasDelinquentAmount

      public boolean hasDelinquentAmount()
      Checks whether the 'delinquentAmount' field has been set.
      Returns:
      True if the 'delinquentAmount' field has been set, false otherwise.
    • clearDelinquentAmount

      public CollectionDataV1.Builder clearDelinquentAmount()
      Clears the value of the 'delinquentAmount' field.
      Returns:
      This builder.
    • getLastPaymentDate

      public String getLastPaymentDate()
      Gets the value of the 'lastPaymentDate' field.
      Returns:
      The value.
    • setLastPaymentDate

      public CollectionDataV1.Builder setLastPaymentDate(String value)
      Sets the value of the 'lastPaymentDate' field.
      Parameters:
      value - The value of 'lastPaymentDate'.
      Returns:
      This builder.
    • hasLastPaymentDate

      public boolean hasLastPaymentDate()
      Checks whether the 'lastPaymentDate' field has been set.
      Returns:
      True if the 'lastPaymentDate' field has been set, false otherwise.
    • clearLastPaymentDate

      public CollectionDataV1.Builder clearLastPaymentDate()
      Clears the value of the 'lastPaymentDate' field.
      Returns:
      This builder.
    • getLastPaymentAmount

      public BigDecimal getLastPaymentAmount()
      Gets the value of the 'lastPaymentAmount' field.
      Returns:
      The value.
    • setLastPaymentAmount

      public CollectionDataV1.Builder setLastPaymentAmount(BigDecimal value)
      Sets the value of the 'lastPaymentAmount' field.
      Parameters:
      value - The value of 'lastPaymentAmount'.
      Returns:
      This builder.
    • hasLastPaymentAmount

      public boolean hasLastPaymentAmount()
      Checks whether the 'lastPaymentAmount' field has been set.
      Returns:
      True if the 'lastPaymentAmount' field has been set, false otherwise.
    • clearLastPaymentAmount

      public CollectionDataV1.Builder clearLastPaymentAmount()
      Clears the value of the 'lastPaymentAmount' field.
      Returns:
      This builder.
    • getLastRepaymentDate

      public String getLastRepaymentDate()
      Gets the value of the 'lastRepaymentDate' field.
      Returns:
      The value.
    • setLastRepaymentDate

      public CollectionDataV1.Builder setLastRepaymentDate(String value)
      Sets the value of the 'lastRepaymentDate' field.
      Parameters:
      value - The value of 'lastRepaymentDate'.
      Returns:
      This builder.
    • hasLastRepaymentDate

      public boolean hasLastRepaymentDate()
      Checks whether the 'lastRepaymentDate' field has been set.
      Returns:
      True if the 'lastRepaymentDate' field has been set, false otherwise.
    • clearLastRepaymentDate

      public CollectionDataV1.Builder clearLastRepaymentDate()
      Clears the value of the 'lastRepaymentDate' field.
      Returns:
      This builder.
    • getLastRepaymentAmount

      public BigDecimal getLastRepaymentAmount()
      Gets the value of the 'lastRepaymentAmount' field.
      Returns:
      The value.
    • setLastRepaymentAmount

      public CollectionDataV1.Builder setLastRepaymentAmount(BigDecimal value)
      Sets the value of the 'lastRepaymentAmount' field.
      Parameters:
      value - The value of 'lastRepaymentAmount'.
      Returns:
      This builder.
    • hasLastRepaymentAmount

      public boolean hasLastRepaymentAmount()
      Checks whether the 'lastRepaymentAmount' field has been set.
      Returns:
      True if the 'lastRepaymentAmount' field has been set, false otherwise.
    • clearLastRepaymentAmount

      public CollectionDataV1.Builder clearLastRepaymentAmount()
      Clears the value of the 'lastRepaymentAmount' field.
      Returns:
      This builder.
    • getDelinquencyPausePeriods

      public List<DelinquencyPausePeriodV1> getDelinquencyPausePeriods()
      Gets the value of the 'delinquencyPausePeriods' field.
      Returns:
      The value.
    • setDelinquencyPausePeriods

      public CollectionDataV1.Builder setDelinquencyPausePeriods(List<DelinquencyPausePeriodV1> value)
      Sets the value of the 'delinquencyPausePeriods' field.
      Parameters:
      value - The value of 'delinquencyPausePeriods'.
      Returns:
      This builder.
    • hasDelinquencyPausePeriods

      public boolean hasDelinquencyPausePeriods()
      Checks whether the 'delinquencyPausePeriods' field has been set.
      Returns:
      True if the 'delinquencyPausePeriods' field has been set, false otherwise.
    • clearDelinquencyPausePeriods

      public CollectionDataV1.Builder clearDelinquencyPausePeriods()
      Clears the value of the 'delinquencyPausePeriods' field.
      Returns:
      This builder.
    • getInstallmentDelinquencyBuckets

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

      public CollectionDataV1.Builder setInstallmentDelinquencyBuckets(List<LoanInstallmentDelinquencyBucketDataV1> value)
      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 CollectionDataV1.Builder clearInstallmentDelinquencyBuckets()
      Clears the value of the 'installmentDelinquencyBuckets' field.
      Returns:
      This builder.
    • getDelinquentPrincipal

      public BigDecimal getDelinquentPrincipal()
      Gets the value of the 'delinquentPrincipal' field.
      Returns:
      The value.
    • setDelinquentPrincipal

      public CollectionDataV1.Builder setDelinquentPrincipal(BigDecimal value)
      Sets the value of the 'delinquentPrincipal' field.
      Parameters:
      value - The value of 'delinquentPrincipal'.
      Returns:
      This builder.
    • hasDelinquentPrincipal

      public boolean hasDelinquentPrincipal()
      Checks whether the 'delinquentPrincipal' field has been set.
      Returns:
      True if the 'delinquentPrincipal' field has been set, false otherwise.
    • clearDelinquentPrincipal

      public CollectionDataV1.Builder clearDelinquentPrincipal()
      Clears the value of the 'delinquentPrincipal' field.
      Returns:
      This builder.
    • getDelinquentInterest

      public BigDecimal getDelinquentInterest()
      Gets the value of the 'delinquentInterest' field.
      Returns:
      The value.
    • setDelinquentInterest

      public CollectionDataV1.Builder setDelinquentInterest(BigDecimal value)
      Sets the value of the 'delinquentInterest' field.
      Parameters:
      value - The value of 'delinquentInterest'.
      Returns:
      This builder.
    • hasDelinquentInterest

      public boolean hasDelinquentInterest()
      Checks whether the 'delinquentInterest' field has been set.
      Returns:
      True if the 'delinquentInterest' field has been set, false otherwise.
    • clearDelinquentInterest

      public CollectionDataV1.Builder clearDelinquentInterest()
      Clears the value of the 'delinquentInterest' field.
      Returns:
      This builder.
    • getDelinquentFee

      public BigDecimal getDelinquentFee()
      Gets the value of the 'delinquentFee' field.
      Returns:
      The value.
    • setDelinquentFee

      public CollectionDataV1.Builder setDelinquentFee(BigDecimal value)
      Sets the value of the 'delinquentFee' field.
      Parameters:
      value - The value of 'delinquentFee'.
      Returns:
      This builder.
    • hasDelinquentFee

      public boolean hasDelinquentFee()
      Checks whether the 'delinquentFee' field has been set.
      Returns:
      True if the 'delinquentFee' field has been set, false otherwise.
    • clearDelinquentFee

      public CollectionDataV1.Builder clearDelinquentFee()
      Clears the value of the 'delinquentFee' field.
      Returns:
      This builder.
    • getDelinquentPenalty

      public BigDecimal getDelinquentPenalty()
      Gets the value of the 'delinquentPenalty' field.
      Returns:
      The value.
    • setDelinquentPenalty

      public CollectionDataV1.Builder setDelinquentPenalty(BigDecimal value)
      Sets the value of the 'delinquentPenalty' field.
      Parameters:
      value - The value of 'delinquentPenalty'.
      Returns:
      This builder.
    • hasDelinquentPenalty

      public boolean hasDelinquentPenalty()
      Checks whether the 'delinquentPenalty' field has been set.
      Returns:
      True if the 'delinquentPenalty' field has been set, false otherwise.
    • clearDelinquentPenalty

      public CollectionDataV1.Builder clearDelinquentPenalty()
      Clears the value of the 'delinquentPenalty' field.
      Returns:
      This builder.
    • build

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