Class CreateTransferRequest
java.lang.Object
markets.alpaca.client.openapi.broker.model.CreateTransferRequest
- All Implemented Interfaces:
Serializable
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.23.0")
public class CreateTransferRequest
extends Object
implements Serializable
[See main docs here](https://alpaca.markets/docs/api-references/broker-api/funding/transfers/#creating-a-transfer-entity)
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic enumDeprecated. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionadditionalInformation(String additionalInformation) amount(BigDecimal amount) direction(TransferDirection direction) booleanfeePaymentMethod(String feePaymentMethod) static CreateTransferRequestCreate an instance of CreateTransferRequest given an JSON stringAdditional details for when type = `wire`Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Must be > 0.00Required if type = `wire` The bank_relationship created for the account_id [here](https://alpaca.markets/docs/api-references/broker-api/funding/bank/#creating-a-new-bank-relationship)Get directionOnly outgoing wire fees are currently supported for automated processing.getIra()Get iraRequired if type = `ach` The ach_relationship created for the account_id [here](https://alpaca.markets/docs/api-references/broker-api/funding/ach/#creating-an-ach-relationship)Deprecated.Get transferTypeinthashCode()ira(TransferIRA ira) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.relationshipId(UUID relationshipId) voidsetAdditionalInformation(String additionalInformation) voidsetAmount(BigDecimal amount) voidvoidsetDirection(TransferDirection direction) voidsetFeePaymentMethod(String feePaymentMethod) voidsetIra(TransferIRA ira) voidsetRelationshipId(UUID relationshipId) voidDeprecated.voidsetTransferType(TransferType transferType) Deprecated.toJson()Convert an instance of CreateTransferRequest to an JSON stringtoString()transferType(TransferType transferType) static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_ADDITIONAL_INFORMATION
- See Also:
-
SERIALIZED_NAME_AMOUNT
- See Also:
-
SERIALIZED_NAME_BANK_ID
- See Also:
-
SERIALIZED_NAME_DIRECTION
- See Also:
-
SERIALIZED_NAME_FEE_PAYMENT_METHOD
- See Also:
-
SERIALIZED_NAME_IRA
- See Also:
-
SERIALIZED_NAME_RELATIONSHIP_ID
- See Also:
-
SERIALIZED_NAME_TIMING
- See Also:
-
SERIALIZED_NAME_TRANSFER_TYPE
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
CreateTransferRequest
public CreateTransferRequest()
-
-
Method Details
-
additionalInformation
-
getAdditionalInformation
Additional details for when type = `wire`- Returns:
- additionalInformation
-
setAdditionalInformation
-
amount
-
getAmount
Must be > 0.00- Returns:
- amount
-
setAmount
-
bankId
-
getBankId
Required if type = `wire` The bank_relationship created for the account_id [here](https://alpaca.markets/docs/api-references/broker-api/funding/bank/#creating-a-new-bank-relationship)- Returns:
- bankId
-
setBankId
-
direction
-
getDirection
Get direction- Returns:
- direction
-
setDirection
-
feePaymentMethod
-
getFeePaymentMethod
Only outgoing wire fees are currently supported for automated processing. **user** The end user will pay any applicable fees **invoice** Any applicable fees will be billed to the client in the following monthly invoice- Returns:
- feePaymentMethod
-
setFeePaymentMethod
-
ira
-
getIra
Get ira- Returns:
- ira
-
setIra
-
relationshipId
-
getRelationshipId
Required if type = `ach` The ach_relationship created for the account_id [here](https://alpaca.markets/docs/api-references/broker-api/funding/ach/#creating-an-ach-relationship)- Returns:
- relationshipId
-
setRelationshipId
-
timing
Deprecated. -
getTiming
Deprecated.Deprecated. Not honored by the API; values sent are silently ignored and this field will be removed.- Returns:
- timing
-
setTiming
Deprecated. -
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 CreateTransferRequest 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 CreateTransferRequest
-
fromJson
Create an instance of CreateTransferRequest given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of CreateTransferRequest
- Throws:
IOException- if the JSON string is invalid with respect to CreateTransferRequest
-
toJson
Convert an instance of CreateTransferRequest to an JSON string- Returns:
- JSON string
-