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:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondescription(String description) booleanCreate an instance of BatchJournalRequestEntriesInner given an JSON stringReturn the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Journal amount in USDCurrencyJournal entry description, gets returned in the responseThe ID of the account that you want to journal funds intoOnly valid for JNLC journals.Only valid for JNLC journals.Only valid for JNLC journals.Only valid for JNLC journals.Get transmitterTimestampinthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidvoidsetCurrency(String currency) voidsetDescription(String description) voidsetToAccount(UUID toAccount) voidsetTransmitterAccountNumber(String transmitterAccountNumber) voidsetTransmitterAddress(String transmitterAddress) voidsetTransmitterFinancialInstitution(String transmitterFinancialInstitution) voidsetTransmitterName(String transmitterName) voidsetTransmitterTimestamp(OffsetDateTime transmitterTimestamp) toJson()Convert an instance of BatchJournalRequestEntriesInner to an JSON stringtoString()transmitterAccountNumber(String transmitterAccountNumber) transmitterAddress(String transmitterAddress) transmitterFinancialInstitution(String transmitterFinancialInstitution) transmitterName(String transmitterName) transmitterTimestamp(OffsetDateTime transmitterTimestamp) static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_AMOUNT
- See Also:
-
SERIALIZED_NAME_CURRENCY
- See Also:
-
SERIALIZED_NAME_DESCRIPTION
- See Also:
-
SERIALIZED_NAME_TO_ACCOUNT
- See Also:
-
SERIALIZED_NAME_TRANSMITTER_ACCOUNT_NUMBER
- See Also:
-
SERIALIZED_NAME_TRANSMITTER_ADDRESS
- See Also:
-
SERIALIZED_NAME_TRANSMITTER_FINANCIAL_INSTITUTION
- See Also:
-
SERIALIZED_NAME_TRANSMITTER_NAME
- See Also:
-
SERIALIZED_NAME_TRANSMITTER_TIMESTAMP
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
BatchJournalRequestEntriesInner
public BatchJournalRequestEntriesInner()
-
-
Method Details
-
amount
-
getAmount
Journal amount in USD- Returns:
- amount
-
setAmount
-
currency
-
getCurrency
Currency- Returns:
- currency
-
setCurrency
-
description
-
getDescription
Journal entry description, gets returned in the response- Returns:
- description
-
setDescription
-
toAccount
-
getToAccount
The ID of the account that you want to journal funds into- Returns:
- toAccount
-
setToAccount
-
transmitterAccountNumber
public BatchJournalRequestEntriesInner transmitterAccountNumber(@Nullable String transmitterAccountNumber) -
getTransmitterAccountNumber
Only valid for JNLC journals. Null for JNLS.max 255 characters- Returns:
- transmitterAccountNumber
-
setTransmitterAccountNumber
-
transmitterAddress
-
getTransmitterAddress
Only valid for JNLC journals. Null for JNLS.max 255 characters- Returns:
- transmitterAddress
-
setTransmitterAddress
-
transmitterFinancialInstitution
public BatchJournalRequestEntriesInner transmitterFinancialInstitution(@Nullable String transmitterFinancialInstitution) -
getTransmitterFinancialInstitution
Only valid for JNLC journals. Null for JNLS.max 255 characters- Returns:
- transmitterFinancialInstitution
-
setTransmitterFinancialInstitution
-
transmitterName
-
getTransmitterName
Only valid for JNLC journals. Null for JNLS. Max 255 characters.- Returns:
- transmitterName
-
setTransmitterName
-
transmitterTimestamp
public BatchJournalRequestEntriesInner transmitterTimestamp(@Nullable OffsetDateTime transmitterTimestamp) -
getTransmitterTimestamp
Get transmitterTimestamp- Returns:
- transmitterTimestamp
-
setTransmitterTimestamp
-
putAdditionalProperty
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 propertyvalue- value of the property- Returns:
- the BatchJournalRequestEntriesInner instance itself
-
getAdditionalProperties
Return the additional (undeclared) property.- Returns:
- a map of objects
-
getAdditionalProperty
Return the additional (undeclared) property with the specified name.- 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 BatchJournalRequestEntriesInner
-
fromJson
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
Convert an instance of BatchJournalRequestEntriesInner to an JSON string- Returns:
- JSON string
-