Class PaymentTypeDataV1.Builder

java.lang.Object
org.apache.avro.data.RecordBuilderBase<PaymentTypeDataV1>
org.apache.avro.specific.SpecificRecordBuilderBase<PaymentTypeDataV1>
org.apache.fineract.avro.payment.v1.PaymentTypeDataV1.Builder
All Implemented Interfaces:
org.apache.avro.data.RecordBuilder<PaymentTypeDataV1>
Enclosing class:
PaymentTypeDataV1

public static class PaymentTypeDataV1.Builder extends org.apache.avro.specific.SpecificRecordBuilderBase<PaymentTypeDataV1> implements org.apache.avro.data.RecordBuilder<PaymentTypeDataV1>
RecordBuilder for PaymentTypeDataV1 instances.
  • Method Details

    • getId

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

      public PaymentTypeDataV1.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 PaymentTypeDataV1.Builder clearId()
      Clears the value of the 'id' field.
      Returns:
      This builder.
    • getName

      public String getName()
      Gets the value of the 'name' field.
      Returns:
      The value.
    • setName

      public PaymentTypeDataV1.Builder setName(String value)
      Sets the value of the 'name' field.
      Parameters:
      value - The value of 'name'.
      Returns:
      This builder.
    • hasName

      public boolean hasName()
      Checks whether the 'name' field has been set.
      Returns:
      True if the 'name' field has been set, false otherwise.
    • clearName

      public PaymentTypeDataV1.Builder clearName()
      Clears the value of the 'name' field.
      Returns:
      This builder.
    • getDescription

      public String getDescription()
      Gets the value of the 'description' field.
      Returns:
      The value.
    • setDescription

      public PaymentTypeDataV1.Builder setDescription(String value)
      Sets the value of the 'description' field.
      Parameters:
      value - The value of 'description'.
      Returns:
      This builder.
    • hasDescription

      public boolean hasDescription()
      Checks whether the 'description' field has been set.
      Returns:
      True if the 'description' field has been set, false otherwise.
    • clearDescription

      public PaymentTypeDataV1.Builder clearDescription()
      Clears the value of the 'description' field.
      Returns:
      This builder.
    • getIsCashPayment

      public Boolean getIsCashPayment()
      Gets the value of the 'isCashPayment' field.
      Returns:
      The value.
    • setIsCashPayment

      public PaymentTypeDataV1.Builder setIsCashPayment(Boolean value)
      Sets the value of the 'isCashPayment' field.
      Parameters:
      value - The value of 'isCashPayment'.
      Returns:
      This builder.
    • hasIsCashPayment

      public boolean hasIsCashPayment()
      Checks whether the 'isCashPayment' field has been set.
      Returns:
      True if the 'isCashPayment' field has been set, false otherwise.
    • clearIsCashPayment

      public PaymentTypeDataV1.Builder clearIsCashPayment()
      Clears the value of the 'isCashPayment' field.
      Returns:
      This builder.
    • getPosition

      public Long getPosition()
      Gets the value of the 'position' field.
      Returns:
      The value.
    • setPosition

      public PaymentTypeDataV1.Builder setPosition(Long value)
      Sets the value of the 'position' field.
      Parameters:
      value - The value of 'position'.
      Returns:
      This builder.
    • hasPosition

      public boolean hasPosition()
      Checks whether the 'position' field has been set.
      Returns:
      True if the 'position' field has been set, false otherwise.
    • clearPosition

      public PaymentTypeDataV1.Builder clearPosition()
      Clears the value of the 'position' field.
      Returns:
      This builder.
    • getCodeName

      public String getCodeName()
      Gets the value of the 'codeName' field.
      Returns:
      The value.
    • setCodeName

      public PaymentTypeDataV1.Builder setCodeName(String value)
      Sets the value of the 'codeName' field.
      Parameters:
      value - The value of 'codeName'.
      Returns:
      This builder.
    • hasCodeName

      public boolean hasCodeName()
      Checks whether the 'codeName' field has been set.
      Returns:
      True if the 'codeName' field has been set, false otherwise.
    • clearCodeName

      public PaymentTypeDataV1.Builder clearCodeName()
      Clears the value of the 'codeName' field.
      Returns:
      This builder.
    • getIsSystemDefined

      public Boolean getIsSystemDefined()
      Gets the value of the 'isSystemDefined' field.
      Returns:
      The value.
    • setIsSystemDefined

      public PaymentTypeDataV1.Builder setIsSystemDefined(Boolean value)
      Sets the value of the 'isSystemDefined' field.
      Parameters:
      value - The value of 'isSystemDefined'.
      Returns:
      This builder.
    • hasIsSystemDefined

      public boolean hasIsSystemDefined()
      Checks whether the 'isSystemDefined' field has been set.
      Returns:
      True if the 'isSystemDefined' field has been set, false otherwise.
    • clearIsSystemDefined

      public PaymentTypeDataV1.Builder clearIsSystemDefined()
      Clears the value of the 'isSystemDefined' field.
      Returns:
      This builder.
    • build

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