Class BatchJournalResponse
java.lang.Object
markets.alpaca.client.openapi.broker.model.Journal
markets.alpaca.client.openapi.broker.model.BatchJournalResponse
- All Implemented Interfaces:
Serializable
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.23.0")
public class BatchJournalResponse
extends Journal
implements Serializable
A Journal object with an extra attribute error_message in the case when a specific account fails to receive a journal.
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsFields inherited from class markets.alpaca.client.openapi.broker.model.Journal
entryType, SERIALIZED_NAME_CREATED_AT, SERIALIZED_NAME_CURRENCY, SERIALIZED_NAME_DESCRIPTION, SERIALIZED_NAME_ENTRY_TYPE, SERIALIZED_NAME_FROM_ACCOUNT, SERIALIZED_NAME_ID, SERIALIZED_NAME_NET_AMOUNT, SERIALIZED_NAME_PRICE, SERIALIZED_NAME_QTY, SERIALIZED_NAME_SETTLE_DATE, SERIALIZED_NAME_STATUS, SERIALIZED_NAME_SYMBOL, SERIALIZED_NAME_SYSTEM_DATE, SERIALIZED_NAME_TO_ACCOUNT, SERIALIZED_NAME_TRANSMITTER_ACCOUNT_NUMBER, SERIALIZED_NAME_TRANSMITTER_ADDRESS, SERIALIZED_NAME_TRANSMITTER_FINANCIAL_INSTITUTION, SERIALIZED_NAME_TRANSMITTER_INFO, SERIALIZED_NAME_TRANSMITTER_NAME, SERIALIZED_NAME_TRANSMITTER_TIMESTAMP -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanerrorMessage(String errorMessage) static BatchJournalResponseCreate an instance of BatchJournalResponse given an JSON stringReturn the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Description of why this journal transaction failedinthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetErrorMessage(String errorMessage) toJson()Convert an instance of BatchJournalResponse to an JSON stringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues foundMethods inherited from class markets.alpaca.client.openapi.broker.model.Journal
createdAt, currency, description, entryType, fromAccount, getCreatedAt, getCurrency, getDescription, getEntryType, getFromAccount, getId, getNetAmount, getPrice, getQty, getSettleDate, getStatus, getSymbol, getSystemDate, getToAccount, getTransmitterAccountNumber, getTransmitterAddress, getTransmitterFinancialInstitution, getTransmitterInfo, getTransmitterName, getTransmitterTimestamp, id, netAmount, price, qty, setCreatedAt, setCurrency, setDescription, setEntryType, setFromAccount, setId, setNetAmount, setPrice, setQty, setSettleDate, setStatus, setSymbol, setSystemDate, settleDate, setToAccount, setTransmitterAccountNumber, setTransmitterAddress, setTransmitterFinancialInstitution, setTransmitterInfo, setTransmitterName, setTransmitterTimestamp, status, symbol, systemDate, toAccount, transmitterAccountNumber, transmitterAddress, transmitterFinancialInstitution, transmitterInfo, transmitterName, transmitterTimestamp
-
Field Details
-
SERIALIZED_NAME_ERROR_MESSAGE
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
BatchJournalResponse
public BatchJournalResponse()
-
-
Method Details
-
errorMessage
-
getErrorMessage
Description of why this journal transaction failed- Returns:
- errorMessage
-
setErrorMessage
-
putAdditionalProperty
Set the additional (undeclared) property with the specified name and value. If the property does not already exist, create it otherwise replace it.- Overrides:
putAdditionalPropertyin classJournal- Parameters:
key- name of the propertyvalue- value of the property- Returns:
- the BatchJournalResponse instance itself
-
getAdditionalProperties
Return the additional (undeclared) property.- Overrides:
getAdditionalPropertiesin classJournal- Returns:
- a map of objects
-
getAdditionalProperty
Return the additional (undeclared) property with the specified name.- Overrides:
getAdditionalPropertyin classJournal- Parameters:
key- name of the property- Returns:
- an object
-
equals
-
hashCode
public int hashCode() -
toString
-
validateJsonElement
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 BatchJournalResponse
-
fromJson
Create an instance of BatchJournalResponse given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of BatchJournalResponse
- Throws:
IOException- if the JSON string is invalid with respect to BatchJournalResponse
-
toJson
Convert an instance of BatchJournalResponse to an JSON string
-