Class AccountTransferDataV1.Builder

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

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

    • getId

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

      public AccountTransferDataV1.Builder setId(Integer 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

      Clears the value of the 'id' field.
      Returns:
      This builder.
    • getReversed

      public Boolean getReversed()
      Gets the value of the 'reversed' field.
      Returns:
      The value.
    • setReversed

      public AccountTransferDataV1.Builder setReversed(Boolean value)
      Sets the value of the 'reversed' field.
      Parameters:
      value - The value of 'reversed'.
      Returns:
      This builder.
    • hasReversed

      public boolean hasReversed()
      Checks whether the 'reversed' field has been set.
      Returns:
      True if the 'reversed' field has been set, false otherwise.
    • clearReversed

      public AccountTransferDataV1.Builder clearReversed()
      Clears the value of the 'reversed' field.
      Returns:
      This builder.
    • getCurrency

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

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

      public BigDecimal getTransferAmount()
      Gets the value of the 'transferAmount' field.
      Returns:
      The value.
    • setTransferAmount

      public AccountTransferDataV1.Builder setTransferAmount(BigDecimal value)
      Sets the value of the 'transferAmount' field.
      Parameters:
      value - The value of 'transferAmount'.
      Returns:
      This builder.
    • hasTransferAmount

      public boolean hasTransferAmount()
      Checks whether the 'transferAmount' field has been set.
      Returns:
      True if the 'transferAmount' field has been set, false otherwise.
    • clearTransferAmount

      public AccountTransferDataV1.Builder clearTransferAmount()
      Clears the value of the 'transferAmount' field.
      Returns:
      This builder.
    • getTransferDate

      public String getTransferDate()
      Gets the value of the 'transferDate' field.
      Returns:
      The value.
    • setTransferDate

      public AccountTransferDataV1.Builder setTransferDate(String value)
      Sets the value of the 'transferDate' field.
      Parameters:
      value - The value of 'transferDate'.
      Returns:
      This builder.
    • hasTransferDate

      public boolean hasTransferDate()
      Checks whether the 'transferDate' field has been set.
      Returns:
      True if the 'transferDate' field has been set, false otherwise.
    • clearTransferDate

      public AccountTransferDataV1.Builder clearTransferDate()
      Clears the value of the 'transferDate' field.
      Returns:
      This builder.
    • getTransferDescription

      public String getTransferDescription()
      Gets the value of the 'transferDescription' field.
      Returns:
      The value.
    • setTransferDescription

      public AccountTransferDataV1.Builder setTransferDescription(String value)
      Sets the value of the 'transferDescription' field.
      Parameters:
      value - The value of 'transferDescription'.
      Returns:
      This builder.
    • hasTransferDescription

      public boolean hasTransferDescription()
      Checks whether the 'transferDescription' field has been set.
      Returns:
      True if the 'transferDescription' field has been set, false otherwise.
    • clearTransferDescription

      public AccountTransferDataV1.Builder clearTransferDescription()
      Clears the value of the 'transferDescription' field.
      Returns:
      This builder.
    • getFromOffice

      public OfficeDataV1 getFromOffice()
      Gets the value of the 'fromOffice' field.
      Returns:
      The value.
    • setFromOffice

      public AccountTransferDataV1.Builder setFromOffice(OfficeDataV1 value)
      Sets the value of the 'fromOffice' field.
      Parameters:
      value - The value of 'fromOffice'.
      Returns:
      This builder.
    • hasFromOffice

      public boolean hasFromOffice()
      Checks whether the 'fromOffice' field has been set.
      Returns:
      True if the 'fromOffice' field has been set, false otherwise.
    • getFromOfficeBuilder

      public OfficeDataV1.Builder getFromOfficeBuilder()
      Gets the Builder instance for the 'fromOffice' field and creates one if it doesn't exist yet.
      Returns:
      This builder.
    • setFromOfficeBuilder

      public AccountTransferDataV1.Builder setFromOfficeBuilder(OfficeDataV1.Builder value)
      Sets the Builder instance for the 'fromOffice' field
      Parameters:
      value - The builder instance that must be set.
      Returns:
      This builder.
    • hasFromOfficeBuilder

      public boolean hasFromOfficeBuilder()
      Checks whether the 'fromOffice' field has an active Builder instance
      Returns:
      True if the 'fromOffice' field has an active Builder instance
    • clearFromOffice

      public AccountTransferDataV1.Builder clearFromOffice()
      Clears the value of the 'fromOffice' field.
      Returns:
      This builder.
    • getFromClient

      public ClientDataV1 getFromClient()
      Gets the value of the 'fromClient' field.
      Returns:
      The value.
    • setFromClient

      public AccountTransferDataV1.Builder setFromClient(ClientDataV1 value)
      Sets the value of the 'fromClient' field.
      Parameters:
      value - The value of 'fromClient'.
      Returns:
      This builder.
    • hasFromClient

      public boolean hasFromClient()
      Checks whether the 'fromClient' field has been set.
      Returns:
      True if the 'fromClient' field has been set, false otherwise.
    • getFromClientBuilder

      public ClientDataV1.Builder getFromClientBuilder()
      Gets the Builder instance for the 'fromClient' field and creates one if it doesn't exist yet.
      Returns:
      This builder.
    • setFromClientBuilder

      public AccountTransferDataV1.Builder setFromClientBuilder(ClientDataV1.Builder value)
      Sets the Builder instance for the 'fromClient' field
      Parameters:
      value - The builder instance that must be set.
      Returns:
      This builder.
    • hasFromClientBuilder

      public boolean hasFromClientBuilder()
      Checks whether the 'fromClient' field has an active Builder instance
      Returns:
      True if the 'fromClient' field has an active Builder instance
    • clearFromClient

      public AccountTransferDataV1.Builder clearFromClient()
      Clears the value of the 'fromClient' field.
      Returns:
      This builder.
    • getFromAccountType

      public EnumOptionDataV1 getFromAccountType()
      Gets the value of the 'fromAccountType' field.
      Returns:
      The value.
    • setFromAccountType

      public AccountTransferDataV1.Builder setFromAccountType(EnumOptionDataV1 value)
      Sets the value of the 'fromAccountType' field.
      Parameters:
      value - The value of 'fromAccountType'.
      Returns:
      This builder.
    • hasFromAccountType

      public boolean hasFromAccountType()
      Checks whether the 'fromAccountType' field has been set.
      Returns:
      True if the 'fromAccountType' field has been set, false otherwise.
    • getFromAccountTypeBuilder

      public EnumOptionDataV1.Builder getFromAccountTypeBuilder()
      Gets the Builder instance for the 'fromAccountType' field and creates one if it doesn't exist yet.
      Returns:
      This builder.
    • setFromAccountTypeBuilder

      public AccountTransferDataV1.Builder setFromAccountTypeBuilder(EnumOptionDataV1.Builder value)
      Sets the Builder instance for the 'fromAccountType' field
      Parameters:
      value - The builder instance that must be set.
      Returns:
      This builder.
    • hasFromAccountTypeBuilder

      public boolean hasFromAccountTypeBuilder()
      Checks whether the 'fromAccountType' field has an active Builder instance
      Returns:
      True if the 'fromAccountType' field has an active Builder instance
    • clearFromAccountType

      public AccountTransferDataV1.Builder clearFromAccountType()
      Clears the value of the 'fromAccountType' field.
      Returns:
      This builder.
    • getFromAccount

      public PortfolioAccountDataV1 getFromAccount()
      Gets the value of the 'fromAccount' field.
      Returns:
      The value.
    • setFromAccount

      Sets the value of the 'fromAccount' field.
      Parameters:
      value - The value of 'fromAccount'.
      Returns:
      This builder.
    • hasFromAccount

      public boolean hasFromAccount()
      Checks whether the 'fromAccount' field has been set.
      Returns:
      True if the 'fromAccount' field has been set, false otherwise.
    • getFromAccountBuilder

      public PortfolioAccountDataV1.Builder getFromAccountBuilder()
      Gets the Builder instance for the 'fromAccount' field and creates one if it doesn't exist yet.
      Returns:
      This builder.
    • setFromAccountBuilder

      public AccountTransferDataV1.Builder setFromAccountBuilder(PortfolioAccountDataV1.Builder value)
      Sets the Builder instance for the 'fromAccount' field
      Parameters:
      value - The builder instance that must be set.
      Returns:
      This builder.
    • hasFromAccountBuilder

      public boolean hasFromAccountBuilder()
      Checks whether the 'fromAccount' field has an active Builder instance
      Returns:
      True if the 'fromAccount' field has an active Builder instance
    • clearFromAccount

      public AccountTransferDataV1.Builder clearFromAccount()
      Clears the value of the 'fromAccount' field.
      Returns:
      This builder.
    • getToOffice

      public OfficeDataV1 getToOffice()
      Gets the value of the 'toOffice' field.
      Returns:
      The value.
    • setToOffice

      public AccountTransferDataV1.Builder setToOffice(OfficeDataV1 value)
      Sets the value of the 'toOffice' field.
      Parameters:
      value - The value of 'toOffice'.
      Returns:
      This builder.
    • hasToOffice

      public boolean hasToOffice()
      Checks whether the 'toOffice' field has been set.
      Returns:
      True if the 'toOffice' field has been set, false otherwise.
    • getToOfficeBuilder

      public OfficeDataV1.Builder getToOfficeBuilder()
      Gets the Builder instance for the 'toOffice' field and creates one if it doesn't exist yet.
      Returns:
      This builder.
    • setToOfficeBuilder

      public AccountTransferDataV1.Builder setToOfficeBuilder(OfficeDataV1.Builder value)
      Sets the Builder instance for the 'toOffice' field
      Parameters:
      value - The builder instance that must be set.
      Returns:
      This builder.
    • hasToOfficeBuilder

      public boolean hasToOfficeBuilder()
      Checks whether the 'toOffice' field has an active Builder instance
      Returns:
      True if the 'toOffice' field has an active Builder instance
    • clearToOffice

      public AccountTransferDataV1.Builder clearToOffice()
      Clears the value of the 'toOffice' field.
      Returns:
      This builder.
    • getToClient

      public ClientDataV1 getToClient()
      Gets the value of the 'toClient' field.
      Returns:
      The value.
    • setToClient

      public AccountTransferDataV1.Builder setToClient(ClientDataV1 value)
      Sets the value of the 'toClient' field.
      Parameters:
      value - The value of 'toClient'.
      Returns:
      This builder.
    • hasToClient

      public boolean hasToClient()
      Checks whether the 'toClient' field has been set.
      Returns:
      True if the 'toClient' field has been set, false otherwise.
    • getToClientBuilder

      public ClientDataV1.Builder getToClientBuilder()
      Gets the Builder instance for the 'toClient' field and creates one if it doesn't exist yet.
      Returns:
      This builder.
    • setToClientBuilder

      public AccountTransferDataV1.Builder setToClientBuilder(ClientDataV1.Builder value)
      Sets the Builder instance for the 'toClient' field
      Parameters:
      value - The builder instance that must be set.
      Returns:
      This builder.
    • hasToClientBuilder

      public boolean hasToClientBuilder()
      Checks whether the 'toClient' field has an active Builder instance
      Returns:
      True if the 'toClient' field has an active Builder instance
    • clearToClient

      public AccountTransferDataV1.Builder clearToClient()
      Clears the value of the 'toClient' field.
      Returns:
      This builder.
    • getToAccountType

      public EnumOptionDataV1 getToAccountType()
      Gets the value of the 'toAccountType' field.
      Returns:
      The value.
    • setToAccountType

      public AccountTransferDataV1.Builder setToAccountType(EnumOptionDataV1 value)
      Sets the value of the 'toAccountType' field.
      Parameters:
      value - The value of 'toAccountType'.
      Returns:
      This builder.
    • hasToAccountType

      public boolean hasToAccountType()
      Checks whether the 'toAccountType' field has been set.
      Returns:
      True if the 'toAccountType' field has been set, false otherwise.
    • getToAccountTypeBuilder

      public EnumOptionDataV1.Builder getToAccountTypeBuilder()
      Gets the Builder instance for the 'toAccountType' field and creates one if it doesn't exist yet.
      Returns:
      This builder.
    • setToAccountTypeBuilder

      public AccountTransferDataV1.Builder setToAccountTypeBuilder(EnumOptionDataV1.Builder value)
      Sets the Builder instance for the 'toAccountType' field
      Parameters:
      value - The builder instance that must be set.
      Returns:
      This builder.
    • hasToAccountTypeBuilder

      public boolean hasToAccountTypeBuilder()
      Checks whether the 'toAccountType' field has an active Builder instance
      Returns:
      True if the 'toAccountType' field has an active Builder instance
    • clearToAccountType

      public AccountTransferDataV1.Builder clearToAccountType()
      Clears the value of the 'toAccountType' field.
      Returns:
      This builder.
    • getToAccount

      public PortfolioAccountDataV1 getToAccount()
      Gets the value of the 'toAccount' field.
      Returns:
      The value.
    • setToAccount

      Sets the value of the 'toAccount' field.
      Parameters:
      value - The value of 'toAccount'.
      Returns:
      This builder.
    • hasToAccount

      public boolean hasToAccount()
      Checks whether the 'toAccount' field has been set.
      Returns:
      True if the 'toAccount' field has been set, false otherwise.
    • getToAccountBuilder

      public PortfolioAccountDataV1.Builder getToAccountBuilder()
      Gets the Builder instance for the 'toAccount' field and creates one if it doesn't exist yet.
      Returns:
      This builder.
    • setToAccountBuilder

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

      public boolean hasToAccountBuilder()
      Checks whether the 'toAccount' field has an active Builder instance
      Returns:
      True if the 'toAccount' field has an active Builder instance
    • clearToAccount

      public AccountTransferDataV1.Builder clearToAccount()
      Clears the value of the 'toAccount' field.
      Returns:
      This builder.
    • build

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