Class SavingsAccountTransactionDataV1.Builder

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

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

    • getId

      public Long 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.
    • getTransactionType

      public SavingsAccountTransactionEnumDataV1 getTransactionType()
      Gets the value of the 'transactionType' field.
      Returns:
      The value.
    • setTransactionType

      Sets the value of the 'transactionType' field.
      Parameters:
      value - The value of 'transactionType'.
      Returns:
      This builder.
    • hasTransactionType

      public boolean hasTransactionType()
      Checks whether the 'transactionType' field has been set.
      Returns:
      True if the 'transactionType' field has been set, false otherwise.
    • getTransactionTypeBuilder

      public SavingsAccountTransactionEnumDataV1.Builder getTransactionTypeBuilder()
      Gets the Builder instance for the 'transactionType' field and creates one if it doesn't exist yet.
      Returns:
      This builder.
    • setTransactionTypeBuilder

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

      public boolean hasTransactionTypeBuilder()
      Checks whether the 'transactionType' field has an active Builder instance
      Returns:
      True if the 'transactionType' field has an active Builder instance
    • clearTransactionType

      public SavingsAccountTransactionDataV1.Builder clearTransactionType()
      Clears the value of the 'transactionType' field.
      Returns:
      This builder.
    • getAccountId

      public Long getAccountId()
      Gets the value of the 'accountId' field.
      Returns:
      The value.
    • setAccountId

      public SavingsAccountTransactionDataV1.Builder setAccountId(Long value)
      Sets the value of the 'accountId' field.
      Parameters:
      value - The value of 'accountId'.
      Returns:
      This builder.
    • hasAccountId

      public boolean hasAccountId()
      Checks whether the 'accountId' field has been set.
      Returns:
      True if the 'accountId' field has been set, false otherwise.
    • clearAccountId

      public SavingsAccountTransactionDataV1.Builder clearAccountId()
      Clears the value of the 'accountId' field.
      Returns:
      This builder.
    • getAccountNo

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

      public SavingsAccountTransactionDataV1.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 SavingsAccountTransactionDataV1.Builder clearAccountNo()
      Clears the value of the 'accountNo' field.
      Returns:
      This builder.
    • getDate

      public String getDate()
      Gets the value of the 'date' field.
      Returns:
      The value.
    • setDate

      Sets the value of the 'date' field.
      Parameters:
      value - The value of 'date'.
      Returns:
      This builder.
    • hasDate

      public boolean hasDate()
      Checks whether the 'date' field has been set.
      Returns:
      True if the 'date' field has been set, false otherwise.
    • clearDate

      Clears the value of the 'date' field.
      Returns:
      This builder.
    • getCurrency

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

      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

      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

      Clears the value of the 'currency' field.
      Returns:
      This builder.
    • getPaymentDetailData

      public PaymentDetailDataV1 getPaymentDetailData()
      Gets the value of the 'paymentDetailData' field.
      Returns:
      The value.
    • setPaymentDetailData

      public SavingsAccountTransactionDataV1.Builder setPaymentDetailData(PaymentDetailDataV1 value)
      Sets the value of the 'paymentDetailData' field.
      Parameters:
      value - The value of 'paymentDetailData'.
      Returns:
      This builder.
    • hasPaymentDetailData

      public boolean hasPaymentDetailData()
      Checks whether the 'paymentDetailData' field has been set.
      Returns:
      True if the 'paymentDetailData' field has been set, false otherwise.
    • getPaymentDetailDataBuilder

      public PaymentDetailDataV1.Builder getPaymentDetailDataBuilder()
      Gets the Builder instance for the 'paymentDetailData' field and creates one if it doesn't exist yet.
      Returns:
      This builder.
    • setPaymentDetailDataBuilder

      public SavingsAccountTransactionDataV1.Builder setPaymentDetailDataBuilder(PaymentDetailDataV1.Builder value)
      Sets the Builder instance for the 'paymentDetailData' field
      Parameters:
      value - The builder instance that must be set.
      Returns:
      This builder.
    • hasPaymentDetailDataBuilder

      public boolean hasPaymentDetailDataBuilder()
      Checks whether the 'paymentDetailData' field has an active Builder instance
      Returns:
      True if the 'paymentDetailData' field has an active Builder instance
    • clearPaymentDetailData

      public SavingsAccountTransactionDataV1.Builder clearPaymentDetailData()
      Clears the value of the 'paymentDetailData' field.
      Returns:
      This builder.
    • getAmount

      public BigDecimal getAmount()
      Gets the value of the 'amount' field.
      Returns:
      The value.
    • setAmount

      Sets the value of the 'amount' field.
      Parameters:
      value - The value of 'amount'.
      Returns:
      This builder.
    • hasAmount

      public boolean hasAmount()
      Checks whether the 'amount' field has been set.
      Returns:
      True if the 'amount' field has been set, false otherwise.
    • clearAmount

      Clears the value of the 'amount' field.
      Returns:
      This builder.
    • getOutstandingChargeAmount

      public BigDecimal getOutstandingChargeAmount()
      Gets the value of the 'outstandingChargeAmount' field.
      Returns:
      The value.
    • setOutstandingChargeAmount

      public SavingsAccountTransactionDataV1.Builder setOutstandingChargeAmount(BigDecimal value)
      Sets the value of the 'outstandingChargeAmount' field.
      Parameters:
      value - The value of 'outstandingChargeAmount'.
      Returns:
      This builder.
    • hasOutstandingChargeAmount

      public boolean hasOutstandingChargeAmount()
      Checks whether the 'outstandingChargeAmount' field has been set.
      Returns:
      True if the 'outstandingChargeAmount' field has been set, false otherwise.
    • clearOutstandingChargeAmount

      public SavingsAccountTransactionDataV1.Builder clearOutstandingChargeAmount()
      Clears the value of the 'outstandingChargeAmount' field.
      Returns:
      This builder.
    • getRunningBalance

      public BigDecimal getRunningBalance()
      Gets the value of the 'runningBalance' field.
      Returns:
      The value.
    • setRunningBalance

      public SavingsAccountTransactionDataV1.Builder setRunningBalance(BigDecimal value)
      Sets the value of the 'runningBalance' field.
      Parameters:
      value - The value of 'runningBalance'.
      Returns:
      This builder.
    • hasRunningBalance

      public boolean hasRunningBalance()
      Checks whether the 'runningBalance' field has been set.
      Returns:
      True if the 'runningBalance' field has been set, false otherwise.
    • clearRunningBalance

      public SavingsAccountTransactionDataV1.Builder clearRunningBalance()
      Clears the value of the 'runningBalance' field.
      Returns:
      This builder.
    • getReversed

      public Boolean getReversed()
      Gets the value of the 'reversed' field.
      Returns:
      The value.
    • setReversed

      Sets the value of the 'reversed' field.
      Parameters:
      value - The value of 'reversed'.
      Returns:
      This builder.
    • hasReversed

      public boolean hasReversed()
      Checks whether the 'reversed' field has been set.
      Returns:
      True if the 'reversed' field has been set, false otherwise.
    • clearReversed

      Clears the value of the 'reversed' field.
      Returns:
      This builder.
    • getTransfer

      public AccountTransferDataV1 getTransfer()
      Gets the value of the 'transfer' field.
      Returns:
      The value.
    • setTransfer

      Sets the value of the 'transfer' field.
      Parameters:
      value - The value of 'transfer'.
      Returns:
      This builder.
    • hasTransfer

      public boolean hasTransfer()
      Checks whether the 'transfer' field has been set.
      Returns:
      True if the 'transfer' field has been set, false otherwise.
    • getTransferBuilder

      public AccountTransferDataV1.Builder getTransferBuilder()
      Gets the Builder instance for the 'transfer' field and creates one if it doesn't exist yet.
      Returns:
      This builder.
    • setTransferBuilder

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

      public boolean hasTransferBuilder()
      Checks whether the 'transfer' field has an active Builder instance
      Returns:
      True if the 'transfer' field has an active Builder instance
    • clearTransfer

      Clears the value of the 'transfer' field.
      Returns:
      This builder.
    • getSubmittedOnDate

      public String getSubmittedOnDate()
      Gets the value of the 'submittedOnDate' field.
      Returns:
      The value.
    • setSubmittedOnDate

      public SavingsAccountTransactionDataV1.Builder setSubmittedOnDate(String value)
      Sets the value of the 'submittedOnDate' field.
      Parameters:
      value - The value of 'submittedOnDate'.
      Returns:
      This builder.
    • hasSubmittedOnDate

      public boolean hasSubmittedOnDate()
      Checks whether the 'submittedOnDate' field has been set.
      Returns:
      True if the 'submittedOnDate' field has been set, false otherwise.
    • clearSubmittedOnDate

      public SavingsAccountTransactionDataV1.Builder clearSubmittedOnDate()
      Clears the value of the 'submittedOnDate' field.
      Returns:
      This builder.
    • getInterestedPostedAsOn

      public Boolean getInterestedPostedAsOn()
      Gets the value of the 'interestedPostedAsOn' field.
      Returns:
      The value.
    • setInterestedPostedAsOn

      public SavingsAccountTransactionDataV1.Builder setInterestedPostedAsOn(Boolean value)
      Sets the value of the 'interestedPostedAsOn' field.
      Parameters:
      value - The value of 'interestedPostedAsOn'.
      Returns:
      This builder.
    • hasInterestedPostedAsOn

      public boolean hasInterestedPostedAsOn()
      Checks whether the 'interestedPostedAsOn' field has been set.
      Returns:
      True if the 'interestedPostedAsOn' field has been set, false otherwise.
    • clearInterestedPostedAsOn

      public SavingsAccountTransactionDataV1.Builder clearInterestedPostedAsOn()
      Clears the value of the 'interestedPostedAsOn' field.
      Returns:
      This builder.
    • getSubmittedByUsername

      public String getSubmittedByUsername()
      Gets the value of the 'submittedByUsername' field.
      Returns:
      The value.
    • setSubmittedByUsername

      public SavingsAccountTransactionDataV1.Builder setSubmittedByUsername(String value)
      Sets the value of the 'submittedByUsername' field.
      Parameters:
      value - The value of 'submittedByUsername'.
      Returns:
      This builder.
    • hasSubmittedByUsername

      public boolean hasSubmittedByUsername()
      Checks whether the 'submittedByUsername' field has been set.
      Returns:
      True if the 'submittedByUsername' field has been set, false otherwise.
    • clearSubmittedByUsername

      public SavingsAccountTransactionDataV1.Builder clearSubmittedByUsername()
      Clears the value of the 'submittedByUsername' field.
      Returns:
      This builder.
    • getNote

      public String getNote()
      Gets the value of the 'note' field.
      Returns:
      The value.
    • setNote

      Sets the value of the 'note' field.
      Parameters:
      value - The value of 'note'.
      Returns:
      This builder.
    • hasNote

      public boolean hasNote()
      Checks whether the 'note' field has been set.
      Returns:
      True if the 'note' field has been set, false otherwise.
    • clearNote

      Clears the value of the 'note' field.
      Returns:
      This builder.
    • getIsManualTransaction

      public Boolean getIsManualTransaction()
      Gets the value of the 'isManualTransaction' field.
      Returns:
      The value.
    • setIsManualTransaction

      public SavingsAccountTransactionDataV1.Builder setIsManualTransaction(Boolean value)
      Sets the value of the 'isManualTransaction' field.
      Parameters:
      value - The value of 'isManualTransaction'.
      Returns:
      This builder.
    • hasIsManualTransaction

      public boolean hasIsManualTransaction()
      Checks whether the 'isManualTransaction' field has been set.
      Returns:
      True if the 'isManualTransaction' field has been set, false otherwise.
    • clearIsManualTransaction

      public SavingsAccountTransactionDataV1.Builder clearIsManualTransaction()
      Clears the value of the 'isManualTransaction' field.
      Returns:
      This builder.
    • getIsReversal

      public Boolean getIsReversal()
      Gets the value of the 'isReversal' field.
      Returns:
      The value.
    • setIsReversal

      public SavingsAccountTransactionDataV1.Builder setIsReversal(Boolean value)
      Sets the value of the 'isReversal' field.
      Parameters:
      value - The value of 'isReversal'.
      Returns:
      This builder.
    • hasIsReversal

      public boolean hasIsReversal()
      Checks whether the 'isReversal' field has been set.
      Returns:
      True if the 'isReversal' field has been set, false otherwise.
    • clearIsReversal

      public SavingsAccountTransactionDataV1.Builder clearIsReversal()
      Clears the value of the 'isReversal' field.
      Returns:
      This builder.
    • getOriginalTransactionId

      public String getOriginalTransactionId()
      Gets the value of the 'originalTransactionId' field.
      Returns:
      The value.
    • setOriginalTransactionId

      public SavingsAccountTransactionDataV1.Builder setOriginalTransactionId(String value)
      Sets the value of the 'originalTransactionId' field.
      Parameters:
      value - The value of 'originalTransactionId'.
      Returns:
      This builder.
    • hasOriginalTransactionId

      public boolean hasOriginalTransactionId()
      Checks whether the 'originalTransactionId' field has been set.
      Returns:
      True if the 'originalTransactionId' field has been set, false otherwise.
    • clearOriginalTransactionId

      public SavingsAccountTransactionDataV1.Builder clearOriginalTransactionId()
      Clears the value of the 'originalTransactionId' field.
      Returns:
      This builder.
    • getLienTransaction

      public Boolean getLienTransaction()
      Gets the value of the 'lienTransaction' field.
      Returns:
      The value.
    • setLienTransaction

      public SavingsAccountTransactionDataV1.Builder setLienTransaction(Boolean value)
      Sets the value of the 'lienTransaction' field.
      Parameters:
      value - The value of 'lienTransaction'.
      Returns:
      This builder.
    • hasLienTransaction

      public boolean hasLienTransaction()
      Checks whether the 'lienTransaction' field has been set.
      Returns:
      True if the 'lienTransaction' field has been set, false otherwise.
    • clearLienTransaction

      public SavingsAccountTransactionDataV1.Builder clearLienTransaction()
      Clears the value of the 'lienTransaction' field.
      Returns:
      This builder.
    • getReleaseTransactionId

      public Long getReleaseTransactionId()
      Gets the value of the 'releaseTransactionId' field.
      Returns:
      The value.
    • setReleaseTransactionId

      public SavingsAccountTransactionDataV1.Builder setReleaseTransactionId(Long value)
      Sets the value of the 'releaseTransactionId' field.
      Parameters:
      value - The value of 'releaseTransactionId'.
      Returns:
      This builder.
    • hasReleaseTransactionId

      public boolean hasReleaseTransactionId()
      Checks whether the 'releaseTransactionId' field has been set.
      Returns:
      True if the 'releaseTransactionId' field has been set, false otherwise.
    • clearReleaseTransactionId

      public SavingsAccountTransactionDataV1.Builder clearReleaseTransactionId()
      Clears the value of the 'releaseTransactionId' field.
      Returns:
      This builder.
    • getReasonForBlock

      public String getReasonForBlock()
      Gets the value of the 'reasonForBlock' field.
      Returns:
      The value.
    • setReasonForBlock

      public SavingsAccountTransactionDataV1.Builder setReasonForBlock(String value)
      Sets the value of the 'reasonForBlock' field.
      Parameters:
      value - The value of 'reasonForBlock'.
      Returns:
      This builder.
    • hasReasonForBlock

      public boolean hasReasonForBlock()
      Checks whether the 'reasonForBlock' field has been set.
      Returns:
      True if the 'reasonForBlock' field has been set, false otherwise.
    • clearReasonForBlock

      public SavingsAccountTransactionDataV1.Builder clearReasonForBlock()
      Clears the value of the 'reasonForBlock' field.
      Returns:
      This builder.
    • getChargesPaidByData

      public List<SavingsAccountChargesPaidByDataV1> getChargesPaidByData()
      Gets the value of the 'chargesPaidByData' field.
      Returns:
      The value.
    • setChargesPaidByData

      Sets the value of the 'chargesPaidByData' field.
      Parameters:
      value - The value of 'chargesPaidByData'.
      Returns:
      This builder.
    • hasChargesPaidByData

      public boolean hasChargesPaidByData()
      Checks whether the 'chargesPaidByData' field has been set.
      Returns:
      True if the 'chargesPaidByData' field has been set, false otherwise.
    • clearChargesPaidByData

      public SavingsAccountTransactionDataV1.Builder clearChargesPaidByData()
      Clears the value of the 'chargesPaidByData' field.
      Returns:
      This builder.
    • build

      Specified by:
      build in interface org.apache.avro.data.RecordBuilder<SavingsAccountTransactionDataV1>