Class ShareAccountSummaryDataV1.Builder

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

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

    • getId

      public Long 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.
    • getAccountNo

      public String getAccountNo()
      Gets the value of the 'accountNo' field.
      Returns:
      The value.
    • setAccountNo

      public ShareAccountSummaryDataV1.Builder setAccountNo(String value)
      Sets the value of the 'accountNo' field.
      Parameters:
      value - The value of 'accountNo'.
      Returns:
      This builder.
    • hasAccountNo

      public boolean hasAccountNo()
      Checks whether the 'accountNo' field has been set.
      Returns:
      True if the 'accountNo' field has been set, false otherwise.
    • clearAccountNo

      public ShareAccountSummaryDataV1.Builder clearAccountNo()
      Clears the value of the 'accountNo' field.
      Returns:
      This builder.
    • getTotalApprovedShares

      public Long getTotalApprovedShares()
      Gets the value of the 'totalApprovedShares' field.
      Returns:
      The value.
    • setTotalApprovedShares

      public ShareAccountSummaryDataV1.Builder setTotalApprovedShares(Long value)
      Sets the value of the 'totalApprovedShares' field.
      Parameters:
      value - The value of 'totalApprovedShares'.
      Returns:
      This builder.
    • hasTotalApprovedShares

      public boolean hasTotalApprovedShares()
      Checks whether the 'totalApprovedShares' field has been set.
      Returns:
      True if the 'totalApprovedShares' field has been set, false otherwise.
    • clearTotalApprovedShares

      public ShareAccountSummaryDataV1.Builder clearTotalApprovedShares()
      Clears the value of the 'totalApprovedShares' field.
      Returns:
      This builder.
    • getTotalPendingForApprovalShares

      public Long getTotalPendingForApprovalShares()
      Gets the value of the 'totalPendingForApprovalShares' field.
      Returns:
      The value.
    • setTotalPendingForApprovalShares

      public ShareAccountSummaryDataV1.Builder setTotalPendingForApprovalShares(Long value)
      Sets the value of the 'totalPendingForApprovalShares' field.
      Parameters:
      value - The value of 'totalPendingForApprovalShares'.
      Returns:
      This builder.
    • hasTotalPendingForApprovalShares

      public boolean hasTotalPendingForApprovalShares()
      Checks whether the 'totalPendingForApprovalShares' field has been set.
      Returns:
      True if the 'totalPendingForApprovalShares' field has been set, false otherwise.
    • clearTotalPendingForApprovalShares

      public ShareAccountSummaryDataV1.Builder clearTotalPendingForApprovalShares()
      Clears the value of the 'totalPendingForApprovalShares' field.
      Returns:
      This builder.
    • getExternalId

      public String getExternalId()
      Gets the value of the 'externalId' field.
      Returns:
      The value.
    • setExternalId

      public ShareAccountSummaryDataV1.Builder setExternalId(String value)
      Sets the value of the 'externalId' field.
      Parameters:
      value - The value of 'externalId'.
      Returns:
      This builder.
    • hasExternalId

      public boolean hasExternalId()
      Checks whether the 'externalId' field has been set.
      Returns:
      True if the 'externalId' field has been set, false otherwise.
    • clearExternalId

      public ShareAccountSummaryDataV1.Builder clearExternalId()
      Clears the value of the 'externalId' field.
      Returns:
      This builder.
    • getProductId

      public Long getProductId()
      Gets the value of the 'productId' field.
      Returns:
      The value.
    • setProductId

      public ShareAccountSummaryDataV1.Builder setProductId(Long value)
      Sets the value of the 'productId' field.
      Parameters:
      value - The value of 'productId'.
      Returns:
      This builder.
    • hasProductId

      public boolean hasProductId()
      Checks whether the 'productId' field has been set.
      Returns:
      True if the 'productId' field has been set, false otherwise.
    • clearProductId

      public ShareAccountSummaryDataV1.Builder clearProductId()
      Clears the value of the 'productId' field.
      Returns:
      This builder.
    • getProductName

      public String getProductName()
      Gets the value of the 'productName' field.
      Returns:
      The value.
    • setProductName

      public ShareAccountSummaryDataV1.Builder setProductName(String value)
      Sets the value of the 'productName' field.
      Parameters:
      value - The value of 'productName'.
      Returns:
      This builder.
    • hasProductName

      public boolean hasProductName()
      Checks whether the 'productName' field has been set.
      Returns:
      True if the 'productName' field has been set, false otherwise.
    • clearProductName

      public ShareAccountSummaryDataV1.Builder clearProductName()
      Clears the value of the 'productName' field.
      Returns:
      This builder.
    • getShortProductName

      public String getShortProductName()
      Gets the value of the 'shortProductName' field.
      Returns:
      The value.
    • setShortProductName

      public ShareAccountSummaryDataV1.Builder setShortProductName(String value)
      Sets the value of the 'shortProductName' field.
      Parameters:
      value - The value of 'shortProductName'.
      Returns:
      This builder.
    • hasShortProductName

      public boolean hasShortProductName()
      Checks whether the 'shortProductName' field has been set.
      Returns:
      True if the 'shortProductName' field has been set, false otherwise.
    • clearShortProductName

      public ShareAccountSummaryDataV1.Builder clearShortProductName()
      Clears the value of the 'shortProductName' field.
      Returns:
      This builder.
    • getStatus

      public ShareAccountStatusEnumDataV1 getStatus()
      Gets the value of the 'status' field.
      Returns:
      The value.
    • setStatus

      Sets the value of the 'status' field.
      Parameters:
      value - The value of 'status'.
      Returns:
      This builder.
    • hasStatus

      public boolean hasStatus()
      Checks whether the 'status' field has been set.
      Returns:
      True if the 'status' field has been set, false otherwise.
    • getStatusBuilder

      public ShareAccountStatusEnumDataV1.Builder getStatusBuilder()
      Gets the Builder instance for the 'status' field and creates one if it doesn't exist yet.
      Returns:
      This builder.
    • setStatusBuilder

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

      public boolean hasStatusBuilder()
      Checks whether the 'status' field has an active Builder instance
      Returns:
      True if the 'status' field has an active Builder instance
    • clearStatus

      public ShareAccountSummaryDataV1.Builder clearStatus()
      Clears the value of the 'status' 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

      public ShareAccountSummaryDataV1.Builder setCurrencyBuilder(CurrencyDataV1.Builder value)
      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 ShareAccountSummaryDataV1.Builder clearCurrency()
      Clears the value of the 'currency' field.
      Returns:
      This builder.
    • getTimeline

      Gets the value of the 'timeline' field.
      Returns:
      The value.
    • setTimeline

      Sets the value of the 'timeline' field.
      Parameters:
      value - The value of 'timeline'.
      Returns:
      This builder.
    • hasTimeline

      public boolean hasTimeline()
      Checks whether the 'timeline' field has been set.
      Returns:
      True if the 'timeline' field has been set, false otherwise.
    • getTimelineBuilder

      public ShareAccountApplicationTimelineDataV1.Builder getTimelineBuilder()
      Gets the Builder instance for the 'timeline' field and creates one if it doesn't exist yet.
      Returns:
      This builder.
    • setTimelineBuilder

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

      public boolean hasTimelineBuilder()
      Checks whether the 'timeline' field has an active Builder instance
      Returns:
      True if the 'timeline' field has an active Builder instance
    • clearTimeline

      public ShareAccountSummaryDataV1.Builder clearTimeline()
      Clears the value of the 'timeline' field.
      Returns:
      This builder.
    • build

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