Package org.apache.fineract.avro.loan.v1
Class RepaymentDueDataV1.Builder
java.lang.Object
org.apache.avro.data.RecordBuilderBase<RepaymentDueDataV1>
org.apache.avro.specific.SpecificRecordBuilderBase<RepaymentDueDataV1>
org.apache.fineract.avro.loan.v1.RepaymentDueDataV1.Builder
- All Implemented Interfaces:
org.apache.avro.data.RecordBuilder<RepaymentDueDataV1>
- Enclosing class:
RepaymentDueDataV1
public static class RepaymentDueDataV1.Builder
extends org.apache.avro.specific.SpecificRecordBuilderBase<RepaymentDueDataV1>
implements org.apache.avro.data.RecordBuilder<RepaymentDueDataV1>
RecordBuilder for RepaymentDueDataV1 instances.
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Clears the value of the 'feeChargeAmountDue' field.Clears the value of the 'installmentDueDate' field.Clears the value of the 'installmentNumber' field.Clears the value of the 'interestAmountDue' field.Clears the value of the 'penaltyChargeAmountDue' field.Clears the value of the 'principalAmountDue' field.Clears the value of the 'totalAmountDue' field.Gets the value of the 'feeChargeAmountDue' field.Gets the value of the 'installmentDueDate' field.Gets the value of the 'installmentNumber' field.Gets the value of the 'interestAmountDue' field.Gets the value of the 'penaltyChargeAmountDue' field.Gets the value of the 'principalAmountDue' field.Gets the value of the 'totalAmountDue' field.booleanChecks whether the 'feeChargeAmountDue' field has been set.booleanChecks whether the 'installmentDueDate' field has been set.booleanChecks whether the 'installmentNumber' field has been set.booleanChecks whether the 'interestAmountDue' field has been set.booleanChecks whether the 'penaltyChargeAmountDue' field has been set.booleanChecks whether the 'principalAmountDue' field has been set.booleanChecks whether the 'totalAmountDue' field has been set.setFeeChargeAmountDue(BigDecimal value) Sets the value of the 'feeChargeAmountDue' field.setInstallmentDueDate(String value) Sets the value of the 'installmentDueDate' field.setInstallmentNumber(Integer value) Sets the value of the 'installmentNumber' field.setInterestAmountDue(BigDecimal value) Sets the value of the 'interestAmountDue' field.Sets the value of the 'penaltyChargeAmountDue' field.setPrincipalAmountDue(BigDecimal value) Sets the value of the 'principalAmountDue' field.setTotalAmountDue(BigDecimal value) Sets the value of the 'totalAmountDue' field.Methods inherited from class org.apache.avro.data.RecordBuilderBase
data, defaultValue, equals, fields, fieldSetFlags, hashCode, isValidValue, schema, validate
-
Method Details
-
getInstallmentNumber
Gets the value of the 'installmentNumber' field.- Returns:
- The value.
-
setInstallmentNumber
Sets the value of the 'installmentNumber' field.- Parameters:
value- The value of 'installmentNumber'.- Returns:
- This builder.
-
hasInstallmentNumber
public boolean hasInstallmentNumber()Checks whether the 'installmentNumber' field has been set.- Returns:
- True if the 'installmentNumber' field has been set, false otherwise.
-
clearInstallmentNumber
Clears the value of the 'installmentNumber' field.- Returns:
- This builder.
-
getInstallmentDueDate
Gets the value of the 'installmentDueDate' field.- Returns:
- The value.
-
setInstallmentDueDate
Sets the value of the 'installmentDueDate' field.- Parameters:
value- The value of 'installmentDueDate'.- Returns:
- This builder.
-
hasInstallmentDueDate
public boolean hasInstallmentDueDate()Checks whether the 'installmentDueDate' field has been set.- Returns:
- True if the 'installmentDueDate' field has been set, false otherwise.
-
clearInstallmentDueDate
Clears the value of the 'installmentDueDate' field.- Returns:
- This builder.
-
getPrincipalAmountDue
Gets the value of the 'principalAmountDue' field.- Returns:
- The value.
-
setPrincipalAmountDue
Sets the value of the 'principalAmountDue' field.- Parameters:
value- The value of 'principalAmountDue'.- Returns:
- This builder.
-
hasPrincipalAmountDue
public boolean hasPrincipalAmountDue()Checks whether the 'principalAmountDue' field has been set.- Returns:
- True if the 'principalAmountDue' field has been set, false otherwise.
-
clearPrincipalAmountDue
Clears the value of the 'principalAmountDue' field.- Returns:
- This builder.
-
getInterestAmountDue
Gets the value of the 'interestAmountDue' field.- Returns:
- The value.
-
setInterestAmountDue
Sets the value of the 'interestAmountDue' field.- Parameters:
value- The value of 'interestAmountDue'.- Returns:
- This builder.
-
hasInterestAmountDue
public boolean hasInterestAmountDue()Checks whether the 'interestAmountDue' field has been set.- Returns:
- True if the 'interestAmountDue' field has been set, false otherwise.
-
clearInterestAmountDue
Clears the value of the 'interestAmountDue' field.- Returns:
- This builder.
-
getFeeChargeAmountDue
Gets the value of the 'feeChargeAmountDue' field.- Returns:
- The value.
-
setFeeChargeAmountDue
Sets the value of the 'feeChargeAmountDue' field.- Parameters:
value- The value of 'feeChargeAmountDue'.- Returns:
- This builder.
-
hasFeeChargeAmountDue
public boolean hasFeeChargeAmountDue()Checks whether the 'feeChargeAmountDue' field has been set.- Returns:
- True if the 'feeChargeAmountDue' field has been set, false otherwise.
-
clearFeeChargeAmountDue
Clears the value of the 'feeChargeAmountDue' field.- Returns:
- This builder.
-
getPenaltyChargeAmountDue
Gets the value of the 'penaltyChargeAmountDue' field.- Returns:
- The value.
-
setPenaltyChargeAmountDue
Sets the value of the 'penaltyChargeAmountDue' field.- Parameters:
value- The value of 'penaltyChargeAmountDue'.- Returns:
- This builder.
-
hasPenaltyChargeAmountDue
public boolean hasPenaltyChargeAmountDue()Checks whether the 'penaltyChargeAmountDue' field has been set.- Returns:
- True if the 'penaltyChargeAmountDue' field has been set, false otherwise.
-
clearPenaltyChargeAmountDue
Clears the value of the 'penaltyChargeAmountDue' field.- Returns:
- This builder.
-
getTotalAmountDue
Gets the value of the 'totalAmountDue' field.- Returns:
- The value.
-
setTotalAmountDue
Sets the value of the 'totalAmountDue' field.- Parameters:
value- The value of 'totalAmountDue'.- Returns:
- This builder.
-
hasTotalAmountDue
public boolean hasTotalAmountDue()Checks whether the 'totalAmountDue' field has been set.- Returns:
- True if the 'totalAmountDue' field has been set, false otherwise.
-
clearTotalAmountDue
Clears the value of the 'totalAmountDue' field.- Returns:
- This builder.
-
build
- Specified by:
buildin interfaceorg.apache.avro.data.RecordBuilder<RepaymentDueDataV1>
-