Class StatusFundingEvent
java.lang.Object
markets.alpaca.client.openapi.broker.model.StatusFundingEvent
- All Implemented Interfaces:
Serializable
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.23.0")
public class StatusFundingEvent
extends Object
implements Serializable
Represents a change in a Funding entity's status, sent over the events streaming api. Currently, the suppported entities are: bank relationships, bank wires, transfers and funding wallets.
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncorrespondent(String correspondent) entityType(UUID entityType) booleanstatic StatusFundingEventCreate an instance of StatusFundingEvent given an JSON stringAccount UUIDReturn the additional (undeclared) property.Return the additional (undeclared) property with the specified name.getAt()Timestamp of when the transfer status changedCorrespondent's codeEntity's UUIDValid values are BankRelationship, WireBank, Transfer and FundingWallet.lexically sortable, monotonically increasing character arrayUsed when an a bank relationship is rejected, a wire bank is canceled, etc.Valid values are based on entity type: - BankRelationship: - QUEUED - CANCEL_REQUESTED - CANCEL_SENT - CANCEL_FAILED - PENDING - SENT_TO_CLEARING - APPROVED - CANCELED - REJECTED - WireBank: - QUEUED - SENT_TO_CLEARING - APPROVED - CANCELED - REJECTED - Transfer: - QUEUED - APPROVAL_PENDING - CANCELED - EXPIRED - APPROVED - REJECTED - SENT_TO_CLEARING - COMPLETE - RETURNED - FundingWallet: - active - pendingValid values are based on entity type: - BankRelationship: - QUEUED - CANCEL_REQUESTED - CANCEL_SENT - CANCEL_FAILED - PENDING - SENT_TO_CLEARING - APPROVED - CANCELED - REJECTED - WireBank: - QUEUED - SENT_TO_CLEARING - APPROVED - CANCELED - REJECTED - Transfer: - QUEUED - APPROVAL_PENDING - CANCELED - EXPIRED - APPROVED - REJECTED - SENT_TO_CLEARING - COMPLETE - RETURNED - FundingWallet: - active - pendinginthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetAccountId(UUID accountId) voidvoidsetCorrespondent(String correspondent) voidsetEntityId(UUID entityId) voidsetEntityType(UUID entityType) voidsetEventId(String eventId) voidvoidsetStatusFrom(String statusFrom) voidsetStatusTo(String statusTo) statusFrom(String statusFrom) toJson()Convert an instance of StatusFundingEvent 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_ACCOUNT_ID
- See Also:
-
SERIALIZED_NAME_AT
- See Also:
-
SERIALIZED_NAME_CORRESPONDENT
- See Also:
-
SERIALIZED_NAME_ENTITY_ID
- See Also:
-
SERIALIZED_NAME_ENTITY_TYPE
- See Also:
-
SERIALIZED_NAME_EVENT_ID
- See Also:
-
SERIALIZED_NAME_REASON
- See Also:
-
SERIALIZED_NAME_STATUS_FROM
- See Also:
-
SERIALIZED_NAME_STATUS_TO
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
StatusFundingEvent
public StatusFundingEvent()
-
-
Method Details
-
accountId
-
getAccountId
Account UUID- Returns:
- accountId
-
setAccountId
-
at
-
getAt
Timestamp of when the transfer status changed- Returns:
- at
-
setAt
-
correspondent
-
getCorrespondent
Correspondent's code- Returns:
- correspondent
-
setCorrespondent
-
entityId
-
getEntityId
Entity's UUID- Returns:
- entityId
-
setEntityId
-
entityType
-
getEntityType
Valid values are BankRelationship, WireBank, Transfer and FundingWallet.- Returns:
- entityType
-
setEntityType
-
eventId
-
getEventId
lexically sortable, monotonically increasing character array- Returns:
- eventId
-
setEventId
-
reason
-
getReason
Used when an a bank relationship is rejected, a wire bank is canceled, etc.- Returns:
- reason
-
setReason
-
statusFrom
-
getStatusFrom
Valid values are based on entity type: - BankRelationship: - QUEUED - CANCEL_REQUESTED - CANCEL_SENT - CANCEL_FAILED - PENDING - SENT_TO_CLEARING - APPROVED - CANCELED - REJECTED - WireBank: - QUEUED - SENT_TO_CLEARING - APPROVED - CANCELED - REJECTED - Transfer: - QUEUED - APPROVAL_PENDING - CANCELED - EXPIRED - APPROVED - REJECTED - SENT_TO_CLEARING - COMPLETE - RETURNED - FundingWallet: - active - pending- Returns:
- statusFrom
-
setStatusFrom
-
statusTo
-
getStatusTo
Valid values are based on entity type: - BankRelationship: - QUEUED - CANCEL_REQUESTED - CANCEL_SENT - CANCEL_FAILED - PENDING - SENT_TO_CLEARING - APPROVED - CANCELED - REJECTED - WireBank: - QUEUED - SENT_TO_CLEARING - APPROVED - CANCELED - REJECTED - Transfer: - QUEUED - APPROVAL_PENDING - CANCELED - EXPIRED - APPROVED - REJECTED - SENT_TO_CLEARING - COMPLETE - RETURNED - FundingWallet: - active - pending- Returns:
- statusTo
-
setStatusTo
-
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 StatusFundingEvent 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 StatusFundingEvent
-
fromJson
Create an instance of StatusFundingEvent given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of StatusFundingEvent
- Throws:
IOException- if the JSON string is invalid with respect to StatusFundingEvent
-
toJson
Convert an instance of StatusFundingEvent to an JSON string- Returns:
- JSON string
-