Package org.apache.fineract.avro.loan.v1
Class CollectionDataV1.Builder
java.lang.Object
org.apache.avro.data.RecordBuilderBase<CollectionDataV1>
org.apache.avro.specific.SpecificRecordBuilderBase<CollectionDataV1>
org.apache.fineract.avro.loan.v1.CollectionDataV1.Builder
- All Implemented Interfaces:
org.apache.avro.data.RecordBuilder<CollectionDataV1>
- Enclosing class:
CollectionDataV1
public static class CollectionDataV1.Builder
extends org.apache.avro.specific.SpecificRecordBuilderBase<CollectionDataV1>
implements org.apache.avro.data.RecordBuilder<CollectionDataV1>
RecordBuilder for CollectionDataV1 instances.
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Clears the value of the 'availableDisbursementAmount' field.Clears the value of the 'delinquencyPausePeriods' field.Clears the value of the 'delinquentAmount' field.Clears the value of the 'delinquentDate' field.Clears the value of the 'delinquentDays' field.Clears the value of the 'delinquentFee' field.Clears the value of the 'delinquentInterest' field.Clears the value of the 'delinquentPenalty' field.Clears the value of the 'delinquentPrincipal' field.Clears the value of the 'installmentDelinquencyBuckets' field.Clears the value of the 'lastPaymentAmount' field.Clears the value of the 'lastPaymentDate' field.Clears the value of the 'lastRepaymentAmount' field.Clears the value of the 'lastRepaymentDate' field.Clears the value of the 'nextPaymentDueDate' field.Clears the value of the 'pastDueDays' field.Gets the value of the 'availableDisbursementAmount' field.Gets the value of the 'delinquencyPausePeriods' field.Gets the value of the 'delinquentAmount' field.Gets the value of the 'delinquentDate' field.Gets the value of the 'delinquentDays' field.Gets the value of the 'delinquentFee' field.Gets the value of the 'delinquentInterest' field.Gets the value of the 'delinquentPenalty' field.Gets the value of the 'delinquentPrincipal' field.Gets the value of the 'installmentDelinquencyBuckets' field.Gets the value of the 'lastPaymentAmount' field.Gets the value of the 'lastPaymentDate' field.Gets the value of the 'lastRepaymentAmount' field.Gets the value of the 'lastRepaymentDate' field.Gets the value of the 'nextPaymentDueDate' field.Gets the value of the 'pastDueDays' field.booleanChecks whether the 'availableDisbursementAmount' field has been set.booleanChecks whether the 'delinquencyPausePeriods' field has been set.booleanChecks whether the 'delinquentAmount' field has been set.booleanChecks whether the 'delinquentDate' field has been set.booleanChecks whether the 'delinquentDays' field has been set.booleanChecks whether the 'delinquentFee' field has been set.booleanChecks whether the 'delinquentInterest' field has been set.booleanChecks whether the 'delinquentPenalty' field has been set.booleanChecks whether the 'delinquentPrincipal' field has been set.booleanChecks whether the 'installmentDelinquencyBuckets' field has been set.booleanChecks whether the 'lastPaymentAmount' field has been set.booleanChecks whether the 'lastPaymentDate' field has been set.booleanChecks whether the 'lastRepaymentAmount' field has been set.booleanChecks whether the 'lastRepaymentDate' field has been set.booleanChecks whether the 'nextPaymentDueDate' field has been set.booleanChecks whether the 'pastDueDays' field has been set.Sets the value of the 'availableDisbursementAmount' field.Sets the value of the 'delinquencyPausePeriods' field.setDelinquentAmount(BigDecimal value) Sets the value of the 'delinquentAmount' field.setDelinquentDate(String value) Sets the value of the 'delinquentDate' field.setDelinquentDays(Integer value) Sets the value of the 'delinquentDays' field.setDelinquentFee(BigDecimal value) Sets the value of the 'delinquentFee' field.setDelinquentInterest(BigDecimal value) Sets the value of the 'delinquentInterest' field.setDelinquentPenalty(BigDecimal value) Sets the value of the 'delinquentPenalty' field.setDelinquentPrincipal(BigDecimal value) Sets the value of the 'delinquentPrincipal' field.Sets the value of the 'installmentDelinquencyBuckets' field.setLastPaymentAmount(BigDecimal value) Sets the value of the 'lastPaymentAmount' field.setLastPaymentDate(String value) Sets the value of the 'lastPaymentDate' field.setLastRepaymentAmount(BigDecimal value) Sets the value of the 'lastRepaymentAmount' field.setLastRepaymentDate(String value) Sets the value of the 'lastRepaymentDate' field.setNextPaymentDueDate(String value) Sets the value of the 'nextPaymentDueDate' field.setPastDueDays(Integer value) Sets the value of the 'pastDueDays' field.Methods inherited from class org.apache.avro.data.RecordBuilderBase
data, defaultValue, equals, fields, fieldSetFlags, hashCode, isValidValue, schema, validate
-
Method Details
-
getAvailableDisbursementAmount
Gets the value of the 'availableDisbursementAmount' field.- Returns:
- The value.
-
setAvailableDisbursementAmount
Sets the value of the 'availableDisbursementAmount' field.- Parameters:
value- The value of 'availableDisbursementAmount'.- Returns:
- This builder.
-
hasAvailableDisbursementAmount
public boolean hasAvailableDisbursementAmount()Checks whether the 'availableDisbursementAmount' field has been set.- Returns:
- True if the 'availableDisbursementAmount' field has been set, false otherwise.
-
clearAvailableDisbursementAmount
Clears the value of the 'availableDisbursementAmount' field.- Returns:
- This builder.
-
getPastDueDays
Gets the value of the 'pastDueDays' field.- Returns:
- The value.
-
setPastDueDays
Sets the value of the 'pastDueDays' field.- Parameters:
value- The value of 'pastDueDays'.- Returns:
- This builder.
-
hasPastDueDays
public boolean hasPastDueDays()Checks whether the 'pastDueDays' field has been set.- Returns:
- True if the 'pastDueDays' field has been set, false otherwise.
-
clearPastDueDays
Clears the value of the 'pastDueDays' field.- Returns:
- This builder.
-
getNextPaymentDueDate
Gets the value of the 'nextPaymentDueDate' field.- Returns:
- The value.
-
setNextPaymentDueDate
Sets the value of the 'nextPaymentDueDate' field.- Parameters:
value- The value of 'nextPaymentDueDate'.- Returns:
- This builder.
-
hasNextPaymentDueDate
public boolean hasNextPaymentDueDate()Checks whether the 'nextPaymentDueDate' field has been set.- Returns:
- True if the 'nextPaymentDueDate' field has been set, false otherwise.
-
clearNextPaymentDueDate
Clears the value of the 'nextPaymentDueDate' field.- Returns:
- This builder.
-
getDelinquentDays
Gets the value of the 'delinquentDays' field.- Returns:
- The value.
-
setDelinquentDays
Sets the value of the 'delinquentDays' field.- Parameters:
value- The value of 'delinquentDays'.- Returns:
- This builder.
-
hasDelinquentDays
public boolean hasDelinquentDays()Checks whether the 'delinquentDays' field has been set.- Returns:
- True if the 'delinquentDays' field has been set, false otherwise.
-
clearDelinquentDays
Clears the value of the 'delinquentDays' field.- Returns:
- This builder.
-
getDelinquentDate
Gets the value of the 'delinquentDate' field.- Returns:
- The value.
-
setDelinquentDate
Sets the value of the 'delinquentDate' field.- Parameters:
value- The value of 'delinquentDate'.- Returns:
- This builder.
-
hasDelinquentDate
public boolean hasDelinquentDate()Checks whether the 'delinquentDate' field has been set.- Returns:
- True if the 'delinquentDate' field has been set, false otherwise.
-
clearDelinquentDate
Clears the value of the 'delinquentDate' field.- Returns:
- This builder.
-
getDelinquentAmount
Gets the value of the 'delinquentAmount' field.- Returns:
- The value.
-
setDelinquentAmount
Sets the value of the 'delinquentAmount' field.- Parameters:
value- The value of 'delinquentAmount'.- Returns:
- This builder.
-
hasDelinquentAmount
public boolean hasDelinquentAmount()Checks whether the 'delinquentAmount' field has been set.- Returns:
- True if the 'delinquentAmount' field has been set, false otherwise.
-
clearDelinquentAmount
Clears the value of the 'delinquentAmount' field.- Returns:
- This builder.
-
getLastPaymentDate
Gets the value of the 'lastPaymentDate' field.- Returns:
- The value.
-
setLastPaymentDate
Sets the value of the 'lastPaymentDate' field.- Parameters:
value- The value of 'lastPaymentDate'.- Returns:
- This builder.
-
hasLastPaymentDate
public boolean hasLastPaymentDate()Checks whether the 'lastPaymentDate' field has been set.- Returns:
- True if the 'lastPaymentDate' field has been set, false otherwise.
-
clearLastPaymentDate
Clears the value of the 'lastPaymentDate' field.- Returns:
- This builder.
-
getLastPaymentAmount
Gets the value of the 'lastPaymentAmount' field.- Returns:
- The value.
-
setLastPaymentAmount
Sets the value of the 'lastPaymentAmount' field.- Parameters:
value- The value of 'lastPaymentAmount'.- Returns:
- This builder.
-
hasLastPaymentAmount
public boolean hasLastPaymentAmount()Checks whether the 'lastPaymentAmount' field has been set.- Returns:
- True if the 'lastPaymentAmount' field has been set, false otherwise.
-
clearLastPaymentAmount
Clears the value of the 'lastPaymentAmount' field.- Returns:
- This builder.
-
getLastRepaymentDate
Gets the value of the 'lastRepaymentDate' field.- Returns:
- The value.
-
setLastRepaymentDate
Sets the value of the 'lastRepaymentDate' field.- Parameters:
value- The value of 'lastRepaymentDate'.- Returns:
- This builder.
-
hasLastRepaymentDate
public boolean hasLastRepaymentDate()Checks whether the 'lastRepaymentDate' field has been set.- Returns:
- True if the 'lastRepaymentDate' field has been set, false otherwise.
-
clearLastRepaymentDate
Clears the value of the 'lastRepaymentDate' field.- Returns:
- This builder.
-
getLastRepaymentAmount
Gets the value of the 'lastRepaymentAmount' field.- Returns:
- The value.
-
setLastRepaymentAmount
Sets the value of the 'lastRepaymentAmount' field.- Parameters:
value- The value of 'lastRepaymentAmount'.- Returns:
- This builder.
-
hasLastRepaymentAmount
public boolean hasLastRepaymentAmount()Checks whether the 'lastRepaymentAmount' field has been set.- Returns:
- True if the 'lastRepaymentAmount' field has been set, false otherwise.
-
clearLastRepaymentAmount
Clears the value of the 'lastRepaymentAmount' field.- Returns:
- This builder.
-
getDelinquencyPausePeriods
Gets the value of the 'delinquencyPausePeriods' field.- Returns:
- The value.
-
setDelinquencyPausePeriods
Sets the value of the 'delinquencyPausePeriods' field.- Parameters:
value- The value of 'delinquencyPausePeriods'.- Returns:
- This builder.
-
hasDelinquencyPausePeriods
public boolean hasDelinquencyPausePeriods()Checks whether the 'delinquencyPausePeriods' field has been set.- Returns:
- True if the 'delinquencyPausePeriods' field has been set, false otherwise.
-
clearDelinquencyPausePeriods
Clears the value of the 'delinquencyPausePeriods' field.- Returns:
- This builder.
-
getInstallmentDelinquencyBuckets
Gets the value of the 'installmentDelinquencyBuckets' field.- Returns:
- The value.
-
setInstallmentDelinquencyBuckets
public CollectionDataV1.Builder setInstallmentDelinquencyBuckets(List<LoanInstallmentDelinquencyBucketDataV1> value) Sets the value of the 'installmentDelinquencyBuckets' field.- Parameters:
value- The value of 'installmentDelinquencyBuckets'.- Returns:
- This builder.
-
hasInstallmentDelinquencyBuckets
public boolean hasInstallmentDelinquencyBuckets()Checks whether the 'installmentDelinquencyBuckets' field has been set.- Returns:
- True if the 'installmentDelinquencyBuckets' field has been set, false otherwise.
-
clearInstallmentDelinquencyBuckets
Clears the value of the 'installmentDelinquencyBuckets' field.- Returns:
- This builder.
-
getDelinquentPrincipal
Gets the value of the 'delinquentPrincipal' field.- Returns:
- The value.
-
setDelinquentPrincipal
Sets the value of the 'delinquentPrincipal' field.- Parameters:
value- The value of 'delinquentPrincipal'.- Returns:
- This builder.
-
hasDelinquentPrincipal
public boolean hasDelinquentPrincipal()Checks whether the 'delinquentPrincipal' field has been set.- Returns:
- True if the 'delinquentPrincipal' field has been set, false otherwise.
-
clearDelinquentPrincipal
Clears the value of the 'delinquentPrincipal' field.- Returns:
- This builder.
-
getDelinquentInterest
Gets the value of the 'delinquentInterest' field.- Returns:
- The value.
-
setDelinquentInterest
Sets the value of the 'delinquentInterest' field.- Parameters:
value- The value of 'delinquentInterest'.- Returns:
- This builder.
-
hasDelinquentInterest
public boolean hasDelinquentInterest()Checks whether the 'delinquentInterest' field has been set.- Returns:
- True if the 'delinquentInterest' field has been set, false otherwise.
-
clearDelinquentInterest
Clears the value of the 'delinquentInterest' field.- Returns:
- This builder.
-
getDelinquentFee
Gets the value of the 'delinquentFee' field.- Returns:
- The value.
-
setDelinquentFee
Sets the value of the 'delinquentFee' field.- Parameters:
value- The value of 'delinquentFee'.- Returns:
- This builder.
-
hasDelinquentFee
public boolean hasDelinquentFee()Checks whether the 'delinquentFee' field has been set.- Returns:
- True if the 'delinquentFee' field has been set, false otherwise.
-
clearDelinquentFee
Clears the value of the 'delinquentFee' field.- Returns:
- This builder.
-
getDelinquentPenalty
Gets the value of the 'delinquentPenalty' field.- Returns:
- The value.
-
setDelinquentPenalty
Sets the value of the 'delinquentPenalty' field.- Parameters:
value- The value of 'delinquentPenalty'.- Returns:
- This builder.
-
hasDelinquentPenalty
public boolean hasDelinquentPenalty()Checks whether the 'delinquentPenalty' field has been set.- Returns:
- True if the 'delinquentPenalty' field has been set, false otherwise.
-
clearDelinquentPenalty
Clears the value of the 'delinquentPenalty' field.- Returns:
- This builder.
-
build
- Specified by:
buildin interfaceorg.apache.avro.data.RecordBuilder<CollectionDataV1>
-