Package org.apache.fineract.avro.loan.v1
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 Summary
Modifier and TypeMethodDescriptionbuild()Clears the value of the 'accrual' field.Clears the value of the 'approveTransfer' field.Clears the value of the 'chargeback' field.Clears the value of the 'chargePayment' field.Clears the value of the 'chargeRefund' field.Clears the value of the 'code' field.Clears the value of the 'contra' field.Clears the value of the 'creditBalanceRefund' field.Clears the value of the 'disbursement' field.Clears the value of the 'goodwillCredit' field.clearId()Clears the value of the 'id' field.Clears the value of the 'initiateTransfer' field.Clears the value of the 'merchantIssuedRefund' field.Clears the value of the 'payoutRefund' field.Clears the value of the 'recoveryRepayment' field.Clears the value of the 'refund' field.Clears the value of the 'refundForActiveLoans' field.Clears the value of the 'rejectTransfer' field.Clears the value of the 'repayment' field.Clears the value of the 'repaymentAtDisbursement' field.Clears the value of the 'value' field.Clears the value of the 'waiveCharges' field.Clears the value of the 'waiveInterest' field.Clears the value of the 'withdrawTransfer' field.Clears the value of the 'writeOff' field.Gets the value of the 'accrual' field.Gets the value of the 'approveTransfer' field.Gets the value of the 'chargeback' field.Gets the value of the 'chargePayment' field.Gets the value of the 'chargeRefund' field.getCode()Gets the value of the 'code' field.Gets the value of the 'contra' field.Gets the value of the 'creditBalanceRefund' field.Gets the value of the 'disbursement' field.Gets the value of the 'goodwillCredit' field.getId()Gets the value of the 'id' field.Gets the value of the 'initiateTransfer' field.Gets the value of the 'merchantIssuedRefund' field.Gets the value of the 'payoutRefund' field.Gets the value of the 'recoveryRepayment' field.Gets the value of the 'refund' field.Gets the value of the 'refundForActiveLoans' field.Gets the value of the 'rejectTransfer' field.Gets the value of the 'repayment' field.Gets the value of the 'repaymentAtDisbursement' field.getValue()Gets the value of the 'value' field.Gets the value of the 'waiveCharges' field.Gets the value of the 'waiveInterest' field.Gets the value of the 'withdrawTransfer' field.Gets the value of the 'writeOff' field.booleanChecks whether the 'accrual' field has been set.booleanChecks whether the 'approveTransfer' field has been set.booleanChecks whether the 'chargeback' field has been set.booleanChecks whether the 'chargePayment' field has been set.booleanChecks whether the 'chargeRefund' field has been set.booleanhasCode()Checks whether the 'code' field has been set.booleanChecks whether the 'contra' field has been set.booleanChecks whether the 'creditBalanceRefund' field has been set.booleanChecks whether the 'disbursement' field has been set.booleanChecks whether the 'goodwillCredit' field has been set.booleanhasId()Checks whether the 'id' field has been set.booleanChecks whether the 'initiateTransfer' field has been set.booleanChecks whether the 'merchantIssuedRefund' field has been set.booleanChecks whether the 'payoutRefund' field has been set.booleanChecks whether the 'recoveryRepayment' field has been set.booleanChecks whether the 'refund' field has been set.booleanChecks whether the 'refundForActiveLoans' field has been set.booleanChecks whether the 'rejectTransfer' field has been set.booleanChecks whether the 'repayment' field has been set.booleanChecks whether the 'repaymentAtDisbursement' field has been set.booleanhasValue()Checks whether the 'value' field has been set.booleanChecks whether the 'waiveCharges' field has been set.booleanChecks whether the 'waiveInterest' field has been set.booleanChecks whether the 'withdrawTransfer' field has been set.booleanChecks whether the 'writeOff' field has been set.setAccrual(Boolean value) Sets the value of the 'accrual' field.setApproveTransfer(Boolean value) Sets the value of the 'approveTransfer' field.setChargeback(Boolean value) Sets the value of the 'chargeback' field.setChargePayment(Boolean value) Sets the value of the 'chargePayment' field.setChargeRefund(Boolean value) Sets the value of the 'chargeRefund' field.Sets the value of the 'code' field.Sets the value of the 'contra' field.setCreditBalanceRefund(Boolean value) Sets the value of the 'creditBalanceRefund' field.setDisbursement(Boolean value) Sets the value of the 'disbursement' field.setGoodwillCredit(Boolean value) Sets the value of the 'goodwillCredit' field.Sets the value of the 'id' field.setInitiateTransfer(Boolean value) Sets the value of the 'initiateTransfer' field.setMerchantIssuedRefund(Boolean value) Sets the value of the 'merchantIssuedRefund' field.setPayoutRefund(Boolean value) Sets the value of the 'payoutRefund' field.setRecoveryRepayment(Boolean value) Sets the value of the 'recoveryRepayment' field.Sets the value of the 'refund' field.setRefundForActiveLoans(Boolean value) Sets the value of the 'refundForActiveLoans' field.setRejectTransfer(Boolean value) Sets the value of the 'rejectTransfer' field.setRepayment(Boolean value) Sets the value of the 'repayment' field.Sets the value of the 'repaymentAtDisbursement' field.Sets the value of the 'value' field.setWaiveCharges(Boolean value) Sets the value of the 'waiveCharges' field.setWaiveInterest(Boolean value) Sets the value of the 'waiveInterest' field.setWithdrawTransfer(Boolean value) Sets the value of the 'withdrawTransfer' field.setWriteOff(Boolean value) Sets the value of the 'writeOff' field.Methods 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.
-
getCode
Gets the value of the 'code' field.- Returns:
- The value.
-
setCode
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
Gets the value of the 'value' field.- Returns:
- The value.
-
setValue
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
Clears the value of the 'value' field.- Returns:
- This builder.
-
getDisbursement
Gets the value of the 'disbursement' field.- Returns:
- The value.
-
setDisbursement
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
Clears the value of the 'disbursement' field.- Returns:
- This builder.
-
getRepaymentAtDisbursement
Gets the value of the 'repaymentAtDisbursement' field.- Returns:
- The value.
-
setRepaymentAtDisbursement
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
Clears the value of the 'repaymentAtDisbursement' field.- Returns:
- This builder.
-
getRepayment
Gets the value of the 'repayment' field.- Returns:
- The value.
-
setRepayment
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
Clears the value of the 'repayment' field.- Returns:
- This builder.
-
getMerchantIssuedRefund
Gets the value of the 'merchantIssuedRefund' field.- Returns:
- The value.
-
setMerchantIssuedRefund
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
Clears the value of the 'merchantIssuedRefund' field.- Returns:
- This builder.
-
getPayoutRefund
Gets the value of the 'payoutRefund' field.- Returns:
- The value.
-
setPayoutRefund
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
Clears the value of the 'payoutRefund' field.- Returns:
- This builder.
-
getGoodwillCredit
Gets the value of the 'goodwillCredit' field.- Returns:
- The value.
-
setGoodwillCredit
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
Clears the value of the 'goodwillCredit' field.- Returns:
- This builder.
-
getChargeRefund
Gets the value of the 'chargeRefund' field.- Returns:
- The value.
-
setChargeRefund
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
Clears the value of the 'chargeRefund' field.- Returns:
- This builder.
-
getContra
Gets the value of the 'contra' field.- Returns:
- The value.
-
setContra
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
Clears the value of the 'contra' field.- Returns:
- This builder.
-
getWaiveInterest
Gets the value of the 'waiveInterest' field.- Returns:
- The value.
-
setWaiveInterest
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
Clears the value of the 'waiveInterest' field.- Returns:
- This builder.
-
getWaiveCharges
Gets the value of the 'waiveCharges' field.- Returns:
- The value.
-
setWaiveCharges
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
Clears the value of the 'waiveCharges' field.- Returns:
- This builder.
-
getAccrual
Gets the value of the 'accrual' field.- Returns:
- The value.
-
setAccrual
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
Clears the value of the 'accrual' field.- Returns:
- This builder.
-
getWriteOff
Gets the value of the 'writeOff' field.- Returns:
- The value.
-
setWriteOff
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
Clears the value of the 'writeOff' field.- Returns:
- This builder.
-
getRecoveryRepayment
Gets the value of the 'recoveryRepayment' field.- Returns:
- The value.
-
setRecoveryRepayment
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
Clears the value of the 'recoveryRepayment' field.- Returns:
- This builder.
-
getInitiateTransfer
Gets the value of the 'initiateTransfer' field.- Returns:
- The value.
-
setInitiateTransfer
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
Clears the value of the 'initiateTransfer' field.- Returns:
- This builder.
-
getApproveTransfer
Gets the value of the 'approveTransfer' field.- Returns:
- The value.
-
setApproveTransfer
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
Clears the value of the 'approveTransfer' field.- Returns:
- This builder.
-
getWithdrawTransfer
Gets the value of the 'withdrawTransfer' field.- Returns:
- The value.
-
setWithdrawTransfer
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
Clears the value of the 'withdrawTransfer' field.- Returns:
- This builder.
-
getRejectTransfer
Gets the value of the 'rejectTransfer' field.- Returns:
- The value.
-
setRejectTransfer
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
Clears the value of the 'rejectTransfer' field.- Returns:
- This builder.
-
getChargePayment
Gets the value of the 'chargePayment' field.- Returns:
- The value.
-
setChargePayment
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
Clears the value of the 'chargePayment' field.- Returns:
- This builder.
-
getRefund
Gets the value of the 'refund' field.- Returns:
- The value.
-
setRefund
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
Clears the value of the 'refund' field.- Returns:
- This builder.
-
getRefundForActiveLoans
Gets the value of the 'refundForActiveLoans' field.- Returns:
- The value.
-
setRefundForActiveLoans
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
Clears the value of the 'refundForActiveLoans' field.- Returns:
- This builder.
-
getCreditBalanceRefund
Gets the value of the 'creditBalanceRefund' field.- Returns:
- The value.
-
setCreditBalanceRefund
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
Clears the value of the 'creditBalanceRefund' field.- Returns:
- This builder.
-
getChargeback
Gets the value of the 'chargeback' field.- Returns:
- The value.
-
setChargeback
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
Clears the value of the 'chargeback' field.- Returns:
- This builder.
-
build
- Specified by:
buildin interfaceorg.apache.avro.data.RecordBuilder<LoanTransactionEnumDataV1>
-