Class BatchJournalRequestEntriesInner

java.lang.Object
markets.alpaca.client.openapi.broker.model.BatchJournalRequestEntriesInner
All Implemented Interfaces:
Serializable

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.23.0") public class BatchJournalRequestEntriesInner extends Object implements Serializable
BatchJournalRequestEntriesInner
See Also:
  • Field Details

  • Constructor Details

    • BatchJournalRequestEntriesInner

      public BatchJournalRequestEntriesInner()
  • Method Details

    • amount

      public BatchJournalRequestEntriesInner amount(@Nonnull String amount)
    • getAmount

      @Nonnull public String getAmount()
      Journal amount in USD
      Returns:
      amount
    • setAmount

      public void setAmount(@Nonnull String amount)
    • currency

      public BatchJournalRequestEntriesInner currency(@Nullable String currency)
    • getCurrency

      @Nullable public String getCurrency()
      Currency
      Returns:
      currency
    • setCurrency

      public void setCurrency(@Nullable String currency)
    • description

      public BatchJournalRequestEntriesInner description(@Nullable String description)
    • getDescription

      @Nullable public String getDescription()
      Journal entry description, gets returned in the response
      Returns:
      description
    • setDescription

      public void setDescription(@Nullable String description)
    • toAccount

      public BatchJournalRequestEntriesInner toAccount(@Nonnull UUID toAccount)
    • getToAccount

      @Nonnull public UUID getToAccount()
      The ID of the account that you want to journal funds into
      Returns:
      toAccount
    • setToAccount

      public void setToAccount(@Nonnull UUID toAccount)
    • transmitterAccountNumber

      public BatchJournalRequestEntriesInner transmitterAccountNumber(@Nullable String transmitterAccountNumber)
    • getTransmitterAccountNumber

      @Nullable public String getTransmitterAccountNumber()
      Only valid for JNLC journals. Null for JNLS.max 255 characters
      Returns:
      transmitterAccountNumber
    • setTransmitterAccountNumber

      public void setTransmitterAccountNumber(@Nullable String transmitterAccountNumber)
    • transmitterAddress

      public BatchJournalRequestEntriesInner transmitterAddress(@Nullable String transmitterAddress)
    • getTransmitterAddress

      @Nullable public String getTransmitterAddress()
      Only valid for JNLC journals. Null for JNLS.max 255 characters
      Returns:
      transmitterAddress
    • setTransmitterAddress

      public void setTransmitterAddress(@Nullable String transmitterAddress)
    • transmitterFinancialInstitution

      public BatchJournalRequestEntriesInner transmitterFinancialInstitution(@Nullable String transmitterFinancialInstitution)
    • getTransmitterFinancialInstitution

      @Nullable public String getTransmitterFinancialInstitution()
      Only valid for JNLC journals. Null for JNLS.max 255 characters
      Returns:
      transmitterFinancialInstitution
    • setTransmitterFinancialInstitution

      public void setTransmitterFinancialInstitution(@Nullable String transmitterFinancialInstitution)
    • transmitterName

      public BatchJournalRequestEntriesInner transmitterName(@Nullable String transmitterName)
    • getTransmitterName

      @Nullable public String getTransmitterName()
      Only valid for JNLC journals. Null for JNLS. Max 255 characters.
      Returns:
      transmitterName
    • setTransmitterName

      public void setTransmitterName(@Nullable String transmitterName)
    • transmitterTimestamp

      public BatchJournalRequestEntriesInner transmitterTimestamp(@Nullable OffsetDateTime transmitterTimestamp)
    • getTransmitterTimestamp

      @Nullable public OffsetDateTime getTransmitterTimestamp()
      Get transmitterTimestamp
      Returns:
      transmitterTimestamp
    • setTransmitterTimestamp

      public void setTransmitterTimestamp(@Nullable OffsetDateTime transmitterTimestamp)
    • putAdditionalProperty

      public BatchJournalRequestEntriesInner putAdditionalProperty(String key, Object value)
      Set the additional (undeclared) property with the specified name and value. If the property does not already exist, create it otherwise replace it.
      Parameters:
      key - name of the property
      value - value of the property
      Returns:
      the BatchJournalRequestEntriesInner instance itself
    • getAdditionalProperties

      public Map<String,Object> getAdditionalProperties()
      Return the additional (undeclared) property.
      Returns:
      a map of objects
    • getAdditionalProperty

      public Object getAdditionalProperty(String key)
      Return the additional (undeclared) property with the specified name.
      Parameters:
      key - name of the property
      Returns:
      an object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • validateJsonElement

      public static void validateJsonElement(com.google.gson.JsonElement jsonElement) throws IOException
      Validates the JSON Element and throws an exception if issues found
      Parameters:
      jsonElement - JSON Element
      Throws:
      IOException - if the JSON Element is invalid with respect to BatchJournalRequestEntriesInner
    • fromJson

      public static BatchJournalRequestEntriesInner fromJson(String jsonString) throws IOException
      Create an instance of BatchJournalRequestEntriesInner given an JSON string
      Parameters:
      jsonString - JSON string
      Returns:
      An instance of BatchJournalRequestEntriesInner
      Throws:
      IOException - if the JSON string is invalid with respect to BatchJournalRequestEntriesInner
    • toJson

      public String toJson()
      Convert an instance of BatchJournalRequestEntriesInner to an JSON string
      Returns:
      JSON string