Class SavingsAccountChargesPaidByDataV1.Builder
java.lang.Object
org.apache.avro.data.RecordBuilderBase<SavingsAccountChargesPaidByDataV1>
org.apache.avro.specific.SpecificRecordBuilderBase<SavingsAccountChargesPaidByDataV1>
org.apache.fineract.avro.savings.v1.SavingsAccountChargesPaidByDataV1.Builder
- All Implemented Interfaces:
org.apache.avro.data.RecordBuilder<SavingsAccountChargesPaidByDataV1>
- Enclosing class:
SavingsAccountChargesPaidByDataV1
public static class SavingsAccountChargesPaidByDataV1.Builder
extends org.apache.avro.specific.SpecificRecordBuilderBase<SavingsAccountChargesPaidByDataV1>
implements org.apache.avro.data.RecordBuilder<SavingsAccountChargesPaidByDataV1>
RecordBuilder for SavingsAccountChargesPaidByDataV1 instances.
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Clears the value of the 'amount' field.Clears the value of the 'chargeId' field.Clears the value of the 'savingsAccountChargeData' field.Gets the value of the 'amount' field.Gets the value of the 'chargeId' field.Gets the value of the 'savingsAccountChargeData' field.Gets the Builder instance for the 'savingsAccountChargeData' field and creates one if it doesn't exist yet.booleanChecks whether the 'amount' field has been set.booleanChecks whether the 'chargeId' field has been set.booleanChecks whether the 'savingsAccountChargeData' field has been set.booleanChecks whether the 'savingsAccountChargeData' field has an active Builder instancesetAmount(BigDecimal value) Sets the value of the 'amount' field.setChargeId(Long value) Sets the value of the 'chargeId' field.Sets the value of the 'savingsAccountChargeData' field.Sets the Builder instance for the 'savingsAccountChargeData' fieldMethods inherited from class org.apache.avro.data.RecordBuilderBase
data, defaultValue, equals, fields, fieldSetFlags, hashCode, isValidValue, schema, validate
-
Method Details
-
getChargeId
Gets the value of the 'chargeId' field.- Returns:
- The value.
-
setChargeId
Sets the value of the 'chargeId' field.- Parameters:
value- The value of 'chargeId'.- Returns:
- This builder.
-
hasChargeId
public boolean hasChargeId()Checks whether the 'chargeId' field has been set.- Returns:
- True if the 'chargeId' field has been set, false otherwise.
-
clearChargeId
Clears the value of the 'chargeId' field.- Returns:
- This builder.
-
getAmount
Gets the value of the 'amount' field.- Returns:
- The value.
-
setAmount
Sets the value of the 'amount' field.- Parameters:
value- The value of 'amount'.- Returns:
- This builder.
-
hasAmount
public boolean hasAmount()Checks whether the 'amount' field has been set.- Returns:
- True if the 'amount' field has been set, false otherwise.
-
clearAmount
Clears the value of the 'amount' field.- Returns:
- This builder.
-
getSavingsAccountChargeData
Gets the value of the 'savingsAccountChargeData' field.- Returns:
- The value.
-
setSavingsAccountChargeData
public SavingsAccountChargesPaidByDataV1.Builder setSavingsAccountChargeData(SavingsAccountChargeDataV1 value) Sets the value of the 'savingsAccountChargeData' field.- Parameters:
value- The value of 'savingsAccountChargeData'.- Returns:
- This builder.
-
hasSavingsAccountChargeData
public boolean hasSavingsAccountChargeData()Checks whether the 'savingsAccountChargeData' field has been set.- Returns:
- True if the 'savingsAccountChargeData' field has been set, false otherwise.
-
getSavingsAccountChargeDataBuilder
Gets the Builder instance for the 'savingsAccountChargeData' field and creates one if it doesn't exist yet.- Returns:
- This builder.
-
setSavingsAccountChargeDataBuilder
public SavingsAccountChargesPaidByDataV1.Builder setSavingsAccountChargeDataBuilder(SavingsAccountChargeDataV1.Builder value) Sets the Builder instance for the 'savingsAccountChargeData' field- Parameters:
value- The builder instance that must be set.- Returns:
- This builder.
-
hasSavingsAccountChargeDataBuilder
public boolean hasSavingsAccountChargeDataBuilder()Checks whether the 'savingsAccountChargeData' field has an active Builder instance- Returns:
- True if the 'savingsAccountChargeData' field has an active Builder instance
-
clearSavingsAccountChargeData
Clears the value of the 'savingsAccountChargeData' field.- Returns:
- This builder.
-
build
- Specified by:
buildin interfaceorg.apache.avro.data.RecordBuilder<SavingsAccountChargesPaidByDataV1>
-