Class PaymentDetailDataV1.Builder
java.lang.Object
org.apache.avro.data.RecordBuilderBase<PaymentDetailDataV1>
org.apache.avro.specific.SpecificRecordBuilderBase<PaymentDetailDataV1>
org.apache.fineract.avro.payment.v1.PaymentDetailDataV1.Builder
- All Implemented Interfaces:
org.apache.avro.data.RecordBuilder<PaymentDetailDataV1>
- Enclosing class:
PaymentDetailDataV1
public static class PaymentDetailDataV1.Builder
extends org.apache.avro.specific.SpecificRecordBuilderBase<PaymentDetailDataV1>
implements org.apache.avro.data.RecordBuilder<PaymentDetailDataV1>
RecordBuilder for PaymentDetailDataV1 instances.
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Clears the value of the 'accountNumber' field.Clears the value of the 'bankNumber' field.Clears the value of the 'checkNumber' field.clearId()Clears the value of the 'id' field.Clears the value of the 'paymentType' field.Clears the value of the 'receiptNumber' field.Clears the value of the 'routingCode' field.Gets the value of the 'accountNumber' field.Gets the value of the 'bankNumber' field.Gets the value of the 'checkNumber' field.getId()Gets the value of the 'id' field.Gets the value of the 'paymentType' field.Gets the Builder instance for the 'paymentType' field and creates one if it doesn't exist yet.Gets the value of the 'receiptNumber' field.Gets the value of the 'routingCode' field.booleanChecks whether the 'accountNumber' field has been set.booleanChecks whether the 'bankNumber' field has been set.booleanChecks whether the 'checkNumber' field has been set.booleanhasId()Checks whether the 'id' field has been set.booleanChecks whether the 'paymentType' field has been set.booleanChecks whether the 'paymentType' field has an active Builder instancebooleanChecks whether the 'receiptNumber' field has been set.booleanChecks whether the 'routingCode' field has been set.setAccountNumber(String value) Sets the value of the 'accountNumber' field.setBankNumber(String value) Sets the value of the 'bankNumber' field.setCheckNumber(String value) Sets the value of the 'checkNumber' field.Sets the value of the 'id' field.setPaymentType(PaymentTypeDataV1 value) Sets the value of the 'paymentType' field.Sets the Builder instance for the 'paymentType' fieldsetReceiptNumber(String value) Sets the value of the 'receiptNumber' field.setRoutingCode(String value) Sets the value of the 'routingCode' field.Methods inherited from class org.apache.avro.data.RecordBuilderBase
data, defaultValue, equals, fields, fieldSetFlags, hashCode, isValidValue, schema, validate
-
Method Details
-
getId
Gets the value of the 'id' field.- Returns:
- The value.
-
setId
Sets the value of the 'id' field.- Parameters:
value- The value of 'id'.- Returns:
- This builder.
-
hasId
public boolean hasId()Checks whether the 'id' field has been set.- Returns:
- True if the 'id' field has been set, false otherwise.
-
clearId
Clears the value of the 'id' field.- Returns:
- This builder.
-
getPaymentType
Gets the value of the 'paymentType' field.- Returns:
- The value.
-
setPaymentType
Sets the value of the 'paymentType' field.- Parameters:
value- The value of 'paymentType'.- Returns:
- This builder.
-
hasPaymentType
public boolean hasPaymentType()Checks whether the 'paymentType' field has been set.- Returns:
- True if the 'paymentType' field has been set, false otherwise.
-
getPaymentTypeBuilder
Gets the Builder instance for the 'paymentType' field and creates one if it doesn't exist yet.- Returns:
- This builder.
-
setPaymentTypeBuilder
Sets the Builder instance for the 'paymentType' field- Parameters:
value- The builder instance that must be set.- Returns:
- This builder.
-
hasPaymentTypeBuilder
public boolean hasPaymentTypeBuilder()Checks whether the 'paymentType' field has an active Builder instance- Returns:
- True if the 'paymentType' field has an active Builder instance
-
clearPaymentType
Clears the value of the 'paymentType' field.- Returns:
- This builder.
-
getAccountNumber
Gets the value of the 'accountNumber' field.- Returns:
- The value.
-
setAccountNumber
Sets the value of the 'accountNumber' field.- Parameters:
value- The value of 'accountNumber'.- Returns:
- This builder.
-
hasAccountNumber
public boolean hasAccountNumber()Checks whether the 'accountNumber' field has been set.- Returns:
- True if the 'accountNumber' field has been set, false otherwise.
-
clearAccountNumber
Clears the value of the 'accountNumber' field.- Returns:
- This builder.
-
getCheckNumber
Gets the value of the 'checkNumber' field.- Returns:
- The value.
-
setCheckNumber
Sets the value of the 'checkNumber' field.- Parameters:
value- The value of 'checkNumber'.- Returns:
- This builder.
-
hasCheckNumber
public boolean hasCheckNumber()Checks whether the 'checkNumber' field has been set.- Returns:
- True if the 'checkNumber' field has been set, false otherwise.
-
clearCheckNumber
Clears the value of the 'checkNumber' field.- Returns:
- This builder.
-
getRoutingCode
Gets the value of the 'routingCode' field.- Returns:
- The value.
-
setRoutingCode
Sets the value of the 'routingCode' field.- Parameters:
value- The value of 'routingCode'.- Returns:
- This builder.
-
hasRoutingCode
public boolean hasRoutingCode()Checks whether the 'routingCode' field has been set.- Returns:
- True if the 'routingCode' field has been set, false otherwise.
-
clearRoutingCode
Clears the value of the 'routingCode' field.- Returns:
- This builder.
-
getReceiptNumber
Gets the value of the 'receiptNumber' field.- Returns:
- The value.
-
setReceiptNumber
Sets the value of the 'receiptNumber' field.- Parameters:
value- The value of 'receiptNumber'.- Returns:
- This builder.
-
hasReceiptNumber
public boolean hasReceiptNumber()Checks whether the 'receiptNumber' field has been set.- Returns:
- True if the 'receiptNumber' field has been set, false otherwise.
-
clearReceiptNumber
Clears the value of the 'receiptNumber' field.- Returns:
- This builder.
-
getBankNumber
Gets the value of the 'bankNumber' field.- Returns:
- The value.
-
setBankNumber
Sets the value of the 'bankNumber' field.- Parameters:
value- The value of 'bankNumber'.- Returns:
- This builder.
-
hasBankNumber
public boolean hasBankNumber()Checks whether the 'bankNumber' field has been set.- Returns:
- True if the 'bankNumber' field has been set, false otherwise.
-
clearBankNumber
Clears the value of the 'bankNumber' field.- Returns:
- This builder.
-
build
- Specified by:
buildin interfaceorg.apache.avro.data.RecordBuilder<PaymentDetailDataV1>
-