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 Summary
Modifier and TypeMethodDescriptionbuild()Clears the value of the 'accountId' field.Clears the value of the 'accountNo' field.Clears the value of the 'amount' field.Clears the value of the 'chargesPaidByData' field.Clears the value of the 'currency' field.Clears the value of the 'date' field.clearId()Clears the value of the 'id' field.Clears the value of the 'interestedPostedAsOn' field.Clears the value of the 'isManualTransaction' field.Clears the value of the 'isReversal' field.Clears the value of the 'lienTransaction' field.Clears the value of the 'note' field.Clears the value of the 'originalTransactionId' field.Clears the value of the 'outstandingChargeAmount' field.Clears the value of the 'paymentDetailData' field.Clears the value of the 'reasonForBlock' field.Clears the value of the 'releaseTransactionId' field.Clears the value of the 'reversed' field.Clears the value of the 'runningBalance' field.Clears the value of the 'submittedByUsername' field.Clears the value of the 'submittedOnDate' field.Clears the value of the 'transactionType' field.Clears the value of the 'transfer' field.Gets the value of the 'accountId' field.Gets the value of the 'accountNo' field.Gets the value of the 'amount' field.Gets the value of the 'chargesPaidByData' field.Gets the value of the 'currency' field.Gets the Builder instance for the 'currency' field and creates one if it doesn't exist yet.getDate()Gets the value of the 'date' field.getId()Gets the value of the 'id' field.Gets the value of the 'interestedPostedAsOn' field.Gets the value of the 'isManualTransaction' field.Gets the value of the 'isReversal' field.Gets the value of the 'lienTransaction' field.getNote()Gets the value of the 'note' field.Gets the value of the 'originalTransactionId' field.Gets the value of the 'outstandingChargeAmount' field.Gets the value of the 'paymentDetailData' field.Gets the Builder instance for the 'paymentDetailData' field and creates one if it doesn't exist yet.Gets the value of the 'reasonForBlock' field.Gets the value of the 'releaseTransactionId' field.Gets the value of the 'reversed' field.Gets the value of the 'runningBalance' field.Gets the value of the 'submittedByUsername' field.Gets the value of the 'submittedOnDate' field.Gets the value of the 'transactionType' field.Gets the Builder instance for the 'transactionType' field and creates one if it doesn't exist yet.Gets the value of the 'transfer' field.Gets the Builder instance for the 'transfer' field and creates one if it doesn't exist yet.booleanChecks whether the 'accountId' field has been set.booleanChecks whether the 'accountNo' field has been set.booleanChecks whether the 'amount' field has been set.booleanChecks whether the 'chargesPaidByData' field has been set.booleanChecks whether the 'currency' field has been set.booleanChecks whether the 'currency' field has an active Builder instancebooleanhasDate()Checks whether the 'date' field has been set.booleanhasId()Checks whether the 'id' field has been set.booleanChecks whether the 'interestedPostedAsOn' field has been set.booleanChecks whether the 'isManualTransaction' field has been set.booleanChecks whether the 'isReversal' field has been set.booleanChecks whether the 'lienTransaction' field has been set.booleanhasNote()Checks whether the 'note' field has been set.booleanChecks whether the 'originalTransactionId' field has been set.booleanChecks whether the 'outstandingChargeAmount' field has been set.booleanChecks whether the 'paymentDetailData' field has been set.booleanChecks whether the 'paymentDetailData' field has an active Builder instancebooleanChecks whether the 'reasonForBlock' field has been set.booleanChecks whether the 'releaseTransactionId' field has been set.booleanChecks whether the 'reversed' field has been set.booleanChecks whether the 'runningBalance' field has been set.booleanChecks whether the 'submittedByUsername' field has been set.booleanChecks whether the 'submittedOnDate' field has been set.booleanChecks whether the 'transactionType' field has been set.booleanChecks whether the 'transactionType' field has an active Builder instancebooleanChecks whether the 'transfer' field has been set.booleanChecks whether the 'transfer' field has an active Builder instancesetAccountId(Long value) Sets the value of the 'accountId' field.setAccountNo(String value) Sets the value of the 'accountNo' field.setAmount(BigDecimal value) Sets the value of the 'amount' field.Sets the value of the 'chargesPaidByData' field.setCurrency(CurrencyDataV1 value) Sets the value of the 'currency' field.Sets the Builder instance for the 'currency' fieldSets the value of the 'date' field.Sets the value of the 'id' field.setInterestedPostedAsOn(Boolean value) Sets the value of the 'interestedPostedAsOn' field.setIsManualTransaction(Boolean value) Sets the value of the 'isManualTransaction' field.setIsReversal(Boolean value) Sets the value of the 'isReversal' field.setLienTransaction(Boolean value) Sets the value of the 'lienTransaction' field.Sets the value of the 'note' field.setOriginalTransactionId(String value) Sets the value of the 'originalTransactionId' field.Sets the value of the 'outstandingChargeAmount' field.Sets the value of the 'paymentDetailData' field.Sets the Builder instance for the 'paymentDetailData' fieldsetReasonForBlock(String value) Sets the value of the 'reasonForBlock' field.setReleaseTransactionId(Long value) Sets the value of the 'releaseTransactionId' field.setReversed(Boolean value) Sets the value of the 'reversed' field.setRunningBalance(BigDecimal value) Sets the value of the 'runningBalance' field.setSubmittedByUsername(String value) Sets the value of the 'submittedByUsername' field.setSubmittedOnDate(String value) Sets the value of the 'submittedOnDate' field.Sets the value of the 'transactionType' field.Sets the Builder instance for the 'transactionType' fieldsetTransfer(AccountTransferDataV1 value) Sets the value of the 'transfer' field.Sets the Builder instance for the 'transfer' fieldMethods inherited from class org.apache.avro.data.RecordBuilderBase
data, defaultValue, equals, fields, fieldSetFlags, hashCode, isValidValue, schema, validate
-
Method Details
-
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
Gets the value of the 'transactionType' field.- Returns:
- The value.
-
setTransactionType
public SavingsAccountTransactionDataV1.Builder setTransactionType(SavingsAccountTransactionEnumDataV1 value) 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
Gets the Builder instance for the 'transactionType' field and creates one if it doesn't exist yet.- Returns:
- This builder.
-
setTransactionTypeBuilder
public SavingsAccountTransactionDataV1.Builder setTransactionTypeBuilder(SavingsAccountTransactionEnumDataV1.Builder value) 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
Clears the value of the 'transactionType' field.- Returns:
- This builder.
-
getAccountId
Gets the value of the 'accountId' field.- Returns:
- The value.
-
setAccountId
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
Clears the value of the 'accountId' field.- Returns:
- This builder.
-
getAccountNo
Gets the value of the 'accountNo' field.- Returns:
- The value.
-
setAccountNo
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
Clears the value of the 'accountNo' field.- Returns:
- This builder.
-
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
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
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
Gets the value of the 'paymentDetailData' field.- Returns:
- The value.
-
setPaymentDetailData
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
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
Clears the value of the 'paymentDetailData' field.- Returns:
- This builder.
-
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
Gets the value of the 'outstandingChargeAmount' field.- Returns:
- The value.
-
setOutstandingChargeAmount
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
Clears the value of the 'outstandingChargeAmount' field.- Returns:
- This builder.
-
getRunningBalance
Gets the value of the 'runningBalance' field.- Returns:
- The value.
-
setRunningBalance
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
Clears the value of the 'runningBalance' field.- Returns:
- This builder.
-
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
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
Gets the Builder instance for the 'transfer' field and creates one if it doesn't exist yet.- Returns:
- This builder.
-
setTransferBuilder
public SavingsAccountTransactionDataV1.Builder setTransferBuilder(AccountTransferDataV1.Builder value) 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
Gets the value of the 'submittedOnDate' field.- Returns:
- The value.
-
setSubmittedOnDate
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
Clears the value of the 'submittedOnDate' field.- Returns:
- This builder.
-
getInterestedPostedAsOn
Gets the value of the 'interestedPostedAsOn' field.- Returns:
- The value.
-
setInterestedPostedAsOn
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
Clears the value of the 'interestedPostedAsOn' field.- Returns:
- This builder.
-
getSubmittedByUsername
Gets the value of the 'submittedByUsername' field.- Returns:
- The value.
-
setSubmittedByUsername
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
Clears the value of the 'submittedByUsername' field.- Returns:
- This builder.
-
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
Gets the value of the 'isManualTransaction' field.- Returns:
- The value.
-
setIsManualTransaction
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
Clears the value of the 'isManualTransaction' field.- Returns:
- This builder.
-
getIsReversal
Gets the value of the 'isReversal' field.- Returns:
- The value.
-
setIsReversal
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
Clears the value of the 'isReversal' field.- Returns:
- This builder.
-
getOriginalTransactionId
Gets the value of the 'originalTransactionId' field.- Returns:
- The value.
-
setOriginalTransactionId
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
Clears the value of the 'originalTransactionId' field.- Returns:
- This builder.
-
getLienTransaction
Gets the value of the 'lienTransaction' field.- Returns:
- The value.
-
setLienTransaction
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
Clears the value of the 'lienTransaction' field.- Returns:
- This builder.
-
getReleaseTransactionId
Gets the value of the 'releaseTransactionId' field.- Returns:
- The value.
-
setReleaseTransactionId
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
Clears the value of the 'releaseTransactionId' field.- Returns:
- This builder.
-
getReasonForBlock
Gets the value of the 'reasonForBlock' field.- Returns:
- The value.
-
setReasonForBlock
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
Clears the value of the 'reasonForBlock' field.- Returns:
- This builder.
-
getChargesPaidByData
Gets the value of the 'chargesPaidByData' field.- Returns:
- The value.
-
setChargesPaidByData
public SavingsAccountTransactionDataV1.Builder setChargesPaidByData(List<SavingsAccountChargesPaidByDataV1> value) 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
Clears the value of the 'chargesPaidByData' field.- Returns:
- This builder.
-
build
- Specified by:
buildin interfaceorg.apache.avro.data.RecordBuilder<SavingsAccountTransactionDataV1>
-