Package org.apache.fineract.avro.loan.v1
Class LoanAmountDataV1.Builder
java.lang.Object
org.apache.avro.data.RecordBuilderBase<LoanAmountDataV1>
org.apache.avro.specific.SpecificRecordBuilderBase<LoanAmountDataV1>
org.apache.fineract.avro.loan.v1.LoanAmountDataV1.Builder
- All Implemented Interfaces:
org.apache.avro.data.RecordBuilder<LoanAmountDataV1>
- Enclosing class:
LoanAmountDataV1
public static class LoanAmountDataV1.Builder
extends org.apache.avro.specific.SpecificRecordBuilderBase<LoanAmountDataV1>
implements org.apache.avro.data.RecordBuilder<LoanAmountDataV1>
RecordBuilder for LoanAmountDataV1 instances.
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Clears the value of the 'feeAmount' field.Clears the value of the 'interestAmount' field.Clears the value of the 'penaltyAmount' field.Clears the value of the 'principalAmount' field.Clears the value of the 'totalAmount' field.Gets the value of the 'feeAmount' field.Gets the value of the 'interestAmount' field.Gets the value of the 'penaltyAmount' field.Gets the value of the 'principalAmount' field.Gets the value of the 'totalAmount' field.booleanChecks whether the 'feeAmount' field has been set.booleanChecks whether the 'interestAmount' field has been set.booleanChecks whether the 'penaltyAmount' field has been set.booleanChecks whether the 'principalAmount' field has been set.booleanChecks whether the 'totalAmount' field has been set.setFeeAmount(BigDecimal value) Sets the value of the 'feeAmount' field.setInterestAmount(BigDecimal value) Sets the value of the 'interestAmount' field.setPenaltyAmount(BigDecimal value) Sets the value of the 'penaltyAmount' field.setPrincipalAmount(BigDecimal value) Sets the value of the 'principalAmount' field.setTotalAmount(BigDecimal value) Sets the value of the 'totalAmount' field.Methods inherited from class org.apache.avro.data.RecordBuilderBase
data, defaultValue, equals, fields, fieldSetFlags, hashCode, isValidValue, schema, validate
-
Method Details
-
getTotalAmount
Gets the value of the 'totalAmount' field.- Returns:
- The value.
-
setTotalAmount
Sets the value of the 'totalAmount' field.- Parameters:
value- The value of 'totalAmount'.- Returns:
- This builder.
-
hasTotalAmount
public boolean hasTotalAmount()Checks whether the 'totalAmount' field has been set.- Returns:
- True if the 'totalAmount' field has been set, false otherwise.
-
clearTotalAmount
Clears the value of the 'totalAmount' field.- Returns:
- This builder.
-
getPrincipalAmount
Gets the value of the 'principalAmount' field.- Returns:
- The value.
-
setPrincipalAmount
Sets the value of the 'principalAmount' field.- Parameters:
value- The value of 'principalAmount'.- Returns:
- This builder.
-
hasPrincipalAmount
public boolean hasPrincipalAmount()Checks whether the 'principalAmount' field has been set.- Returns:
- True if the 'principalAmount' field has been set, false otherwise.
-
clearPrincipalAmount
Clears the value of the 'principalAmount' field.- Returns:
- This builder.
-
getInterestAmount
Gets the value of the 'interestAmount' field.- Returns:
- The value.
-
setInterestAmount
Sets the value of the 'interestAmount' field.- Parameters:
value- The value of 'interestAmount'.- Returns:
- This builder.
-
hasInterestAmount
public boolean hasInterestAmount()Checks whether the 'interestAmount' field has been set.- Returns:
- True if the 'interestAmount' field has been set, false otherwise.
-
clearInterestAmount
Clears the value of the 'interestAmount' field.- Returns:
- This builder.
-
getFeeAmount
Gets the value of the 'feeAmount' field.- Returns:
- The value.
-
setFeeAmount
Sets the value of the 'feeAmount' field.- Parameters:
value- The value of 'feeAmount'.- Returns:
- This builder.
-
hasFeeAmount
public boolean hasFeeAmount()Checks whether the 'feeAmount' field has been set.- Returns:
- True if the 'feeAmount' field has been set, false otherwise.
-
clearFeeAmount
Clears the value of the 'feeAmount' field.- Returns:
- This builder.
-
getPenaltyAmount
Gets the value of the 'penaltyAmount' field.- Returns:
- The value.
-
setPenaltyAmount
Sets the value of the 'penaltyAmount' field.- Parameters:
value- The value of 'penaltyAmount'.- Returns:
- This builder.
-
hasPenaltyAmount
public boolean hasPenaltyAmount()Checks whether the 'penaltyAmount' field has been set.- Returns:
- True if the 'penaltyAmount' field has been set, false otherwise.
-
clearPenaltyAmount
Clears the value of the 'penaltyAmount' field.- Returns:
- This builder.
-
build
- Specified by:
buildin interfaceorg.apache.avro.data.RecordBuilder<LoanAmountDataV1>
-