Class LoanTransactionRelationDataV1.Builder

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

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

    • getFromLoanTransaction

      public long getFromLoanTransaction()
      Gets the value of the 'fromLoanTransaction' field.
      Returns:
      The value.
    • setFromLoanTransaction

      public LoanTransactionRelationDataV1.Builder setFromLoanTransaction(long value)
      Sets the value of the 'fromLoanTransaction' field.
      Parameters:
      value - The value of 'fromLoanTransaction'.
      Returns:
      This builder.
    • hasFromLoanTransaction

      public boolean hasFromLoanTransaction()
      Checks whether the 'fromLoanTransaction' field has been set.
      Returns:
      True if the 'fromLoanTransaction' field has been set, false otherwise.
    • clearFromLoanTransaction

      public LoanTransactionRelationDataV1.Builder clearFromLoanTransaction()
      Clears the value of the 'fromLoanTransaction' field.
      Returns:
      This builder.
    • getToLoanTransaction

      public Long getToLoanTransaction()
      Gets the value of the 'toLoanTransaction' field.
      Returns:
      The value.
    • setToLoanTransaction

      public LoanTransactionRelationDataV1.Builder setToLoanTransaction(Long value)
      Sets the value of the 'toLoanTransaction' field.
      Parameters:
      value - The value of 'toLoanTransaction'.
      Returns:
      This builder.
    • hasToLoanTransaction

      public boolean hasToLoanTransaction()
      Checks whether the 'toLoanTransaction' field has been set.
      Returns:
      True if the 'toLoanTransaction' field has been set, false otherwise.
    • clearToLoanTransaction

      public LoanTransactionRelationDataV1.Builder clearToLoanTransaction()
      Clears the value of the 'toLoanTransaction' field.
      Returns:
      This builder.
    • getToLoanCharge

      public Long getToLoanCharge()
      Gets the value of the 'toLoanCharge' field.
      Returns:
      The value.
    • setToLoanCharge

      public LoanTransactionRelationDataV1.Builder setToLoanCharge(Long value)
      Sets the value of the 'toLoanCharge' field.
      Parameters:
      value - The value of 'toLoanCharge'.
      Returns:
      This builder.
    • hasToLoanCharge

      public boolean hasToLoanCharge()
      Checks whether the 'toLoanCharge' field has been set.
      Returns:
      True if the 'toLoanCharge' field has been set, false otherwise.
    • clearToLoanCharge

      public LoanTransactionRelationDataV1.Builder clearToLoanCharge()
      Clears the value of the 'toLoanCharge' field.
      Returns:
      This builder.
    • getAmount

      public BigDecimal 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.
    • getRelationType

      public String getRelationType()
      Gets the value of the 'relationType' field.
      Returns:
      The value.
    • setRelationType

      public LoanTransactionRelationDataV1.Builder setRelationType(String value)
      Sets the value of the 'relationType' field.
      Parameters:
      value - The value of 'relationType'.
      Returns:
      This builder.
    • hasRelationType

      public boolean hasRelationType()
      Checks whether the 'relationType' field has been set.
      Returns:
      True if the 'relationType' field has been set, false otherwise.
    • clearRelationType

      public LoanTransactionRelationDataV1.Builder clearRelationType()
      Clears the value of the 'relationType' field.
      Returns:
      This builder.
    • getPaymentType

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

      public LoanTransactionRelationDataV1.Builder setPaymentType(String 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.
    • clearPaymentType

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

      Specified by:
      build in interface org.apache.avro.data.RecordBuilder<LoanTransactionRelationDataV1>