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 Details

    • getId

      public Long getId()
      Gets the value of the 'id' field.
      Returns:
      The value.
    • setId

      public PaymentDetailDataV1.Builder setId(Long value)
      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

      public PaymentDetailDataV1.Builder clearId()
      Clears the value of the 'id' field.
      Returns:
      This builder.
    • getPaymentType

      public PaymentTypeDataV1 getPaymentType()
      Gets the value of the 'paymentType' field.
      Returns:
      The value.
    • setPaymentType

      public PaymentDetailDataV1.Builder setPaymentType(PaymentTypeDataV1 value)
      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

      public PaymentTypeDataV1.Builder getPaymentTypeBuilder()
      Gets the Builder instance for the 'paymentType' field and creates one if it doesn't exist yet.
      Returns:
      This builder.
    • setPaymentTypeBuilder

      public PaymentDetailDataV1.Builder setPaymentTypeBuilder(PaymentTypeDataV1.Builder value)
      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

      public PaymentDetailDataV1.Builder clearPaymentType()
      Clears the value of the 'paymentType' field.
      Returns:
      This builder.
    • getAccountNumber

      public String getAccountNumber()
      Gets the value of the 'accountNumber' field.
      Returns:
      The value.
    • setAccountNumber

      public PaymentDetailDataV1.Builder setAccountNumber(String value)
      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

      public PaymentDetailDataV1.Builder clearAccountNumber()
      Clears the value of the 'accountNumber' field.
      Returns:
      This builder.
    • getCheckNumber

      public String getCheckNumber()
      Gets the value of the 'checkNumber' field.
      Returns:
      The value.
    • setCheckNumber

      public PaymentDetailDataV1.Builder setCheckNumber(String value)
      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

      public PaymentDetailDataV1.Builder clearCheckNumber()
      Clears the value of the 'checkNumber' field.
      Returns:
      This builder.
    • getRoutingCode

      public String getRoutingCode()
      Gets the value of the 'routingCode' field.
      Returns:
      The value.
    • setRoutingCode

      public PaymentDetailDataV1.Builder setRoutingCode(String value)
      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

      public PaymentDetailDataV1.Builder clearRoutingCode()
      Clears the value of the 'routingCode' field.
      Returns:
      This builder.
    • getReceiptNumber

      public String getReceiptNumber()
      Gets the value of the 'receiptNumber' field.
      Returns:
      The value.
    • setReceiptNumber

      public PaymentDetailDataV1.Builder setReceiptNumber(String value)
      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

      public PaymentDetailDataV1.Builder clearReceiptNumber()
      Clears the value of the 'receiptNumber' field.
      Returns:
      This builder.
    • getBankNumber

      public String getBankNumber()
      Gets the value of the 'bankNumber' field.
      Returns:
      The value.
    • setBankNumber

      public PaymentDetailDataV1.Builder setBankNumber(String value)
      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

      public PaymentDetailDataV1.Builder clearBankNumber()
      Clears the value of the 'bankNumber' field.
      Returns:
      This builder.
    • build

      public PaymentDetailDataV1 build()
      Specified by:
      build in interface org.apache.avro.data.RecordBuilder<PaymentDetailDataV1>