Class GetV1TransfersJitLedgerIdBalances200Response

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

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

  • Constructor Details

    • GetV1TransfersJitLedgerIdBalances200Response

      public GetV1TransfersJitLedgerIdBalances200Response()
  • Method Details

    • activityAmount

      public GetV1TransfersJitLedgerIdBalances200Response activityAmount(@Nullable BigDecimal activityAmount)
    • getActivityAmount

      @Nullable public BigDecimal getActivityAmount()
      The number of transactions related to the ledger during the specified date range
      Returns:
      activityAmount
    • setActivityAmount

      public void setActivityAmount(@Nullable BigDecimal activityAmount)
    • endingBalance

      public GetV1TransfersJitLedgerIdBalances200Response endingBalance(@Nullable BigDecimal endingBalance)
    • getEndingBalance

      @Nullable public BigDecimal getEndingBalance()
      Ledger balance at the end of the date range
      Returns:
      endingBalance
    • setEndingBalance

      public void setEndingBalance(@Nullable BigDecimal endingBalance)
    • id

    • getId

      @Nullable public String getId()
      The ledger ID
      Returns:
      id
    • setId

      public void setId(@Nullable String id)
    • ledgerName

      public GetV1TransfersJitLedgerIdBalances200Response ledgerName(@Nullable String ledgerName)
    • getLedgerName

      @Nullable public String getLedgerName()
      The ledger name
      Returns:
      ledgerName
    • setLedgerName

      public void setLedgerName(@Nullable String ledgerName)
    • ledgerNo

      public GetV1TransfersJitLedgerIdBalances200Response ledgerNo(@Nullable String ledgerNo)
    • getLedgerNo

      @Nullable public String getLedgerNo()
      The ledger account number
      Returns:
      ledgerNo
    • setLedgerNo

      public void setLedgerNo(@Nullable String ledgerNo)
    • startingBalance

      public GetV1TransfersJitLedgerIdBalances200Response startingBalance(@Nullable BigDecimal startingBalance)
    • getStartingBalance

      @Nullable public BigDecimal getStartingBalance()
      Ledger balance at the beginning of the date range
      Returns:
      startingBalance
    • setStartingBalance

      public void setStartingBalance(@Nullable BigDecimal startingBalance)
    • transactions

      public GetV1TransfersJitLedgerIdBalances200Response transactions(@Nullable List<Transaction> transactions)
    • addTransactionsItem

      public GetV1TransfersJitLedgerIdBalances200Response addTransactionsItem(Transaction transactionsItem)
    • getTransactions

      @Nullable public List<Transaction> getTransactions()
      Get transactions
      Returns:
      transactions
    • setTransactions

      public void setTransactions(@Nullable List<Transaction> transactions)
    • putAdditionalProperty

      public GetV1TransfersJitLedgerIdBalances200Response 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 GetV1TransfersJitLedgerIdBalances200Response 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 GetV1TransfersJitLedgerIdBalances200Response
    • fromJson

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

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