Class LoanScheduleDataV1.Builder

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

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

    • getCurrency

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

      public LoanScheduleDataV1.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 LoanScheduleDataV1.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 LoanScheduleDataV1.Builder clearCurrency()
      Clears the value of the 'currency' field.
      Returns:
      This builder.
    • getLoanTermInDays

      public Integer getLoanTermInDays()
      Gets the value of the 'loanTermInDays' field.
      Returns:
      The value.
    • setLoanTermInDays

      public LoanScheduleDataV1.Builder setLoanTermInDays(Integer value)
      Sets the value of the 'loanTermInDays' field.
      Parameters:
      value - The value of 'loanTermInDays'.
      Returns:
      This builder.
    • hasLoanTermInDays

      public boolean hasLoanTermInDays()
      Checks whether the 'loanTermInDays' field has been set.
      Returns:
      True if the 'loanTermInDays' field has been set, false otherwise.
    • clearLoanTermInDays

      public LoanScheduleDataV1.Builder clearLoanTermInDays()
      Clears the value of the 'loanTermInDays' field.
      Returns:
      This builder.
    • getTotalPrincipalDisbursed

      public BigDecimal getTotalPrincipalDisbursed()
      Gets the value of the 'totalPrincipalDisbursed' field.
      Returns:
      The value.
    • setTotalPrincipalDisbursed

      public LoanScheduleDataV1.Builder setTotalPrincipalDisbursed(BigDecimal value)
      Sets the value of the 'totalPrincipalDisbursed' field.
      Parameters:
      value - The value of 'totalPrincipalDisbursed'.
      Returns:
      This builder.
    • hasTotalPrincipalDisbursed

      public boolean hasTotalPrincipalDisbursed()
      Checks whether the 'totalPrincipalDisbursed' field has been set.
      Returns:
      True if the 'totalPrincipalDisbursed' field has been set, false otherwise.
    • clearTotalPrincipalDisbursed

      public LoanScheduleDataV1.Builder clearTotalPrincipalDisbursed()
      Clears the value of the 'totalPrincipalDisbursed' field.
      Returns:
      This builder.
    • getTotalPrincipalExpected

      public BigDecimal getTotalPrincipalExpected()
      Gets the value of the 'totalPrincipalExpected' field.
      Returns:
      The value.
    • setTotalPrincipalExpected

      public LoanScheduleDataV1.Builder setTotalPrincipalExpected(BigDecimal value)
      Sets the value of the 'totalPrincipalExpected' field.
      Parameters:
      value - The value of 'totalPrincipalExpected'.
      Returns:
      This builder.
    • hasTotalPrincipalExpected

      public boolean hasTotalPrincipalExpected()
      Checks whether the 'totalPrincipalExpected' field has been set.
      Returns:
      True if the 'totalPrincipalExpected' field has been set, false otherwise.
    • clearTotalPrincipalExpected

      public LoanScheduleDataV1.Builder clearTotalPrincipalExpected()
      Clears the value of the 'totalPrincipalExpected' field.
      Returns:
      This builder.
    • getTotalPrincipalPaid

      public BigDecimal getTotalPrincipalPaid()
      Gets the value of the 'totalPrincipalPaid' field.
      Returns:
      The value.
    • setTotalPrincipalPaid

      public LoanScheduleDataV1.Builder setTotalPrincipalPaid(BigDecimal value)
      Sets the value of the 'totalPrincipalPaid' field.
      Parameters:
      value - The value of 'totalPrincipalPaid'.
      Returns:
      This builder.
    • hasTotalPrincipalPaid

      public boolean hasTotalPrincipalPaid()
      Checks whether the 'totalPrincipalPaid' field has been set.
      Returns:
      True if the 'totalPrincipalPaid' field has been set, false otherwise.
    • clearTotalPrincipalPaid

      public LoanScheduleDataV1.Builder clearTotalPrincipalPaid()
      Clears the value of the 'totalPrincipalPaid' field.
      Returns:
      This builder.
    • getTotalInterestCharged

      public BigDecimal getTotalInterestCharged()
      Gets the value of the 'totalInterestCharged' field.
      Returns:
      The value.
    • setTotalInterestCharged

      public LoanScheduleDataV1.Builder setTotalInterestCharged(BigDecimal value)
      Sets the value of the 'totalInterestCharged' field.
      Parameters:
      value - The value of 'totalInterestCharged'.
      Returns:
      This builder.
    • hasTotalInterestCharged

      public boolean hasTotalInterestCharged()
      Checks whether the 'totalInterestCharged' field has been set.
      Returns:
      True if the 'totalInterestCharged' field has been set, false otherwise.
    • clearTotalInterestCharged

      public LoanScheduleDataV1.Builder clearTotalInterestCharged()
      Clears the value of the 'totalInterestCharged' field.
      Returns:
      This builder.
    • getTotalFeeChargesCharged

      public BigDecimal getTotalFeeChargesCharged()
      Gets the value of the 'totalFeeChargesCharged' field.
      Returns:
      The value.
    • setTotalFeeChargesCharged

      public LoanScheduleDataV1.Builder setTotalFeeChargesCharged(BigDecimal value)
      Sets the value of the 'totalFeeChargesCharged' field.
      Parameters:
      value - The value of 'totalFeeChargesCharged'.
      Returns:
      This builder.
    • hasTotalFeeChargesCharged

      public boolean hasTotalFeeChargesCharged()
      Checks whether the 'totalFeeChargesCharged' field has been set.
      Returns:
      True if the 'totalFeeChargesCharged' field has been set, false otherwise.
    • clearTotalFeeChargesCharged

      public LoanScheduleDataV1.Builder clearTotalFeeChargesCharged()
      Clears the value of the 'totalFeeChargesCharged' field.
      Returns:
      This builder.
    • getTotalPenaltyChargesCharged

      public BigDecimal getTotalPenaltyChargesCharged()
      Gets the value of the 'totalPenaltyChargesCharged' field.
      Returns:
      The value.
    • setTotalPenaltyChargesCharged

      public LoanScheduleDataV1.Builder setTotalPenaltyChargesCharged(BigDecimal value)
      Sets the value of the 'totalPenaltyChargesCharged' field.
      Parameters:
      value - The value of 'totalPenaltyChargesCharged'.
      Returns:
      This builder.
    • hasTotalPenaltyChargesCharged

      public boolean hasTotalPenaltyChargesCharged()
      Checks whether the 'totalPenaltyChargesCharged' field has been set.
      Returns:
      True if the 'totalPenaltyChargesCharged' field has been set, false otherwise.
    • clearTotalPenaltyChargesCharged

      public LoanScheduleDataV1.Builder clearTotalPenaltyChargesCharged()
      Clears the value of the 'totalPenaltyChargesCharged' field.
      Returns:
      This builder.
    • getTotalWaived

      public BigDecimal getTotalWaived()
      Gets the value of the 'totalWaived' field.
      Returns:
      The value.
    • setTotalWaived

      public LoanScheduleDataV1.Builder setTotalWaived(BigDecimal value)
      Sets the value of the 'totalWaived' field.
      Parameters:
      value - The value of 'totalWaived'.
      Returns:
      This builder.
    • hasTotalWaived

      public boolean hasTotalWaived()
      Checks whether the 'totalWaived' field has been set.
      Returns:
      True if the 'totalWaived' field has been set, false otherwise.
    • clearTotalWaived

      public LoanScheduleDataV1.Builder clearTotalWaived()
      Clears the value of the 'totalWaived' field.
      Returns:
      This builder.
    • getTotalWrittenOff

      public BigDecimal getTotalWrittenOff()
      Gets the value of the 'totalWrittenOff' field.
      Returns:
      The value.
    • setTotalWrittenOff

      public LoanScheduleDataV1.Builder setTotalWrittenOff(BigDecimal value)
      Sets the value of the 'totalWrittenOff' field.
      Parameters:
      value - The value of 'totalWrittenOff'.
      Returns:
      This builder.
    • hasTotalWrittenOff

      public boolean hasTotalWrittenOff()
      Checks whether the 'totalWrittenOff' field has been set.
      Returns:
      True if the 'totalWrittenOff' field has been set, false otherwise.
    • clearTotalWrittenOff

      public LoanScheduleDataV1.Builder clearTotalWrittenOff()
      Clears the value of the 'totalWrittenOff' field.
      Returns:
      This builder.
    • getTotalRepaymentExpected

      public BigDecimal getTotalRepaymentExpected()
      Gets the value of the 'totalRepaymentExpected' field.
      Returns:
      The value.
    • setTotalRepaymentExpected

      public LoanScheduleDataV1.Builder setTotalRepaymentExpected(BigDecimal value)
      Sets the value of the 'totalRepaymentExpected' field.
      Parameters:
      value - The value of 'totalRepaymentExpected'.
      Returns:
      This builder.
    • hasTotalRepaymentExpected

      public boolean hasTotalRepaymentExpected()
      Checks whether the 'totalRepaymentExpected' field has been set.
      Returns:
      True if the 'totalRepaymentExpected' field has been set, false otherwise.
    • clearTotalRepaymentExpected

      public LoanScheduleDataV1.Builder clearTotalRepaymentExpected()
      Clears the value of the 'totalRepaymentExpected' field.
      Returns:
      This builder.
    • getTotalRepayment

      public BigDecimal getTotalRepayment()
      Gets the value of the 'totalRepayment' field.
      Returns:
      The value.
    • setTotalRepayment

      public LoanScheduleDataV1.Builder setTotalRepayment(BigDecimal value)
      Sets the value of the 'totalRepayment' field.
      Parameters:
      value - The value of 'totalRepayment'.
      Returns:
      This builder.
    • hasTotalRepayment

      public boolean hasTotalRepayment()
      Checks whether the 'totalRepayment' field has been set.
      Returns:
      True if the 'totalRepayment' field has been set, false otherwise.
    • clearTotalRepayment

      public LoanScheduleDataV1.Builder clearTotalRepayment()
      Clears the value of the 'totalRepayment' field.
      Returns:
      This builder.
    • getTotalPaidInAdvance

      public BigDecimal getTotalPaidInAdvance()
      Gets the value of the 'totalPaidInAdvance' field.
      Returns:
      The value.
    • setTotalPaidInAdvance

      public LoanScheduleDataV1.Builder setTotalPaidInAdvance(BigDecimal value)
      Sets the value of the 'totalPaidInAdvance' field.
      Parameters:
      value - The value of 'totalPaidInAdvance'.
      Returns:
      This builder.
    • hasTotalPaidInAdvance

      public boolean hasTotalPaidInAdvance()
      Checks whether the 'totalPaidInAdvance' field has been set.
      Returns:
      True if the 'totalPaidInAdvance' field has been set, false otherwise.
    • clearTotalPaidInAdvance

      public LoanScheduleDataV1.Builder clearTotalPaidInAdvance()
      Clears the value of the 'totalPaidInAdvance' field.
      Returns:
      This builder.
    • getTotalPaidLate

      public BigDecimal getTotalPaidLate()
      Gets the value of the 'totalPaidLate' field.
      Returns:
      The value.
    • setTotalPaidLate

      public LoanScheduleDataV1.Builder setTotalPaidLate(BigDecimal value)
      Sets the value of the 'totalPaidLate' field.
      Parameters:
      value - The value of 'totalPaidLate'.
      Returns:
      This builder.
    • hasTotalPaidLate

      public boolean hasTotalPaidLate()
      Checks whether the 'totalPaidLate' field has been set.
      Returns:
      True if the 'totalPaidLate' field has been set, false otherwise.
    • clearTotalPaidLate

      public LoanScheduleDataV1.Builder clearTotalPaidLate()
      Clears the value of the 'totalPaidLate' field.
      Returns:
      This builder.
    • getTotalOutstanding

      public BigDecimal getTotalOutstanding()
      Gets the value of the 'totalOutstanding' field.
      Returns:
      The value.
    • setTotalOutstanding

      public LoanScheduleDataV1.Builder setTotalOutstanding(BigDecimal value)
      Sets the value of the 'totalOutstanding' field.
      Parameters:
      value - The value of 'totalOutstanding'.
      Returns:
      This builder.
    • hasTotalOutstanding

      public boolean hasTotalOutstanding()
      Checks whether the 'totalOutstanding' field has been set.
      Returns:
      True if the 'totalOutstanding' field has been set, false otherwise.
    • clearTotalOutstanding

      public LoanScheduleDataV1.Builder clearTotalOutstanding()
      Clears the value of the 'totalOutstanding' field.
      Returns:
      This builder.
    • getPeriods

      public List<LoanSchedulePeriodDataV1> getPeriods()
      Gets the value of the 'periods' field.
      Returns:
      The value.
    • setPeriods

      Sets the value of the 'periods' field.
      Parameters:
      value - The value of 'periods'.
      Returns:
      This builder.
    • hasPeriods

      public boolean hasPeriods()
      Checks whether the 'periods' field has been set.
      Returns:
      True if the 'periods' field has been set, false otherwise.
    • clearPeriods

      public LoanScheduleDataV1.Builder clearPeriods()
      Clears the value of the 'periods' field.
      Returns:
      This builder.
    • getFuturePeriods

      public List<LoanSchedulePeriodDataV1> getFuturePeriods()
      Gets the value of the 'futurePeriods' field.
      Returns:
      The value.
    • setFuturePeriods

      public LoanScheduleDataV1.Builder setFuturePeriods(List<LoanSchedulePeriodDataV1> value)
      Sets the value of the 'futurePeriods' field.
      Parameters:
      value - The value of 'futurePeriods'.
      Returns:
      This builder.
    • hasFuturePeriods

      public boolean hasFuturePeriods()
      Checks whether the 'futurePeriods' field has been set.
      Returns:
      True if the 'futurePeriods' field has been set, false otherwise.
    • clearFuturePeriods

      public LoanScheduleDataV1.Builder clearFuturePeriods()
      Clears the value of the 'futurePeriods' field.
      Returns:
      This builder.
    • build

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