Class AdminActionAcatsStatusDetails
java.lang.Object
markets.alpaca.client.openapi.broker.model.AdminActionAcatsStatusDetails
- All Implemented Interfaces:
Serializable
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.28.0")
public class AdminActionAcatsStatusDetails
extends Object
implements Serializable
Status details of the ACATS transfer at the time of the event.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbrokerName(String brokerName) brokerNumber(String brokerNumber) dtccRejectReason(String dtccRejectReason) dtccStatus(String dtccStatus) booleanCreate an instance of AdminActionAcatsStatusDetails given an JSON stringReturn the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Name of the contra broker.DTCC participant number of the contra broker.Rejection reason, as returned by DTCC.Transfer status as tracked by DTCC.Human readable message regarding the reason for the rejection.Get transferDirectionTransfer status as tracked by Alpaca.Get transferTypeinthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.rejectionMessage(String rejectionMessage) voidsetBrokerName(String brokerName) voidsetBrokerNumber(String brokerNumber) voidsetDtccRejectReason(String dtccRejectReason) voidsetDtccStatus(String dtccStatus) voidsetRejectionMessage(String rejectionMessage) voidsetTransferDirection(AdminActionAcatsTransferDirection transferDirection) voidsetTransferStatus(String transferStatus) voidsetTransferType(AdminActionAcatsTransferType transferType) toJson()Convert an instance of AdminActionAcatsStatusDetails to an JSON stringtoString()transferDirection(AdminActionAcatsTransferDirection transferDirection) transferStatus(String transferStatus) transferType(AdminActionAcatsTransferType transferType) static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_BROKER_NAME
- See Also:
-
SERIALIZED_NAME_BROKER_NUMBER
- See Also:
-
SERIALIZED_NAME_DTCC_REJECT_REASON
- See Also:
-
SERIALIZED_NAME_DTCC_STATUS
- See Also:
-
SERIALIZED_NAME_REJECTION_MESSAGE
- See Also:
-
SERIALIZED_NAME_TRANSFER_DIRECTION
- See Also:
-
SERIALIZED_NAME_TRANSFER_STATUS
- See Also:
-
SERIALIZED_NAME_TRANSFER_TYPE
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
AdminActionAcatsStatusDetails
public AdminActionAcatsStatusDetails()
-
-
Method Details
-
brokerName
-
getBrokerName
Name of the contra broker. Omitted if not available.- Returns:
- brokerName
-
setBrokerName
-
brokerNumber
-
getBrokerNumber
DTCC participant number of the contra broker. Omitted if not available.- Returns:
- brokerNumber
-
setBrokerNumber
-
dtccRejectReason
-
getDtccRejectReason
Rejection reason, as returned by DTCC. Omitted if the transfer has not been rejected by DTCC. Uses the same values as `rejection_details.rejection_reason` on the ACATS transfer; DTCC system rejections may carry additional DTCC system reject reason codes, so treat unknown values as a generic rejection. May already be present on an `IN_PROGRESS` event, before the transfer is marked `REJECTED`.- Returns:
- dtccRejectReason
-
setDtccRejectReason
-
dtccStatus
-
getDtccStatus
Transfer status as tracked by DTCC. Omitted until DTCC reports a status for the transfer. Usually one of the values of `status.dtcc_status` on the ACATS transfer; other values may appear, for example in sandbox, so treat unknown values as an intermediate status.- Returns:
- dtccStatus
-
setDtccStatus
-
rejectionMessage
-
getRejectionMessage
Human readable message regarding the reason for the rejection. Omitted if not available.- Returns:
- rejectionMessage
-
setRejectionMessage
-
transferDirection
public AdminActionAcatsStatusDetails transferDirection(@Nonnull AdminActionAcatsTransferDirection transferDirection) -
getTransferDirection
Get transferDirection- Returns:
- transferDirection
-
setTransferDirection
-
transferStatus
-
getTransferStatus
Transfer status as tracked by Alpaca. Usually one of `PENDING`, `IN_PROGRESS`, `REJECTED` or `SETTLED`, matching `status.transfer_status` on the ACATS transfer. Other values may appear in some cases, so treat unknown values as still in progress and use the ACATS endpoints for the current state.- Returns:
- transferStatus
-
setTransferStatus
-
transferType
public AdminActionAcatsStatusDetails transferType(@Nonnull AdminActionAcatsTransferType 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 AdminActionAcatsStatusDetails 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 AdminActionAcatsStatusDetails
-
fromJson
Create an instance of AdminActionAcatsStatusDetails given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of AdminActionAcatsStatusDetails
- Throws:
IOException- if the JSON string is invalid with respect to AdminActionAcatsStatusDetails
-
toJson
Convert an instance of AdminActionAcatsStatusDetails to an JSON string- Returns:
- JSON string
-