Class ReverseBatchJournalRequest
java.lang.Object
markets.alpaca.client.openapi.broker.model.ReverseBatchJournalRequest
- All Implemented Interfaces:
Serializable
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.23.0")
public class ReverseBatchJournalRequest
extends Object
implements Serializable
ReverseBatchJournalRequest
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic enumOnly supports `JNLC` for now -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddEntriesItem(ReverseBatchJournalRequestEntriesInner entriesItem) booleanstatic ReverseBatchJournalRequestCreate an instance of ReverseBatchJournalRequest given an JSON stringReturn the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Get entriesOnly supports `JNLC` for nowThe destination of funds.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidvoidvoidsetToAccount(String toAccount) toJson()Convert an instance of ReverseBatchJournalRequest to an JSON stringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_ENTRIES
- See Also:
-
SERIALIZED_NAME_ENTRY_TYPE
- See Also:
-
SERIALIZED_NAME_TO_ACCOUNT
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
ReverseBatchJournalRequest
public ReverseBatchJournalRequest()
-
-
Method Details
-
entries
public ReverseBatchJournalRequest entries(@Nullable List<ReverseBatchJournalRequestEntriesInner> entries) -
addEntriesItem
public ReverseBatchJournalRequest addEntriesItem(ReverseBatchJournalRequestEntriesInner entriesItem) -
getEntries
Get entries- Returns:
- entries
-
setEntries
-
entryType
public ReverseBatchJournalRequest entryType(@Nullable ReverseBatchJournalRequest.EntryTypeEnum entryType) -
getEntryType
Only supports `JNLC` for now- Returns:
- entryType
-
setEntryType
-
toAccount
-
getToAccount
The destination of funds. Most likely is your Sweep Firm Account- Returns:
- toAccount
-
setToAccount
-
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 ReverseBatchJournalRequest 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 ReverseBatchJournalRequest
-
fromJson
Create an instance of ReverseBatchJournalRequest given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of ReverseBatchJournalRequest
- Throws:
IOException- if the JSON string is invalid with respect to ReverseBatchJournalRequest
-
toJson
Convert an instance of ReverseBatchJournalRequest to an JSON string- Returns:
- JSON string
-