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:
  • Field Details

  • Constructor Details

    • AdminActionAcatsStatusDetails

      public AdminActionAcatsStatusDetails()
  • Method Details

    • brokerName

      public AdminActionAcatsStatusDetails brokerName(@Nullable String brokerName)
    • getBrokerName

      @Nullable public String getBrokerName()
      Name of the contra broker. Omitted if not available.
      Returns:
      brokerName
    • setBrokerName

      public void setBrokerName(@Nullable String brokerName)
    • brokerNumber

      public AdminActionAcatsStatusDetails brokerNumber(@Nullable String brokerNumber)
    • getBrokerNumber

      @Nullable public String getBrokerNumber()
      DTCC participant number of the contra broker. Omitted if not available.
      Returns:
      brokerNumber
    • setBrokerNumber

      public void setBrokerNumber(@Nullable String brokerNumber)
    • dtccRejectReason

      public AdminActionAcatsStatusDetails dtccRejectReason(@Nullable String dtccRejectReason)
    • getDtccRejectReason

      @Nullable public String 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

      public void setDtccRejectReason(@Nullable String dtccRejectReason)
    • dtccStatus

      public AdminActionAcatsStatusDetails dtccStatus(@Nullable String dtccStatus)
    • getDtccStatus

      @Nullable public String 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

      public void setDtccStatus(@Nullable String dtccStatus)
    • rejectionMessage

      public AdminActionAcatsStatusDetails rejectionMessage(@Nullable String rejectionMessage)
    • getRejectionMessage

      @Nullable public String getRejectionMessage()
      Human readable message regarding the reason for the rejection. Omitted if not available.
      Returns:
      rejectionMessage
    • setRejectionMessage

      public void setRejectionMessage(@Nullable String rejectionMessage)
    • transferDirection

      public AdminActionAcatsStatusDetails transferDirection(@Nonnull AdminActionAcatsTransferDirection transferDirection)
    • getTransferDirection

      @Nonnull public AdminActionAcatsTransferDirection getTransferDirection()
      Get transferDirection
      Returns:
      transferDirection
    • setTransferDirection

      public void setTransferDirection(@Nonnull AdminActionAcatsTransferDirection transferDirection)
    • transferStatus

      public AdminActionAcatsStatusDetails transferStatus(@Nonnull String transferStatus)
    • getTransferStatus

      @Nonnull public String 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

      public void setTransferStatus(@Nonnull String transferStatus)
    • transferType

      public AdminActionAcatsStatusDetails transferType(@Nonnull AdminActionAcatsTransferType transferType)
    • getTransferType

      @Nonnull public AdminActionAcatsTransferType getTransferType()
      Get transferType
      Returns:
      transferType
    • setTransferType

      public void setTransferType(@Nonnull AdminActionAcatsTransferType transferType)
    • putAdditionalProperty

      public AdminActionAcatsStatusDetails putAdditionalProperty(String key, Object value)
      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 property
      value - value of the property
      Returns:
      the AdminActionAcatsStatusDetails instance itself
    • getAdditionalProperties

      public Map<String,Object> getAdditionalProperties()
      Return the additional (undeclared) property.
      Returns:
      a map of objects
    • getAdditionalProperty

      public Object getAdditionalProperty(String key)
      Return the additional (undeclared) property with the specified name.
      Parameters:
      key - name of the property
      Returns:
      an object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • validateJsonElement

      public static void validateJsonElement(com.google.gson.JsonElement jsonElement) throws IOException
      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

      public static AdminActionAcatsStatusDetails fromJson(String jsonString) throws IOException
      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

      public String toJson()
      Convert an instance of AdminActionAcatsStatusDetails to an JSON string
      Returns:
      JSON string