Class LoanTransactionEnumDataV1.Builder

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

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

    • getId

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

      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.
    • getCode

      public String getCode()
      Gets the value of the 'code' field.
      Returns:
      The value.
    • setCode

      public LoanTransactionEnumDataV1.Builder setCode(String value)
      Sets the value of the 'code' field.
      Parameters:
      value - The value of 'code'.
      Returns:
      This builder.
    • hasCode

      public boolean hasCode()
      Checks whether the 'code' field has been set.
      Returns:
      True if the 'code' field has been set, false otherwise.
    • clearCode

      Clears the value of the 'code' field.
      Returns:
      This builder.
    • getValue

      public String getValue()
      Gets the value of the 'value' field.
      Returns:
      The value.
    • setValue

      public LoanTransactionEnumDataV1.Builder setValue(String value)
      Sets the value of the 'value' field.
      Parameters:
      value - The value of 'value'.
      Returns:
      This builder.
    • hasValue

      public boolean hasValue()
      Checks whether the 'value' field has been set.
      Returns:
      True if the 'value' field has been set, false otherwise.
    • clearValue

      public LoanTransactionEnumDataV1.Builder clearValue()
      Clears the value of the 'value' field.
      Returns:
      This builder.
    • getDisbursement

      public Boolean getDisbursement()
      Gets the value of the 'disbursement' field.
      Returns:
      The value.
    • setDisbursement

      public LoanTransactionEnumDataV1.Builder setDisbursement(Boolean value)
      Sets the value of the 'disbursement' field.
      Parameters:
      value - The value of 'disbursement'.
      Returns:
      This builder.
    • hasDisbursement

      public boolean hasDisbursement()
      Checks whether the 'disbursement' field has been set.
      Returns:
      True if the 'disbursement' field has been set, false otherwise.
    • clearDisbursement

      public LoanTransactionEnumDataV1.Builder clearDisbursement()
      Clears the value of the 'disbursement' field.
      Returns:
      This builder.
    • getRepaymentAtDisbursement

      public Boolean getRepaymentAtDisbursement()
      Gets the value of the 'repaymentAtDisbursement' field.
      Returns:
      The value.
    • setRepaymentAtDisbursement

      public LoanTransactionEnumDataV1.Builder setRepaymentAtDisbursement(Boolean value)
      Sets the value of the 'repaymentAtDisbursement' field.
      Parameters:
      value - The value of 'repaymentAtDisbursement'.
      Returns:
      This builder.
    • hasRepaymentAtDisbursement

      public boolean hasRepaymentAtDisbursement()
      Checks whether the 'repaymentAtDisbursement' field has been set.
      Returns:
      True if the 'repaymentAtDisbursement' field has been set, false otherwise.
    • clearRepaymentAtDisbursement

      public LoanTransactionEnumDataV1.Builder clearRepaymentAtDisbursement()
      Clears the value of the 'repaymentAtDisbursement' field.
      Returns:
      This builder.
    • getRepayment

      public Boolean getRepayment()
      Gets the value of the 'repayment' field.
      Returns:
      The value.
    • setRepayment

      public LoanTransactionEnumDataV1.Builder setRepayment(Boolean value)
      Sets the value of the 'repayment' field.
      Parameters:
      value - The value of 'repayment'.
      Returns:
      This builder.
    • hasRepayment

      public boolean hasRepayment()
      Checks whether the 'repayment' field has been set.
      Returns:
      True if the 'repayment' field has been set, false otherwise.
    • clearRepayment

      public LoanTransactionEnumDataV1.Builder clearRepayment()
      Clears the value of the 'repayment' field.
      Returns:
      This builder.
    • getMerchantIssuedRefund

      public Boolean getMerchantIssuedRefund()
      Gets the value of the 'merchantIssuedRefund' field.
      Returns:
      The value.
    • setMerchantIssuedRefund

      public LoanTransactionEnumDataV1.Builder setMerchantIssuedRefund(Boolean value)
      Sets the value of the 'merchantIssuedRefund' field.
      Parameters:
      value - The value of 'merchantIssuedRefund'.
      Returns:
      This builder.
    • hasMerchantIssuedRefund

      public boolean hasMerchantIssuedRefund()
      Checks whether the 'merchantIssuedRefund' field has been set.
      Returns:
      True if the 'merchantIssuedRefund' field has been set, false otherwise.
    • clearMerchantIssuedRefund

      public LoanTransactionEnumDataV1.Builder clearMerchantIssuedRefund()
      Clears the value of the 'merchantIssuedRefund' field.
      Returns:
      This builder.
    • getPayoutRefund

      public Boolean getPayoutRefund()
      Gets the value of the 'payoutRefund' field.
      Returns:
      The value.
    • setPayoutRefund

      public LoanTransactionEnumDataV1.Builder setPayoutRefund(Boolean value)
      Sets the value of the 'payoutRefund' field.
      Parameters:
      value - The value of 'payoutRefund'.
      Returns:
      This builder.
    • hasPayoutRefund

      public boolean hasPayoutRefund()
      Checks whether the 'payoutRefund' field has been set.
      Returns:
      True if the 'payoutRefund' field has been set, false otherwise.
    • clearPayoutRefund

      public LoanTransactionEnumDataV1.Builder clearPayoutRefund()
      Clears the value of the 'payoutRefund' field.
      Returns:
      This builder.
    • getGoodwillCredit

      public Boolean getGoodwillCredit()
      Gets the value of the 'goodwillCredit' field.
      Returns:
      The value.
    • setGoodwillCredit

      public LoanTransactionEnumDataV1.Builder setGoodwillCredit(Boolean value)
      Sets the value of the 'goodwillCredit' field.
      Parameters:
      value - The value of 'goodwillCredit'.
      Returns:
      This builder.
    • hasGoodwillCredit

      public boolean hasGoodwillCredit()
      Checks whether the 'goodwillCredit' field has been set.
      Returns:
      True if the 'goodwillCredit' field has been set, false otherwise.
    • clearGoodwillCredit

      public LoanTransactionEnumDataV1.Builder clearGoodwillCredit()
      Clears the value of the 'goodwillCredit' field.
      Returns:
      This builder.
    • getChargeRefund

      public Boolean getChargeRefund()
      Gets the value of the 'chargeRefund' field.
      Returns:
      The value.
    • setChargeRefund

      public LoanTransactionEnumDataV1.Builder setChargeRefund(Boolean value)
      Sets the value of the 'chargeRefund' field.
      Parameters:
      value - The value of 'chargeRefund'.
      Returns:
      This builder.
    • hasChargeRefund

      public boolean hasChargeRefund()
      Checks whether the 'chargeRefund' field has been set.
      Returns:
      True if the 'chargeRefund' field has been set, false otherwise.
    • clearChargeRefund

      public LoanTransactionEnumDataV1.Builder clearChargeRefund()
      Clears the value of the 'chargeRefund' field.
      Returns:
      This builder.
    • getContra

      public Boolean getContra()
      Gets the value of the 'contra' field.
      Returns:
      The value.
    • setContra

      public LoanTransactionEnumDataV1.Builder setContra(Boolean value)
      Sets the value of the 'contra' field.
      Parameters:
      value - The value of 'contra'.
      Returns:
      This builder.
    • hasContra

      public boolean hasContra()
      Checks whether the 'contra' field has been set.
      Returns:
      True if the 'contra' field has been set, false otherwise.
    • clearContra

      public LoanTransactionEnumDataV1.Builder clearContra()
      Clears the value of the 'contra' field.
      Returns:
      This builder.
    • getWaiveInterest

      public Boolean getWaiveInterest()
      Gets the value of the 'waiveInterest' field.
      Returns:
      The value.
    • setWaiveInterest

      public LoanTransactionEnumDataV1.Builder setWaiveInterest(Boolean value)
      Sets the value of the 'waiveInterest' field.
      Parameters:
      value - The value of 'waiveInterest'.
      Returns:
      This builder.
    • hasWaiveInterest

      public boolean hasWaiveInterest()
      Checks whether the 'waiveInterest' field has been set.
      Returns:
      True if the 'waiveInterest' field has been set, false otherwise.
    • clearWaiveInterest

      public LoanTransactionEnumDataV1.Builder clearWaiveInterest()
      Clears the value of the 'waiveInterest' field.
      Returns:
      This builder.
    • getWaiveCharges

      public Boolean getWaiveCharges()
      Gets the value of the 'waiveCharges' field.
      Returns:
      The value.
    • setWaiveCharges

      public LoanTransactionEnumDataV1.Builder setWaiveCharges(Boolean value)
      Sets the value of the 'waiveCharges' field.
      Parameters:
      value - The value of 'waiveCharges'.
      Returns:
      This builder.
    • hasWaiveCharges

      public boolean hasWaiveCharges()
      Checks whether the 'waiveCharges' field has been set.
      Returns:
      True if the 'waiveCharges' field has been set, false otherwise.
    • clearWaiveCharges

      public LoanTransactionEnumDataV1.Builder clearWaiveCharges()
      Clears the value of the 'waiveCharges' field.
      Returns:
      This builder.
    • getAccrual

      public Boolean getAccrual()
      Gets the value of the 'accrual' field.
      Returns:
      The value.
    • setAccrual

      public LoanTransactionEnumDataV1.Builder setAccrual(Boolean value)
      Sets the value of the 'accrual' field.
      Parameters:
      value - The value of 'accrual'.
      Returns:
      This builder.
    • hasAccrual

      public boolean hasAccrual()
      Checks whether the 'accrual' field has been set.
      Returns:
      True if the 'accrual' field has been set, false otherwise.
    • clearAccrual

      public LoanTransactionEnumDataV1.Builder clearAccrual()
      Clears the value of the 'accrual' field.
      Returns:
      This builder.
    • getWriteOff

      public Boolean getWriteOff()
      Gets the value of the 'writeOff' field.
      Returns:
      The value.
    • setWriteOff

      public LoanTransactionEnumDataV1.Builder setWriteOff(Boolean value)
      Sets the value of the 'writeOff' field.
      Parameters:
      value - The value of 'writeOff'.
      Returns:
      This builder.
    • hasWriteOff

      public boolean hasWriteOff()
      Checks whether the 'writeOff' field has been set.
      Returns:
      True if the 'writeOff' field has been set, false otherwise.
    • clearWriteOff

      public LoanTransactionEnumDataV1.Builder clearWriteOff()
      Clears the value of the 'writeOff' field.
      Returns:
      This builder.
    • getRecoveryRepayment

      public Boolean getRecoveryRepayment()
      Gets the value of the 'recoveryRepayment' field.
      Returns:
      The value.
    • setRecoveryRepayment

      public LoanTransactionEnumDataV1.Builder setRecoveryRepayment(Boolean value)
      Sets the value of the 'recoveryRepayment' field.
      Parameters:
      value - The value of 'recoveryRepayment'.
      Returns:
      This builder.
    • hasRecoveryRepayment

      public boolean hasRecoveryRepayment()
      Checks whether the 'recoveryRepayment' field has been set.
      Returns:
      True if the 'recoveryRepayment' field has been set, false otherwise.
    • clearRecoveryRepayment

      public LoanTransactionEnumDataV1.Builder clearRecoveryRepayment()
      Clears the value of the 'recoveryRepayment' field.
      Returns:
      This builder.
    • getInitiateTransfer

      public Boolean getInitiateTransfer()
      Gets the value of the 'initiateTransfer' field.
      Returns:
      The value.
    • setInitiateTransfer

      public LoanTransactionEnumDataV1.Builder setInitiateTransfer(Boolean value)
      Sets the value of the 'initiateTransfer' field.
      Parameters:
      value - The value of 'initiateTransfer'.
      Returns:
      This builder.
    • hasInitiateTransfer

      public boolean hasInitiateTransfer()
      Checks whether the 'initiateTransfer' field has been set.
      Returns:
      True if the 'initiateTransfer' field has been set, false otherwise.
    • clearInitiateTransfer

      public LoanTransactionEnumDataV1.Builder clearInitiateTransfer()
      Clears the value of the 'initiateTransfer' field.
      Returns:
      This builder.
    • getApproveTransfer

      public Boolean getApproveTransfer()
      Gets the value of the 'approveTransfer' field.
      Returns:
      The value.
    • setApproveTransfer

      public LoanTransactionEnumDataV1.Builder setApproveTransfer(Boolean value)
      Sets the value of the 'approveTransfer' field.
      Parameters:
      value - The value of 'approveTransfer'.
      Returns:
      This builder.
    • hasApproveTransfer

      public boolean hasApproveTransfer()
      Checks whether the 'approveTransfer' field has been set.
      Returns:
      True if the 'approveTransfer' field has been set, false otherwise.
    • clearApproveTransfer

      public LoanTransactionEnumDataV1.Builder clearApproveTransfer()
      Clears the value of the 'approveTransfer' field.
      Returns:
      This builder.
    • getWithdrawTransfer

      public Boolean getWithdrawTransfer()
      Gets the value of the 'withdrawTransfer' field.
      Returns:
      The value.
    • setWithdrawTransfer

      public LoanTransactionEnumDataV1.Builder setWithdrawTransfer(Boolean value)
      Sets the value of the 'withdrawTransfer' field.
      Parameters:
      value - The value of 'withdrawTransfer'.
      Returns:
      This builder.
    • hasWithdrawTransfer

      public boolean hasWithdrawTransfer()
      Checks whether the 'withdrawTransfer' field has been set.
      Returns:
      True if the 'withdrawTransfer' field has been set, false otherwise.
    • clearWithdrawTransfer

      public LoanTransactionEnumDataV1.Builder clearWithdrawTransfer()
      Clears the value of the 'withdrawTransfer' field.
      Returns:
      This builder.
    • getRejectTransfer

      public Boolean getRejectTransfer()
      Gets the value of the 'rejectTransfer' field.
      Returns:
      The value.
    • setRejectTransfer

      public LoanTransactionEnumDataV1.Builder setRejectTransfer(Boolean value)
      Sets the value of the 'rejectTransfer' field.
      Parameters:
      value - The value of 'rejectTransfer'.
      Returns:
      This builder.
    • hasRejectTransfer

      public boolean hasRejectTransfer()
      Checks whether the 'rejectTransfer' field has been set.
      Returns:
      True if the 'rejectTransfer' field has been set, false otherwise.
    • clearRejectTransfer

      public LoanTransactionEnumDataV1.Builder clearRejectTransfer()
      Clears the value of the 'rejectTransfer' field.
      Returns:
      This builder.
    • getChargePayment

      public Boolean getChargePayment()
      Gets the value of the 'chargePayment' field.
      Returns:
      The value.
    • setChargePayment

      public LoanTransactionEnumDataV1.Builder setChargePayment(Boolean value)
      Sets the value of the 'chargePayment' field.
      Parameters:
      value - The value of 'chargePayment'.
      Returns:
      This builder.
    • hasChargePayment

      public boolean hasChargePayment()
      Checks whether the 'chargePayment' field has been set.
      Returns:
      True if the 'chargePayment' field has been set, false otherwise.
    • clearChargePayment

      public LoanTransactionEnumDataV1.Builder clearChargePayment()
      Clears the value of the 'chargePayment' field.
      Returns:
      This builder.
    • getRefund

      public Boolean getRefund()
      Gets the value of the 'refund' field.
      Returns:
      The value.
    • setRefund

      public LoanTransactionEnumDataV1.Builder setRefund(Boolean value)
      Sets the value of the 'refund' field.
      Parameters:
      value - The value of 'refund'.
      Returns:
      This builder.
    • hasRefund

      public boolean hasRefund()
      Checks whether the 'refund' field has been set.
      Returns:
      True if the 'refund' field has been set, false otherwise.
    • clearRefund

      public LoanTransactionEnumDataV1.Builder clearRefund()
      Clears the value of the 'refund' field.
      Returns:
      This builder.
    • getRefundForActiveLoans

      public Boolean getRefundForActiveLoans()
      Gets the value of the 'refundForActiveLoans' field.
      Returns:
      The value.
    • setRefundForActiveLoans

      public LoanTransactionEnumDataV1.Builder setRefundForActiveLoans(Boolean value)
      Sets the value of the 'refundForActiveLoans' field.
      Parameters:
      value - The value of 'refundForActiveLoans'.
      Returns:
      This builder.
    • hasRefundForActiveLoans

      public boolean hasRefundForActiveLoans()
      Checks whether the 'refundForActiveLoans' field has been set.
      Returns:
      True if the 'refundForActiveLoans' field has been set, false otherwise.
    • clearRefundForActiveLoans

      public LoanTransactionEnumDataV1.Builder clearRefundForActiveLoans()
      Clears the value of the 'refundForActiveLoans' field.
      Returns:
      This builder.
    • getCreditBalanceRefund

      public Boolean getCreditBalanceRefund()
      Gets the value of the 'creditBalanceRefund' field.
      Returns:
      The value.
    • setCreditBalanceRefund

      public LoanTransactionEnumDataV1.Builder setCreditBalanceRefund(Boolean value)
      Sets the value of the 'creditBalanceRefund' field.
      Parameters:
      value - The value of 'creditBalanceRefund'.
      Returns:
      This builder.
    • hasCreditBalanceRefund

      public boolean hasCreditBalanceRefund()
      Checks whether the 'creditBalanceRefund' field has been set.
      Returns:
      True if the 'creditBalanceRefund' field has been set, false otherwise.
    • clearCreditBalanceRefund

      public LoanTransactionEnumDataV1.Builder clearCreditBalanceRefund()
      Clears the value of the 'creditBalanceRefund' field.
      Returns:
      This builder.
    • getChargeback

      public Boolean getChargeback()
      Gets the value of the 'chargeback' field.
      Returns:
      The value.
    • setChargeback

      public LoanTransactionEnumDataV1.Builder setChargeback(Boolean value)
      Sets the value of the 'chargeback' field.
      Parameters:
      value - The value of 'chargeback'.
      Returns:
      This builder.
    • hasChargeback

      public boolean hasChargeback()
      Checks whether the 'chargeback' field has been set.
      Returns:
      True if the 'chargeback' field has been set, false otherwise.
    • clearChargeback

      public LoanTransactionEnumDataV1.Builder clearChargeback()
      Clears the value of the 'chargeback' field.
      Returns:
      This builder.
    • build

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