Class AcatsTransfer
java.lang.Object
markets.alpaca.client.openapi.broker.model.AcatsTransfer
- All Implemented Interfaces:
Serializable
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.25.0")
public class AcatsTransfer
extends Object
implements Serializable
An ACATS transfer and its current status.
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaccountName(String accountName) accountNumber(String accountNumber) accountType(AcatsAccountType accountType) contraAccountNumber(String contraAccountNumber) contraBrokerName(String contraBrokerName) contraBrokerNumber(String contraBrokerNumber) contraBrokerType(AcatsContraBrokerType contraBrokerType) createdAt(OffsetDateTime createdAt) direction(AcatsTransferDirection direction) booleanstatic AcatsTransferCreate an instance of AcatsTransfer given an JSON stringThe ID of the ACATS transferAccount ID associated with the ACATS transferName on the Alpaca account associated with the transferAccount number at AlpacaGet accountTypeReturn the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Account number at the contra brokerName of the contra brokerDTCC account number for the contra brokerGet contraBrokerTypeTimestamp in RFC-3339 format with microsecond precisionGet directionUser's IP address (IPv4 or IPv6) at time of submissionDTCC transfer identifier for a previous, related transferGet rejectionDetailsTimestamp in RFC-3339 format with microsecond precisionGet statusTotal transfer value is the sum of the market value of all assets and securities in an ACAT at the time of settlement, plus any cash balance.DTCC transfer identifier, also known as the control numberGet transferTypeinthashCode()originalTransferIdentifier(String originalTransferIdentifier) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.rejectionDetails(AcatsRejectionDetails rejectionDetails) voidsetAcatsId(UUID acatsId) voidsetAccountId(UUID accountId) voidsetAccountName(String accountName) voidsetAccountNumber(String accountNumber) voidsetAccountType(AcatsAccountType accountType) voidsetContraAccountNumber(String contraAccountNumber) voidsetContraBrokerName(String contraBrokerName) voidsetContraBrokerNumber(String contraBrokerNumber) voidsetContraBrokerType(AcatsContraBrokerType contraBrokerType) voidsetCreatedAt(OffsetDateTime createdAt) voidsetDirection(AcatsTransferDirection direction) voidsetIpAddress(String ipAddress) voidsetOriginalTransferIdentifier(String originalTransferIdentifier) voidsetRejectionDetails(AcatsRejectionDetails rejectionDetails) voidsetSettlementDate(OffsetDateTime settlementDate) voidsetStatus(AcatsStatusDetails status) settlementDate(OffsetDateTime settlementDate) voidsetTotalTransferValue(BigDecimal totalTransferValue) voidsetTransferIdentifier(String transferIdentifier) voidsetTransferType(AcatsDtccTransferType transferType) status(AcatsStatusDetails status) toJson()Convert an instance of AcatsTransfer to an JSON stringtoString()totalTransferValue(BigDecimal totalTransferValue) transferIdentifier(String transferIdentifier) transferType(AcatsDtccTransferType transferType) static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_ACATS_ID
- See Also:
-
SERIALIZED_NAME_ACCOUNT_ID
- See Also:
-
SERIALIZED_NAME_ACCOUNT_NAME
- See Also:
-
SERIALIZED_NAME_ACCOUNT_NUMBER
- See Also:
-
SERIALIZED_NAME_ACCOUNT_TYPE
- See Also:
-
SERIALIZED_NAME_CONTRA_ACCOUNT_NUMBER
- See Also:
-
SERIALIZED_NAME_CONTRA_BROKER_NAME
- See Also:
-
SERIALIZED_NAME_CONTRA_BROKER_NUMBER
- See Also:
-
SERIALIZED_NAME_CONTRA_BROKER_TYPE
- See Also:
-
SERIALIZED_NAME_CREATED_AT
- See Also:
-
SERIALIZED_NAME_DIRECTION
- See Also:
-
SERIALIZED_NAME_IP_ADDRESS
- See Also:
-
SERIALIZED_NAME_ORIGINAL_TRANSFER_IDENTIFIER
- See Also:
-
SERIALIZED_NAME_REJECTION_DETAILS
- See Also:
-
SERIALIZED_NAME_SETTLEMENT_DATE
- See Also:
-
SERIALIZED_NAME_STATUS
- See Also:
-
SERIALIZED_NAME_TOTAL_TRANSFER_VALUE
- See Also:
-
SERIALIZED_NAME_TRANSFER_IDENTIFIER
- See Also:
-
SERIALIZED_NAME_TRANSFER_TYPE
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
AcatsTransfer
public AcatsTransfer()
-
-
Method Details
-
acatsId
-
getAcatsId
The ID of the ACATS transfer- Returns:
- acatsId
-
setAcatsId
-
accountId
-
getAccountId
Account ID associated with the ACATS transfer- Returns:
- accountId
-
setAccountId
-
accountName
-
getAccountName
Name on the Alpaca account associated with the transfer- Returns:
- accountName
-
setAccountName
-
accountNumber
-
getAccountNumber
Account number at Alpaca- Returns:
- accountNumber
-
setAccountNumber
-
accountType
-
getAccountType
Get accountType- Returns:
- accountType
-
setAccountType
-
contraAccountNumber
-
getContraAccountNumber
Account number at the contra broker- Returns:
- contraAccountNumber
-
setContraAccountNumber
-
contraBrokerName
-
getContraBrokerName
Name of the contra broker- Returns:
- contraBrokerName
-
setContraBrokerName
-
contraBrokerNumber
-
getContraBrokerNumber
DTCC account number for the contra broker- Returns:
- contraBrokerNumber
-
setContraBrokerNumber
-
contraBrokerType
-
getContraBrokerType
Get contraBrokerType- Returns:
- contraBrokerType
-
setContraBrokerType
-
createdAt
-
getCreatedAt
Timestamp in RFC-3339 format with microsecond precision- Returns:
- createdAt
-
setCreatedAt
-
direction
-
getDirection
Get direction- Returns:
- direction
-
setDirection
-
ipAddress
-
getIpAddress
User's IP address (IPv4 or IPv6) at time of submission- Returns:
- ipAddress
-
setIpAddress
-
originalTransferIdentifier
-
getOriginalTransferIdentifier
DTCC transfer identifier for a previous, related transfer- Returns:
- originalTransferIdentifier
-
setOriginalTransferIdentifier
-
rejectionDetails
-
getRejectionDetails
Get rejectionDetails- Returns:
- rejectionDetails
-
setRejectionDetails
-
settlementDate
-
getSettlementDate
Timestamp in RFC-3339 format with microsecond precision- Returns:
- settlementDate
-
setSettlementDate
-
status
-
getStatus
Get status- Returns:
- status
-
setStatus
-
totalTransferValue
-
getTotalTransferValue
Total transfer value is the sum of the market value of all assets and securities in an ACAT at the time of settlement, plus any cash balance.- Returns:
- totalTransferValue
-
setTotalTransferValue
-
transferIdentifier
-
getTransferIdentifier
DTCC transfer identifier, also known as the control number- Returns:
- transferIdentifier
-
setTransferIdentifier
-
transferType
-
getTransferType
Get transferType- Returns:
- transferType
-
setTransferType
-
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 AcatsTransfer 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 AcatsTransfer
-
fromJson
Create an instance of AcatsTransfer given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of AcatsTransfer
- Throws:
IOException- if the JSON string is invalid with respect to AcatsTransfer
-
toJson
Convert an instance of AcatsTransfer to an JSON string- Returns:
- JSON string
-