Class LoanOwnershipTransferDataV1.Builder

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

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

    • getLoanId

      public long getLoanId()
      Gets the value of the 'loanId' field.
      Returns:
      The value.
    • setLoanId

      public LoanOwnershipTransferDataV1.Builder setLoanId(long value)
      Sets the value of the 'loanId' field.
      Parameters:
      value - The value of 'loanId'.
      Returns:
      This builder.
    • hasLoanId

      public boolean hasLoanId()
      Checks whether the 'loanId' field has been set.
      Returns:
      True if the 'loanId' field has been set, false otherwise.
    • clearLoanId

      Clears the value of the 'loanId' field.
      Returns:
      This builder.
    • getLoanExternalId

      public String getLoanExternalId()
      Gets the value of the 'loanExternalId' field.
      Returns:
      The value.
    • setLoanExternalId

      public LoanOwnershipTransferDataV1.Builder setLoanExternalId(String value)
      Sets the value of the 'loanExternalId' field.
      Parameters:
      value - The value of 'loanExternalId'.
      Returns:
      This builder.
    • hasLoanExternalId

      public boolean hasLoanExternalId()
      Checks whether the 'loanExternalId' field has been set.
      Returns:
      True if the 'loanExternalId' field has been set, false otherwise.
    • clearLoanExternalId

      public LoanOwnershipTransferDataV1.Builder clearLoanExternalId()
      Clears the value of the 'loanExternalId' field.
      Returns:
      This builder.
    • getType

      public String getType()
      Gets the value of the 'type' field.
      Returns:
      The value.
    • setType

      Sets the value of the 'type' field.
      Parameters:
      value - The value of 'type'.
      Returns:
      This builder.
    • hasType

      public boolean hasType()
      Checks whether the 'type' field has been set.
      Returns:
      True if the 'type' field has been set, false otherwise.
    • clearType

      Clears the value of the 'type' field.
      Returns:
      This builder.
    • getTransferExternalId

      public String getTransferExternalId()
      Gets the value of the 'transferExternalId' field.
      Returns:
      The value.
    • setTransferExternalId

      public LoanOwnershipTransferDataV1.Builder setTransferExternalId(String value)
      Sets the value of the 'transferExternalId' field.
      Parameters:
      value - The value of 'transferExternalId'.
      Returns:
      This builder.
    • hasTransferExternalId

      public boolean hasTransferExternalId()
      Checks whether the 'transferExternalId' field has been set.
      Returns:
      True if the 'transferExternalId' field has been set, false otherwise.
    • clearTransferExternalId

      public LoanOwnershipTransferDataV1.Builder clearTransferExternalId()
      Clears the value of the 'transferExternalId' field.
      Returns:
      This builder.
    • getTransferExternalGroupId

      public String getTransferExternalGroupId()
      Gets the value of the 'transferExternalGroupId' field.
      Returns:
      The value.
    • setTransferExternalGroupId

      public LoanOwnershipTransferDataV1.Builder setTransferExternalGroupId(String value)
      Sets the value of the 'transferExternalGroupId' field.
      Parameters:
      value - The value of 'transferExternalGroupId'.
      Returns:
      This builder.
    • hasTransferExternalGroupId

      public boolean hasTransferExternalGroupId()
      Checks whether the 'transferExternalGroupId' field has been set.
      Returns:
      True if the 'transferExternalGroupId' field has been set, false otherwise.
    • clearTransferExternalGroupId

      public LoanOwnershipTransferDataV1.Builder clearTransferExternalGroupId()
      Clears the value of the 'transferExternalGroupId' field.
      Returns:
      This builder.
    • getSubmittedDate

      public String getSubmittedDate()
      Gets the value of the 'submittedDate' field.
      Returns:
      The value.
    • setSubmittedDate

      public LoanOwnershipTransferDataV1.Builder setSubmittedDate(String value)
      Sets the value of the 'submittedDate' field.
      Parameters:
      value - The value of 'submittedDate'.
      Returns:
      This builder.
    • hasSubmittedDate

      public boolean hasSubmittedDate()
      Checks whether the 'submittedDate' field has been set.
      Returns:
      True if the 'submittedDate' field has been set, false otherwise.
    • clearSubmittedDate

      public LoanOwnershipTransferDataV1.Builder clearSubmittedDate()
      Clears the value of the 'submittedDate' field.
      Returns:
      This builder.
    • getAssetOwnerExternalId

      public String getAssetOwnerExternalId()
      Gets the value of the 'assetOwnerExternalId' field.
      Returns:
      The value.
    • setAssetOwnerExternalId

      public LoanOwnershipTransferDataV1.Builder setAssetOwnerExternalId(String value)
      Sets the value of the 'assetOwnerExternalId' field.
      Parameters:
      value - The value of 'assetOwnerExternalId'.
      Returns:
      This builder.
    • hasAssetOwnerExternalId

      public boolean hasAssetOwnerExternalId()
      Checks whether the 'assetOwnerExternalId' field has been set.
      Returns:
      True if the 'assetOwnerExternalId' field has been set, false otherwise.
    • clearAssetOwnerExternalId

      public LoanOwnershipTransferDataV1.Builder clearAssetOwnerExternalId()
      Clears the value of the 'assetOwnerExternalId' field.
      Returns:
      This builder.
    • getCurrency

      public CurrencyDataV1 getCurrency()
      Gets the value of the 'currency' field.
      Returns:
      The value.
    • setCurrency

      Sets the value of the 'currency' field.
      Parameters:
      value - The value of 'currency'.
      Returns:
      This builder.
    • hasCurrency

      public boolean hasCurrency()
      Checks whether the 'currency' field has been set.
      Returns:
      True if the 'currency' field has been set, false otherwise.
    • getCurrencyBuilder

      public CurrencyDataV1.Builder getCurrencyBuilder()
      Gets the Builder instance for the 'currency' field and creates one if it doesn't exist yet.
      Returns:
      This builder.
    • setCurrencyBuilder

      Sets the Builder instance for the 'currency' field
      Parameters:
      value - The builder instance that must be set.
      Returns:
      This builder.
    • hasCurrencyBuilder

      public boolean hasCurrencyBuilder()
      Checks whether the 'currency' field has an active Builder instance
      Returns:
      True if the 'currency' field has an active Builder instance
    • clearCurrency

      public LoanOwnershipTransferDataV1.Builder clearCurrency()
      Clears the value of the 'currency' field.
      Returns:
      This builder.
    • getTotalOutstandingBalanceAmount

      public BigDecimal getTotalOutstandingBalanceAmount()
      Gets the value of the 'totalOutstandingBalanceAmount' field.
      Returns:
      The value.
    • setTotalOutstandingBalanceAmount

      public LoanOwnershipTransferDataV1.Builder setTotalOutstandingBalanceAmount(BigDecimal value)
      Sets the value of the 'totalOutstandingBalanceAmount' field.
      Parameters:
      value - The value of 'totalOutstandingBalanceAmount'.
      Returns:
      This builder.
    • hasTotalOutstandingBalanceAmount

      public boolean hasTotalOutstandingBalanceAmount()
      Checks whether the 'totalOutstandingBalanceAmount' field has been set.
      Returns:
      True if the 'totalOutstandingBalanceAmount' field has been set, false otherwise.
    • clearTotalOutstandingBalanceAmount

      public LoanOwnershipTransferDataV1.Builder clearTotalOutstandingBalanceAmount()
      Clears the value of the 'totalOutstandingBalanceAmount' field.
      Returns:
      This builder.
    • getOutstandingPrincipalPortion

      public BigDecimal getOutstandingPrincipalPortion()
      Gets the value of the 'outstandingPrincipalPortion' field.
      Returns:
      The value.
    • setOutstandingPrincipalPortion

      public LoanOwnershipTransferDataV1.Builder setOutstandingPrincipalPortion(BigDecimal value)
      Sets the value of the 'outstandingPrincipalPortion' field.
      Parameters:
      value - The value of 'outstandingPrincipalPortion'.
      Returns:
      This builder.
    • hasOutstandingPrincipalPortion

      public boolean hasOutstandingPrincipalPortion()
      Checks whether the 'outstandingPrincipalPortion' field has been set.
      Returns:
      True if the 'outstandingPrincipalPortion' field has been set, false otherwise.
    • clearOutstandingPrincipalPortion

      public LoanOwnershipTransferDataV1.Builder clearOutstandingPrincipalPortion()
      Clears the value of the 'outstandingPrincipalPortion' field.
      Returns:
      This builder.
    • getOutstandingFeePortion

      public BigDecimal getOutstandingFeePortion()
      Gets the value of the 'outstandingFeePortion' field.
      Returns:
      The value.
    • setOutstandingFeePortion

      public LoanOwnershipTransferDataV1.Builder setOutstandingFeePortion(BigDecimal value)
      Sets the value of the 'outstandingFeePortion' field.
      Parameters:
      value - The value of 'outstandingFeePortion'.
      Returns:
      This builder.
    • hasOutstandingFeePortion

      public boolean hasOutstandingFeePortion()
      Checks whether the 'outstandingFeePortion' field has been set.
      Returns:
      True if the 'outstandingFeePortion' field has been set, false otherwise.
    • clearOutstandingFeePortion

      public LoanOwnershipTransferDataV1.Builder clearOutstandingFeePortion()
      Clears the value of the 'outstandingFeePortion' field.
      Returns:
      This builder.
    • getOutstandingPenaltyPortion

      public BigDecimal getOutstandingPenaltyPortion()
      Gets the value of the 'outstandingPenaltyPortion' field.
      Returns:
      The value.
    • setOutstandingPenaltyPortion

      public LoanOwnershipTransferDataV1.Builder setOutstandingPenaltyPortion(BigDecimal value)
      Sets the value of the 'outstandingPenaltyPortion' field.
      Parameters:
      value - The value of 'outstandingPenaltyPortion'.
      Returns:
      This builder.
    • hasOutstandingPenaltyPortion

      public boolean hasOutstandingPenaltyPortion()
      Checks whether the 'outstandingPenaltyPortion' field has been set.
      Returns:
      True if the 'outstandingPenaltyPortion' field has been set, false otherwise.
    • clearOutstandingPenaltyPortion

      public LoanOwnershipTransferDataV1.Builder clearOutstandingPenaltyPortion()
      Clears the value of the 'outstandingPenaltyPortion' field.
      Returns:
      This builder.
    • getOutstandingInterestPortion

      public BigDecimal getOutstandingInterestPortion()
      Gets the value of the 'outstandingInterestPortion' field.
      Returns:
      The value.
    • setOutstandingInterestPortion

      public LoanOwnershipTransferDataV1.Builder setOutstandingInterestPortion(BigDecimal value)
      Sets the value of the 'outstandingInterestPortion' field.
      Parameters:
      value - The value of 'outstandingInterestPortion'.
      Returns:
      This builder.
    • hasOutstandingInterestPortion

      public boolean hasOutstandingInterestPortion()
      Checks whether the 'outstandingInterestPortion' field has been set.
      Returns:
      True if the 'outstandingInterestPortion' field has been set, false otherwise.
    • clearOutstandingInterestPortion

      public LoanOwnershipTransferDataV1.Builder clearOutstandingInterestPortion()
      Clears the value of the 'outstandingInterestPortion' field.
      Returns:
      This builder.
    • getOverPaymentPortion

      public BigDecimal getOverPaymentPortion()
      Gets the value of the 'overPaymentPortion' field.
      Returns:
      The value.
    • setOverPaymentPortion

      public LoanOwnershipTransferDataV1.Builder setOverPaymentPortion(BigDecimal value)
      Sets the value of the 'overPaymentPortion' field.
      Parameters:
      value - The value of 'overPaymentPortion'.
      Returns:
      This builder.
    • hasOverPaymentPortion

      public boolean hasOverPaymentPortion()
      Checks whether the 'overPaymentPortion' field has been set.
      Returns:
      True if the 'overPaymentPortion' field has been set, false otherwise.
    • clearOverPaymentPortion

      public LoanOwnershipTransferDataV1.Builder clearOverPaymentPortion()
      Clears the value of the 'overPaymentPortion' field.
      Returns:
      This builder.
    • getUnrecognizedIncomePortion

      public BigDecimal getUnrecognizedIncomePortion()
      Gets the value of the 'unrecognizedIncomePortion' field.
      Returns:
      The value.
    • setUnrecognizedIncomePortion

      public LoanOwnershipTransferDataV1.Builder setUnrecognizedIncomePortion(BigDecimal value)
      Sets the value of the 'unrecognizedIncomePortion' field.
      Parameters:
      value - The value of 'unrecognizedIncomePortion'.
      Returns:
      This builder.
    • hasUnrecognizedIncomePortion

      public boolean hasUnrecognizedIncomePortion()
      Checks whether the 'unrecognizedIncomePortion' field has been set.
      Returns:
      True if the 'unrecognizedIncomePortion' field has been set, false otherwise.
    • clearUnrecognizedIncomePortion

      public LoanOwnershipTransferDataV1.Builder clearUnrecognizedIncomePortion()
      Clears the value of the 'unrecognizedIncomePortion' field.
      Returns:
      This builder.
    • getUnpaidChargeData

      public List<UnpaidChargeDataV1> getUnpaidChargeData()
      Gets the value of the 'unpaidChargeData' field.
      Returns:
      The value.
    • setUnpaidChargeData

      public LoanOwnershipTransferDataV1.Builder setUnpaidChargeData(List<UnpaidChargeDataV1> value)
      Sets the value of the 'unpaidChargeData' field.
      Parameters:
      value - The value of 'unpaidChargeData'.
      Returns:
      This builder.
    • hasUnpaidChargeData

      public boolean hasUnpaidChargeData()
      Checks whether the 'unpaidChargeData' field has been set.
      Returns:
      True if the 'unpaidChargeData' field has been set, false otherwise.
    • clearUnpaidChargeData

      public LoanOwnershipTransferDataV1.Builder clearUnpaidChargeData()
      Clears the value of the 'unpaidChargeData' field.
      Returns:
      This builder.
    • getTransferStatus

      public String getTransferStatus()
      Gets the value of the 'transferStatus' field.
      Returns:
      The value.
    • setTransferStatus

      public LoanOwnershipTransferDataV1.Builder setTransferStatus(String value)
      Sets the value of the 'transferStatus' field.
      Parameters:
      value - The value of 'transferStatus'.
      Returns:
      This builder.
    • hasTransferStatus

      public boolean hasTransferStatus()
      Checks whether the 'transferStatus' field has been set.
      Returns:
      True if the 'transferStatus' field has been set, false otherwise.
    • clearTransferStatus

      public LoanOwnershipTransferDataV1.Builder clearTransferStatus()
      Clears the value of the 'transferStatus' field.
      Returns:
      This builder.
    • getTransferStatusReason

      public String getTransferStatusReason()
      Gets the value of the 'transferStatusReason' field.
      Returns:
      The value.
    • setTransferStatusReason

      public LoanOwnershipTransferDataV1.Builder setTransferStatusReason(String value)
      Sets the value of the 'transferStatusReason' field.
      Parameters:
      value - The value of 'transferStatusReason'.
      Returns:
      This builder.
    • hasTransferStatusReason

      public boolean hasTransferStatusReason()
      Checks whether the 'transferStatusReason' field has been set.
      Returns:
      True if the 'transferStatusReason' field has been set, false otherwise.
    • clearTransferStatusReason

      public LoanOwnershipTransferDataV1.Builder clearTransferStatusReason()
      Clears the value of the 'transferStatusReason' field.
      Returns:
      This builder.
    • getSettlementDate

      public String getSettlementDate()
      Gets the value of the 'settlementDate' field.
      Returns:
      The value.
    • setSettlementDate

      public LoanOwnershipTransferDataV1.Builder setSettlementDate(String value)
      Sets the value of the 'settlementDate' field.
      Parameters:
      value - The value of 'settlementDate'.
      Returns:
      This builder.
    • hasSettlementDate

      public boolean hasSettlementDate()
      Checks whether the 'settlementDate' field has been set.
      Returns:
      True if the 'settlementDate' field has been set, false otherwise.
    • clearSettlementDate

      public LoanOwnershipTransferDataV1.Builder clearSettlementDate()
      Clears the value of the 'settlementDate' field.
      Returns:
      This builder.
    • getPurchasePriceRatio

      public String getPurchasePriceRatio()
      Gets the value of the 'purchasePriceRatio' field.
      Returns:
      The value.
    • setPurchasePriceRatio

      public LoanOwnershipTransferDataV1.Builder setPurchasePriceRatio(String value)
      Sets the value of the 'purchasePriceRatio' field.
      Parameters:
      value - The value of 'purchasePriceRatio'.
      Returns:
      This builder.
    • hasPurchasePriceRatio

      public boolean hasPurchasePriceRatio()
      Checks whether the 'purchasePriceRatio' field has been set.
      Returns:
      True if the 'purchasePriceRatio' field has been set, false otherwise.
    • clearPurchasePriceRatio

      public LoanOwnershipTransferDataV1.Builder clearPurchasePriceRatio()
      Clears the value of the 'purchasePriceRatio' field.
      Returns:
      This builder.
    • getCustomData

      public Map<String,ByteBuffer> getCustomData()
      Gets the value of the 'customData' field.
      Returns:
      The value.
    • setCustomData

      Sets the value of the 'customData' field.
      Parameters:
      value - The value of 'customData'.
      Returns:
      This builder.
    • hasCustomData

      public boolean hasCustomData()
      Checks whether the 'customData' field has been set.
      Returns:
      True if the 'customData' field has been set, false otherwise.
    • clearCustomData

      public LoanOwnershipTransferDataV1.Builder clearCustomData()
      Clears the value of the 'customData' field.
      Returns:
      This builder.
    • build

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