Class JNLC
java.lang.Object
markets.alpaca.client.openapi.broker.model.JNLC
- All Implemented Interfaces:
Serializable
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.23.0")
public class JNLC
extends Object
implements Serializable
Journal information specific to cash transfers. This field is required for `Journal`s with an `entry_type` of `jnlc` (cash transfers), but will be null for those with `jnls` (securities transfers).
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondescription(String description) booleanstatic JNLCCreate an instance of JNLC given an JSON stringReturn the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Currency denomination of the journal.ID the amount goes to.JNLCOnly valid for JNLC journals.Only valid for JNLC journals.Only valid for JNLC journals.Only valid for JNLC journals.Only valid for JNLC journals.Only valid for JNLC journals.inthashCode()netAmount(BigDecimal netAmount) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetCurrency(String currency) voidsetDescription(String description) voidsetEntryType(String entryType) voidsetNetAmount(BigDecimal netAmount) voidsetTransmitterAccountNumber(String transmitterAccountNumber) voidsetTransmitterAddress(String transmitterAddress) voidsetTransmitterFinancialInstitution(String transmitterFinancialInstitution) voidsetTransmitterName(String transmitterName) voidsetTransmitterTimestamp(OffsetDateTime transmitterTimestamp) toJson()Convert an instance of JNLC 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_CURRENCY
- See Also:
-
SERIALIZED_NAME_DESCRIPTION
- See Also:
-
SERIALIZED_NAME_ENTRY_TYPE
- See Also:
-
SERIALIZED_NAME_NET_AMOUNT
- 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
-
JNLC
public JNLC()
-
-
Method Details
-
currency
-
getCurrency
Currency denomination of the journal. USD by default.- Returns:
- currency
-
setCurrency
-
description
-
getDescription
ID the amount goes to. Only valid for JNLC journals. Null for JNLS.- Returns:
- description
-
setDescription
-
entryType
-
getEntryType
JNLC- Returns:
- entryType
-
setEntryType
-
netAmount
-
getNetAmount
Only valid for JNLC journals. Null for JNLS.- Returns:
- netAmount
-
setNetAmount
-
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
-
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
-
getTransmitterTimestamp
Only valid for JNLC journals. Null for JNLS.- 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 JNLC 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 JNLC
-
fromJson
Create an instance of JNLC given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of JNLC
- Throws:
IOException- if the JSON string is invalid with respect to JNLC
-
toJson
Convert an instance of JNLC to an JSON string- Returns:
- JSON string
-