Class AcatsInitiateTransferRequest
java.lang.Object
markets.alpaca.client.openapi.broker.model.AcatsInitiateTransferRequest
- All Implemented Interfaces:
Serializable
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.25.0")
public class AcatsInitiateTransferRequest
extends Object
implements Serializable
Request body for initiating an incoming ACATS transfer.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncontraAccountDetails(AcatsContraAccountDetails contraAccountDetails) booleanstatic AcatsInitiateTransferRequestCreate an instance of AcatsInitiateTransferRequest given an JSON stringReturn the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Get contraAccountDetailsIP address from which the account holder initiated the transfer (IPv4 or IPv6)Timestamp at which the account holder signed/authorized the transfer.Get transferDetailsWhether to validate the contra account number against the contra broker's configured format rules.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetContraAccountDetails(AcatsContraAccountDetails contraAccountDetails) voidsetIpAddress(String ipAddress) voidsetSignedAt(OffsetDateTime signedAt) voidsetTransferDetails(AcatsInitiateTransferDetails transferDetails) voidsetValidateAccountNumber(Boolean validateAccountNumber) signedAt(OffsetDateTime signedAt) toJson()Convert an instance of AcatsInitiateTransferRequest to an JSON stringtoString()transferDetails(AcatsInitiateTransferDetails transferDetails) validateAccountNumber(Boolean validateAccountNumber) static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_CONTRA_ACCOUNT_DETAILS
- See Also:
-
SERIALIZED_NAME_IP_ADDRESS
- See Also:
-
SERIALIZED_NAME_SIGNED_AT
- See Also:
-
SERIALIZED_NAME_TRANSFER_DETAILS
- See Also:
-
SERIALIZED_NAME_VALIDATE_ACCOUNT_NUMBER
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
AcatsInitiateTransferRequest
public AcatsInitiateTransferRequest()
-
-
Method Details
-
contraAccountDetails
public AcatsInitiateTransferRequest contraAccountDetails(@Nonnull AcatsContraAccountDetails contraAccountDetails) -
getContraAccountDetails
Get contraAccountDetails- Returns:
- contraAccountDetails
-
setContraAccountDetails
-
ipAddress
-
getIpAddress
IP address from which the account holder initiated the transfer (IPv4 or IPv6)- Returns:
- ipAddress
-
setIpAddress
-
signedAt
-
getSignedAt
Timestamp at which the account holder signed/authorized the transfer. Must be within the last week and must not be in the future (a 5 minute grace period absorbs clock skew); values outside that window are rejected with HTTP 400.- Returns:
- signedAt
-
setSignedAt
-
transferDetails
public AcatsInitiateTransferRequest transferDetails(@Nonnull AcatsInitiateTransferDetails transferDetails) -
getTransferDetails
Get transferDetails- Returns:
- transferDetails
-
setTransferDetails
-
validateAccountNumber
-
getValidateAccountNumber
Whether to validate the contra account number against the contra broker's configured format rules. Defaults to false (no per-broker format check). Set to true to opt in, in which case a number that matches none of the broker's enabled rules is rejected with HTTP 422.- Returns:
- validateAccountNumber
-
setValidateAccountNumber
-
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 AcatsInitiateTransferRequest 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 AcatsInitiateTransferRequest
-
fromJson
Create an instance of AcatsInitiateTransferRequest given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of AcatsInitiateTransferRequest
- Throws:
IOException- if the JSON string is invalid with respect to AcatsInitiateTransferRequest
-
toJson
Convert an instance of AcatsInitiateTransferRequest to an JSON string- Returns:
- JSON string
-