Package org.apache.fineract.avro.loan.v1
Class LoanInstallmentDelinquencyBucketDataV1.Builder
java.lang.Object
org.apache.avro.data.RecordBuilderBase<LoanInstallmentDelinquencyBucketDataV1>
org.apache.avro.specific.SpecificRecordBuilderBase<LoanInstallmentDelinquencyBucketDataV1>
org.apache.fineract.avro.loan.v1.LoanInstallmentDelinquencyBucketDataV1.Builder
- All Implemented Interfaces:
org.apache.avro.data.RecordBuilder<LoanInstallmentDelinquencyBucketDataV1>
- Enclosing class:
LoanInstallmentDelinquencyBucketDataV1
public static class LoanInstallmentDelinquencyBucketDataV1.Builder
extends org.apache.avro.specific.SpecificRecordBuilderBase<LoanInstallmentDelinquencyBucketDataV1>
implements org.apache.avro.data.RecordBuilder<LoanInstallmentDelinquencyBucketDataV1>
RecordBuilder for LoanInstallmentDelinquencyBucketDataV1 instances.
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Clears the value of the 'amount' field.Clears the value of the 'charges' field.Clears the value of the 'currency' field.Clears the value of the 'delinquencyRange' field.Gets the value of the 'amount' field.Gets the Builder instance for the 'amount' field and creates one if it doesn't exist yet.Gets the value of the 'charges' 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.Gets the value of the 'delinquencyRange' field.Gets the Builder instance for the 'delinquencyRange' field and creates one if it doesn't exist yet.booleanChecks whether the 'amount' field has been set.booleanChecks whether the 'amount' field has an active Builder instance Contains installments total, fee, interest, principal and penalty amount summariesbooleanChecks whether the 'charges' field has been set.booleanChecks whether the 'currency' field has been set.booleanChecks whether the 'currency' field has an active Builder instancebooleanChecks whether the 'delinquencyRange' field has been set.booleanChecks whether the 'delinquencyRange' field has an active Builder instancesetAmount(LoanAmountDataV1 value) Sets the value of the 'amount' field.Sets the Builder instance for the 'amount' field Contains installments total, fee, interest, principal and penalty amount summariessetCharges(List<LoanChargeDataRangeViewV1> value) Sets the value of the 'charges' field.setCurrency(CurrencyDataV1 value) Sets the value of the 'currency' field.Sets the Builder instance for the 'currency' fieldSets the value of the 'delinquencyRange' field.Sets the Builder instance for the 'delinquencyRange' fieldMethods inherited from class org.apache.avro.data.RecordBuilderBase
data, defaultValue, equals, fields, fieldSetFlags, hashCode, isValidValue, schema, validate
-
Method Details
-
getDelinquencyRange
Gets the value of the 'delinquencyRange' field.- Returns:
- The value.
-
setDelinquencyRange
public LoanInstallmentDelinquencyBucketDataV1.Builder setDelinquencyRange(DelinquencyRangeDataV1 value) Sets the value of the 'delinquencyRange' field.- Parameters:
value- The value of 'delinquencyRange'.- Returns:
- This builder.
-
hasDelinquencyRange
public boolean hasDelinquencyRange()Checks whether the 'delinquencyRange' field has been set.- Returns:
- True if the 'delinquencyRange' field has been set, false otherwise.
-
getDelinquencyRangeBuilder
Gets the Builder instance for the 'delinquencyRange' field and creates one if it doesn't exist yet.- Returns:
- This builder.
-
setDelinquencyRangeBuilder
public LoanInstallmentDelinquencyBucketDataV1.Builder setDelinquencyRangeBuilder(DelinquencyRangeDataV1.Builder value) Sets the Builder instance for the 'delinquencyRange' field- Parameters:
value- The builder instance that must be set.- Returns:
- This builder.
-
hasDelinquencyRangeBuilder
public boolean hasDelinquencyRangeBuilder()Checks whether the 'delinquencyRange' field has an active Builder instance- Returns:
- True if the 'delinquencyRange' field has an active Builder instance
-
clearDelinquencyRange
Clears the value of the 'delinquencyRange' field.- Returns:
- This builder.
-
getAmount
Gets the value of the 'amount' field. Contains installments total, fee, interest, principal and penalty amount summaries- Returns:
- The value.
-
setAmount
Sets the value of the 'amount' field. Contains installments total, fee, interest, principal and penalty amount summaries- Parameters:
value- The value of 'amount'.- Returns:
- This builder.
-
hasAmount
public boolean hasAmount()Checks whether the 'amount' field has been set. Contains installments total, fee, interest, principal and penalty amount summaries- Returns:
- True if the 'amount' field has been set, false otherwise.
-
getAmountBuilder
Gets the Builder instance for the 'amount' field and creates one if it doesn't exist yet. Contains installments total, fee, interest, principal and penalty amount summaries- Returns:
- This builder.
-
setAmountBuilder
public LoanInstallmentDelinquencyBucketDataV1.Builder setAmountBuilder(LoanAmountDataV1.Builder value) Sets the Builder instance for the 'amount' field Contains installments total, fee, interest, principal and penalty amount summaries- Parameters:
value- The builder instance that must be set.- Returns:
- This builder.
-
hasAmountBuilder
public boolean hasAmountBuilder()Checks whether the 'amount' field has an active Builder instance Contains installments total, fee, interest, principal and penalty amount summaries- Returns:
- True if the 'amount' field has an active Builder instance
-
clearAmount
Clears the value of the 'amount' field. Contains installments total, fee, interest, principal and penalty amount summaries- Returns:
- This builder.
-
getCharges
Gets the value of the 'charges' field.- Returns:
- The value.
-
setCharges
public LoanInstallmentDelinquencyBucketDataV1.Builder setCharges(List<LoanChargeDataRangeViewV1> value) Sets the value of the 'charges' field.- Parameters:
value- The value of 'charges'.- Returns:
- This builder.
-
hasCharges
public boolean hasCharges()Checks whether the 'charges' field has been set.- Returns:
- True if the 'charges' field has been set, false otherwise.
-
clearCharges
Clears the value of the 'charges' 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
public LoanInstallmentDelinquencyBucketDataV1.Builder setCurrencyBuilder(CurrencyDataV1.Builder value) 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.
-
build
- Specified by:
buildin interfaceorg.apache.avro.data.RecordBuilder<LoanInstallmentDelinquencyBucketDataV1>
-